+ background: var(--theme-body-background);
+ color: var(--theme-body-color);
+}
+
+.theme-sidebar {
+ background: var(--theme-sidebar-background);
+ color: var(--theme-content-color1);
+}
+
+::-moz-selection {
+ background-color: var(--theme-selection-background);
+ color: var(--theme-selection-color);
+}
+
+.theme-bg-darker {
+ background: var(--theme-selection-background-semitransparent);
+}
+
+.theme-selected,
+.CodeMirror-hint-active {
+ background-color: var(--theme-selection-background2);
+ color: var(--theme-selection-color2);
+}
+
+.theme-bg-contrast,
+.variable-or-property:not([overridden])[changed] {
+ background: var(--theme-contrast-background);
+}
+
+.theme-link,
+.cm-s-mozilla .cm-link { /* original: blue */
+ color: var(--theme-text-blue);
+}
+
+/*
+ * 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,
+.CodeMirror-Tern-type {
+ color: var(--theme-text-blue);
+}
+
+.theme-comment,
+.cm-s-mozilla .cm-meta,
+.cm-s-mozilla .cm-hr,
+.cm-s-mozilla .cm-comment,
+.variable-or-property .token-undefined,
+.variable-or-property .token-null,
+.CodeMirror-Tern-completion-unknown:before {
+ color: var(--theme-comment);
+}
+
+.theme-gutter {
+ background-color: #000000;
+ color: var(--theme-content-color3);
+ border-color: #9C9CFF;
+}
+
+.theme-separator { /* original: grey */
+ border-color: #8050B0;
+}
+
+.theme-fg-color1,
+.cm-s-mozilla .cm-number,
+.variable-or-property .token-number,
+.variable-or-property[return] > .title > .name,
+.variable-or-property[scope] > .title > .name {
+ color: var(--theme-highlight-green);
+}
+
+.CodeMirror-Tern-completion-number:before {
+ background-color: #008484;
+}
+
+.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,
+.variables-view-variable > .title > .name {
+ color: var(--theme-highlight-blue);
+}
+
+.CodeMirror-Tern-completion-object:before {
+ background-color: #9C9CFF;
+}
+
+.cm-s-mozilla .cm-unused-line {
+ text-decoration: line-through;
+ text-decoration-color: #8050B0;
+}
+
+.cm-s-mozilla .cm-executed-line {
+ background-color: #404000;
+}
+
+.theme-fg-color3,
+.cm-s-mozilla .cm-builtin,
+.cm-s-mozilla .cm-tag,
+.cm-s-mozilla .cm-header,
+.cm-s-mozilla .cm-bracket,
+.variables-view-property > .title > .name,
+.variable-or-property[safe-getter] > .title > .name {
+ color: var(--theme-highlight-pink);
+}
+
+.CodeMirror-Tern-completion-array:before {
+ color: var(--theme-highlight-pink); /* var(--theme-highlight-bluegrey) */
+}
+
+.theme-fg-color4 {
+ color: var(--theme-highlight-purple);
+}
+
+.theme-fg-color5,
+.cm-s-mozilla .cm-keyword {
+ color: var(--theme-highlight-lightorange);
+}
+
+.theme-fg-color6,
+.cm-s-mozilla .cm-string,
+.cm-s-mozilla .cm-string-2,
+.variable-or-property .token-string,
+.CodeMirror-Tern-farg {
+ color: var(--theme-highlight-pink); /* -orange? */
+}
+
+.CodeMirror-Tern-completion-string:before,
+.CodeMirror-Tern-completion-fn:before {
+ background-color: #E7ADE7;
+}
+
+.theme-fg-color7,
+.cm-s-mozilla .cm-atom,
+.cm-s-mozilla .cm-quote,
+.cm-s-mozilla .cm-error,
+.variable-or-property .token-boolean,
+.variable-or-property .token-domnode,
+.variable-or-property[exception] > .title > .name {
+ color: var(--theme-highlight-red);
+}
+
+.CodeMirror-Tern-completion-bool:before {
+ background-color: #FF0000;
+}
+
+.variable-or-property .token-domnode {
+ font-weight: bold;
+}
+
+.theme-toolbar,
+.devtools-toolbar,
+.devtools-sidebar-tabs > tabs,
+.CodeMirror-dialog { /* General toolbar styling */
+/* color: var(--theme-body-color-alt);
+ background-color: var(--theme-toolbar-background);*/
+}
+
+
+.theme-fg-contrast { /* To be used for text on theme-bg-contrast */
+ color: #FFCF00;
+}
+
+.ruleview-colorswatch,
+.computedview-colorswatch,
+.ruleview-bezierswatch {
+/* box-shadow: 0 0 0 1px #818181; */
+}
+
+.variables-view-scope:focus > .title,
+.variable-or-property:focus > .title {
+ background-color: #008484; /* fg-color2 */
+ color: #000000;
+}
+
+/* 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 {
+ color: var(--theme-content-color1);
+}
+
+.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, .25);
+}
+
+div.cm-s-mozilla span.CodeMirror-matchingbracket { /* highlight brackets */
+ outline: solid 1px rgba(0, 132, 132, .4);
+ color: #FFCF00;
+}
+
+/* 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(156, 156, 255, 0.2);
+}
+
+/* Generic highlighted text */
+div.CodeMirror span.marked-text {
+ background: rgba(255,207,0,0.2);
+ border: 1px dashed rgba(156, 156, 255, 0.6);
+ -moz-margin-start: -1px;
+ -moz-margin-end: -1px;
+}
+
+/* Highlight for evaluating current statement. */
+div.CodeMirror span.eval-text {
+ background-color: #403800;
+}
+
+.cm-s-mozilla .CodeMirror-linenumber { /* line number text */
+ color: var(--theme-content-color2);
+}
+
+.cm-s-mozilla .CodeMirror-gutters { /* vertical line next to line numbers */
+ border-right-color: var(--theme-contrast-border);
+ background-color: var(--theme-contrast-background);
+}
+
+.cm-s-markup-view pre {
+ line-height: 1.4em;
+ min-height: 1.4em;
+}
+
+/* Twisty and checkbox controls */
+.theme-twisty, .theme-checkbox {
+ width: 14px;
+ height: 14px;
+ background-repeat: no-repeat;
+ background-image: url("chrome://browser/skin/devtools/controls.png");
+ background-size: 28px 28px;