X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fwidgets.css;h=4c0826dc9ddc49bfd5fe21890c6de811988089d6;hp=b38d582fb65a1b08b9f555ce7e93e2fe254194e4;hb=de5e780daa5242500976dde56483222a51ecdae5;hpb=9168a62c02f1b9fe7953f2fba5f32305980ac1a3 diff --git a/LCARStrek/browser/devtools/widgets.css b/LCARStrek/browser/devtools/widgets.css index b38d582f..4c0826dc 100644 --- a/LCARStrek/browser/devtools/widgets.css +++ b/LCARStrek/browser/devtools/widgets.css @@ -24,6 +24,16 @@ -moz-box-orient: horizontal; } +.devtools-main-content { + min-width: 50px; +} + +.devtools-main-content, +.devtools-sidebar-tabs { + /* Prevent some children that should be hidden from remaining visible as this is shrunk (Bug 971959) */ + position: relative; +} + @media (max-width: 700px) { .devtools-responsive-container { -moz-box-orient: vertical; @@ -804,10 +814,6 @@ /* Line graph widget */ -.line-graph-widget-canvas { - background: #000000; -} - .line-graph-widget-gutter { position: absolute; background: #000000; @@ -823,7 +829,6 @@ position: absolute; width: 100%; border-top: 1px solid; - transform: translateY(-1px); } .line-graph-widget-gutter-line[type=maximum] { @@ -851,7 +856,7 @@ pointer-events: none; } -.line-graph-widget-tooltip::before { +.line-graph-widget-tooltip[with-arrows=true]::before { content: ""; position: absolute; border-top: 3px solid transparent; @@ -859,26 +864,38 @@ top: calc(50% - 3px); } -.line-graph-widget-tooltip[arrow=start]::before { +.line-graph-widget-tooltip[arrow=start][with-arrows=true]::before { -moz-border-end: 3px solid #9C9CFF; left: -3px; } -.line-graph-widget-tooltip[arrow=end]::before { +.line-graph-widget-tooltip[arrow=end][with-arrows=true]::before { -moz-border-start: 3px solid #9C9CFF; right: -3px; } .line-graph-widget-tooltip[type=maximum] { - left: calc(10px + 6px); + left: -1px; } .line-graph-widget-tooltip[type=minimum] { - left: calc(10px + 6px); + left: -1px; } .line-graph-widget-tooltip[type=average] { - right: 6px; + right: -1px; +} + +.line-graph-widget-tooltip[type=maximum][with-arrows=true] { + left: 14px; +} + +.line-graph-widget-tooltip[type=minimum][with-arrows=true] { + left: 14px; +} + +.line-graph-widget-tooltip[type=average][with-arrows=true] { + right: 4px; } .line-graph-widget-tooltip > [text=info] { @@ -1222,6 +1239,7 @@ padding: 10px 20px; font-size: medium; background: transparent; + pointer-events: none; } /* Tree Item */