1 /* vim:set ts=2 sw=2 sts=2 et: */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 @import url("toolbox.css"); /* workaround until the move to toolbars.inc.css is done */
9 * https://bugzilla.mozilla.org/show_bug.cgi?id=715472#c17
20 background-repeat: no-repeat;
21 background-image: url("chrome://browser/skin/devtools/controls.png");
22 background-position: 0 -14px;
25 .theme-twisty:-moz-focusring {
30 background-position: -14px -14px;
34 display: inline-block;
40 background-image: url("chrome://browser/skin/devtools/controls.png");
41 background-position: 0 0;
44 .theme-checkbox[checked] {
45 background-position: -14px 0;
53 .cm-s-mozilla .CodeMirror-gutters {
54 background-color: rgba(0,0,0,0.5);
57 .theme-bg-contrast { /* contrast bg color to attract attention on a container */
62 .cm-s-mozilla .cm-link { /* original: blue */
67 * FIXME: http://bugzil.la/575675 CSS links without :visited set cause assertion
68 * failures in debug builds.
71 .cm-s-mozilla .cm-link:visited { /* original: blue */
76 .cm-s-mozilla .cm-meta,
78 .cm-s-mozilla .cm-comment { /* original: grey */
83 background-color: #000000;
85 border-color: #9C9CFF;
88 .theme-separator { /* original: grey */
89 border-color: #8050B0;
93 .cm-s-mozilla .cm-number { /* original: green */
98 .cm-s-mozilla .cm-attribute,
99 .cm-s-mozilla .cm-variable,
100 .cm-s-mozilla .cm-def,
101 .cm-s-mozilla .cm-property,
102 .cm-s-mozilla .cm-qualifier { /* original: blue */
107 .cm-s-mozilla .cm-builtin,
108 .cm-s-mozilla .cm-tag,
109 .cm-s-mozilla .cm-header { /* original: pink/lavender */
113 .theme-fg-color4 { /* original: purple/violet */
118 .cm-s-mozilla .cm-bracket,
119 .cm-s-mozilla .cm-keyword { /* original: Yellow */
124 .cm-s-mozilla .cm-string,
125 .cm-s-mozilla .cm-string-2 { /* original: Orange */
130 .cm-s-mozilla .cm-atom,
131 .cm-s-mozilla .cm-quote,
132 .cm-s-mozilla .cm-error { /* original: Red */
137 .devtools-toolbar { /* General toolbar styling */
141 .theme-fg-contrast { /* To be used for text on theme-bg-contrast */
145 .ruleview-colorswatch,
146 .computedview-colorswatch,
147 .markupview-colorswatch {
148 /* box-shadow: 0 0 0 1px rgba(0,0,0,0.5); */
151 /* CodeMirror specific styles.
152 * Best effort to match the existing theme, some of the colors
153 * are duplicated here to prevent weirdness in the main theme. */
155 .CodeMirror { /* Inherit platform specific font sizing and styles */
156 font-family: inherit;
158 background: transparent;
162 .cm-s-mozilla .cm-variable-2,
163 .cm-s-mozilla .cm-variable-3,
164 .cm-s-mozilla .cm-operator,
165 .cm-s-mozilla .cm-special { /* theme-body color */
169 .cm-s-mozilla .CodeMirror-lines .CodeMirror-cursor {
170 border-left: solid 1px #FF9F00;
173 .cm-s-mozilla.CodeMirror-focused .CodeMirror-selected { /* selected text (focused) */
178 .cm-s-mozilla .CodeMirror-selected { /* selected text (unfocused) */
183 .cm-s-mozilla .CodeMirror-activeline-background { /* selected color with alpha */
184 background: rgba(0, 132, 132, .15);
187 div.cm-s-mozilla span.CodeMirror-matchingbracket { /* highlight brackets */
188 outline: solid 1px rgba(0, 132, 132, .25);
192 .cm-s-mozilla .CodeMirror-linenumber { /* line number text */
196 .cm-s-mozilla .CodeMirror-gutters { /* vertical line next to line numbers */
197 border-right-color: #A09090;
201 .cm-s-markup-view pre {
206 /* XUL panel styling (see browser/devtools/shared/widgets/Tooltip.js) */
208 .theme-tooltip-panel .panel-arrowcontent {
210 background: rgba(0, 0, 0, .9);
211 /* border-radius: 5px;
213 border: 3px solid #9C9CFF; */
216 /* Overring panel arrow images to fit with our light and dark themes */
218 .theme-tooltip-panel .panel-arrow[side="top"] {
219 list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-vertical-dark.png");
223 .theme-tooltip-panel .panel-arrow[side="bottom"] {
224 list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-vertical-dark.png");
228 .theme-tooltip-panel .panel-arrow[side="left"] {
229 list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-horizontal-dark.png");
233 .theme-tooltip-panel .panel-arrow[side="right"] {
234 list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-horizontal-dark.png");
238 @media (min-resolution: 2dppx) {
239 .theme-tooltip-panel .panel-arrow[side="top"],
240 .theme-tooltip-panel .panel-arrow[side="bottom"] {
241 list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-vertical-dark@2x.png");
244 .theme-tooltip-panel .panel-arrow[side="left"],
245 .theme-tooltip-panel .panel-arrow[side="right"] {
246 list-style-image: url("chrome://browser/skin/devtools/tooltip/arrow-horizontal-dark@2x.png");
250 .theme-tooltip-panel .devtools-tooltip-simple-text {
252 border-bottom: 1px solid #A09090;
255 .theme-tooltip-panel .devtools-tooltip-simple-text:last-child {
259 /* remove import on top of file when toolbars.inc.css work is done */