X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fwidgets.css;h=2a0f70cf8e64dfd60705332b30c5f14a8119384f;hp=73e223ebc40aef202422f6afbe5038f79061c071;hb=d4d77dc0d0de5595725731c8113e5937c9bc1fea;hpb=3d64e0cebebe213f541634b9a0b2c6e7ba84fcfb diff --git a/LCARStrek/browser/devtools/widgets.css b/LCARStrek/browser/devtools/widgets.css index 73e223eb..2a0f70cf 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; @@ -50,13 +60,8 @@ .breadcrumbs-widget-container { -moz-margin-start: 2px; -moz-margin-start: 2px; - max-height: 25px; /* Set max-height for proper sizing on linux */ - height: 25px; /* Set height to prevent starting small waiting for content */ - /* A fake 1px-shadow is included in the border-images of the - breadcrumbs-widget-items, to match toolbar-buttons style. - This negative margin compensates the extra row of pixels created - by the shadow.*/ -/* margin: -1px 0;*/ + max-height: 24px; /* Set max-height for proper sizing on linux */ + height: 24px; /* Set height to prevent starting small waiting for content */ } .scrollbutton-up, @@ -151,7 +156,7 @@ #breadcrumb-separator-after, #breadcrumb-separator-normal { width: 12px; - height: 25px; + height: 24px; overflow: hidden; } @@ -180,14 +185,14 @@ content: ""; display: block; width: 25px; - height: 25px; + height: 24px; transform: translateX(-18px) rotate(45deg); box-sizing: border-box; } .breadcrumbs-widget-item { background-color: #000000; - min-height: 25px; + min-height: 24px; min-width: 65px; margin: 0; padding: 0 8px 0 20px; @@ -213,6 +218,12 @@ color: #000000; } +.breadcrumbs-widget-item > .button-box { + border: none; + padding-top: 0; + padding-bottom: 0; +} + .breadcrumbs-widget-item:not([checked]) { background-image: -moz-element(#breadcrumb-separator-normal); background-repeat: no-repeat; @@ -511,8 +522,12 @@ color: inherit !important; } -.variable-or-property > .title > .arrow { - -moz-margin-start: 3px; +.variables-view-container .theme-twisty { + margin: 2px; +} + +.variable-or-property > .title > .theme-twisty { + -moz-margin-start: 5px; } .variable-or-property:not([untitled]) > .variables-view-element-details { @@ -759,43 +774,17 @@ /* Variables and properties searching */ -.variables-view-searchinput { - min-height: 24px; -} - .variable-or-property[unmatched] { border: none; margin: 0; } -/* Expand/collapse arrow */ - -.arrow { - background: url("chrome://global/skin/tree/twisty-closed.gif") center center no-repeat; - width: 9px; - height: 16px; - -moz-margin-start: 5px; - -moz-margin-end: 5px; -} - -.variables-view-scope > .title > .arrow { - background-image: url("chrome://global/skin/tree/twisty-closed-selected.gif"); -} - -.arrow[open] { - background-image: url("chrome://global/skin/tree/twisty-open.gif"); -} - -.variables-view-scope > .title > .arrow[open] { - background-image: url("chrome://global/skin/tree/twisty-open-selected.gif"); -} +/* Canvas graphs */ -.arrow[invisible] { - visibility: hidden; +.graph-widget-container { + position: relative; } -/* Canvas graphs */ - .graph-widget-canvas { width: 100%; height: 100%; @@ -823,18 +812,10 @@ cursor: grabbing; } -.graph-widget-canvas ~ * { - pointer-events: none; -} - /* Line graph widget */ -.line-graph-widget-container { - position: relative; -} - .line-graph-widget-canvas { - background: #0088cc; + background: #000000; } .line-graph-widget-gutter { @@ -845,6 +826,7 @@ top: 0; left: 0; border-right: 1px solid #9C9CFF; + pointer-events: none; } .line-graph-widget-gutter-line { @@ -876,6 +858,7 @@ transform: translateY(-50%); font-size: 80%; z-index: 1; + pointer-events: none; } .line-graph-widget-tooltip::before { @@ -941,6 +924,48 @@ color: #FF9F00; } +/* Bar graph widget */ + +.bar-graph-widget-canvas { + background: #000000; +} + +.bar-graph-widget-legend { + position: absolute; + top: 4px; + left: 8px; + color: #A09090; + font-size: 80%; + pointer-events: none; +} + +.bar-graph-widget-legend-item { + float: left; + -moz-margin-end: 8px; +} + +.bar-graph-widget-legend-item > [view="color"], +.bar-graph-widget-legend-item > [view="label"] { + vertical-align: middle; +} + +.bar-graph-widget-legend-item > [view="color"] { + display: inline-block; + width: 8px; + height: 8px; + border: 1px solid #9C9CFF; + border-radius: 1px; + -moz-margin-end: 4px; + pointer-events: none; +} + +.bar-graph-widget-legend-item > [view="label"] { +/* text-shadow: 1px 0px rgba(255,255,255,0.8), + -1px 0px rgba(255,255,255,0.8), + 0px -1px rgba(255,255,255,0.8), + 0px 1px rgba(255,255,255,0.8);*/ +} + /* Charts */ .generic-chart-container {