X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fwidgets.css;h=110c4bc8655c7afc58cb441d57c401888d76924c;hp=0d6110bd4a9bad1afcfb0eb250df2409a6510718;hb=936e60fe1e8ef7a38298736369448d66d0507842;hpb=28e80a05cdd05682bd45ef0d5101292b3f7b267e diff --git a/LCARStrek/browser/devtools/widgets.css b/LCARStrek/browser/devtools/widgets.css index 0d6110bd..110c4bc8 100644 --- a/LCARStrek/browser/devtools/widgets.css +++ b/LCARStrek/browser/devtools/widgets.css @@ -40,11 +40,18 @@ } .devtools-responsive-container > .devtools-side-splitter { + /* This is a normally vertical splitter, but we have turned it horizontal + due to the smaller resolution */ border: 0; margin: 0; min-height: 3px; height: 3px; - margin-bottom: -3px; + margin-top: -3px; + + /* Reset the vertical splitter styles */ + width: auto; + min-width: 0; + /* In some edge case the cursor is not changed to n-resize */ cursor: n-resize; } @@ -580,7 +587,7 @@ opacity: 0.5; } -@media (min-resolution: 2dppx) { +@media (min-resolution: 1.25dppx) { .variable-or-property-non-writable-icon > .title:after { background-image: url("chrome://browser/skin/devtools/vview-lock@2x.png"); } @@ -680,7 +687,7 @@ height: 16px; } -@media (min-resolution: 2dppx) { +@media (min-resolution: 1.25dppx) { .variables-view-delete { background-image: url("chrome://browser/skin/devtools/vview-delete@2x.png"); } @@ -706,7 +713,7 @@ cursor: pointer; } -@media (min-resolution: 2dppx) { +@media (min-resolution: 1.25dppx) { .variables-view-edit { background-image: url("chrome://browser/skin/devtools/vview-edit@2x.png"); } @@ -800,6 +807,10 @@ cursor: col-resize; } +.graph-widget-canvas[input=adjusting-view-area] { + cursor: grabbing; +} + .graph-widget-canvas[input=hovering-selection-contents] { cursor: grab; } @@ -812,13 +823,14 @@ .line-graph-widget-gutter { position: absolute; - background: #000000; width: 10px; height: 100%; top: 0; left: 0; - border-right: 1px solid #9C9CFF; pointer-events: none; + + background: #000000; + -moz-border-end: 1px solid #9C9CFF; } .line-graph-widget-gutter-line { @@ -841,15 +853,16 @@ .line-graph-widget-tooltip { position: absolute; - background: #404000; border-radius: 2px; line-height: 15px; -moz-padding-start: 6px; -moz-padding-end: 6px; transform: translateY(-50%); - font-size: 80%; + font-size: 0.8rem !important; z-index: 1; pointer-events: none; + + background: #404000; } .line-graph-widget-tooltip[with-arrows=true]::before { @@ -871,31 +884,19 @@ } .line-graph-widget-tooltip[type=maximum] { - left: -1px; -} - -.line-graph-widget-tooltip[type=minimum] { - left: -1px; -} - -.line-graph-widget-tooltip[type=average] { - right: -1px; -} - -.line-graph-widget-tooltip[type=maximum][with-arrows=true] { left: 14px; } -.line-graph-widget-tooltip[type=minimum][with-arrows=true] { +.line-graph-widget-tooltip[type=minimum] { left: 14px; } -.line-graph-widget-tooltip[type=average][with-arrows=true] { +.line-graph-widget-tooltip[type=average] { right: 4px; } .line-graph-widget-tooltip > [text=info] { - color: #A09090; + color: var(--theme-content-color2); } .line-graph-widget-tooltip > [text=value] { @@ -904,7 +905,7 @@ .line-graph-widget-tooltip > [text=metric] { -moz-margin-start: 1px; - color: #9C9CFF; + color: var(--theme-content-color4); } .line-graph-widget-tooltip > [text=value], @@ -916,15 +917,15 @@ } .line-graph-widget-tooltip[type=maximum] > [text=value] { - color: #008484; + color: var(--theme-highlight-green); } .line-graph-widget-tooltip[type=minimum] > [text=value] { - color: #FF0000; + color: var(--theme-highlight-red); } .line-graph-widget-tooltip[type=average] > [text=value] { - color: #FF9F00; + color: var(--theme-highlight-orange); } /* Bar graph widget */ @@ -938,7 +939,7 @@ top: 4px; left: 8px; color: #A09090; - font-size: 80%; + font-size: 0.8rem !important; pointer-events: none; } @@ -1069,7 +1070,7 @@ } .table-chart-totals { - border-top: 1px solid #A09090; /* Grey foreground text */ + border-top: 1px solid var(--theme-body-color-alt); /* Grey foreground text */ } .table-chart-summary-label { @@ -1078,7 +1079,7 @@ } .table-chart-summary-label { - color: #A09090; /* Light foreground text */ + color: var(--theme-content-color2); } /* Table Widget */ @@ -1091,10 +1092,8 @@ .table-widget-body { overflow: auto; -} -.table-widget-body { - background: #000000; /* Background-Sidebar */ + background: var(--theme-sidebar-background); } .table-widget-body:-moz-locale-dir(ltr) { @@ -1177,7 +1176,7 @@ .table-widget-cell { border-top: 1px solid #A09090; border-bottom: 1px solid #A09090; - color: #FF9F00; /* Light foreground text */ + color: var(--theme-body-color); } .theme-dark:not(.filtering) .table-widget-cell:nth-child(odd):not(.theme-selected), @@ -1196,7 +1195,7 @@ @keyframes flash-out { to { - background: #795900; + background: var(--theme-contrast-background2); } } @@ -1327,7 +1326,7 @@ } } -@media (min-resolution: 2dppx) { +@media (min-resolution: 1.25dppx) { .tree-widget-item:before { background-image: url("chrome://browser/skin/devtools/controls@2x.png"); }