2013-03-28 02:20:38 +04:00
|
|
|
/* 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/. */
|
|
|
|
|
2015-10-07 18:19:44 +03:00
|
|
|
@import url(variables.css);
|
2015-11-04 00:35:11 +03:00
|
|
|
@import url(toolbars.css);
|
2013-12-12 21:36:16 +04:00
|
|
|
|
2015-10-16 18:46:54 +03:00
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2013-03-28 02:20:38 +04:00
|
|
|
.theme-body {
|
2013-12-12 21:36:16 +04:00
|
|
|
background: var(--theme-body-background);
|
|
|
|
color: var(--theme-body-color);
|
2013-03-28 02:20:38 +04:00
|
|
|
}
|
|
|
|
|
2014-01-31 00:42:15 +04:00
|
|
|
.theme-sidebar {
|
2013-12-12 21:36:16 +04:00
|
|
|
background: var(--theme-sidebar-background);
|
|
|
|
color: var(--theme-content-color1);
|
2014-01-31 00:42:15 +04:00
|
|
|
}
|
|
|
|
|
2013-12-17 21:07:37 +04:00
|
|
|
::-moz-selection {
|
2013-12-12 21:36:16 +04:00
|
|
|
background-color: var(--theme-selection-background);
|
|
|
|
color: var(--theme-selection-color);
|
2013-12-17 21:07:37 +04:00
|
|
|
}
|
|
|
|
|
2014-03-05 18:44:47 +04:00
|
|
|
.theme-bg-darker {
|
2014-11-25 00:59:46 +03:00
|
|
|
background-color: var(--theme-selection-background-semitransparent);
|
2014-03-05 18:44:47 +04:00
|
|
|
}
|
|
|
|
|
2014-04-17 00:49:28 +04:00
|
|
|
.theme-selected,
|
|
|
|
.CodeMirror-hint-active {
|
2013-12-12 21:36:16 +04:00
|
|
|
background-color: var(--theme-selection-background);
|
|
|
|
color: var(--theme-selection-color);
|
2013-03-28 02:20:38 +04:00
|
|
|
}
|
|
|
|
|
2013-12-06 20:24:06 +04:00
|
|
|
.theme-bg-contrast,
|
2013-12-12 21:36:16 +04:00
|
|
|
.variable-or-property:not([overridden])[changed] {
|
|
|
|
background: var(--theme-contrast-background);
|
2013-09-23 10:46:12 +04:00
|
|
|
}
|
|
|
|
|
2013-10-24 17:41:03 +04:00
|
|
|
.theme-link,
|
2013-12-12 21:36:16 +04:00
|
|
|
.cm-s-mozilla .cm-link {
|
|
|
|
color: var(--theme-highlight-blue);
|
2013-03-28 02:20:38 +04:00
|
|
|
}
|
|
|
|
|
2013-11-11 19:17:41 +04:00
|
|
|
/*
|
|
|
|
* FIXME: http://bugzil.la/575675 CSS links without :visited set cause assertion
|
|
|
|
* failures in debug builds.
|
|
|
|
*/
|
|
|
|
.theme-link:visited,
|
2014-04-17 00:49:28 +04:00
|
|
|
.cm-s-mozilla .cm-link:visited,
|
2013-12-12 21:36:16 +04:00
|
|
|
.CodeMirror-Tern-type {
|
|
|
|
color: var(--theme-highlight-blue);
|
2013-11-11 19:17:41 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2013-10-24 17:41:03 +04:00
|
|
|
.theme-comment,
|
|
|
|
.cm-s-mozilla .cm-meta,
|
2013-10-26 18:13:43 +04:00
|
|
|
.cm-s-mozilla .cm-hr,
|
2013-12-06 20:24:06 +04:00
|
|
|
.cm-s-mozilla .cm-comment,
|
|
|
|
.variable-or-property .token-undefined,
|
2013-12-12 21:36:16 +04:00
|
|
|
.variable-or-property .token-null,
|
2014-04-17 00:49:28 +04:00
|
|
|
.CodeMirror-Tern-completion-unknown:before {
|
2013-12-12 21:36:16 +04:00
|
|
|
color: var(--theme-comment);
|
2014-04-17 00:49:28 +04:00
|
|
|
}
|
|
|
|
|
2013-03-28 02:20:38 +04:00
|
|
|
.theme-gutter {
|
|
|
|
background-color: #0f171f;
|
2013-12-12 21:36:16 +04:00
|
|
|
color: var(--theme-content-color3);
|
2013-03-28 02:20:38 +04:00
|
|
|
border-color: #303b47;
|
|
|
|
}
|
|
|
|
|
|
|
|
.theme-separator { /* grey */
|
|
|
|
border-color: #303b47;
|
|
|
|
}
|
|
|
|
|
2013-10-24 17:41:03 +04:00
|
|
|
.theme-fg-color1,
|
2013-12-06 20:24:06 +04:00
|
|
|
.cm-s-mozilla .cm-number,
|
|
|
|
.variable-or-property .token-number,
|
2013-12-13 00:14:29 +04:00
|
|
|
.variable-or-property[return] > .title > .name,
|
2013-12-12 21:36:16 +04:00
|
|
|
.variable-or-property[scope] > .title > .name {
|
|
|
|
color: var(--theme-highlight-green);
|
2013-03-28 02:20:38 +04:00
|
|
|
}
|
|
|
|
|
2014-04-17 00:49:28 +04:00
|
|
|
.CodeMirror-Tern-completion-number:before {
|
|
|
|
background-color: #5c9966;
|
|
|
|
}
|
|
|
|
|
2013-10-24 17:41:03 +04:00
|
|
|
.theme-fg-color2,
|
|
|
|
.cm-s-mozilla .cm-attribute,
|
|
|
|
.cm-s-mozilla .cm-variable,
|
|
|
|
.cm-s-mozilla .cm-def,
|
|
|
|
.cm-s-mozilla .cm-property,
|
2013-12-06 20:24:06 +04:00
|
|
|
.cm-s-mozilla .cm-qualifier,
|
2013-12-12 21:36:16 +04:00
|
|
|
.variables-view-variable > .title > .name {
|
|
|
|
color: var(--theme-highlight-blue);
|
2013-03-28 02:20:38 +04:00
|
|
|
}
|
|
|
|
|
2014-04-17 00:49:28 +04:00
|
|
|
.CodeMirror-Tern-completion-object:before {
|
|
|
|
background-color: #3689b2;
|
|
|
|
}
|
|
|
|
|
2014-05-22 14:04:47 +04:00
|
|
|
.cm-s-mozilla .cm-unused-line {
|
|
|
|
text-decoration: line-through;
|
2015-07-03 00:13:34 +03:00
|
|
|
text-decoration-color: #0072ab;
|
2014-05-22 14:04:47 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.cm-s-mozilla .cm-executed-line {
|
|
|
|
background-color: #133c26;
|
|
|
|
}
|
|
|
|
|
2013-10-24 17:41:03 +04:00
|
|
|
.theme-fg-color3,
|
2013-11-06 13:59:20 +04:00
|
|
|
.cm-s-mozilla .cm-builtin,
|
2013-10-24 17:41:03 +04:00
|
|
|
.cm-s-mozilla .cm-tag,
|
2013-12-06 20:24:06 +04:00
|
|
|
.cm-s-mozilla .cm-header,
|
2013-12-12 21:36:16 +04:00
|
|
|
.cm-s-mozilla .cm-bracket,
|
|
|
|
.variables-view-property > .title > .name {
|
|
|
|
color: var(--theme-highlight-pink);
|
2013-03-28 02:20:38 +04:00
|
|
|
}
|
|
|
|
|
2014-04-17 00:49:28 +04:00
|
|
|
.CodeMirror-Tern-completion-array:before {
|
2013-12-12 21:36:16 +04:00
|
|
|
background-color: var(--theme-highlight-bluegrey);
|
2014-04-17 00:49:28 +04:00
|
|
|
}
|
|
|
|
|
2013-12-12 21:36:16 +04:00
|
|
|
.theme-fg-color4 {
|
|
|
|
color: var(--theme-highlight-purple);
|
2013-03-28 02:20:38 +04:00
|
|
|
}
|
|
|
|
|
2013-10-24 17:41:03 +04:00
|
|
|
.theme-fg-color5,
|
2013-12-12 21:36:16 +04:00
|
|
|
.cm-s-mozilla .cm-keyword {
|
|
|
|
color: var(--theme-highlight-lightorange);
|
2013-03-28 02:20:38 +04:00
|
|
|
}
|
|
|
|
|
2013-10-24 17:41:03 +04:00
|
|
|
.theme-fg-color6,
|
2013-11-06 13:59:20 +04:00
|
|
|
.cm-s-mozilla .cm-string,
|
2013-12-06 20:24:06 +04:00
|
|
|
.cm-s-mozilla .cm-string-2,
|
2014-04-17 00:49:28 +04:00
|
|
|
.variable-or-property .token-string,
|
2013-12-12 21:36:16 +04:00
|
|
|
.CodeMirror-Tern-farg {
|
|
|
|
color: var(--theme-highlight-orange);
|
2013-03-28 02:20:38 +04:00
|
|
|
}
|
|
|
|
|
2014-04-17 00:49:28 +04:00
|
|
|
.CodeMirror-Tern-completion-string:before,
|
|
|
|
.CodeMirror-Tern-completion-fn:before {
|
|
|
|
background-color: #b26b47;
|
|
|
|
}
|
|
|
|
|
2013-10-24 17:41:03 +04:00
|
|
|
.theme-fg-color7,
|
2013-11-06 13:59:20 +04:00
|
|
|
.cm-s-mozilla .cm-atom,
|
|
|
|
.cm-s-mozilla .cm-quote,
|
2013-12-06 20:24:06 +04:00
|
|
|
.cm-s-mozilla .cm-error,
|
|
|
|
.variable-or-property .token-boolean,
|
2014-02-01 13:24:44 +04:00
|
|
|
.variable-or-property .token-domnode,
|
2013-12-12 21:36:16 +04:00
|
|
|
.variable-or-property[exception] > .title > .name {
|
|
|
|
color: var(--theme-highlight-red);
|
2013-03-28 02:20:38 +04:00
|
|
|
}
|
2013-09-23 10:46:12 +04:00
|
|
|
|
2014-04-17 00:49:28 +04:00
|
|
|
.CodeMirror-Tern-completion-bool:before {
|
|
|
|
background-color: #bf5656;
|
|
|
|
}
|
|
|
|
|
2014-02-01 13:24:44 +04:00
|
|
|
.variable-or-property .token-domnode {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2013-11-13 22:02:05 +04:00
|
|
|
.theme-toolbar,
|
2014-01-31 00:42:15 +04:00
|
|
|
.devtools-toolbar,
|
2015-01-15 12:47:12 +03:00
|
|
|
.devtools-sidebar-tabs tabs,
|
|
|
|
.devtools-sidebar-alltabs,
|
2014-05-16 16:48:00 +04:00
|
|
|
.CodeMirror-dialog { /* General toolbar styling */
|
2013-12-12 21:36:16 +04:00
|
|
|
color: var(--theme-body-color-alt);
|
|
|
|
background-color: var(--theme-toolbar-background);
|
2014-01-31 00:42:15 +04:00
|
|
|
border-color: hsla(210,8%,5%,.6);
|
2013-11-13 22:02:05 +04:00
|
|
|
}
|
|
|
|
|
2013-09-23 10:46:12 +04:00
|
|
|
.theme-fg-contrast { /* To be used for text on theme-bg-contrast */
|
|
|
|
color: black;
|
|
|
|
}
|
2013-10-18 18:01:20 +04:00
|
|
|
|
2015-04-09 12:00:42 +03:00
|
|
|
.ruleview-swatch,
|
|
|
|
.computedview-colorswatch {
|
2014-04-29 20:26:00 +04:00
|
|
|
box-shadow: 0 0 0 1px #818181;
|
2013-10-18 18:01:20 +04:00
|
|
|
}
|
2013-10-24 17:41:03 +04:00
|
|
|
|
|
|
|
/* 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,
|
2013-11-06 13:59:20 +04:00
|
|
|
.cm-s-mozilla .cm-variable-2,
|
|
|
|
.cm-s-mozilla .cm-variable-3,
|
2013-10-24 17:41:03 +04:00
|
|
|
.cm-s-mozilla .cm-operator,
|
2013-12-12 21:36:16 +04:00
|
|
|
.cm-s-mozilla .cm-special {
|
|
|
|
color: var(--theme-content-color1);
|
2013-10-24 17:41:03 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.cm-s-mozilla .CodeMirror-lines .CodeMirror-cursor {
|
|
|
|
border-left: solid 1px #fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cm-s-mozilla.CodeMirror-focused .CodeMirror-selected { /* selected text (focused) */
|
|
|
|
background: rgb(185, 215, 253);
|
|
|
|
}
|
|
|
|
|
2013-10-26 18:13:43 +04:00
|
|
|
.cm-s-mozilla .CodeMirror-selected { /* selected text (unfocused) */
|
2013-10-24 17:41:03 +04:00
|
|
|
background: rgb(176, 176, 176);
|
|
|
|
}
|
|
|
|
|
2013-11-06 13:59:20 +04:00
|
|
|
.cm-s-mozilla .CodeMirror-activeline-background { /* selected color with alpha */
|
2013-10-26 18:13:43 +04:00
|
|
|
background: rgba(185, 215, 253, .15);
|
|
|
|
}
|
|
|
|
|
2013-11-06 13:59:20 +04:00
|
|
|
div.cm-s-mozilla span.CodeMirror-matchingbracket { /* highlight brackets */
|
|
|
|
outline: solid 1px rgba(255, 255, 255, .25);
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
2013-11-29 18:47:52 +04:00
|
|
|
/* Highlight for a line that contains an error. */
|
|
|
|
div.CodeMirror div.error-line {
|
|
|
|
background: rgba(255,0,0,0.2);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Highlight for a line that represents a stack frame's location. */
|
|
|
|
div.CodeMirror div.debug-line {
|
|
|
|
background: rgba(0,128,255,0.1);
|
|
|
|
box-shadow:
|
|
|
|
0 1px 0 0 rgba(0,128,255,0.4),
|
|
|
|
0 -1px 0 0 rgba(0,128,255,0.4);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Generic highlighted text */
|
|
|
|
div.CodeMirror span.marked-text {
|
|
|
|
background: rgba(255,255,0,0.2);
|
|
|
|
border: 1px dashed rgba(192,192,0,0.6);
|
|
|
|
-moz-margin-start: -1px;
|
|
|
|
-moz-margin-end: -1px;
|
|
|
|
}
|
|
|
|
|
2013-11-20 03:17:40 +04:00
|
|
|
/* Highlight for evaluating current statement. */
|
|
|
|
div.CodeMirror span.eval-text {
|
|
|
|
background-color: #556;
|
|
|
|
}
|
|
|
|
|
2013-10-26 18:13:43 +04:00
|
|
|
.cm-s-mozilla .CodeMirror-linenumber { /* line number text */
|
2013-12-12 21:36:16 +04:00
|
|
|
color: var(--theme-content-color3);
|
2013-10-26 18:13:43 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.cm-s-mozilla .CodeMirror-gutters { /* vertical line next to line numbers */
|
2013-12-12 21:36:16 +04:00
|
|
|
border-right-color: var(--theme-toolbar-background);
|
|
|
|
background-color: var(--theme-sidebar-background);
|
2013-10-24 17:41:03 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.cm-s-markup-view pre {
|
|
|
|
line-height: 1.4em;
|
|
|
|
min-height: 1.4em;
|
|
|
|
}
|
2013-11-16 06:46:59 +04:00
|
|
|
|
2014-03-05 01:25:51 +04:00
|
|
|
/* Twisty and checkbox controls */
|
|
|
|
.theme-twisty, .theme-checkbox {
|
|
|
|
width: 14px;
|
|
|
|
height: 14px;
|
|
|
|
background-repeat: no-repeat;
|
2015-10-30 21:59:30 +03:00
|
|
|
background-image: url("chrome://devtools/skin/images/controls.png");
|
2014-03-05 01:25:51 +04:00
|
|
|
background-size: 56px 28px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.theme-twisty {
|
|
|
|
cursor: pointer;
|
|
|
|
background-position: -28px -14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.theme-twisty:-moz-focusring {
|
|
|
|
outline-style: none;
|
|
|
|
}
|
|
|
|
|
2015-10-26 20:01:06 +03:00
|
|
|
.theme-twisty[open], .theme-twisty.open {
|
2014-03-05 01:25:51 +04:00
|
|
|
background-position: -42px -14px;
|
|
|
|
}
|
|
|
|
|
2014-06-11 03:44:11 +04:00
|
|
|
.theme-twisty[invisible] {
|
|
|
|
visibility: hidden;
|
|
|
|
}
|
|
|
|
|
2014-03-05 01:25:51 +04:00
|
|
|
.theme-checkbox {
|
|
|
|
display: inline-block;
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
outline: none;
|
|
|
|
background-position: -28px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.theme-checkbox[checked] {
|
|
|
|
background-position: -42px 0;
|
|
|
|
}
|
|
|
|
|
2015-08-12 00:19:00 +03:00
|
|
|
@media (min-resolution: 1.1dppx) {
|
2014-03-05 01:25:51 +04:00
|
|
|
.theme-twisty, .theme-checkbox {
|
2015-10-30 21:59:30 +03:00
|
|
|
background-image: url("chrome://devtools/skin/images/controls@2x.png");
|
2014-03-05 01:25:51 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-21 20:07:31 +03:00
|
|
|
/* XUL panel styling (see devtools/client/shared/widgets/Tooltip.js) */
|
2013-11-16 06:46:59 +04:00
|
|
|
|
|
|
|
.theme-tooltip-panel .panel-arrowcontent {
|
|
|
|
padding: 5px;
|
|
|
|
background: rgba(19, 28, 38, .9);
|
|
|
|
border-radius: 5px;
|
|
|
|
box-shadow: none;
|
|
|
|
border: 3px solid #434850;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Overring panel arrow images to fit with our light and dark themes */
|
|
|
|
|
2015-10-08 23:51:00 +03:00
|
|
|
.theme-tooltip-panel .panel-arrow {
|
|
|
|
--arrow-margin: -4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
:root[platform="win"] .theme-tooltip-panel .panel-arrow {
|
|
|
|
--arrow-margin: -7px;
|
|
|
|
}
|
|
|
|
|
2013-11-16 06:46:59 +04:00
|
|
|
.theme-tooltip-panel .panel-arrow[side="top"] {
|
2015-10-30 21:59:30 +03:00
|
|
|
list-style-image: url("chrome://devtools/skin/tooltip/arrow-vertical-dark.png");
|
2015-10-08 23:51:00 +03:00
|
|
|
margin-bottom: var(--arrow-margin);
|
2013-11-16 06:46:59 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.theme-tooltip-panel .panel-arrow[side="bottom"] {
|
2015-10-30 21:59:30 +03:00
|
|
|
list-style-image: url("chrome://devtools/skin/tooltip/arrow-vertical-dark.png");
|
2015-10-08 23:51:00 +03:00
|
|
|
margin-top: var(--arrow-margin);
|
2013-11-16 06:46:59 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.theme-tooltip-panel .panel-arrow[side="left"] {
|
2015-10-30 21:59:30 +03:00
|
|
|
list-style-image: url("chrome://devtools/skin/tooltip/arrow-horizontal-dark.png");
|
2015-10-08 23:51:00 +03:00
|
|
|
margin-right: var(--arrow-margin);
|
2013-11-16 06:46:59 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.theme-tooltip-panel .panel-arrow[side="right"] {
|
2015-10-30 21:59:30 +03:00
|
|
|
list-style-image: url("chrome://devtools/skin/tooltip/arrow-horizontal-dark.png");
|
2015-10-08 23:51:00 +03:00
|
|
|
margin-left: var(--arrow-margin);
|
2013-11-16 06:46:59 +04:00
|
|
|
}
|
|
|
|
|
2015-08-12 00:19:00 +03:00
|
|
|
@media (min-resolution: 1.1dppx) {
|
2013-11-16 06:46:59 +04:00
|
|
|
.theme-tooltip-panel .panel-arrow[side="top"],
|
|
|
|
.theme-tooltip-panel .panel-arrow[side="bottom"] {
|
2015-10-30 21:59:30 +03:00
|
|
|
list-style-image: url("chrome://devtools/skin/tooltip/arrow-vertical-dark@2x.png");
|
2013-11-16 06:46:59 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
.theme-tooltip-panel .panel-arrow[side="left"],
|
|
|
|
.theme-tooltip-panel .panel-arrow[side="right"] {
|
2015-10-30 21:59:30 +03:00
|
|
|
list-style-image: url("chrome://devtools/skin/tooltip/arrow-horizontal-dark@2x.png");
|
2013-11-16 06:46:59 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.theme-tooltip-panel .devtools-tooltip-simple-text {
|
|
|
|
color: white;
|
|
|
|
border-bottom: 1px solid #434850;
|
|
|
|
}
|
|
|
|
|
|
|
|
.theme-tooltip-panel .devtools-tooltip-simple-text:last-child {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
2013-12-02 18:57:58 +04:00
|
|
|
|
2014-01-31 00:42:15 +04:00
|
|
|
.devtools-textinput,
|
|
|
|
.devtools-searchinput {
|
|
|
|
background-color: rgba(24, 29, 32, 1);
|
|
|
|
color: rgba(184, 200, 217, 1);
|
|
|
|
}
|
|
|
|
|
2014-04-17 00:49:28 +04:00
|
|
|
.CodeMirror-Tern-fname {
|
|
|
|
color: #f7f7f7;
|
|
|
|
}
|
|
|
|
|
|
|
|
.CodeMirror-hints,
|
|
|
|
.CodeMirror-Tern-tooltip {
|
|
|
|
box-shadow: 0 0 4px rgba(255, 255, 255, .3);
|
|
|
|
background-color: #0f171f;
|
2013-12-12 21:36:16 +04:00
|
|
|
color: var(--theme-body-color);
|
2014-04-17 00:49:28 +04:00
|
|
|
}
|