Skip to content
Permalink
Browse files

bluescreen: removed reset from CSS

  • Loading branch information...
dg committed Feb 25, 2019
1 parent 155e310 commit c25148e6fbf78568c1434c70ad71bc596cdafb29
@@ -215,6 +215,7 @@ private function renderAssets(): void
$css = array_map('file_get_contents', array_merge([
__DIR__ . '/assets/bar.css',
__DIR__ . '/../Toggle/toggle.css',
__DIR__ . '/../TableSort/table-sort.css',
__DIR__ . '/../Dumper/assets/dumper.css',
__DIR__ . '/../BlueScreen/assets/bluescreen.css',
], Debugger::$customCssFiles));
@@ -135,6 +135,9 @@ private function renderTemplate(\Throwable $exception, string $template, $toScre
$css = array_map('file_get_contents', array_merge([
__DIR__ . '/assets/bluescreen.css',
__DIR__ . '/../Toggle/toggle.css',
__DIR__ . '/../TableSort/table-sort.css',
__DIR__ . '/../Dumper/assets/dumper.css',
], Debugger::$customCssFiles));
$css = preg_replace('#\s+#u', ' ', implode($css));
@@ -14,30 +14,6 @@
text-align: left;
}

#tracy-bs * {
font: inherit;
color: inherit;
background: transparent;
border: none;
margin: 0;
padding: 0;
text-align: inherit;
text-indent: 0;
}

#tracy-bs *:before,
#tracy-bs *:after {
all: unset;
}

#tracy-bs b {
font-weight: bold;
}

#tracy-bs i {
font-style: italic;
}

#tracy-bs a {
text-decoration: none;
color: #328ADC;
@@ -86,13 +62,6 @@
font-style: normal;
}

#tracy-bs-ie-warning {
background: black;
margin: 1em;
padding: .5em;
text-align: center;
}

#tracy-bs h1 {
font-size: 15pt;
font-weight: normal;
@@ -106,6 +75,7 @@

#tracy-bs h2 {
font-size: 14pt;
font-weight: normal;
margin: .6em 0;
}

@@ -168,19 +138,6 @@
background-color: #F7F0CB;
}

/* TableSort */
#tracy-bs .tracy-sortable tr:first-child > * {
position: relative;
}

#tracy-bs .tracy-sortable tr:first-child > *:hover:before {
position: absolute;
right: .3em;
content: "\21C5";
opacity: .4;
font-weight: normal;
}

#tracy-bs ol {
margin: 1em 0;
padding-left: 2.5em;
@@ -266,88 +223,10 @@
border-bottom: 1px dotted rgba(0, 0, 0, .3);
}


/* toggle */
html.tracy-js #tracy-bs .tracy-collapsed {
display: none;
}

html.tracy-js #tracy-bs .tracy-toggle.tracy-collapsed {
display: inline;
}

#tracy-bs .tracy-toggle {
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-khtml-user-select: none;
-ms-user-select: none;
user-select: none;
}

#tracy-bs .tracy-toggle:after {
content: "\A0\25BC";
opacity: .4;
}

#tracy-bs .tracy-toggle.tracy-collapsed:after {
content: "\A0\25BA";
}


/* dump */
#tracy-bs .tracy-dump-array,
#tracy-bs .tracy-dump-object {
color: #C22;
}

#tracy-bs .tracy-dump-string {
color: #35D;
}

#tracy-bs .tracy-dump-number {
color: #090;
}

#tracy-bs .tracy-dump-whitespace {
color: #0003;
}

#tracy-bs .tracy-dump-null,
#tracy-bs .tracy-dump-bool {
color: #850;
}

#tracy-bs .tracy-dump-visibility,
#tracy-bs .tracy-dump-hash {
font-size: 85%;
color: #998;
}

#tracy-bs .tracy-dump-indent {
display: none;
}

#tracy-bs pre.tracy-dump div {
padding-left: 3ex;
}

#tracy-bs pre.tracy-dump div div {
border-left: 1px solid rgba(0, 0, 0, .1);
margin-left: .5ex;
}

#tracy-bs .tracy-dump-flash {
animation: tracy-dump-flash .2s ease;
}

@keyframes tracy-dump-flash {
0% {
background: #c0c0c033;
}
}


#tracy-bs .caused {
float: right;
padding: .3em .6em;
@@ -0,0 +1,15 @@
/**
* This file is part of the Tracy (https://tracy.nette.org)
*/

.tracy-sortable tr:first-child > * {
position: relative;
}

.tracy-sortable tr:first-child > *:hover:before {
position: absolute;
right: .3em;
content: "\21C5";
opacity: .4;
font-weight: normal;
}

0 comments on commit c25148e

Please sign in to comment.
You can’t perform that action at this time.