X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fcommon.css;h=3eb105c61e997240aac75eadb6600b88d1806963;hp=2bf56f4c9e27addce910faf01fbd0f969ae38c3a;hb=cc7e70eb6f20567d466ab1f5f358190b6be7083d;hpb=a7145e953610161cc4774a08ded880bc9e0e9e07 diff --git a/LCARStrek/browser/devtools/common.css b/LCARStrek/browser/devtools/common.css index 2bf56f4c..3eb105c6 100644 --- a/LCARStrek/browser/devtools/common.css +++ b/LCARStrek/browser/devtools/common.css @@ -3,6 +3,11 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +/* Font for code */ +.devtools-monospace { + font: 12px "Liberation Mono", Consolas, "Courier New", monospace; +} + /* Toolbar and Toolbar items */ .devtools-toolbar { @@ -28,6 +33,10 @@ devtools-menulist:-moz-focusring, min-width: 20px; } +.devtools-toolbarbutton:not([label]) > .toolbarbutton-text { + display: none; +} + .devtools-toolbarbutton:not([checked=true]):hover:active { } @@ -42,6 +51,18 @@ devtools-menulist:-moz-focusring, .devtools-toolbarbutton[checked=true]:hover:active { } +.devtools-option-toolbarbutton { + list-style-image: url("chrome://browser/skin/devtools/option-icon.png"); + -moz-image-region: rect(0px 16px 16px 0px); + background: none; + border: none; +} + +.devtools-option-toolbarbutton:hover, +.devtools-option-toolbarbutton[open=true] { + -moz-image-region: rect(0px 32px 16px 16px); +} + .devtools-menulist > .menulist-label-box { text-align: center; } @@ -74,27 +95,34 @@ devtools-menulist:-moz-focusring, -moz-box-align: center; } -/* Search input */ +/* Text input */ /* +.devtools-textinput, .devtools-searchinput { -moz-appearance: none; margin: 0 3px; + min-height: 22px; border: 1px solid hsla(211,68%,6%,.6); box-shadow: inset 0 1px 0 hsla(211,68%,6%,.05), 0 0 0 1px hsla(210,40%,83%,.1); border-radius: 2px; background-color: transparent; - background-image: url(magnifying-glass.png), -moz-linear-gradient(hsla(210,16%,76%,.15), hsla(210,16%,76%,.35)); + background-image: linear-gradient(hsla(210,16%,76%,.15), hsla(210,16%,76%,.35)); + padding: 3px; + transition-property: background-color, border-color, box-shadow; + transition-duration: 150ms; + transition-timing-function: ease; + color: inherit; +} + +.devtools-searchinput { + background-image: url(magnifying-glass.png), linear-gradient(hsla(210,16%,76%,.15), hsla(210,16%,76%,.35)); background-repeat: no-repeat; background-position: 4px center, top left, top left; padding-top: 0; padding-bottom: 0; -moz-padding-start: 18px; -moz-padding-end: 12px; - transition-property: background-color, border-color, box-shadow; - transition-duration: 150ms; - transition-timing-function: ease; - color: inherit; } .devtools-searchinput[focused] { @@ -148,6 +176,112 @@ devtools-menulist:-moz-focusring, position: relative; } +/* In-tools sidebar */ + +.devtools-sidebar-tabs { +} + +.devtools-sidebar-tabs > tabpanels { + padding: 0; + border: 0; +} + +.devtools-sidebar-tabs > tabs { + position: static; + overflow: hidden; +} + +.devtools-sidebar-tabs > tabs > .tabs-right, +.devtools-sidebar-tabs > tabs > .tabs-left { + display: none; +} + +.devtools-sidebar-tabs > tabs > tab { + min-width: 78px; + text-align: center; + -moz-box-flex: 1; + position: static; + margin-top: 0; +} + +.devtools-sidebar-tabs > tabs > tab:-moz-focusring { + position: static; +} + +.devtools-sidebar-tabs > tabs > tab:last-of-type { + -moz-border-end-width: 0; +} + +.devtools-sidebar-tabs > tabs > tab:first-of-type { + -moz-margin-start: 0; +} + +.devtools-sidebar-tabs > tabs > tab { +} + +.devtools-sidebar-tabs:-moz-locale-dir(rtl) > tabs > tab { +} + +.devtools-sidebar-tabs > tabs > tab { +} + +.devtools-sidebar-tabs > tabs > tab:hover { +} + +.devtools-sidebar-tabs > tabs > tab:hover:active { +} + +.devtools-sidebar-tabs > tabs > tab[selected=true] + tab { +} + +.devtools-sidebar-tabs > tabs > tab[selected=true] + tab:hover { +} + +.devtools-sidebar-tabs > tabs > tab[selected=true] + tab:hover:active { +} + +.devtools-sidebar-tabs > tabs > tab[selected=true] { +} + +.devtools-sidebar-tabs > tabs > tab[selected=true]:hover { +} + +.devtools-sidebar-tabs > tabs > tab[selected=true]:hover:active { +} + +/* Theme */ + +.devtools-theme-background { + background-color: #000000; + color: #FF9F00; +} + +.devtools-theme-comment { + color: #A09090; /* original: grey */ +} + +.devtools-theme-keyword { + color: #8050B0; /* original: purple */ +} + +.devtools-theme-string { + color: #E7ADE7; /* original: green */ +} + +.devtools-theme-tagname { + color: #FFCF00; /* original: dark blue */ +} + +.devtools-theme-attrname { + color: #9C9CFF; /* original: blue */ +} + +.devtools-theme-attrvalue { + color: #C09070; /* original: orange */ +} + +/* LCARStrek-specific adaptions */ + #profiler-chrome { /* HACK for profiler in the dev toolbox in FF 20+. */ margin: -3px; @@ -155,4 +289,4 @@ devtools-menulist:-moz-focusring, #profiler-chrome > box > box > .devtools-toolbar { border-bottom: none; -} \ No newline at end of file +}