X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fdark-theme.css;h=529143a1cdc80c49539a1eeb5ef2021a92b9fde8;hp=9e19bb376a69c95041835bfc7f2cad40819f4002;hb=7600e0b11c4883db40bc3a6a5f2427db006c6ad5;hpb=2efcd25dc1dc8e4c55c31d226b99b9cfda531de1 diff --git a/LCARStrek/browser/devtools/dark-theme.css b/LCARStrek/browser/devtools/dark-theme.css index 9e19bb37..529143a1 100644 --- a/LCARStrek/browser/devtools/dark-theme.css +++ b/LCARStrek/browser/devtools/dark-theme.css @@ -13,58 +13,58 @@ .theme-twisty { cursor: pointer; - margin-right: 5px; + width: 14px; + height: 14px; + background-repeat: no-repeat; + background-image: url("chrome://browser/skin/devtools/controls.png"); + background-position: 0 -14px; } .theme-twisty:-moz-focusring { outline-style: none; } -.theme-twisty:not([open]) { - width: 0; - height: 0; - border-top: 5px solid transparent; - border-bottom: 5px solid transparent; - border-left: 5px solid #8050B0; - margin-left: 5px; -} - .theme-twisty[open] { - width: 10px; - height: 10px; - background-image: linear-gradient(to bottom right, transparent 68%, #8050B0 68%); + background-position: -14px -14px; } .theme-checkbox { display: inline-block; - border: 1px solid #FF9F00; - width: 6px; - height: 6px; - padding: 2px; - background-color: transparent; - background-repeat: no-repeat; + border: 0; + width: 14px; + height: 14px; + padding: 0; outline: none; + background-image: url("chrome://browser/skin/devtools/controls.png"); + background-position: 0 0; } .theme-checkbox[checked] { - background-clip: content-box; - background-image: linear-gradient(to bottom right, transparent 48%, #FF9F00 48%, #FF9F00 52%, transparent 52%), - linear-gradient(to bottom left, transparent 48%, #FF9F00 48%, #FF9F00 52%, transparent 52%); + background-position: -14px 0; } .theme-selected { background: #004242; } -.theme-bg-darker { - background-color: rgba(0,0,0,0.1); +.theme-bg-darker +.cm-s-mozilla .CodeMirror-gutters { + background-color: rgba(0,0,0,0.5); } -.theme-link { /* original: blue */ +.theme-bg-contrast { /* contrast bg color to attract attention on a container */ + background: #404000; +} + +.theme-link, +.cm-s-mozilla .cm-link { /* original: blue */ color: #3333FF; } -.theme-comment { /* original: grey */ +.theme-comment, +.cm-s-mozilla .cm-meta, +.cm-s-mozilla .cm-hr, +.cm-s-mozilla .cm-string { /* original: grey */ color: #A09090; } @@ -78,23 +78,39 @@ border-color: #8050B0; } -.theme-fg-color1 { /* original: green */ +.theme-fg-color1, +.cm-s-mozilla .cm-variable-2, +.cm-s-mozilla .cm-quote, +.cm-s-mozilla .CodeMirror-matchingbracket { /* original: green */ color: #008484; } -.theme-fg-color2 { /* original: blue */ +.theme-fg-color2, +.cm-s-mozilla .cm-attribute, +.cm-s-mozilla .cm-builtin, +.cm-s-mozilla .cm-variable, +.cm-s-mozilla .cm-def, +.cm-s-mozilla .cm-variable-3, +.cm-s-mozilla .cm-property, +.cm-s-mozilla .cm-qualifier { /* original: blue */ color: #9C9CFF; } -.theme-fg-color3 { /* original: pink/lavender */ +.theme-fg-color3, +.cm-s-mozilla .cm-tag, +.cm-s-mozilla .cm-header { /* original: pink/lavender */ color: #E7ADE7; } -.theme-fg-color4 { /* original: purple/violet */ +.theme-fg-color4, +.cm-s-mozilla .cm-comment { /* original: purple/violet */ color: #C09070; } -.theme-fg-color5 { /* original: Yellow */ +.theme-fg-color5, +.cm-s-mozilla .cm-bracket, +.cm-s-mozilla .cm-atom, +.cm-s-mozilla .cm-keyword { /* original: Yellow */ color: #FFCF00; } @@ -102,6 +118,59 @@ color: #FF9F00; } -.theme-fg-color7 { /* original: Red */ +.theme-fg-color7, +.cm-s-mozilla .CodeMirror-nonmatchingbracket, +.cm-s-mozilla .cm-string-2, +.cm-s-mozilla .cm-error { /* original: Red */ color: #FF0000; } + +.theme-fg-contrast { /* To be used for text on theme-bg-contrast */ + color: #FFCF00; +} + +.ruleview-colorswatch, +.computedview-colorswatch, +.markupview-colorswatch { +/* box-shadow: 0 0 0 1px rgba(0,0,0,0.5); */ +} + +/* CodeMirror specific styles. + * Best effort to match the existing theme, some of the colors + * are duplicated here to prevent weirdness in the main theme. */ + +.CodeMirror { /* Inherit platform specific font sizing and styles */ + font-family: inherit; + font-size: inherit; + background: transparent; +} + +.CodeMirror pre, +.cm-s-mozilla .cm-operator, +.cm-s-mozilla .cm-special, +.cm-s-mozilla .cm-number { /* theme-body color */ + color: #FF9F00; +} + +.cm-s-mozilla .CodeMirror-lines .CodeMirror-cursor { + border-left: solid 1px #FF9F00; +} + +.cm-s-mozilla.CodeMirror-focused .CodeMirror-selected { /* selected text (focused) */ + background: #008484; + color: #FFCF00; +} + +.dcm-s-mozilla .CodeMirror-selected { /* selected text (unfocused) */ + background: #008484; + color: #000000; +} + +.CodeMirror-activeline-background { /* selected color with alpha */ + background: rgba(0, 132, 132, .05); +} + +.cm-s-markup-view pre { + line-height: 1.4em; + min-height: 1.4em; +}