X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fwidgets.css;h=4c0826dc9ddc49bfd5fe21890c6de811988089d6;hp=7e3c18070f74a5c19173a82daf24d01f16868106;hb=de5e780daa5242500976dde56483222a51ecdae5;hpb=c1080df62f8b2f28ca13475f9ae69f68465cce86 diff --git a/LCARStrek/browser/devtools/widgets.css b/LCARStrek/browser/devtools/widgets.css index 7e3c1807..4c0826dc 100644 --- a/LCARStrek/browser/devtools/widgets.css +++ b/LCARStrek/browser/devtools/widgets.css @@ -814,10 +814,6 @@ /* Line graph widget */ -.line-graph-widget-canvas { - background: #000000; -} - .line-graph-widget-gutter { position: absolute; background: #000000; @@ -833,7 +829,6 @@ position: absolute; width: 100%; border-top: 1px solid; - transform: translateY(-1px); } .line-graph-widget-gutter-line[type=maximum] { @@ -861,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; @@ -869,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] {