X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fdark-theme.css;h=55f99d80912fb63e273a3e66d28d50bede29fa94;hp=83ec47c3f3b7dfb66477338802b9ff810f06d960;hb=6dc70335b2a0bf287f39b81011cb275c8158622c;hpb=1b13529a8907a5520788e317aee6205bc32d1fbe diff --git a/LCARStrek/browser/devtools/dark-theme.css b/LCARStrek/browser/devtools/dark-theme.css index 83ec47c3..55f99d80 100644 --- a/LCARStrek/browser/devtools/dark-theme.css +++ b/LCARStrek/browser/devtools/dark-theme.css @@ -3,6 +3,8 @@ * 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/. */ +@import url("toolbox.css"); /* workaround until the move to toolbars.inc.css is done */ + /* According to: * https://bugzilla.mozilla.org/show_bug.cgi?id=715472#c17 */ @@ -47,15 +49,33 @@ background: #004242; } -.theme-bg-darker { +.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; +} + +/* + * FIXME: http://bugzil.la/575675 CSS links without :visited set cause assertion + * failures in debug builds. + */ +.theme-link:visited, +.cm-s-mozilla .cm-link:visited { /* original: blue */ color: #3333FF; } -.theme-comment { /* original: grey */ +.theme-comment, +.cm-s-mozilla .cm-meta, +.cm-s-mozilla .cm-hr, +.cm-s-mozilla .cm-comment { /* original: grey */ color: #A09090; } @@ -69,15 +89,24 @@ border-color: #8050B0; } -.theme-fg-color1 { /* original: green */ +.theme-fg-color1, +.cm-s-mozilla .cm-number { /* original: green */ color: #008484; } -.theme-fg-color2 { /* original: blue */ +.theme-fg-color2, +.cm-s-mozilla .cm-attribute, +.cm-s-mozilla .cm-variable, +.cm-s-mozilla .cm-def, +.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-builtin, +.cm-s-mozilla .cm-tag, +.cm-s-mozilla .cm-header { /* original: pink/lavender */ color: #E7ADE7; } @@ -85,14 +114,146 @@ color: #C09070; } -.theme-fg-color5 { /* original: Yellow */ +.theme-fg-color5, +.cm-s-mozilla .cm-bracket, +.cm-s-mozilla .cm-keyword { /* original: Yellow */ color: #FFCF00; } -.theme-fg-color6 { /* original: Orange */ - color: #FF9F00; +.theme-fg-color6, +.cm-s-mozilla .cm-string, +.cm-s-mozilla .cm-string-2 { /* original: Orange */ + color: #E7ADE7; } -.theme-fg-color7 { /* original: Red */ +.theme-fg-color7, +.cm-s-mozilla .cm-atom, +.cm-s-mozilla .cm-quote, +.cm-s-mozilla .cm-error { /* original: Red */ color: #FF0000; } + +.theme-toolbar, +.devtools-toolbar { /* General toolbar styling */ +} + + +.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-variable-2, +.cm-s-mozilla .cm-variable-3, +.cm-s-mozilla .cm-operator, +.cm-s-mozilla .cm-special { /* 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; +} + +.cm-s-mozilla .CodeMirror-selected { /* selected text (unfocused) */ + background: #008484; + color: #000000; +} + +.cm-s-mozilla .CodeMirror-activeline-background { /* selected color with alpha */ + background: rgba(0, 132, 132, .15); +} + +div.cm-s-mozilla span.CodeMirror-matchingbracket { /* highlight brackets */ + outline: solid 1px rgba(0, 132, 132, .25); + color: #FFCF00; +} + +.cm-s-mozilla .CodeMirror-linenumber { /* line number text */ + color: #A09090; +} + +.cm-s-mozilla .CodeMirror-gutters { /* vertical line next to line numbers */ + border-right-color: #A09090; + background: #402800; +} + +.cm-s-markup-view pre { + line-height: 1.4em; + min-height: 1.4em; +} + +/* XUL panel styling (see browser/devtools/shared/widgets/Tooltip.js) */ + +.theme-tooltip-panel .panel-arrowcontent { +/* padding: 5px; */ + background: rgba(0, 0, 0, .9); +/* border-radius: 5px; + box-shadow: none; + border: 3px solid #9C9CFF; */ +} + +/* Overring panel arrow images to fit with our light and dark themes */ +/* +.theme-tooltip-panel .panel-arrow[side="top"] { + list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-vertical-dark.png"); + margin-bottom: -4px; +} + +.theme-tooltip-panel .panel-arrow[side="bottom"] { + list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-vertical-dark.png"); + margin-top: -4px; +} + +.theme-tooltip-panel .panel-arrow[side="left"] { + list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-horizontal-dark.png"); + margin-right: -4px; +} + +.theme-tooltip-panel .panel-arrow[side="right"] { + list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-horizontal-dark.png"); + margin-left: -4px; +} + +@media (min-resolution: 2dppx) { + .theme-tooltip-panel .panel-arrow[side="top"], + .theme-tooltip-panel .panel-arrow[side="bottom"] { + list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-vertical-dark@2x.png"); + } + + .theme-tooltip-panel .panel-arrow[side="left"], + .theme-tooltip-panel .panel-arrow[side="right"] { + list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-horizontal-dark@2x.png"); + } +} +*/ +.theme-tooltip-panel .devtools-tooltip-simple-text { +/* color: white; */ + border-bottom: 1px solid #A09090; +} + +.theme-tooltip-panel .devtools-tooltip-simple-text:last-child { + border-bottom: 0; +} + +/* remove import on top of file when toolbars.inc.css work is done */