mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
175 lines
3.6 KiB
CSS
175 lines
3.6 KiB
CSS
/* vim:set ts=2 sw=2 sts=2 et: */
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* 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/. */
|
|
|
|
/* According to:
|
|
* https://bugzilla.mozilla.org/show_bug.cgi?id=715472#c17
|
|
*/
|
|
.theme-body {
|
|
background: white;
|
|
color: black;
|
|
}
|
|
|
|
.theme-twisty {
|
|
cursor: pointer;
|
|
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[open] {
|
|
background-position: -14px -14px;
|
|
}
|
|
|
|
.theme-checkbox {
|
|
display: inline-block;
|
|
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-position: -14px 0;
|
|
}
|
|
|
|
.theme-selected {
|
|
background-color: #CCC;
|
|
}
|
|
|
|
.theme-bg-darker,
|
|
.cm-s-mozilla .CodeMirror-gutters {
|
|
background: #EFEFEF;
|
|
}
|
|
|
|
.theme-bg-contrast { /* contrast bg color to attract attention on a container */
|
|
background: #a18650;
|
|
}
|
|
|
|
.theme-link,
|
|
.cm-s-mozilla .cm-link { /* blue */
|
|
color: hsl(208,56%,40%);
|
|
}
|
|
|
|
.theme-comment,
|
|
.cm-s-mozilla .cm-meta,
|
|
.cm-s-mozilla .cm-hr { /* grey */
|
|
color: hsl(90,2%,46%);
|
|
}
|
|
|
|
.theme-gutter {
|
|
background-color: hsl(0,0%,90%);
|
|
color: #667380;
|
|
border-color: hsl(0,0%,65%);
|
|
}
|
|
|
|
.theme-separator { /* grey */
|
|
border-color: #cddae5;
|
|
}
|
|
|
|
.theme-fg-color1,
|
|
.cm-s-mozilla .cm-variable-2,
|
|
.cm-s-mozilla .cm-quote,
|
|
.cm-s-mozilla .CodeMirror-matchingbracket { /* green */
|
|
color: hsl(72,100%,27%);
|
|
}
|
|
|
|
.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 { /* blue */
|
|
color: hsl(208,56%,40%);
|
|
}
|
|
|
|
.theme-fg-color3,
|
|
.cm-s-mozilla .cm-tag,
|
|
.cm-s-mozilla .cm-header { /* dark blue */
|
|
color: hsl(208,81%,21%)
|
|
}
|
|
|
|
.theme-fg-color4,
|
|
.cm-s-mozilla .cm-comment { /* Orange */
|
|
color: hsl(24,85%,39%);
|
|
}
|
|
|
|
.theme-fg-color5,
|
|
.cm-s-mozilla .cm-bracket,
|
|
.cm-s-mozilla .cm-keyword,
|
|
.cm-s-mozilla .cm-atom { /* Yellow */
|
|
color: #a18650;
|
|
}
|
|
|
|
.theme-fg-color6,
|
|
.cm-s-mozilla .cm-string { /* Orange */
|
|
color: hsl(24,85%,39%);
|
|
}
|
|
|
|
.theme-fg-color7,
|
|
.cm-s-mozilla .CodeMirror-nonmatchingbracket,
|
|
.cm-s-mozilla .cm-string-2,
|
|
.cm-s-mozilla .cm-error { /* Red */
|
|
color: #bf5656;
|
|
}
|
|
|
|
.theme-fg-contrast { /* To be used for text on theme-bg-contrast */
|
|
color: black;
|
|
}
|
|
|
|
.ruleview-colorswatch,
|
|
.computedview-colorswatch,
|
|
.markupview-colorswatch {
|
|
box-shadow: 0 0 0 1px #EFEFEF;
|
|
}
|
|
|
|
/* 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: black;
|
|
}
|
|
|
|
.cm-s-mozilla .CodeMirror-lines .CodeMirror-cursor {
|
|
border-left: solid 1px black;
|
|
}
|
|
|
|
.cm-s-mozilla.CodeMirror-focused .CodeMirror-selected { /* selected text (focused) */
|
|
background: rgb(185, 215, 253);
|
|
}
|
|
|
|
.cm-s-mozilla .CodeMirror-selected { /* selected text (unfocused) */
|
|
background: rgb(176, 176, 176);
|
|
}
|
|
|
|
.CodeMirror-activeline-background { /* selected color with alpha */
|
|
background: rgba(185, 215, 253, .4);
|
|
}
|
|
|
|
.cm-s-markup-view pre {
|
|
line-height: 1.4em;
|
|
min-height: 1.4em;
|
|
}
|