From 2b958bbbc54ac785fcdba3c78833b78b571961c7 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Sat, 16 Nov 2019 09:06:46 +0100 Subject: [PATCH] bar.css: added all:revert (experimental) --- src/Tracy/Bar/assets/bar.css | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/src/Tracy/Bar/assets/bar.css b/src/Tracy/Bar/assets/bar.css index 990bff727..448337a1c 100644 --- a/src/Tracy/Bar/assets/bar.css +++ b/src/Tracy/Bar/assets/bar.css @@ -18,7 +18,6 @@ border-radius: 0; box-shadow: none; text-shadow: none; - box-sizing: border-box; text-decoration: none; text-transform: inherit; white-space: inherit; @@ -28,6 +27,8 @@ min-width: initial; max-height: initial; min-height: initial; + all: revert; + box-sizing: border-box; } #tracy-debug *:not(svg):not(img):not(table) { @@ -40,6 +41,7 @@ #tracy-debug *:before, #tracy-debug *:after { all: unset; + all: revert; } #tracy-debug { @@ -57,6 +59,17 @@ body#tracy-debug { /* in popup window */ top: 0; } +#tracy-debug * { + font: inherit; +} + +#tracy-debug ul, +#tracy-debug ol, +#tracy-debug pre { + margin: 0; + padding: 0; +} + #tracy-debug b, #tracy-debug strong { font-weight: bold; @@ -403,6 +416,23 @@ body#tracy-debug .tracy-panel { /* in popup window */ /* toggle */ +#tracy-debug .tracy-collapsed { + display: none; +} + +#tracy-debug .tracy-toggle.tracy-collapsed { + display: inline; +} + +#tracy-debug .tracy-toggle { + cursor: pointer; + -webkit-user-select: none; + -moz-user-select: none; + -khtml-user-select: none; + -ms-user-select: none; + user-select: none; +} + #tracy-debug .tracy-toggle:after { content: "\A0\25BC"; opacity: .4; @@ -413,6 +443,7 @@ body#tracy-debug .tracy-panel { /* in popup window */ } + @media print { #tracy-debug * { display: none;