23
23
--table-border: #e0e0e0;
24
24
--table-background: #fff;
25
25
--table-header: #e0e0e0;
26
+ --tree-active-background: #F7E5A1;
27
+ --exception-title-color: var(--base-2);
26
28
--shadow: 0px 0px 1px rgba(128, 128, 128, .2);
27
29
--border: 1px solid #e0e0e0;
30
+ --background-error: var(--color-error);
31
+ --highlight-comment: #969896;
32
+ --highlight-default: #222222;
33
+ --highlight-keyword: #a71d5d;
34
+ --highlight-string: #183691;
28
35
--base-0: #fff;
29
36
--base-1: #f5f5f5;
30
37
--base-2: #e0e0e0;
40
47
/* always display the vertical scrollbar to avoid jumps when toggling contents */
41
48
overflow-y: scroll;
42
49
}
43
- body { background-color: #F9F9F9; color: #222 ; font: 14px/1.4 Helvetica, Arial, sans-serif; padding-bottom: 45px; }
50
+ body { background-color: #F9F9F9; color: var(--base-6) ; font: 14px/1.4 Helvetica, Arial, sans-serif; padding-bottom: 45px; }
44
51
45
52
a { cursor: pointer; text-decoration: none; }
46
53
a:hover { text-decoration: underline; }
@@ -49,9 +56,9 @@ abbr[title] { border-bottom: none; cursor: help; text-decoration: none; }
49
56
code, pre { font: 13px/1.5 Consolas, Monaco, Menlo, "Ubuntu Mono", "Liberation Mono", monospace; }
50
57
51
58
table, tr, th, td { background: #FFF; border-collapse: collapse; vertical-align: top; }
52
- table { background: #FFF; border: 1px solid #E0E0E0 ; box-shadow: 0px 0px 1px rgba(128, 128, 128, .2); margin: 1em 0; width: 100%; }
53
- table th, table td { border: solid #E0E0E0 ; border-width: 1px 0; padding: 8px 10px; }
54
- table th { background-color: #E0E0E0 ; font-weight: bold; text-align: left; }
59
+ table { background: #FFF; border: var(--border) ; box-shadow: 0px 0px 1px rgba(128, 128, 128, .2); margin: 1em 0; width: 100%; }
60
+ table th, table td { border: solid var(--base-2) ; border-width: 1px 0; padding: 8px 10px; }
61
+ table th { background-color: var(--base-2) ; font-weight: bold; text-align: left; }
55
62
56
63
.m-t-5 { margin-top: 5px; }
57
64
.hidden-xs-down { display: none; }
@@ -65,15 +72,15 @@ table th { background-color: #E0E0E0; font-weight: bold; text-align: left; }
65
72
.text-small { font-size: 12px !important; }
66
73
.text-muted { color: #999; }
67
74
.text-bold { font-weight: bold; }
68
- .empty { border: 4px dashed #E0E0E0 ; color: #999; margin: 1em 0; padding: .5em 2em; }
75
+ .empty { border: 4px dashed var(--base-2) ; color: #999; margin: 1em 0; padding: .5em 2em; }
69
76
70
77
.status-success { background: rgba(94, 151, 110, 0.3); }
71
78
.status-warning { background: rgba(240, 181, 24, 0.3); }
72
79
.status-error { background: rgba(176, 65, 62, 0.2); }
73
80
.status-success td, .status-warning td, .status-error td { background: transparent; }
74
81
tr.status-error td, tr.status-warning td { border-bottom: 1px solid #FAFAFA; border-top: 1px solid #FAFAFA; }
75
82
.status-warning .colored { color: #A46A1F; }
76
- .status-error .colored { color: #B0413E ; }
83
+ .status-error .colored { color: var(--color-error) ; }
77
84
78
85
.sf-toggle { cursor: pointer; }
79
86
.sf-toggle-content { -moz-transition: display .25s ease; -webkit-transition: display .25s ease; transition: display .25s ease; }
@@ -91,7 +98,7 @@ thead.sf-toggle-content.sf-toggle-visible, tbody.sf-toggle-content.sf-toggle-vis
91
98
.tab-navigation li.active .badge { background-color: var(--base-5); color: var(--base-2); }
92
99
.tab-content > *:first-child { margin-top: 0; }
93
100
.tab-navigation li .badge.status-warning { background: var(--color-warning); color: #FFF; }
94
- .tab-navigation li .badge.status-error { background: var(--color -error); color: #FFF; }
101
+ .tab-navigation li .badge.status-error { background: var(--background -error); color: #FFF; }
95
102
.sf-tabs .tab:not(:first-child) { display: none; }
96
103
97
104
[data-filters] { position: relative; }
@@ -131,7 +138,7 @@ thead.sf-toggle-content.sf-toggle-visible, tbody.sf-toggle-content.sf-toggle-vis
131
138
.container { max-width: 1024px; margin: 0 auto; padding: 0 15px; }
132
139
.container::after { content: ""; display: table; clear: both; }
133
140
134
- header { background-color: #222 ; color: rgba(255, 255, 255, 0.75); font-size: 13px; height: 33px; line-height: 33px; padding: 0; }
141
+ header { background-color: var(--base-6) ; color: rgba(255, 255, 255, 0.75); font-size: 13px; height: 33px; line-height: 33px; padding: 0; }
135
142
header .container { display: flex; justify-content: space-between; }
136
143
.logo { flex: 1; font-size: 13px; font-weight: normal; margin: 0; padding: 0; }
137
144
.logo svg { height: 18px; width: 18px; opacity: .8; vertical-align: -5px; }
@@ -142,7 +149,7 @@ header .container { display: flex; justify-content: space-between; }
142
149
.help-link a:hover { color: #EEE; text-decoration: none; }
143
150
.help-link a:hover svg { opacity: .9; }
144
151
145
- .exception-summary { background: #B0413E ; border-bottom: 2px solid rgba(0, 0, 0, 0.1); border-top: 1px solid rgba(0, 0, 0, .3); flex: 0 0 auto; margin-bottom: 15px; }
152
+ .exception-summary { background: var(--background-error) ; border-bottom: 2px solid rgba(0, 0, 0, 0.1); border-top: 1px solid rgba(0, 0, 0, .3); flex: 0 0 auto; margin-bottom: 15px; }
146
153
.exception-metadata { background: rgba(0, 0, 0, 0.1); padding: 7px 0; }
147
154
.exception-metadata .container { display: flex; flex-direction: row; justify-content: space-between; }
148
155
.exception-metadata h2, .exception-metadata h2 > a { color: rgba(255, 255, 255, 0.8); font-size: 13px; font-weight: 400; margin: 0; }
@@ -162,36 +169,36 @@ header .container { display: flex; justify-content: space-between; }
162
169
.exception-illustration { flex-basis: 111px; flex-shrink: 0; height: 66px; margin-left: 15px; opacity: .7; }
163
170
164
171
.trace + .trace { margin-top: 30px; }
165
- .trace-head { background-color: #e0e0e0 ; padding: 10px; position: relative; }
166
- .trace-head .trace-class { color: #222 ; font-size: 18px; font-weight: bold; line-height: 1.3; margin: 0; position: relative; }
172
+ .trace-head { background-color: var(--base-2) ; padding: 10px; position: relative; }
173
+ .trace-head .trace-class { color: var(--base-6) ; font-size: 18px; font-weight: bold; line-height: 1.3; margin: 0; position: relative; }
167
174
.trace-head .trace-namespace { color: #999; display: block; font-size: 13px; }
168
175
.trace-head .icon { position: absolute; right: 0; top: 0; }
169
176
.trace-head .icon svg { height: 24px; width: 24px; }
170
177
171
- .trace-details { background: #FFF ; border: 1px solid #E0E0E0 ; box-shadow: 0px 0px 1px rgba(128, 128, 128, .2); margin: 1em 0; table-layout: fixed; }
178
+ .trace-details { background: var(--base-0) ; border: var(--border) ; box-shadow: 0px 0px 1px rgba(128, 128, 128, .2); margin: 1em 0; table-layout: fixed; }
172
179
173
180
.trace-message { font-size: 14px; font-weight: normal; margin: .5em 0 0; }
174
181
175
182
.trace-line { position: relative; padding-top: 8px; padding-bottom: 8px; }
176
- .trace-line + .trace-line { border-top: 1px solid #e0e0e0 ; }
177
- .trace-line:hover { background: #F5F5F5 ; }
178
- .trace-line a { color: #222 ; }
183
+ .trace-line + .trace-line { border-top: var(--border) ; }
184
+ .trace-line:hover { background: var(--base-1) ; }
185
+ .trace-line a { color: var(--base-6) ; }
179
186
.trace-line .icon { opacity: .4; position: absolute; left: 10px; top: 11px; }
180
187
.trace-line .icon svg { height: 16px; width: 16px; }
181
188
.trace-line-header { padding-left: 36px; padding-right: 10px; }
182
189
183
- .trace-file-path, .trace-file-path a { color: #222 ; font-size: 13px; }
184
- .trace-class { color: #B0413E ; }
190
+ .trace-file-path, .trace-file-path a { color: var(--base-6) ; font-size: 13px; }
191
+ .trace-class { color: var(--color-error) ; }
185
192
.trace-type { padding: 0 2px; }
186
- .trace-method { color: #B0413E ; font-weight: bold; }
193
+ .trace-method { color: var(--color-error) ; font-weight: bold; }
187
194
.trace-arguments { color: #777; font-weight: normal; padding-left: 2px; }
188
195
189
- .trace-code { background: #FFF ; font-size: 12px; margin: 10px 10px 2px 10px; padding: 10px; overflow-x: auto; white-space: nowrap; }
196
+ .trace-code { background: var(--base-0) ; font-size: 12px; margin: 10px 10px 2px 10px; padding: 10px; overflow-x: auto; white-space: nowrap; }
190
197
.trace-code ol { margin: 0; float: left; }
191
198
.trace-code li { color: #969896; margin: 0; padding-left: 10px; float: left; width: 100%; }
192
199
.trace-code li + li { margin-top: 5px; }
193
- .trace-code li.selected { background: #F7E5A1 ; margin-top: 2px; }
194
- .trace-code li code { color: #222 ; white-space: nowrap; }
200
+ .trace-code li.selected { background: var(--trace-selected-background) ; margin-top: 2px; }
201
+ .trace-code li code { color: var(--base-6) ; white-space: nowrap; }
195
202
196
203
.trace-as-text .stacktrace { line-height: 1.8; margin: 0 0 15px; white-space: pre-wrap; }
197
204
0 commit comments