X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fprofiler.css;h=bb0e0a1167d11d5126c68336262269090aee982f;hp=85b363b77a9cccdcce82844b28eadf4e5bc80986;hb=refs%2Ftags%2FLCARStrek-2.33;hpb=6f5a7408a1bd6d680d581fdf88469481da91aa72 diff --git a/LCARStrek/browser/devtools/profiler.css b/LCARStrek/browser/devtools/profiler.css index 85b363b7..bb0e0a11 100644 --- a/LCARStrek/browser/devtools/profiler.css +++ b/LCARStrek/browser/devtools/profiler.css @@ -4,6 +4,15 @@ /* === file identical to profiler.inc.css === */ +/* CSS Variables specific to this panel that aren't defined by the themes */ +.theme-dark, +.theme-light { + --cell-border-color: #9C9CFF; + --focus-cell-border-color: #9C9CFF; + --row-alt-background-color: #402800; + --row-hover-background-color: #795900; +} + window { padding: 0; } @@ -222,12 +231,13 @@ window { .call-tree-header:not(:last-child), .call-tree-cell:not(:last-child) { - -moz-border-end: 1px solid; + -moz-border-end-width: 1px; + -moz-border-end-style: solid; } .call-tree-header, .call-tree-cell { - -moz-border-end-color: #9C9CFF; + -moz-border-end-color: var(--cell-border-color); } .call-tree-header:not(:last-child) { @@ -244,15 +254,15 @@ window { } .call-tree-item:last-child:not(:focus) { - border-bottom: #9C9CFF; + border-bottom: 1px solid var(--cell-border-color); } .call-tree-item:nth-child(2n) { - background-color: #392900; + background-color: var(--row-alt-background-color); } .call-tree-item:hover { - background-color: #392900; + background-color: var(--row-hover-background-color); } .call-tree-item:focus { @@ -265,7 +275,7 @@ window { } .call-tree-item:focus .call-tree-cell { - -moz-border-end-color: #9C9CFF; + -moz-border-end-color: var(--focus-cell-border-color); } .call-tree-item:not([origin="content"]) .call-tree-name,