+/* 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/. */
padding: 0;
}
-/* === BEGIN debugger.inc.css === */
-
/* Sources and breakpoints pane */
#sources-pane[selectedIndex="0"] + #sources-and-editor-splitter {
}
#sources-pane > tabs {
+/* -moz-border-end: 1px solid;*/
+}
+
+#sources-pane .devtools-toolbar {
+ border: none; /* Remove the devtools-toolbar bottom border. */
+/* -moz-border-end: 1px solid;*/
+}
+
+#sources-pane > tabs,
+#sources-pane .devtools-toolbar {
-moz-border-end-color: var(--theme-splitter-color);
}
+/* Sources and breakpoints list */
+
+.dbg-source-item {
+ padding: 2px 0px;
+}
+
+.dbg-wasm-item .icon {
+ display: block;
+ background-image: url(chrome://devtools/skin/images/webconsole.svg);
+ background-repeat: no-repeat;
+ background-size: 72px 60px;
+ /* show warning icon */
+ background-position: -24px -24px;
+ width: 10px;
+ height: 10px;
+ position: absolute;
+ margin-inline-start: -15px;
+ margin-top: 3px;
+}
+
+.dbg-breakpoint-line {
+ font-weight: 600;
+}
+
+.dbg-breakpoint-text {
+ -moz-padding-start: 6px;
+ font-style: italic;
+ font-size: 90%;
+}
+
+.dbg-breakpoint-checkbox {
+ width: 16px;
+ height: 16px;
+ margin: 2px;
+}
+
.dbg-breakpoint-condition-thrown-message {
display: none;
color: var(--theme-highlight-red);
#sources-toolbar > .devtools-toolbarbutton,
#sources-controls > .devtools-toolbarbutton {
- min-width: 32px;
+ min-width: 16px;
}
#sources-toolbar .devtools-toolbarbutton:not([label]) {
-moz-image-region: rect(0,16px,16px,0);
}
+@media (min-resolution: 1.1dppx) {
+ #sources-toolbar .devtools-toolbarbutton:not([label]) {
+ -moz-image-region: rect(0,32px,32px,0);
+ }
+}
+
#black-box {
- list-style-image: url("debugger-blackbox.png");
+ list-style-image: url("images/debugger-blackbox.png");
}
@media (min-resolution: 1.1dppx) {
#black-box {
- list-style-image: url(debugger-blackbox@2x.png);
+ list-style-image: url(images/debugger-blackbox@2x.png);
}
}
#pretty-print {
- list-style-image: url(debugger-prettyprint.png);
+ list-style-image: url(images/debugger-prettyprint.png);
}
@media (min-resolution: 1.1dppx) {
#pretty-print {
- list-style-image: url(debugger-prettyprint@2x.png);
+ list-style-image: url(images/debugger-prettyprint@2x.png);
}
}
#toggle-breakpoints {
- list-style-image: url("debugger-toggleBreakpoints.png");
+ list-style-image: url(images/debugger-toggleBreakpoints.svg);
+ -moz-image-region: rect(0,32px,16px,16px) !important;
}
#toggle-breakpoints[checked] {
- -moz-image-region: rect(0,32px,16px,16px) !important;
+ -moz-image-region: rect(0,16px,16px,0) !important;
}
#toggle-breakpoints[checked] > image {
filter: none;
}
-@media (min-resolution: 1.1dppx) {
- #sources-toolbar .devtools-toolbarbutton:not([label]) {
- -moz-image-region: rect(0,32px,32px,0);
- }
-
- #toggle-breakpoints {
- list-style-image: url(debugger-toggleBreakpoints@2x.png);
- }
-
- #toggle-breakpoints[checked] {
- -moz-image-region: rect(0,64px,32px,32px) !important;
- }
-}
-
#toggle-promise-debugger {
/* TODO Bug 1186119: Add a toggle promise debugger image */
}
display: none;
}
-#sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(ltr) {
- background-image: none;
-/* box-shadow: inset -1px 0 0 #222426; */
-}
-
-#sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(rtl) {
- background-image: none;
-/* box-shadow: inset 1px 0 0 #222426; */
-}
-
/* Debugger unblackbox button */
#black-boxed-message-button > .button-box > .button-icon {
width: 16px;
height: 16px;
- background-image: url("debugger-blackbox.png");
- background-position: -16px -16px;
- background-size: 32px 32px;
+ background-image: url("images/debugger-blackbox.png");
+ background-position: 0 0;
+ background-size: 32px 16px;
background-repeat: no-repeat;
-moz-margin-end: 5px;
}
@media (min-resolution: 1.1dppx) {
#black-boxed-message-button > .button-box > .button-icon {
- background-image: url("debugger-blackbox@2x.png");
+ background-image: url("images/debugger-blackbox@2x.png");
}
}
padding: .25em;
}
-/* Tracer */
-
-#trace {
- list-style-image: url("tracer-icon.png");
- -moz-image-region: rect(0px,16px,16px,0px);
-}
-
-#trace:hover {
- -moz-image-region: rect(0px,32px,16px,16px);
-}
-
-@media (min-resolution: 1.1dppx) {
- #trace {
- list-style-image: url(tracer-icon@2x.png);
- -moz-image-region: rect(0px,32px,32px,0px);
- }
-
- #trace:hover,
- #trace[checked] {
- -moz-image-region: rect(0px,64px,32px,32px);
- }
-}
-
-#clear-tracer {
- /* Make this button as narrow as the text inside it. */
- min-width: 1px;
-}
-
-.trace-name {
- -moz-padding-start: 4px !important;
-}
-
-/* Tracer dark+light theme */
-
-.trace-item {
- color: var(--theme-content-color1);
-}
-
-.trace-item.black-boxed {
- color: #A09090;
-}
-
-.trace-item.selected-matching {
- background-color: #004242; /* Select highlight blue at 40% alpha */
-}
-
-.selected > .trace-item {
- background-color: #004242; /* Select highlight blue at 75% alpha */
-}
-
-.trace-call {
- color: var(--theme-highlight-blue);
-}
-
-.trace-return,
-.trace-yield {
- color: var(--theme-highlight-green);
-}
-
-.trace-throw {
- color: var(--theme-highlight-red);
-}
-
-.trace-param {
- color: var(--theme-highlight-pink);
-}
-
-.trace-syntax {
- color: var(--theme-content-color2);
-}
-
/* Breadcrumbs stack frames view */
-.breadcrumbs-widget-item {
- max-width: none;
-}
-
-#stackframes {
- min-height: 25px;
-}
-
.dbg-stackframe-details {
-moz-padding-start: 4px;
}
.dbg-classic-stackframe {
display: block;
- padding: 0 4px;
}
.dbg-classic-stackframe-title {
font-weight: 600;
- color: #9C9CFF;
}
.dbg-classic-stackframe-details:-moz-locale-dir(ltr) {
.dbg-classic-stackframe-details-url {
max-width: 90%;
text-align: end;
- color: var(--theme-text-blue);
+}
+
+.dbg-classic-stackframe-details-url {
+ color: var(--theme-content-color1);
}
.dbg-classic-stackframe-details-sep {
}
.dbg-classic-stackframe-details-line {
- color: var(--theme-highlight-blue);
+ color: var(--theme-highlight-bluegrey);
}
-#callstack-list .side-menu-widget-item.selected label {
- color: #FFCF00;
+#callstack-list .selected label {
+ /* Text inside a selected item should not be custom colored. */
+ color: inherit !important;
}
-/* Sources and breakpoints view */
+/* Tracer */
-.dbg-breakpoint {
- -moz-margin-start: 4px;
+#trace {
+ list-style-image: url("images/tracer-icon.png");
}
-.dbg-breakpoint-line {
- font-weight: 600;
+@media (min-resolution: 1.1dppx) {
+ #trace {
+ list-style-image: url("images/tracer-icon@2x.png");
+ }
}
-.dbg-breakpoint-text {
- -moz-margin-start: 10px !important;
- font-style: italic;
- font-size: 90%;
+#clear-tracer {
+ /* Make this button as narrow as the text inside it. */
+ min-width: 1px;
}
-.dbg-breakpoint-checkbox {
- width: 16px;
- height: 16px;
- margin: 2px;
+.trace-name {
+ -moz-padding-start: 4px;
}
-/* Variable bubble view */
+/* Tracer dark+light theme */
-.devtools-tooltip-simple-text.token-undefined,
-.devtools-tooltip-simple-text.token-null {
- text-align: center;
- color: #A09090 !important; /* Override the theme's color. */
+.trace-item {
+ color: var(--theme-content-color1);
}
-.devtools-tooltip-simple-text.token-boolean {
- text-align: center;
- color: #9C9CFF !important;
+.trace-item.black-boxed {
+ color: #A09090;
}
-.devtools-tooltip-simple-text.token-number {
- text-align: center;
- color: #E7ADE7 !important;
+.trace-item.selected-matching {
+ background-color: #004242; /* Select highlight blue at 40% alpha */
}
-.devtools-tooltip-simple-text.token-string {
- text-align: start;
- color: #008484 !important;
+.selected > .trace-item {
+ background-color: #004242; /* Select highlight blue at 75% alpha */
}
-.devtools-tooltip-simple-text.token-other {
- text-align: center;
- color: #FF9F00 !important;
+.trace-call {
+ color: var(--theme-highlight-blue);
}
-/* Instruments pane (watch expressions, variables, event listeners...) */
+.trace-return,
+.trace-yield {
+ color: var(--theme-highlight-green);
+}
-#instruments-pane .side-menu-widget-container,
-#instruments-pane .side-menu-widget-empty-text {
-/* box-shadow: none !important; */
+.trace-throw {
+ color: var(--theme-highlight-red);
+}
+
+.trace-param {
+ color: var(--theme-highlight-pink);
+}
+
+.trace-syntax {
+ color: var(--theme-content-color2);
}
/* Watch expressions view */
}
.dbg-expression-arrow {
- background-image: url("commandline-icon.png");
+ background-image: url("images/commandline-icon.png");
background-position: -16px 0;
background-repeat: no-repeat;
background-size: 32px 16px;
@media (min-resolution: 1.1dppx) {
.dbg-expression-arrow {
- background-image: url(commandline-icon@2x.png);
+ background-image: url("images/commandline-icon@2x.png");
}
}
/* Event listeners view */
-.dbg-event-listener {
- padding: 0 8px;
-}
-
.dbg-event-listener-type {
font-weight: 600;
}
+.dbg-event-listener-location {
+ color: var(--theme-highlight-pink);
+}
+
.dbg-event-listener-separator {
color: var(--theme-body-color-alt);
}
color: var(--theme-highlight-blue);
}
-.dbg-event-listener-location {
- color: var(--theme-highlight-pink);
-}
-
-#event-listeners .side-menu-widget-item.selected {
- background: none !important;
+#event-listeners .selected {
+ /* Selected items shouldn't be displayed differently. */
+ background: none;
+ color: var(--theme-content-color1);
}
/* Searchbox and the search operations help panel */
/* Searchbox results panel */
-.results-panel {
- padding: 4px;
+#results-panel {
+ border: none;
}
.results-panel-item {
- border: 1px solid #A09090;
- border-top-color: #8050B0;
- padding: 5px;
- cursor: pointer;
+ padding: 6px 8px;
+ border-top: 1px solid #A09090;
}
.results-panel-item:first-of-type {
- border-top-color: #9C9CFF;
+ border-top: none;
border-radius: 4px 4px 0 0;
}
border-radius: 4px;
}
-.results-panel-item:not(.selected):not(:hover) {
-/* text-shadow: 0 1px #fff;*/
+.results-panel-item-label {
+ font-weight: 600;
}
.results-panel-item-label-before {
- -moz-margin-end: 5px !important;
- color: var(--theme-content-color2);
- cursor: inherit;
+ -moz-padding-end: 6px;
}
.results-panel-item-label {
color: var(--theme-highlight-blue);
- font-weight: 600;
- cursor: inherit;
+}
+
+.results-panel-item-label-before {
+ color: var(--theme-content-color2);
}
.results-panel-item-label-below {
color: var(--theme-content-color3);
- cursor: inherit;
+}
+
+#results-panel .selected label {
+ /* Text inside a selected item should not be custom colored. */
+ color: inherit !important;
}
/* Sources search view */
#globalsearch {
min-height: 10px;
- max-height: 125px;
+ max-height: 50vh;
}
#globalsearch + .devtools-horizontal-splitter {
- -moz-border-top-colors: #9C9CFF;
+ -moz-border-top-colors: var(--theme-splitter-color);
}
.dbg-source-results {
}
.dbg-source-results:not(.selected):hover {
- background-color: #000000; /* Sidebar background */
+ background-color: var(--theme-sidebar-background);
}
.dbg-results-header {
.dbg-results-header-match-count {
-moz-padding-start: 6px;
- color: var(--theme-content-disabled);
+ color: var(--theme-body-color-inactive);
}
.dbg-results-line-number {
- background-color: var(--theme-toolbar-background);
- min-width: 40px;
+ min-width: 3em;
-moz-border-end: 1px solid #9C9CFF;
-moz-padding-end: 4px;
- padding-top: 2px;
text-align: end;
- color: var(--theme-body-color);
}
.dbg-results-line-contents {
-moz-padding-start: 4px;
- padding-top: 1px;
- padding-bottom: 1px;
-}
-
-.dbg-results-line-contents-string {
- padding: 1px;
-/* color: var(--theme-body-color-alt);*/
}
.dbg-results-line-contents-string[match=true] {
background: #E7ADE7;
color: var(--theme-selection-color);
- padding: 0;
border: 1px solid #9C9CFF;
border-radius: 4px;
+ margin-top: -1px !important;
+ margin-bottom: -1px !important;
cursor: pointer;
}
transform: scale(1.75, 1.75);
}
-/* Toolbar controls */
+.dbg-source-results:not(.selected):hover {
+ background-color: var(--theme-sidebar-background);
+}
+
+.dbg-results-header {
+ background-color: var(--theme-tab-toolbar-background);
+}
-#toggle-panes {
- list-style-image: url("chrome://devtools/skin/debugger-expand.png");
- -moz-image-region: rect(0px, 16px, 16px, 0px);
+.dbg-results-header {
+ color: var(--theme-content-color1);
}
-#toggle-panes:not([panesHidden]) {
- list-style-image: url("chrome://devtools/skin/debugger-collapse.png");
+.dbg-search-result:hover {
+ background-color: #004242; /* Select highlight blue at 40% alpha */
}
-#toggle-panes:hover,
-#toggle-panes:hover:active {
- -moz-image-region: rect(0px, 32px, 16px, 16px);
+.dbg-results-header-match-count {
+ color: var(--theme-content-color3);
}
-#resume {
- list-style-image: url("chrome://devtools/skin/debugger-pause.png");
- -moz-image-region: rect(0px, 16px, 16px, 0px);
+.dbg-results-line-number {
+ background-color: var(--theme-tab-toolbar-background);
+ color: var(--theme-body-color-alt);
}
-#resume:hover {
- -moz-image-region: rect(0px, 32px, 16px, 16px);
+.dbg-results-line-contents-string {
+ color: var(--theme-body-color-alt);
+}
+
+.theme-dark .dbg-results-line-contents-string[match=true] {
+ color: var(--theme-selection-color);
}
-#resume[checked=true] {
- list-style-image: url("chrome://devtools/skin/debugger-play.png");
+.theme-light .dbg-results-line-contents-string[match=true] {
+ color: var(--theme-body-color);
+}
+
+/* Toolbar controls */
+
+#resume {
+ list-style-image: url(images/debugger-pause.png);
+}
+
+#resume[checked] {
+ list-style-image: url(images/debugger-play.png);
}
@media (min-resolution: 1.1dppx) {
#resume {
- list-style-image: url(debugger-pause@2x.png);
- -moz-image-region: rect(0px, 32px, 32px, 0px);
- }
-
- #resume:hover {
- -moz-image-region: rect(0px, 64px, 32px, 32px);
+ list-style-image: url(images/debugger-pause@2x.png);
}
- #resume[checked=true] {
- list-style-image: url(debugger-play@2x.png);
+ #resume[checked] {
+ list-style-image: url(images/debugger-play@2x.png);
}
}
}
#step-over {
- list-style-image: url("chrome://devtools/skin/debugger-step-over.png");
- -moz-image-region: rect(0px, 16px, 16px, 0px);
-}
-#step-over:hover {
- -moz-image-region: rect(0px, 32px, 16px, 16px);
+ list-style-image: url(images/debugger-step-over.png);
}
#step-in {
- list-style-image: url("chrome://devtools/skin/debugger-step-in.png");
- -moz-image-region: rect(0px, 16px, 16px, 0px);
-}
-#step-in:hover {
- -moz-image-region: rect(0px, 32px, 16px, 16px);
+ list-style-image: url(images/debugger-step-in.png);
}
#step-out {
- list-style-image: url("chrome://devtools/skin/debugger-step-out.png");
- -moz-image-region: rect(0px, 16px, 16px, 0px);
-}
-#step-out:hover {
- -moz-image-region: rect(0px, 32px, 16px, 16px);
+ list-style-image: url(images/debugger-step-out.png);
}
@media (min-resolution: 1.1dppx) {
#step-over {
- list-style-image: url(debugger-step-over@2x.png);
- -moz-image-region: rect(0px, 32px, 32px, 0);
- }
-
- #step-over:hover {
- -moz-image-region: rect(0px, 64px, 32px, 32px);
+ list-style-image: url(images/debugger-step-over@2x.png);
}
#step-in {
- list-style-image: url(debugger-step-in@2x.png);
- -moz-image-region: rect(0px, 32px, 32px, 0);
- }
-
- #step-in:hover {
- -moz-image-region: rect(0px, 64px, 32px, 32px);
+ list-style-image: url(images/debugger-step-in@2x.png);
}
#step-out {
- list-style-image: url(debugger-step-out@2x.png);
- -moz-image-region: rect(0px, 32px, 32px, 0);
- }
-
- #step-out:hover {
- -moz-image-region: rect(0px, 64px, 32px, 32px);
+ list-style-image: url(images/debugger-step-out@2x.png);
}
}
#instruments-pane-toggle {
- list-style-image: url("chrome://devtools/skin/debugger-collapse.png");
+ list-style-image: var(--theme-pane-collapse-image);
}
#instruments-pane-toggle[pane-collapsed] {
- list-style-image: url("chrome://devtools/skin/debugger-expand.png");
-}
-
-@media (min-resolution: 1.1dppx) {
- #instruments-pane-toggle {
- list-style-image: url(debugger-collapse@2x.png);
- }
-
- #instruments-pane-toggle[pane-collapsed] {
- list-style-image: url(debugger-expand@2x.png);
- }
+ list-style-image: var(--theme-pane-expand-image);
}
/* Horizontal vs. vertical layout */
max-height: 80vh;
}
+#body[layout=vertical] #sources-pane > tabs {
+ -moz-border-end: none;
+}
+
#body[layout=vertical] #instruments-pane {
margin: 0 !important;
/* To prevent all the margin hacks to hide the sidebar. */
}
-#body[layout=vertical] #sources-pane > tabs {
- -moz-border-end: none;
-}
-
#body[layout=vertical] .side-menu-widget-container,
#body[layout=vertical] .side-menu-widget-empty-text {
box-shadow: none !important;
background-image: none !important;
}
-/* === END debugger.inc.css === */
+#body[layout=vertical] .side-menu-widget-group,
+#body[layout=vertical] .side-menu-widget-item {
+ -moz-margin-end: 0;
+}