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 {
38 #sources-toolbar .devtools-toolbarbutton:not([label]) {
39 -moz-image-region: rect(0,16px,16px,0);
43 list-style-image: url("debugger-blackbox.png");
46 @media (min-resolution: 1.1dppx) {
48 list-style-image: url(debugger-blackbox@2x.png);
53 list-style-image: url(debugger-prettyprint.png);
56 @media (min-resolution: 1.1dppx) {
58 list-style-image: url(debugger-prettyprint@2x.png);
63 list-style-image: url("debugger-toggleBreakpoints.png");
66 #toggle-breakpoints[checked] {
67 -moz-image-region: rect(0,32px,16px,16px) !important;
70 #toggle-breakpoints[checked] > image {
71 /* This button has a special checked image, don't make it blue */
75 @media (min-resolution: 1.1dppx) {
76 #sources-toolbar .devtools-toolbarbutton:not([label]) {
77 -moz-image-region: rect(0,32px,32px,0);
81 list-style-image: url(debugger-toggleBreakpoints@2x.png);
84 #toggle-breakpoints[checked] {
85 -moz-image-region: rect(0,64px,32px,32px) !important;
89 #toggle-promise-debugger {
90 /* TODO Bug 1186119: Add a toggle promise debugger image */
93 #sources .black-boxed {
97 #sources .selected .black-boxed {
101 #sources .black-boxed ~ .dbg-breakpoint {
105 #sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(ltr) {
106 background-image: none;
107 /* box-shadow: inset -1px 0 0 #222426; */
110 #sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(rtl) {
111 background-image: none;
112 /* box-shadow: inset 1px 0 0 #222426; */
115 /* Debugger unblackbox button */
117 #black-boxed-message-button > .button-box > .button-icon {
120 background-image: url("debugger-blackbox.png");
121 background-position: -16px -16px;
122 background-size: 32px 32px;
123 background-repeat: no-repeat;
124 -moz-margin-end: 5px;
127 @media (min-resolution: 1.1dppx) {
128 #black-boxed-message-button > .button-box > .button-icon {
129 background-image: url("debugger-blackbox@2x.png");
133 /* Black box message and source progress meter */
135 #black-boxed-message,
136 #source-progress-container {
137 background-color: #A09090;
138 /* Prevent the container deck from aquiring the size from this message. */
149 #black-boxed-message-label,
150 #black-boxed-message-button {
155 #black-boxed-message-button {
163 list-style-image: url("tracer-icon.png");
164 -moz-image-region: rect(0px,16px,16px,0px);
168 -moz-image-region: rect(0px,32px,16px,16px);
171 @media (min-resolution: 1.1dppx) {
173 list-style-image: url(tracer-icon@2x.png);
174 -moz-image-region: rect(0px,32px,32px,0px);
179 -moz-image-region: rect(0px,64px,32px,32px);
184 /* Make this button as narrow as the text inside it. */
189 -moz-padding-start: 4px !important;
192 /* Tracer dark+light theme */
195 color: var(--theme-content-color1);
198 .trace-item.black-boxed {
202 .trace-item.selected-matching {
203 background-color: #004242; /* Select highlight blue at 40% alpha */
206 .selected > .trace-item {
207 background-color: #004242; /* Select highlight blue at 75% alpha */
211 color: var(--theme-highlight-blue);
216 color: var(--theme-highlight-green);
220 color: var(--theme-highlight-red);
224 color: var(--theme-highlight-pink);
228 color: var(--theme-content-color2);
231 /* Breadcrumbs stack frames view */
233 .breadcrumbs-widget-item {
241 .dbg-stackframe-details {
242 -moz-padding-start: 4px;
245 /* Classic stack frames view */
247 .dbg-classic-stackframe {
252 .dbg-classic-stackframe-title {
257 .dbg-classic-stackframe-details:-moz-locale-dir(ltr) {
261 .dbg-classic-stackframe-details:-moz-locale-dir(rtl) {
265 .dbg-classic-stackframe-details-url {
268 color: var(--theme-text-blue);
271 .dbg-classic-stackframe-details-sep {
272 color: var(--theme-body-color-alt)
275 .dbg-classic-stackframe-details-line {
276 color: var(--theme-highlight-blue);
279 #callstack-list .side-menu-widget-item.selected label {
283 /* Sources and breakpoints view */
286 -moz-margin-start: 4px;
289 .dbg-breakpoint-line {
293 .dbg-breakpoint-text {
294 -moz-margin-start: 10px !important;
299 .dbg-breakpoint-checkbox {
305 /* Variable bubble view */
307 .devtools-tooltip-simple-text.token-undefined,
308 .devtools-tooltip-simple-text.token-null {
310 color: #A09090 !important; /* Override the theme's color. */
313 .devtools-tooltip-simple-text.token-boolean {
315 color: #9C9CFF !important;
318 .devtools-tooltip-simple-text.token-number {
320 color: #E7ADE7 !important;
323 .devtools-tooltip-simple-text.token-string {
325 color: #008484 !important;
328 .devtools-tooltip-simple-text.token-other {
330 color: #FF9F00 !important;
333 /* Instruments pane (watch expressions, variables, event listeners...) */
335 #instruments-pane .side-menu-widget-container,
336 #instruments-pane .side-menu-widget-empty-text {
337 /* box-shadow: none !important; */
340 /* Watch expressions view */
351 .dbg-expression-arrow {
352 background-image: url("commandline-icon.png");
353 background-position: -16px 0;
354 background-repeat: no-repeat;
355 background-size: 32px 16px;
361 @media (min-resolution: 1.1dppx) {
362 .dbg-expression-arrow {
363 background-image: url(commandline-icon@2x.png);
367 .dbg-expression-input {
371 .dbg-expression-button {
374 text-decoration: underline;
376 color: var(--theme-highlight-blue);
379 /* Event listeners view */
381 .dbg-event-listener {
385 .dbg-event-listener-type {
389 .dbg-event-listener-separator {
390 color: var(--theme-body-color-alt);
393 .dbg-event-listener-targets {
394 color: var(--theme-highlight-blue);
397 .dbg-event-listener-location {
398 color: var(--theme-highlight-pink);
401 #event-listeners .side-menu-widget-item.selected {
402 background: none !important;
405 /* Searchbox and the search operations help panel */
409 -moz-margin-start: 1px;
413 -moz-margin-start: 2px;
416 #searchbox-panel-operators {
419 -moz-margin-start: 2px;
422 .searchbox-panel-operator-button {
426 -moz-margin-start: 2px;
427 -moz-margin-end: 6px;
431 .searchbox-panel-operator-label {
435 /* Searchbox results panel */
441 .results-panel-item {
442 border: 1px solid #A09090;
443 border-top-color: #8050B0;
448 .results-panel-item:first-of-type {
449 border-top-color: #9C9CFF;
450 border-radius: 4px 4px 0 0;
453 .results-panel-item:last-of-type {
454 border-radius: 0 0 4px 4px;
457 .results-panel-item:only-of-type {
461 .results-panel-item:not(.selected):not(:hover) {
462 /* text-shadow: 0 1px #fff;*/
465 .results-panel-item-label-before {
466 -moz-margin-end: 5px !important;
467 color: var(--theme-content-color2);
471 .results-panel-item-label {
472 color: var(--theme-highlight-blue);
477 .results-panel-item-label-below {
478 color: var(--theme-content-color3);
482 /* Sources search view */
489 #globalsearch + .devtools-horizontal-splitter {
490 -moz-border-top-colors: #9C9CFF;
493 .dbg-source-results {
495 background: none !important;
498 .dbg-source-results:not(.selected):hover {
499 background-color: #000000; /* Sidebar background */
502 .dbg-results-header {
503 -moz-padding-start: 6px;
506 .dbg-results-header-location {
510 .dbg-results-header-match-count {
511 -moz-padding-start: 6px;
512 color: var(--theme-content-disabled);
515 .dbg-results-line-number {
516 background-color: var(--theme-toolbar-background);
518 -moz-border-end: 1px solid #9C9CFF;
519 -moz-padding-end: 4px;
522 color: var(--theme-body-color);
525 .dbg-results-line-contents {
526 -moz-padding-start: 4px;
531 .dbg-results-line-contents-string {
533 /* color: var(--theme-body-color-alt);*/
536 .dbg-results-line-contents-string[match=true] {
538 color: var(--theme-selection-color);
540 border: 1px solid #9C9CFF;
545 .dbg-results-line-contents-string[match=true][focusing] {
546 transition: transform 0.3s ease-in-out;
549 .dbg-results-line-contents-string[match=true][focused] {
550 transition-duration: 0.1s;
551 transform: scale(1.75, 1.75);
554 /* Toolbar controls */
557 list-style-image: url("chrome://devtools/skin/debugger-expand.png");
558 -moz-image-region: rect(0px, 16px, 16px, 0px);
561 #toggle-panes:not([panesHidden]) {
562 list-style-image: url("chrome://devtools/skin/debugger-collapse.png");
566 #toggle-panes:hover:active {
567 -moz-image-region: rect(0px, 32px, 16px, 16px);
571 list-style-image: url("chrome://devtools/skin/debugger-pause.png");
572 -moz-image-region: rect(0px, 16px, 16px, 0px);
576 -moz-image-region: rect(0px, 32px, 16px, 16px);
579 #resume[checked=true] {
580 list-style-image: url("chrome://devtools/skin/debugger-play.png");
583 @media (min-resolution: 1.1dppx) {
585 list-style-image: url(debugger-pause@2x.png);
586 -moz-image-region: rect(0px, 32px, 32px, 0px);
590 -moz-image-region: rect(0px, 64px, 32px, 32px);
593 #resume[checked=true] {
594 list-style-image: url(debugger-play@2x.png);
598 #resume[break-on-next] {
599 background: var(--theme-highlight-lightorange);
603 list-style-image: url("chrome://devtools/skin/debugger-step-over.png");
604 -moz-image-region: rect(0px, 16px, 16px, 0px);
607 -moz-image-region: rect(0px, 32px, 16px, 16px);
611 list-style-image: url("chrome://devtools/skin/debugger-step-in.png");
612 -moz-image-region: rect(0px, 16px, 16px, 0px);
615 -moz-image-region: rect(0px, 32px, 16px, 16px);
619 list-style-image: url("chrome://devtools/skin/debugger-step-out.png");
620 -moz-image-region: rect(0px, 16px, 16px, 0px);
623 -moz-image-region: rect(0px, 32px, 16px, 16px);
626 @media (min-resolution: 1.1dppx) {
628 list-style-image: url(debugger-step-over@2x.png);
629 -moz-image-region: rect(0px, 32px, 32px, 0);
633 -moz-image-region: rect(0px, 64px, 32px, 32px);
637 list-style-image: url(debugger-step-in@2x.png);
638 -moz-image-region: rect(0px, 32px, 32px, 0);
642 -moz-image-region: rect(0px, 64px, 32px, 32px);
646 list-style-image: url(debugger-step-out@2x.png);
647 -moz-image-region: rect(0px, 32px, 32px, 0);
651 -moz-image-region: rect(0px, 64px, 32px, 32px);
655 #instruments-pane-toggle {
656 list-style-image: url("chrome://devtools/skin/debugger-collapse.png");
659 #instruments-pane-toggle[pane-collapsed] {
660 list-style-image: url("chrome://devtools/skin/debugger-expand.png");
663 @media (min-resolution: 1.1dppx) {
664 #instruments-pane-toggle {
665 list-style-image: url(debugger-collapse@2x.png);
668 #instruments-pane-toggle[pane-collapsed] {
669 list-style-image: url(debugger-expand@2x.png);
673 /* Horizontal vs. vertical layout */
675 #vertical-layout-panes-container {
680 #body[layout=vertical] #instruments-pane {
681 margin: 0 !important;
682 /* To prevent all the margin hacks to hide the sidebar. */
685 #body[layout=vertical] #sources-pane > tabs {
686 -moz-border-end: none;
689 #body[layout=vertical] .side-menu-widget-container,
690 #body[layout=vertical] .side-menu-widget-empty-text {
691 box-shadow: none !important;
694 #body[layout=vertical] .side-menu-widget-item-arrow {
695 background-image: none !important;
698 /* === END debugger.inc.css === */