Tweak frame code sizings, replace italics with 300 font weight

This commit is contained in:
Filipe Dobreira
2015-07-03 18:20:18 +01:00
parent 3ff86cc463
commit b9e1d05ea3
3 changed files with 14 additions and 3 deletions
+11 -2
View File
@@ -74,6 +74,14 @@ header {
padding: 5px;
}
.details-heading {
color: #303030;
font-weight: 300;
padding-bottom: 10px;
margin-bottom: 10px;
border-bottom: 1px solid rgba(0, 0, 0, .1);
}
.left-panel {
height: 100%;
overflow: auto;
@@ -189,7 +197,7 @@ header {
.frame-comments.empty:before {
content: "No comments for this stack frame.";
font-style: italic;
font-weight: 300;
color: #a29d9d;
}
@@ -266,7 +274,7 @@ header {
.data-table span.empty {
color: rgba(0, 0, 0, .3);
font-style: italic;
font-weight: 300;
}
.data-table label.empty {
display: inline;
@@ -437,6 +445,7 @@ kbd {
@media (min-width: 1000px) {
.details, .frame-code {
padding: 20px 40px;
margin-bottom: 60px;
}
.details-container {
@@ -1,5 +1,7 @@
<?php /* List data-table values, i.e: $_SERVER, $_GET, .... */ ?>
<div class="details">
<h2 class="details-heading">Environment &amp; details:</h2>
<div class="data-table-container" id="data-tables">
<?php foreach ($tables as $label => $data): ?>
<div class="data-table" id="sg-<?php echo $tpl->escape($tpl->slug($label)) ?>">
@@ -21,7 +21,7 @@
if ($line !== null):
// the $line is 1-indexed, we nab -1 where needed to account for this
$range = $frame->getFileLines($line - 8, 10);
$range = $frame->getFileLines($line - 10, 20);
// getFileLines can return null if there is no source code
if ($range):