michael@0: /* vim:set ts=2 sw=2 sts=2 et: */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: /* Sources and breakpoints pane */ michael@0: michael@0: #sources-pane[selectedIndex="0"] + #sources-and-editor-splitter { michael@0: border-color: transparent; michael@0: } michael@0: michael@0: #sources-pane > tabs { michael@0: -moz-border-end: 1px solid; michael@0: } michael@0: michael@0: #sources-pane .devtools-toolbar { michael@0: border: none; /* Remove the devtools-toolbar bottom border. */ michael@0: -moz-border-end: 1px solid; michael@0: } michael@0: michael@0: .theme-dark #sources-pane > tabs, michael@0: .theme-dark #sources-pane .devtools-toolbar { michael@0: -moz-border-end-color: black; /* Match the splitter color. */ michael@0: } michael@0: michael@0: .theme-light #sources-pane > tabs, michael@0: .theme-light #sources-pane .devtools-toolbar { michael@0: -moz-border-end-color: #aaa; /* Match the splitter color. */ michael@0: } michael@0: michael@0: /* Sources and breakpoints list */ michael@0: michael@0: .dbg-source-item { michael@0: padding: 2px 0px; michael@0: } michael@0: michael@0: .dbg-breakpoint-line { michael@0: font-weight: 600; michael@0: } michael@0: michael@0: .dbg-breakpoint-text { michael@0: -moz-padding-start: 6px; michael@0: font-style: italic; michael@0: font-size: 90%; michael@0: } michael@0: michael@0: .dbg-breakpoint-checkbox { michael@0: width: 16px; michael@0: height: 16px; michael@0: margin: 2px; michael@0: } michael@0: michael@0: /* Sources toolbar */ michael@0: michael@0: #sources-toolbar > .devtools-toolbarbutton, michael@0: #sources-controls > .devtools-toolbarbutton { michael@0: min-width: 32px; michael@0: } michael@0: michael@0: #black-box { michael@0: list-style-image: url(debugger-blackbox.png); michael@0: } michael@0: michael@0: #pretty-print { michael@0: font-weight: bold; michael@0: } michael@0: michael@0: #toggle-breakpoints { michael@0: list-style-image: url(debugger-toggleBreakpoints.png); michael@0: } michael@0: michael@0: #sources-toolbar .devtools-toolbarbutton:not([label]) { michael@0: -moz-image-region: rect(0px,16px,16px,0px); michael@0: } michael@0: michael@0: #sources-toolbar .devtools-toolbarbutton:not([label])[checked] { michael@0: -moz-image-region: rect(0px,32px,16px,16px); michael@0: } michael@0: michael@0: #sources .black-boxed { michael@0: color: rgba(128,128,128,0.4); michael@0: } michael@0: michael@0: #sources .selected > .black-boxed { michael@0: color: rgba(255,255,255,0.4); michael@0: } michael@0: michael@0: #sources .black-boxed > .dbg-breakpoint { michael@0: display: none; michael@0: } michael@0: michael@0: /* Black box message and source progress meter */ michael@0: michael@0: #black-boxed-message, michael@0: #source-progress-container { michael@0: background: url(background-noise-toolbar.png); michael@0: /* Prevent the container deck from aquiring the size from this message. */ michael@0: min-width: 1px; michael@0: min-height: 1px; michael@0: } michael@0: michael@0: #source-progress { michael@0: min-height: 2em; michael@0: min-width: 40em; michael@0: } michael@0: michael@0: #black-boxed-message-label, michael@0: #black-boxed-message-button { michael@0: text-align: center; michael@0: font-size: 120%; michael@0: } michael@0: michael@0: #black-boxed-message-button { michael@0: margin-top: 1em; michael@0: padding: .25em; michael@0: } michael@0: michael@0: /* Breadcrumbs stack frames view */ michael@0: michael@0: .dbg-stackframe-details { michael@0: -moz-padding-start: 4px; michael@0: } michael@0: michael@0: /* Classic stack frames view */ michael@0: michael@0: .dbg-classic-stackframe { michael@0: display: block; michael@0: } michael@0: michael@0: .dbg-classic-stackframe-title { michael@0: font-weight: 600; michael@0: } michael@0: michael@0: .dbg-classic-stackframe-details:-moz-locale-dir(ltr) { michael@0: float: right; michael@0: } michael@0: michael@0: .dbg-classic-stackframe-details:-moz-locale-dir(rtl) { michael@0: float: left; michael@0: } michael@0: michael@0: .dbg-classic-stackframe-details-url { michael@0: max-width: 90%; michael@0: text-align: end; michael@0: } michael@0: michael@0: .theme-dark .dbg-classic-stackframe-details-url { michael@0: color: #a9bacb; /* Light content text */ michael@0: } michael@0: michael@0: .theme-light .dbg-classic-stackframe-details-url { michael@0: color: #667380; /* Dark grey content text */ michael@0: } michael@0: michael@0: .theme-dark .dbg-classic-stackframe-details-sep { michael@0: color: #b6babf; /* Grey foreground text */ michael@0: } michael@0: michael@0: .theme-light .dbg-classic-stackframe-details-sep { michael@0: color: #585959; /* Grey foreground text */ michael@0: } michael@0: michael@0: .theme-dark .dbg-classic-stackframe-details-line { michael@0: color: #5e88b0; /* Highlight blue grey */ michael@0: } michael@0: michael@0: .theme-light .dbg-classic-stackframe-details-line { michael@0: color: #5f88b0; /* Highlight blue grey */ michael@0: } michael@0: michael@0: #callstack-list .selected label { michael@0: /* Text inside a selected item should not be custom colored. */ michael@0: color: inherit !important; michael@0: } michael@0: michael@0: /* Tracer */ michael@0: michael@0: #trace { michael@0: list-style-image: url(tracer-icon.png); michael@0: -moz-image-region: rect(0px,16px,16px,0px); michael@0: } michael@0: michael@0: #trace[checked] { michael@0: -moz-image-region: rect(0px,32px,16px,16px); michael@0: } michael@0: michael@0: #clear-tracer { michael@0: /* Make this button as narrow as the text inside it. */ michael@0: min-width: 1px; michael@0: } michael@0: michael@0: .trace-name { michael@0: -moz-padding-start: 4px; michael@0: } michael@0: michael@0: /* Tracer dark theme */ michael@0: michael@0: .theme-dark .trace-item { michael@0: color: #f5f7fa; /* Light foreground text */ michael@0: } michael@0: michael@0: .theme-dark .trace-item.selected-matching { michael@0: background-color: rgba(29,79,115,.4); /* Select highlight blue at 40% alpha */ michael@0: } michael@0: michael@0: .theme-dark .selected > .trace-item { michael@0: background-color: rgba(29,79,115,.6); /* Select highlight blue at 60% alpha */ michael@0: } michael@0: michael@0: .theme-dark .trace-call { michael@0: color: #46afe3; /* Highlight blue */ michael@0: } michael@0: michael@0: .theme-dark .trace-return, michael@0: .theme-dark .trace-yield { michael@0: color: #70bf53; /* Highlight green */ michael@0: } michael@0: michael@0: .theme-dark .trace-throw { michael@0: color: #eb5368; /* Highlight red */ michael@0: } michael@0: michael@0: .theme-dark .trace-param { michael@0: color: #a9bacb; /* Content text light */ michael@0: } michael@0: michael@0: .theme-dark .trace-syntax { michael@0: color: #8fa1b2; /* Content text grey */ michael@0: } michael@0: michael@0: /* Tracer light theme */ michael@0: michael@0: .theme-light .trace-item { michael@0: color: #292e33; /* Dark foreground text */ michael@0: } michael@0: michael@0: .theme-light .trace-item.selected-matching { michael@0: background-color: rgba(76,158,217,.4); /* Select highlight blue at 40% alpha */ michael@0: } michael@0: michael@0: .theme-light .selected > .trace-item { michael@0: background-color: rgba(76,158,217,.6); /* Select highlight blue at 60% alpha */ michael@0: } michael@0: michael@0: .theme-light .trace-call { michael@0: color: #0088cc; /* Highlight blue */ michael@0: } michael@0: michael@0: .theme-light .trace-return, michael@0: .theme-light .trace-yield { michael@0: color: #2cbb0f; /* Highlight green */ michael@0: } michael@0: michael@0: .theme-light .trace-throw { michael@0: color: #ed2655; /* Highlight red */ michael@0: } michael@0: michael@0: .theme-light .trace-param { michael@0: color: #667380; /* Content text dark grey */ michael@0: } michael@0: michael@0: .theme-light .trace-syntax { michael@0: color: #8fa1b2; /* Content text grey */ michael@0: } michael@0: michael@0: #tracer-traces .selected label { michael@0: /* Text inside a selected item should not be custom colored. */ michael@0: color: inherit !important; michael@0: } michael@0: michael@0: /* Watch expressions view */ michael@0: michael@0: #expressions { michael@0: min-height: 10px; michael@0: max-height: 125px; michael@0: } michael@0: michael@0: .dbg-expression { michael@0: height: 20px; michael@0: } michael@0: michael@0: .dbg-expression-arrow { michael@0: width: 16px; michael@0: height: auto; michael@0: margin: 2px; michael@0: background: -moz-image-rect(url(commandline-icon.png), 0, 32, 16, 16); michael@0: } michael@0: michael@0: .dbg-expression-input { michael@0: color: inherit; michael@0: } michael@0: michael@0: .dbg-expression-button { michael@0: -moz-appearance: none; michael@0: border: none; michael@0: background: none; michael@0: cursor: pointer; michael@0: text-decoration: underline; michael@0: } michael@0: michael@0: .theme-dark .dbg-expression-button { michael@0: color: #46afe3; /* Blue highlight color */ michael@0: } michael@0: michael@0: .theme-light .dbg-expression-button { michael@0: color: #0088cc; /* Blue highlight color */ michael@0: } michael@0: michael@0: /* Event listeners view */ michael@0: michael@0: .dbg-event-listener-type { michael@0: font-weight: 600; michael@0: } michael@0: michael@0: .theme-dark .dbg-event-listener-location { michael@0: color: #a9bacb; /* Light content text */ michael@0: } michael@0: michael@0: .theme-light .dbg-event-listener-location { michael@0: color: #667380; /* Dark grey content text */ michael@0: } michael@0: michael@0: .theme-dark .dbg-event-listener-separator { michael@0: color: #b6babf; /* Grey foreground text */ michael@0: } michael@0: michael@0: .theme-light .dbg-event-listener-separator { michael@0: color: #585959; /* Grey foreground text */ michael@0: } michael@0: michael@0: .theme-dark .dbg-event-listener-targets { michael@0: color: #5e88b0; /* Highlight blue grey */ michael@0: } michael@0: michael@0: .theme-light .dbg-event-listener-targets { michael@0: color: #5f88b0; /* Highlight blue grey */ michael@0: } michael@0: michael@0: .theme-dark #event-listeners .selected { michael@0: /* Selected items shouldn't be displayed differently. */ michael@0: background: none; michael@0: color: #fff; michael@0: } michael@0: michael@0: .theme-light #event-listeners .selected { michael@0: /* Selected items shouldn't be displayed differently. */ michael@0: background: none; michael@0: color: #000; michael@0: } michael@0: michael@0: /* Searchbox and the search operations help panel */ michael@0: michael@0: #searchbox { michael@0: min-width: 220px; michael@0: -moz-margin-start: 1px; michael@0: } michael@0: michael@0: #filter-label { michael@0: -moz-margin-start: 2px; michael@0: } michael@0: michael@0: #searchbox-panel-operators { michael@0: margin-top: 5px; michael@0: margin-bottom: 8px; michael@0: -moz-margin-start: 2px; michael@0: } michael@0: michael@0: .searchbox-panel-operator-button { michael@0: min-width: 26px; michael@0: margin-top: 0; michael@0: margin-bottom: 0; michael@0: -moz-margin-start: 2px; michael@0: -moz-margin-end: 6px; michael@0: text-align: center; michael@0: } michael@0: michael@0: .searchbox-panel-operator-label { michael@0: padding-bottom: 2px; michael@0: } michael@0: michael@0: /* Searchbox results panel */ michael@0: michael@0: #results-panel { michael@0: border: none; michael@0: } michael@0: michael@0: .results-panel-item { michael@0: padding: 6px 8px; michael@0: border-top: 1px solid rgba(128,128,128,0.2); michael@0: } michael@0: michael@0: .results-panel-item:first-of-type { michael@0: border-top: none; michael@0: } michael@0: michael@0: .results-panel-item-label { michael@0: font-weight: 600; michael@0: } michael@0: michael@0: .results-panel-item-label-before { michael@0: -moz-padding-end: 6px; michael@0: } michael@0: michael@0: .theme-dark .results-panel-item-label { michael@0: color: #f5f7fa; /* Light foreground text */ michael@0: } michael@0: michael@0: .theme-light .results-panel-item-label { michael@0: color: #18191a; /* Dark foreground text */ michael@0: } michael@0: michael@0: .theme-dark .results-panel-item-label-before { michael@0: color: #5e88b0; /* Highlight blue grey */ michael@0: } michael@0: michael@0: .theme-light .results-panel-item-label-before { michael@0: color: #5f88b0; /* Highlight blue grey */ michael@0: } michael@0: michael@0: .theme-dark .results-panel-item-label-below { michael@0: color: #5f7387; /* Dark grey content text */ michael@0: } michael@0: michael@0: .theme-light .results-panel-item-label-below { michael@0: color: #667380; /* Dark grey content text */ michael@0: } michael@0: michael@0: #results-panel .selected label { michael@0: /* Text inside a selected item should not be custom colored. */ michael@0: color: inherit !important; michael@0: } michael@0: michael@0: /* Sources search view */ michael@0: michael@0: #globalsearch { michael@0: min-height: 10px; michael@0: max-height: 50vh; michael@0: } michael@0: michael@0: .dbg-results-header { michael@0: -moz-padding-start: 6px; michael@0: } michael@0: michael@0: .dbg-results-header-location { michael@0: font-weight: 600; michael@0: } michael@0: michael@0: .dbg-results-header-match-count { michael@0: -moz-padding-start: 6px; michael@0: } michael@0: michael@0: .dbg-results-line-number { michael@0: min-width: 3em; michael@0: -moz-border-end: 1px solid rgba(128,128,128,0.2); michael@0: -moz-padding-end: 4px; michael@0: text-align: end; michael@0: } michael@0: michael@0: .dbg-results-line-contents { michael@0: -moz-padding-start: 4px; michael@0: } michael@0: michael@0: .dbg-results-line-contents-string[match=true] { michael@0: background-color: rgba(255,255,0,0.2); michael@0: border: 1px solid rgba(128,128,128,0.7); michael@0: border-radius: 4px; michael@0: margin-top: -1px !important; michael@0: margin-bottom: -1px !important; michael@0: cursor: pointer; michael@0: } michael@0: michael@0: .dbg-results-line-contents-string[match=true][focusing] { michael@0: transition: transform 0.3s ease-in-out; michael@0: } michael@0: michael@0: .dbg-results-line-contents-string[match=true][focused] { michael@0: transition-duration: 0.1s; michael@0: transform: scale(1.75, 1.75); michael@0: } michael@0: michael@0: .theme-dark .dbg-source-results:not(.selected):hover { michael@0: background-color: #181d20; /* Sidebar background */ michael@0: } michael@0: michael@0: .theme-light .dbg-source-results:not(.selected):hover { michael@0: background-color: #f7f7f7; /* Sidebar background */ michael@0: } michael@0: michael@0: .theme-dark .dbg-results-header { michael@0: background-color: #252c33; /* Tab toolbar */ michael@0: color: #a9bacb; /* Light content text */ michael@0: } michael@0: michael@0: .theme-light .dbg-results-header { michael@0: background-color: #ebeced; /* Tab toolbar */ michael@0: color: #667380; /* Dark grey content text */ michael@0: } michael@0: michael@0: .theme-dark .dbg-search-result:hover { michael@0: background-color: rgba(29,79,115,.2); /* Select highlight blue at 40% alpha */ michael@0: } michael@0: michael@0: .theme-light .dbg-search-result:hover { michael@0: background-color: rgba(76,158,217,.2); /* Select highlight blue at 40% alpha */ michael@0: } michael@0: michael@0: .theme-dark .dbg-results-header-match-count { michael@0: color: #5f7387; /* Dark grey content text */ michael@0: } michael@0: michael@0: .theme-light .dbg-results-header-match-count { michael@0: color: #667380; /* Dark grey content text */ michael@0: } michael@0: michael@0: .theme-dark .dbg-results-line-number { michael@0: background-color: #252c33; /* Tab toolbars */ michael@0: color: #b6babf; /* Grey foreground text */ michael@0: } michael@0: michael@0: .theme-light .dbg-results-line-number { michael@0: background-color: #ebeced; /* Tab toolbars */ michael@0: color: #585959; /* Grey foreground text */ michael@0: } michael@0: michael@0: .theme-dark .dbg-results-line-contents-string { michael@0: color: #b6babf; /* Grey foreground text */ michael@0: } michael@0: michael@0: .theme-light .dbg-results-line-contents-string { michael@0: color: #585959; /* Grey foreground text */ michael@0: } michael@0: michael@0: .theme-dark .dbg-results-line-contents-string[match=true] { michael@0: color: #f5f7fa; /* Light foreground text */ michael@0: } michael@0: michael@0: .theme-light .dbg-results-line-contents-string[match=true] { michael@0: color: #18191a; /* Dark foreground text */ michael@0: } michael@0: michael@0: /* Toolbar controls */ michael@0: michael@0: .devtools-sidebar-tabs > tabs > tab { michael@0: min-height: 1em !important; michael@0: padding: 0 !important; michael@0: } michael@0: michael@0: #resume { michael@0: list-style-image: url(debugger-pause.png); michael@0: -moz-image-region: rect(0px,16px,16px,0px); michael@0: transition: background 0.15s ease-in-out; michael@0: } michael@0: michael@0: #resume[checked] { michael@0: background: none; michael@0: list-style-image: url(debugger-play.png); michael@0: -moz-image-region: rect(0px,32px,16px,16px); michael@0: } michael@0: michael@0: #resume ~ toolbarbutton { michael@0: transition: opacity 0.15s ease-in-out; michael@0: } michael@0: michael@0: #resume:not([checked]) ~ toolbarbutton { michael@0: opacity: 0.5; michael@0: } michael@0: michael@0: #step-over { michael@0: list-style-image: url(debugger-step-over.png); michael@0: } michael@0: michael@0: #step-in { michael@0: list-style-image: url(debugger-step-in.png); michael@0: } michael@0: michael@0: #step-out { michael@0: list-style-image: url(debugger-step-out.png); michael@0: } michael@0: michael@0: #instruments-pane-toggle { michael@0: background: none; michael@0: box-shadow: none; michael@0: border: none; michael@0: list-style-image: url(debugger-collapse.png); michael@0: -moz-image-region: rect(0px,16px,16px,0px); michael@0: } michael@0: michael@0: #instruments-pane-toggle[pane-collapsed] { michael@0: list-style-image: url(debugger-expand.png); michael@0: } michael@0: michael@0: #instruments-pane-toggle:active { michael@0: -moz-image-region: rect(0px,32px,16px,16px); michael@0: } michael@0: michael@0: /* Horizontal vs. vertical layout */ michael@0: michael@0: #vertical-layout-panes-container { michael@0: min-height: 35vh; michael@0: max-height: 80vh; michael@0: } michael@0: michael@0: #body[layout=vertical] #sources-pane > tabs { michael@0: -moz-border-end: none; michael@0: } michael@0: michael@0: #body[layout=vertical] #instruments-pane { michael@0: margin: 0 !important; michael@0: /* To prevent all the margin hacks to hide the sidebar. */ michael@0: } michael@0: michael@0: #body[layout=vertical] .side-menu-widget-container, michael@0: #body[layout=vertical] .side-menu-widget-empty-text { michael@0: box-shadow: none !important; michael@0: } michael@0: michael@0: #body[layout=vertical] .side-menu-widget-item-arrow { michael@0: background-image: none !important; michael@0: } michael@0: michael@0: #body[layout=vertical] .side-menu-widget-group, michael@0: #body[layout=vertical] .side-menu-widget-item { michael@0: -moz-margin-end: 0; michael@0: }