Skip to content

Commit 2b958bb

Browse files
committed
bar.css: added all:revert (experimental)
1 parent f36b649 commit 2b958bb

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

src/Tracy/Bar/assets/bar.css

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
border-radius: 0;
1919
box-shadow: none;
2020
text-shadow: none;
21-
box-sizing: border-box;
2221
text-decoration: none;
2322
text-transform: inherit;
2423
white-space: inherit;
@@ -28,6 +27,8 @@
2827
min-width: initial;
2928
max-height: initial;
3029
min-height: initial;
30+
all: revert;
31+
box-sizing: border-box;
3132
}
3233

3334
#tracy-debug *:not(svg):not(img):not(table) {
@@ -40,6 +41,7 @@
4041
#tracy-debug *:before,
4142
#tracy-debug *:after {
4243
all: unset;
44+
all: revert;
4345
}
4446

4547
#tracy-debug {
@@ -57,6 +59,17 @@ body#tracy-debug { /* in popup window */
5759
top: 0;
5860
}
5961

62+
#tracy-debug * {
63+
font: inherit;
64+
}
65+
66+
#tracy-debug ul,
67+
#tracy-debug ol,
68+
#tracy-debug pre {
69+
margin: 0;
70+
padding: 0;
71+
}
72+
6073
#tracy-debug b,
6174
#tracy-debug strong {
6275
font-weight: bold;
@@ -403,6 +416,23 @@ body#tracy-debug .tracy-panel { /* in popup window */
403416

404417

405418
/* toggle */
419+
#tracy-debug .tracy-collapsed {
420+
display: none;
421+
}
422+
423+
#tracy-debug .tracy-toggle.tracy-collapsed {
424+
display: inline;
425+
}
426+
427+
#tracy-debug .tracy-toggle {
428+
cursor: pointer;
429+
-webkit-user-select: none;
430+
-moz-user-select: none;
431+
-khtml-user-select: none;
432+
-ms-user-select: none;
433+
user-select: none;
434+
}
435+
406436
#tracy-debug .tracy-toggle:after {
407437
content: "\A0\25BC";
408438
opacity: .4;
@@ -413,6 +443,7 @@ body#tracy-debug .tracy-panel { /* in popup window */
413443
}
414444

415445

446+
416447
@media print {
417448
#tracy-debug * {
418449
display: none;

0 commit comments

Comments
 (0)