Skip to content

Commit

Permalink
Debugger style overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Oct 14, 2014
1 parent 5134b28 commit 783d148
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 0 deletions.
47 changes: 47 additions & 0 deletions system/assets/debugger.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
div.phpdebugbar {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.phpdebugbar div.phpdebugbar-header > div > * {
padding: 5px 15px;
}

.phpdebugbar div.phpdebugbar-header > div.phpdebugbar-header-right > * {
padding: 5px 8px;
}

.phpdebugbar div.phpdebugbar-header, .phpdebugbar a.phpdebugbar-restore-btn {
background-image: url(grav.png);
}

.phpdebugbar a.phpdebugbar-restore-btn {
width: 13px;
}

.phpdebugbar a.phpdebugbar-tab.phpdebugbar-active {
background: #3DB9EC;
color: #fff;
margin-top: -1px;
padding-top: 6px;
}

.phpdebugbar .phpdebugbar-widgets-toolbar {
padding-left: 5px;
}

.phpdebugbar input[type=text] {
padding: 0;
display: inline;
}

.phpdebugbar dl.phpdebugbar-widgets-varlist, ul.phpdebugbar-widgets-timeline li span.phpdebugbar-widgets-label {
font-family: "DejaVu Sans Mono", Menlo, Monaco, Consolas, Courier, monospace;
font-size: 12px;
}



.phpdebugbar pre, .phpdebugbar code {
margin: 0;
font-size: 14px;
}
Binary file added system/assets/grav.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions system/src/Grav/Common/Debugger.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ public function addAssets()
$assets->addCss($css);
}

$assets->addCss('/system/assets/debugger.css');

foreach ($js_files as $js) {
$assets->addJs($js);
}
Expand Down

0 comments on commit 783d148

Please sign in to comment.