|
14 | 14 | } |
15 | 15 | } |
16 | 16 |
|
17 | | -tracy-div:not(a b), |
18 | | -tracy-div:not(a b) * { |
19 | | - font: inherit; |
20 | | - line-height: inherit; |
21 | | - color: inherit; |
22 | | - background: transparent; |
| 17 | +*, |
| 18 | +*::before, |
| 19 | +*::after { |
| 20 | + box-sizing: border-box; |
23 | 21 | margin: 0; |
24 | 22 | padding: 0; |
25 | | - border: none; |
26 | | - text-align: inherit; |
27 | | - list-style: inherit; |
28 | | - opacity: 1; |
29 | | - border-radius: 0; |
30 | | - box-shadow: none; |
31 | | - text-shadow: none; |
32 | | - box-sizing: border-box; |
33 | | - text-decoration: none; |
34 | | - text-transform: inherit; |
35 | | - white-space: inherit; |
36 | | - float: none; |
37 | | - clear: none; |
38 | | - max-width: initial; |
39 | | - min-width: initial; |
40 | | - max-height: initial; |
41 | | - min-height: initial; |
42 | | -} |
43 | | - |
44 | | -tracy-div:not(a b) *:hover { |
45 | | - color: inherit; |
46 | | - background: transparent; |
47 | | -} |
48 | | - |
49 | | -tracy-div:not(a b) *:not(svg):not(img):not(table) { |
50 | | - width: initial; |
51 | | - height: initial; |
52 | | -} |
53 | | - |
54 | | -tracy-div:not(a b):before, |
55 | | -tracy-div:not(a b):after, |
56 | | -tracy-div:not(a b) *:before, |
57 | | -tracy-div:not(a b) *:after { |
58 | | - all: unset; |
59 | | -} |
60 | | - |
61 | | -tracy-div:not(a b) b, |
62 | | -tracy-div:not(a b) strong { |
63 | | - font-weight: bold; |
64 | | -} |
65 | | - |
66 | | -tracy-div:not(a b) small { |
67 | | - font-size: smaller; |
68 | | -} |
69 | | - |
70 | | -tracy-div:not(a b) i, |
71 | | -tracy-div:not(a b) em { |
72 | | - font-style: italic; |
73 | | -} |
74 | | - |
75 | | -tracy-div:not(a b) big { |
76 | | - font-size: larger; |
77 | | -} |
78 | | - |
79 | | -tracy-div:not(a b) small, |
80 | | -tracy-div:not(a b) sub, |
81 | | -tracy-div:not(a b) sup { |
82 | | - font-size: smaller; |
83 | | -} |
84 | | - |
85 | | -tracy-div:not(a b) ins { |
86 | | - text-decoration: underline; |
87 | | -} |
88 | | - |
89 | | -tracy-div:not(a b) del { |
90 | | - text-decoration: line-through; |
91 | 23 | } |
92 | 24 |
|
93 | | -tracy-div:not(a b) table { |
| 25 | +table { |
94 | 26 | border-collapse: collapse; |
95 | 27 | } |
96 | 28 |
|
97 | | -tracy-div:not(a b) pre { |
98 | | - font-family: monospace; |
99 | | - white-space: pre; |
100 | | -} |
101 | | - |
102 | | -tracy-div:not(a b) code, |
103 | | -tracy-div:not(a b) kbd, |
104 | | -tracy-div:not(a b) samp { |
105 | | - font-family: monospace; |
106 | | -} |
107 | | - |
108 | | -tracy-div:not(a b) input { |
109 | | - background-color: white; |
| 29 | +input { |
110 | 30 | padding: 1px; |
111 | | - border: 1px solid; |
112 | 31 | } |
113 | 32 |
|
114 | | -tracy-div:not(a b) textarea { |
115 | | - background-color: white; |
116 | | - border: 1px solid; |
| 33 | +textarea { |
117 | 34 | padding: 2px; |
118 | | - white-space: pre-wrap; |
119 | | -} |
120 | | - |
121 | | -tracy-div:not(a b) select { |
122 | | - border: 1px solid; |
123 | | - white-space: pre; |
124 | | -} |
125 | | - |
126 | | -tracy-div:not(a b) article, |
127 | | -tracy-div:not(a b) aside, |
128 | | -tracy-div:not(a b) details, |
129 | | -tracy-div:not(a b) div, |
130 | | -tracy-div:not(a b) figcaption, |
131 | | -tracy-div:not(a b) footer, |
132 | | -tracy-div:not(a b) form, |
133 | | -tracy-div:not(a b) header, |
134 | | -tracy-div:not(a b) hgroup, |
135 | | -tracy-div:not(a b) main, |
136 | | -tracy-div:not(a b) nav, |
137 | | -tracy-div:not(a b) section, |
138 | | -tracy-div:not(a b) summary, |
139 | | -tracy-div:not(a b) pre, |
140 | | -tracy-div:not(a b) p, |
141 | | -tracy-div:not(a b) dl, |
142 | | -tracy-div:not(a b) dd, |
143 | | -tracy-div:not(a b) dt, |
144 | | -tracy-div:not(a b) blockquote, |
145 | | -tracy-div:not(a b) figure, |
146 | | -tracy-div:not(a b) address, |
147 | | -tracy-div:not(a b) h1, |
148 | | -tracy-div:not(a b) h2, |
149 | | -tracy-div:not(a b) h3, |
150 | | -tracy-div:not(a b) h4, |
151 | | -tracy-div:not(a b) h5, |
152 | | -tracy-div:not(a b) h6, |
153 | | -tracy-div:not(a b) ul, |
154 | | -tracy-div:not(a b) ol, |
155 | | -tracy-div:not(a b) li, |
156 | | -tracy-div:not(a b) hr { |
157 | | - display: block; |
158 | | -} |
159 | | - |
160 | | -tracy-div:not(a b) a, |
161 | | -tracy-div:not(a b) b, |
162 | | -tracy-div:not(a b) big, |
163 | | -tracy-div:not(a b) code, |
164 | | -tracy-div:not(a b) em, |
165 | | -tracy-div:not(a b) i, |
166 | | -tracy-div:not(a b) small, |
167 | | -tracy-div:not(a b) span, |
168 | | -tracy-div:not(a b) strong { |
169 | | - display: inline; |
170 | | -} |
171 | | - |
172 | | -tracy-div:not(a b) table { |
173 | | - display: table; |
174 | | -} |
175 | | - |
176 | | -tracy-div:not(a b) tr { |
177 | | - display: table-row; |
178 | | -} |
179 | | - |
180 | | -tracy-div:not(a b) col { |
181 | | - display: table-column; |
182 | | -} |
183 | | - |
184 | | -tracy-div:not(a b) colgroup { |
185 | | - display: table-column-group; |
186 | | -} |
187 | | - |
188 | | -tracy-div:not(a b) tbody { |
189 | | - display: table-row-group; |
190 | | -} |
191 | | - |
192 | | -tracy-div:not(a b) thead { |
193 | | - display: table-header-group; |
194 | | -} |
195 | | - |
196 | | -tracy-div:not(a b) tfoot { |
197 | | - display: table-footer-group; |
198 | | -} |
199 | | - |
200 | | -tracy-div:not(a b) td { |
201 | | - display: table-cell; |
202 | | -} |
203 | | - |
204 | | -tracy-div:not(a b) th { |
205 | | - display: table-cell; |
206 | | -} |
207 | | - |
208 | | - |
209 | | - |
210 | | -/* TableSort */ |
211 | | -tracy-div:not(a b) .tracy-sortable > :first-child > tr:first-child > * { |
212 | | - position: relative; |
213 | | -} |
214 | | - |
215 | | -tracy-div:not(a b) .tracy-sortable > :first-child > tr:first-child > *:hover:before { |
216 | | - position: absolute; |
217 | | - right: .3em; |
218 | | - content: "\21C5"; |
219 | | - opacity: .4; |
220 | | - font-weight: normal; |
221 | | -} |
222 | | - |
223 | | - |
224 | | -/* dump */ |
225 | | -tracy-div:not(a b) .tracy-dump div { |
226 | | - padding-left: 3ex; |
227 | | -} |
228 | | - |
229 | | -tracy-div:not(a b) .tracy-dump div div { |
230 | | - border-left: 1px solid rgba(0, 0, 0, .1); |
231 | | - margin-left: .5ex; |
232 | | -} |
233 | | - |
234 | | -tracy-div:not(a b) .tracy-dump div div:hover { |
235 | | - border-left-color: rgba(0, 0, 0, .25); |
236 | | -} |
237 | | - |
238 | | -tracy-div:not(a b) .tracy-dump { |
239 | | - background: #FDF5CE; |
240 | | - padding: .4em .7em; |
241 | | - border: 1px dotted silver; |
242 | | - overflow: auto; |
243 | | -} |
244 | | - |
245 | | -tracy-div:not(a b) table .tracy-dump.tracy-dump { /* overwrite .tracy-dump.tracy-light etc. */ |
246 | | - padding: 0; |
247 | | - margin: 0; |
248 | | - border: none; |
249 | | -} |
250 | | - |
251 | | -tracy-div:not(a b) .tracy-dump-location { |
252 | | - color: gray; |
253 | | - font-size: 80%; |
254 | | - text-decoration: none; |
255 | | - background: none; |
256 | | - opacity: .5; |
257 | | - float: right; |
258 | | - cursor: pointer; |
259 | | -} |
260 | | - |
261 | | -tracy-div:not(a b) .tracy-dump-location:hover, |
262 | | -tracy-div:not(a b) .tracy-dump-location:focus { |
263 | | - color: gray; |
264 | | - background: none; |
265 | | - opacity: 1; |
266 | | -} |
267 | | - |
268 | | -tracy-div:not(a b) .tracy-dump-array, |
269 | | -tracy-div:not(a b) .tracy-dump-object { |
270 | | - color: #C22; |
271 | | -} |
272 | | - |
273 | | -tracy-div:not(a b) .tracy-dump-string { |
274 | | - color: #35D; |
275 | | - white-space: break-spaces; |
276 | | -} |
277 | | - |
278 | | -tracy-div:not(a b) div.tracy-dump-string { |
279 | | - position: relative; |
280 | | - padding-left: 3.5ex; |
281 | | -} |
282 | | - |
283 | | -tracy-div:not(a b) .tracy-dump-lq { |
284 | | - margin-left: calc(-1ex - 1px); |
285 | | -} |
286 | | - |
287 | | -tracy-div:not(a b) div.tracy-dump-string:before { |
288 | | - content: ''; |
289 | | - position: absolute; |
290 | | - left: calc(3ex - 1px); |
291 | | - top: 1.5em; |
292 | | - bottom: 0; |
293 | | - border-left: 1px solid rgba(0, 0, 0, .1); |
294 | | -} |
295 | | - |
296 | | -tracy-div:not(a b) .tracy-dump-virtual span, |
297 | | -tracy-div:not(a b) .tracy-dump-dynamic span, |
298 | | -tracy-div:not(a b) .tracy-dump-string span { |
299 | | - color: rgba(0, 0, 0, 0.5); |
300 | | -} |
301 | | - |
302 | | -tracy-div:not(a b) .tracy-dump-virtual i, |
303 | | -tracy-div:not(a b) .tracy-dump-dynamic i, |
304 | | -tracy-div:not(a b) .tracy-dump-string i { |
305 | | - font-size: 80%; |
306 | | - font-style: normal; |
307 | | - color: rgba(0, 0, 0, 0.5); |
308 | | - user-select: none; |
309 | | -} |
310 | | - |
311 | | -tracy-div:not(a b) .tracy-dump-number { |
312 | | - color: #090; |
313 | | -} |
314 | | - |
315 | | -tracy-div:not(a b) .tracy-dump-null, |
316 | | -tracy-div:not(a b) .tracy-dump-bool { |
317 | | - color: #850; |
318 | | -} |
319 | | - |
320 | | -tracy-div:not(a b) .tracy-dump-virtual { |
321 | | - font-style: italic; |
322 | | -} |
323 | | - |
324 | | -tracy-div:not(a b) .tracy-dump-public::after { |
325 | | - content: ' pub'; |
326 | | -} |
327 | | - |
328 | | -tracy-div:not(a b) .tracy-dump-protected::after { |
329 | | - content: ' pro'; |
330 | | -} |
331 | | - |
332 | | -tracy-div:not(a b) .tracy-dump-private::after { |
333 | | - content: ' pri'; |
334 | | -} |
335 | | - |
336 | | -tracy-div:not(a b) .tracy-dump-public::after, |
337 | | -tracy-div:not(a b) .tracy-dump-protected::after, |
338 | | -tracy-div:not(a b) .tracy-dump-private::after, |
339 | | -tracy-div:not(a b) .tracy-dump-hash { |
340 | | - font-size: 85%; |
341 | | - color: rgba(0, 0, 0, 0.5); |
342 | | -} |
343 | | - |
344 | | -tracy-div:not(a b) .tracy-dump-indent { |
345 | | - display: none; |
346 | | -} |
347 | | - |
348 | | -tracy-div:not(a b) .tracy-dump-highlight { |
349 | | - background: #C22; |
350 | | - color: white; |
351 | | - border-radius: 2px; |
352 | | - padding: 0 2px; |
353 | | - margin: 0 -2px; |
354 | | -} |
355 | | - |
356 | | -tracy-div:not(a b) span[data-tracy-href] { |
357 | | - border-bottom: 1px dotted rgba(0, 0, 0, .2); |
358 | | -} |
359 | | - |
360 | | - |
361 | | -/* toggle */ |
362 | | -tracy-div:not(a b) .tracy-toggle:after { |
363 | | - content: ''; |
364 | | - display: inline-block; |
365 | | - vertical-align: middle; |
366 | | - line-height: 0; |
367 | | - border-top: .6ex solid; |
368 | | - border-right: .6ex solid transparent; |
369 | | - border-left: .6ex solid transparent; |
370 | | - transform: scale(1, 1.5); |
371 | | - margin: 0 .2ex 0 .7ex; |
372 | | - transition: .1s transform; |
373 | | - opacity: .5; |
374 | | -} |
375 | | - |
376 | | -tracy-div:not(a b) .tracy-toggle.tracy-collapsed:after { |
377 | | - transform: rotate(-90deg) scale(1, 1.5) translate(.1ex, 0); |
378 | | -} |
379 | | - |
380 | | - |
381 | | -/* tabs */ |
382 | | -tracy-div:not(a b) .tracy-tab-label { |
383 | | - user-select: none; |
384 | | -} |
385 | | - |
386 | | -tracy-div:not(a b) .tracy-tab-panel:not(.tracy-active) { |
387 | | - display: none; |
388 | 35 | } |
0 commit comments