1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
9 /* === BEGIN debugger.inc.css === */
11 /* Sources and breakpoints pane */
13 #sources-pane[selectedIndex="0"] + #sources-and-editor-splitter {
14 border-color: transparent;
17 #sources-pane > tabs {
18 -moz-border-end-color: var(--theme-splitter-color);
21 .dbg-breakpoint-condition-thrown-message {
23 color: var(--theme-highlight-red);
26 .dbg-breakpoint.dbg-breakpoint-condition-thrown .dbg-breakpoint-condition-thrown-message {
28 -moz-padding-start: 0;
33 #sources-toolbar > .devtools-toolbarbutton,
34 #sources-controls > .devtools-toolbarbutton {
39 list-style-image: url("debugger-blackbox.png");
42 @media (min-resolution: 1.1dppx) {
44 list-style-image: url(debugger-blackbox@2x.png);
49 list-style-image: url(debugger-prettyprint.png);
52 @media (min-resolution: 1.1dppx) {
54 list-style-image: url(debugger-prettyprint@2x.png);
59 list-style-image: url("debugger-toggleBreakpoints.png");
62 @media (min-resolution: 1.1dppx) {
64 list-style-image: url(debugger-toggleBreakpoints@2x.png);
68 #toggle-promise-debugger {
69 /* TODO Bug 1186119: Add a toggle promise debugger image */
72 #sources-toolbar .devtools-toolbarbutton:not([label]) {
73 -moz-image-region: rect(0px, 16px, 16px, 0px);
76 #sources-toolbar .devtools-toolbarbutton:not([label]):hover {
77 -moz-image-region: rect(16px, 16px, 32px, 0px);
80 #sources-toolbar .devtools-toolbarbutton:not([label])[checked] {
81 -moz-image-region: rect(0px, 32px, 16px, 16px);
84 #sources-toolbar .devtools-toolbarbutton:not([label])[checked]:hover {
85 -moz-image-region: rect(16px, 32px, 32px, 16px);
88 @media (min-resolution: 1.1dppx) {
89 #sources-toolbar .devtools-toolbarbutton:not([label]) {
90 -moz-image-region: rect(0px,32px,32px,0px);
93 #sources-toolbar .devtools-toolbarbutton:not([label]):hover {
94 -moz-image-region: rect(32px,32px,64px,0px);
97 #sources-toolbar .devtools-toolbarbutton:not([label])[checked] {
98 -moz-image-region: rect(0px,64px,32px,32px);
101 #sources-toolbar .devtools-toolbarbutton:not([label])[checked]:hover {
102 -moz-image-region: rect(32px,64px,64px,32px);
106 #sources .black-boxed {
110 #sources .selected .black-boxed {
114 #sources .black-boxed ~ .dbg-breakpoint {
118 #sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(ltr) {
119 background-image: none;
120 /* box-shadow: inset -1px 0 0 #222426; */
123 #sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(rtl) {
124 background-image: none;
125 /* box-shadow: inset 1px 0 0 #222426; */
128 /* Debugger unblackbox button */
130 #black-boxed-message-button > .button-box > .button-icon {
133 background-image: url("debugger-blackbox.png");
134 background-position: -16px -16px;
135 background-size: 32px 32px;
136 background-repeat: no-repeat;
137 -moz-margin-end: 5px;
140 @media (min-resolution: 1.1dppx) {
141 #black-boxed-message-button > .button-box > .button-icon {
142 background-image: url("debugger-blackbox@2x.png");
146 /* Black box message and source progress meter */
148 #black-boxed-message,
149 #source-progress-container {
150 background-color: #A09090;
151 /* Prevent the container deck from aquiring the size from this message. */
162 #black-boxed-message-label,
163 #black-boxed-message-button {
168 #black-boxed-message-button {
176 list-style-image: url("tracer-icon.png");
177 -moz-image-region: rect(0px,16px,16px,0px);
182 -moz-image-region: rect(0px,32px,16px,16px);
185 @media (min-resolution: 1.1dppx) {
187 list-style-image: url(tracer-icon@2x.png);
188 -moz-image-region: rect(0px,32px,32px,0px);
193 -moz-image-region: rect(0px,64px,32px,32px);
198 /* Make this button as narrow as the text inside it. */
203 -moz-padding-start: 4px !important;
206 /* Tracer dark+light theme */
209 color: var(--theme-content-color1);
212 .trace-item.black-boxed {
216 .trace-item.selected-matching {
217 background-color: #004242; /* Select highlight blue at 40% alpha */
220 .selected > .trace-item {
221 background-color: #004242; /* Select highlight blue at 75% alpha */
225 color: var(--theme-highlight-blue);
230 color: var(--theme-highlight-green);
234 color: var(--theme-highlight-red);
238 color: var(--theme-highlight-pink);
242 color: var(--theme-content-color2);
245 /* Breadcrumbs stack frames view */
247 .breadcrumbs-widget-item {
255 .dbg-stackframe-details {
256 -moz-padding-start: 4px;
259 /* Classic stack frames view */
261 .dbg-classic-stackframe {
266 .dbg-classic-stackframe-title {
271 .dbg-classic-stackframe-details:-moz-locale-dir(ltr) {
275 .dbg-classic-stackframe-details:-moz-locale-dir(rtl) {
279 .dbg-classic-stackframe-details-url {
282 color: var(--theme-text-blue);
285 .dbg-classic-stackframe-details-sep {
286 color: var(--theme-body-color-alt)
289 .dbg-classic-stackframe-details-line {
290 color: var(--theme-highlight-blue);
293 #callstack-list .side-menu-widget-item.selected label {
297 /* Sources and breakpoints view */
300 -moz-margin-start: 4px;
303 .dbg-breakpoint-line {
307 .dbg-breakpoint-text {
308 -moz-margin-start: 10px !important;
313 .dbg-breakpoint-checkbox {
319 /* Variable bubble view */
321 .devtools-tooltip-simple-text.token-undefined,
322 .devtools-tooltip-simple-text.token-null {
324 color: #A09090 !important; /* Override the theme's color. */
327 .devtools-tooltip-simple-text.token-boolean {
329 color: #9C9CFF !important;
332 .devtools-tooltip-simple-text.token-number {
334 color: #E7ADE7 !important;
337 .devtools-tooltip-simple-text.token-string {
339 color: #008484 !important;
342 .devtools-tooltip-simple-text.token-other {
344 color: #FF9F00 !important;
347 /* Instruments pane (watch expressions, variables, event listeners...) */
349 #instruments-pane .side-menu-widget-container,
350 #instruments-pane .side-menu-widget-empty-text {
351 /* box-shadow: none !important; */
354 /* Watch expressions view */
365 .dbg-expression-arrow {
366 background-image: url("commandline-icon.png");
367 background-position: -16px 0;
368 background-repeat: no-repeat;
369 background-size: 32px 16px;
375 @media (min-resolution: 1.1dppx) {
376 .dbg-expression-arrow {
377 background-image: url(commandline-icon@2x.png);
381 .dbg-expression-input {
385 .dbg-expression-button {
388 text-decoration: underline;
390 color: var(--theme-highlight-blue);
393 /* Event listeners view */
395 .dbg-event-listener {
399 .dbg-event-listener-type {
403 .dbg-event-listener-separator {
404 color: var(--theme-body-color-alt);
407 .dbg-event-listener-targets {
408 color: var(--theme-highlight-blue);
411 .dbg-event-listener-location {
412 color: var(--theme-highlight-pink);
415 #event-listeners .side-menu-widget-item.selected {
416 background: none !important;
419 /* Searchbox and the search operations help panel */
423 -moz-margin-start: 1px;
427 -moz-margin-start: 2px;
430 #searchbox-panel-operators {
433 -moz-margin-start: 2px;
436 .searchbox-panel-operator-button {
440 -moz-margin-start: 2px;
441 -moz-margin-end: 6px;
445 .searchbox-panel-operator-label {
449 /* Searchbox results panel */
455 .results-panel-item {
456 border: 1px solid #A09090;
457 border-top-color: #8050B0;
462 .results-panel-item:first-of-type {
463 border-top-color: #9C9CFF;
464 border-radius: 4px 4px 0 0;
467 .results-panel-item:last-of-type {
468 border-radius: 0 0 4px 4px;
471 .results-panel-item:only-of-type {
475 .results-panel-item:not(.selected):not(:hover) {
476 /* text-shadow: 0 1px #fff;*/
479 .results-panel-item-label-before {
480 -moz-margin-end: 5px !important;
481 color: var(--theme-content-color2);
485 .results-panel-item-label {
486 color: var(--theme-highlight-blue);
491 .results-panel-item-label-below {
492 color: var(--theme-content-color3);
496 /* Sources search view */
503 #globalsearch + .devtools-horizontal-splitter {
504 -moz-border-top-colors: #9C9CFF;
507 .dbg-source-results {
509 background: none !important;
512 .dbg-source-results:not(.selected):hover {
513 background-color: #000000; /* Sidebar background */
516 .dbg-results-header {
517 -moz-padding-start: 6px;
520 .dbg-results-header-location {
524 .dbg-results-header-match-count {
525 -moz-padding-start: 6px;
526 color: var(--theme-content-disabled);
529 .dbg-results-line-number {
530 background-color: var(--theme-toolbar-background);
532 -moz-border-end: 1px solid #9C9CFF;
533 -moz-padding-end: 4px;
536 color: var(--theme-body-color);
539 .dbg-results-line-contents {
540 -moz-padding-start: 4px;
545 .dbg-results-line-contents-string {
547 /* color: var(--theme-body-color-alt);*/
550 .dbg-results-line-contents-string[match=true] {
552 color: var(--theme-selection-color);
554 border: 1px solid #9C9CFF;
559 .dbg-results-line-contents-string[match=true][focusing] {
560 transition: transform 0.3s ease-in-out;
563 .dbg-results-line-contents-string[match=true][focused] {
564 transition-duration: 0.1s;
565 transform: scale(1.75, 1.75);
568 /* Toolbar controls */
571 list-style-image: url("chrome://devtools/skin/debugger-expand.png");
572 -moz-image-region: rect(0px, 16px, 16px, 0px);
575 #toggle-panes:not([panesHidden]) {
576 list-style-image: url("chrome://devtools/skin/debugger-collapse.png");
580 #toggle-panes:hover:active {
581 -moz-image-region: rect(0px, 32px, 16px, 16px);
584 #debugger-toolbar .devtools-toolbarbutton:not([label]) > .toolbarbutton-icon,
585 #sources-toolbar .devtools-toolbarbutton:not([label]) > .toolbarbutton-icon {
591 list-style-image: url("chrome://devtools/skin/debugger-pause.png");
592 -moz-image-region: rect(0px, 16px, 16px, 0px);
596 -moz-image-region: rect(0px, 32px, 16px, 16px);
599 #resume[checked=true] {
600 list-style-image: url("chrome://devtools/skin/debugger-play.png");
603 @media (min-resolution: 1.1dppx) {
605 list-style-image: url(debugger-pause@2x.png);
606 -moz-image-region: rect(0px, 32px, 32px, 0px);
610 -moz-image-region: rect(0px, 64px, 32px, 32px);
613 #resume[checked=true] {
614 list-style-image: url(debugger-play@2x.png);
618 #debugger-controls toolbarbutton {
619 /* transition: opacity 0.15s ease-in-out; */
622 #debugger-controls toolbarbutton[disabled] {
627 #resume[break-on-next] {
628 background: var(--theme-highlight-lightorange);
632 list-style-image: url("chrome://devtools/skin/debugger-step-over.png");
633 -moz-image-region: rect(0px, 16px, 16px, 0px);
636 -moz-image-region: rect(0px, 32px, 16px, 16px);
640 list-style-image: url("chrome://devtools/skin/debugger-step-in.png");
641 -moz-image-region: rect(0px, 16px, 16px, 0px);
644 -moz-image-region: rect(0px, 32px, 16px, 16px);
648 list-style-image: url("chrome://devtools/skin/debugger-step-out.png");
649 -moz-image-region: rect(0px, 16px, 16px, 0px);
652 -moz-image-region: rect(0px, 32px, 16px, 16px);
655 @media (min-resolution: 1.1dppx) {
657 list-style-image: url(debugger-step-over@2x.png);
658 -moz-image-region: rect(0px, 32px, 32px, 0);
662 -moz-image-region: rect(0px, 64px, 32px, 32px);
666 list-style-image: url(debugger-step-in@2x.png);
667 -moz-image-region: rect(0px, 32px, 32px, 0);
671 -moz-image-region: rect(0px, 64px, 32px, 32px);
675 list-style-image: url(debugger-step-out@2x.png);
676 -moz-image-region: rect(0px, 32px, 32px, 0);
680 -moz-image-region: rect(0px, 64px, 32px, 32px);
684 #instruments-pane-toggle {
688 list-style-image: url("chrome://devtools/skin/debugger-collapse.png");
689 -moz-image-region: rect(0px,16px,16px,0px);
692 #instruments-pane-toggle[pane-collapsed] {
693 list-style-image: url("chrome://devtools/skin/debugger-expand.png");
696 #instruments-pane-toggle:hover {
697 -moz-image-region: rect(0px,32px,16px,16px);
700 @media (min-resolution: 1.1dppx) {
701 #instruments-pane-toggle {
702 list-style-image: url(debugger-collapse@2x.png);
703 -moz-image-region: rect(0px,32px,32px,0px);
706 #instruments-pane-toggle[pane-collapsed] {
707 list-style-image: url(debugger-expand@2x.png);
710 #instruments-pane-toggle:hover {
711 -moz-image-region: rect(0px,64px,32px,32px);
715 /* Horizontal vs. vertical layout */
717 #vertical-layout-panes-container {
722 #body[layout=vertical] #instruments-pane {
723 margin: 0 !important;
724 /* To prevent all the margin hacks to hide the sidebar. */
727 #body[layout=vertical] #sources-pane > tabs {
728 -moz-border-end: none;
731 #body[layout=vertical] .side-menu-widget-container,
732 #body[layout=vertical] .side-menu-widget-empty-text {
733 box-shadow: none !important;
736 #body[layout=vertical] .side-menu-widget-item-arrow {
737 background-image: none !important;
740 /* === END debugger.inc.css === */