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);
42 @media (min-resolution: 1.1dppx) {
43 #sources-toolbar .devtools-toolbarbutton:not([label]) {
44 -moz-image-region: rect(0,32px,32px,0);
49 list-style-image: url("images/debugger-blackbox.png");
52 @media (min-resolution: 1.1dppx) {
54 list-style-image: url(images/debugger-blackbox@2x.png);
59 list-style-image: url(images/debugger-prettyprint.png);
62 @media (min-resolution: 1.1dppx) {
64 list-style-image: url(images/debugger-prettyprint@2x.png);
69 list-style-image: url(images/debugger-toggleBreakpoints.svg);
70 -moz-image-region: rect(0,32px,16px,16px) !important;
73 #toggle-breakpoints[checked] {
74 -moz-image-region: rect(0,16px,16px,0) !important;
77 #toggle-promise-debugger {
78 /* TODO Bug 1186119: Add a toggle promise debugger image */
81 #sources .black-boxed {
85 #sources .selected .black-boxed {
89 #sources .black-boxed ~ .dbg-breakpoint {
93 #sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(ltr) {
94 background-image: none;
95 /* box-shadow: inset -1px 0 0 #222426; */
98 #sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(rtl) {
99 background-image: none;
100 /* box-shadow: inset 1px 0 0 #222426; */
103 /* Debugger unblackbox button */
105 #black-boxed-message-button > .button-box > .button-icon {
108 background-image: url("images/debugger-blackbox.png");
109 background-position: -16px -16px;
110 background-size: 32px 32px;
111 background-repeat: no-repeat;
112 -moz-margin-end: 5px;
115 @media (min-resolution: 1.1dppx) {
116 #black-boxed-message-button > .button-box > .button-icon {
117 background-image: url("images/debugger-blackbox@2x.png");
121 /* Black box message and source progress meter */
123 #black-boxed-message,
124 #source-progress-container {
125 background-color: #A09090;
126 /* Prevent the container deck from aquiring the size from this message. */
137 #black-boxed-message-label,
138 #black-boxed-message-button {
143 #black-boxed-message-button {
151 list-style-image: url("tracer-icon.png");
152 -moz-image-region: rect(0px,16px,16px,0px);
156 -moz-image-region: rect(0px,32px,16px,16px);
159 @media (min-resolution: 1.1dppx) {
161 list-style-image: url(tracer-icon@2x.png);
162 -moz-image-region: rect(0px,32px,32px,0px);
167 -moz-image-region: rect(0px,64px,32px,32px);
172 /* Make this button as narrow as the text inside it. */
177 -moz-padding-start: 4px !important;
180 /* Tracer dark+light theme */
183 color: var(--theme-content-color1);
186 .trace-item.black-boxed {
190 .trace-item.selected-matching {
191 background-color: #004242; /* Select highlight blue at 40% alpha */
194 .selected > .trace-item {
195 background-color: #004242; /* Select highlight blue at 75% alpha */
199 color: var(--theme-highlight-blue);
204 color: var(--theme-highlight-green);
208 color: var(--theme-highlight-red);
212 color: var(--theme-highlight-pink);
216 color: var(--theme-content-color2);
219 /* Breadcrumbs stack frames view */
221 .breadcrumbs-widget-item {
229 .dbg-stackframe-details {
230 -moz-padding-start: 4px;
233 /* Classic stack frames view */
235 .dbg-classic-stackframe {
240 .dbg-classic-stackframe-title {
245 .dbg-classic-stackframe-details:-moz-locale-dir(ltr) {
249 .dbg-classic-stackframe-details:-moz-locale-dir(rtl) {
253 .dbg-classic-stackframe-details-url {
256 color: var(--theme-text-blue);
259 .dbg-classic-stackframe-details-sep {
260 color: var(--theme-body-color-alt)
263 .dbg-classic-stackframe-details-line {
264 color: var(--theme-highlight-blue);
267 #callstack-list .side-menu-widget-item.selected label {
271 /* Sources and breakpoints view */
274 -moz-margin-start: 4px;
277 .dbg-breakpoint-line {
281 .dbg-breakpoint-text {
282 -moz-margin-start: 10px !important;
287 .dbg-breakpoint-checkbox {
293 /* Variable bubble view */
295 .devtools-tooltip-simple-text.token-undefined,
296 .devtools-tooltip-simple-text.token-null {
298 color: #A09090 !important; /* Override the theme's color. */
301 .devtools-tooltip-simple-text.token-boolean {
303 color: #9C9CFF !important;
306 .devtools-tooltip-simple-text.token-number {
308 color: #E7ADE7 !important;
311 .devtools-tooltip-simple-text.token-string {
313 color: #008484 !important;
316 .devtools-tooltip-simple-text.token-other {
318 color: #FF9F00 !important;
321 /* Instruments pane (watch expressions, variables, event listeners...) */
323 #instruments-pane .side-menu-widget-container,
324 #instruments-pane .side-menu-widget-empty-text {
325 /* box-shadow: none !important; */
328 /* Watch expressions view */
339 .dbg-expression-arrow {
340 background-image: url("images/commandline-icon.png");
341 background-position: -16px 0;
342 background-repeat: no-repeat;
343 background-size: 32px 16px;
349 @media (min-resolution: 1.1dppx) {
350 .dbg-expression-arrow {
351 background-image: url("images/commandline-icon@2x.png");
355 .dbg-expression-input {
359 .dbg-expression-button {
362 text-decoration: underline;
364 color: var(--theme-highlight-blue);
367 /* Event listeners view */
369 .dbg-event-listener {
373 .dbg-event-listener-type {
377 .dbg-event-listener-separator {
378 color: var(--theme-body-color-alt);
381 .dbg-event-listener-targets {
382 color: var(--theme-highlight-blue);
385 .dbg-event-listener-location {
386 color: var(--theme-highlight-pink);
389 #event-listeners .side-menu-widget-item.selected {
390 background: none !important;
393 /* Searchbox and the search operations help panel */
397 -moz-margin-start: 1px;
401 -moz-margin-start: 2px;
404 #searchbox-panel-operators {
407 -moz-margin-start: 2px;
410 .searchbox-panel-operator-button {
414 -moz-margin-start: 2px;
415 -moz-margin-end: 6px;
419 .searchbox-panel-operator-label {
423 /* Searchbox results panel */
429 .results-panel-item {
430 border: 1px solid #A09090;
431 border-top-color: #8050B0;
436 .results-panel-item:first-of-type {
437 border-top-color: #9C9CFF;
438 border-radius: 4px 4px 0 0;
441 .results-panel-item:last-of-type {
442 border-radius: 0 0 4px 4px;
445 .results-panel-item:only-of-type {
449 .results-panel-item:not(.selected):not(:hover) {
450 /* text-shadow: 0 1px #fff;*/
453 .results-panel-item-label-before {
454 -moz-margin-end: 5px !important;
455 color: var(--theme-content-color2);
459 .results-panel-item-label {
460 color: var(--theme-highlight-blue);
465 .results-panel-item-label-below {
466 color: var(--theme-content-color3);
470 /* Sources search view */
477 #globalsearch + .devtools-horizontal-splitter {
478 -moz-border-top-colors: #9C9CFF;
481 .dbg-source-results {
483 background: none !important;
486 .dbg-source-results:not(.selected):hover {
487 background-color: #000000; /* Sidebar background */
490 .dbg-results-header {
491 -moz-padding-start: 6px;
494 .dbg-results-header-location {
498 .dbg-results-header-match-count {
499 -moz-padding-start: 6px;
500 color: var(--theme-content-disabled);
503 .dbg-results-line-number {
504 background-color: var(--theme-toolbar-background);
506 -moz-border-end: 1px solid #9C9CFF;
507 -moz-padding-end: 4px;
510 color: var(--theme-body-color);
513 .dbg-results-line-contents {
514 -moz-padding-start: 4px;
519 .dbg-results-line-contents-string {
521 /* color: var(--theme-body-color-alt);*/
524 .dbg-results-line-contents-string[match=true] {
526 color: var(--theme-selection-color);
528 border: 1px solid #9C9CFF;
533 .dbg-results-line-contents-string[match=true][focusing] {
534 transition: transform 0.3s ease-in-out;
537 .dbg-results-line-contents-string[match=true][focused] {
538 transition-duration: 0.1s;
539 transform: scale(1.75, 1.75);
542 /* Toolbar controls */
545 list-style-image: url("chrome://devtools/skin/images/debugger-expand.png");
546 -moz-image-region: rect(0px, 16px, 16px, 0px);
549 #toggle-panes:not([panesHidden]) {
550 list-style-image: url("chrome://devtools/skin/images/debugger-collapse.png");
554 #toggle-panes:hover:active {
555 -moz-image-region: rect(0px, 32px, 16px, 16px);
559 list-style-image: url("chrome://devtools/skin/images/debugger-pause.png");
560 -moz-image-region: rect(0px, 16px, 16px, 0px);
564 -moz-image-region: rect(0px, 32px, 16px, 16px);
567 #resume[checked=true] {
568 list-style-image: url("chrome://devtools/skin/images/debugger-play.png");
571 @media (min-resolution: 1.1dppx) {
573 list-style-image: url(images/debugger-pause@2x.png);
574 -moz-image-region: rect(0px, 32px, 32px, 0px);
578 -moz-image-region: rect(0px, 64px, 32px, 32px);
581 #resume[checked=true] {
582 list-style-image: url(images/debugger-play@2x.png);
586 #resume[break-on-next] {
587 background: var(--theme-highlight-lightorange);
591 list-style-image: url("chrome://devtools/skin/images/debugger-step-over.png");
592 -moz-image-region: rect(0px, 16px, 16px, 0px);
595 -moz-image-region: rect(0px, 32px, 16px, 16px);
599 list-style-image: url("chrome://devtools/skin/images/debugger-step-in.png");
600 -moz-image-region: rect(0px, 16px, 16px, 0px);
603 -moz-image-region: rect(0px, 32px, 16px, 16px);
607 list-style-image: url("chrome://devtools/skin/images/debugger-step-out.png");
608 -moz-image-region: rect(0px, 16px, 16px, 0px);
611 -moz-image-region: rect(0px, 32px, 16px, 16px);
614 @media (min-resolution: 1.1dppx) {
616 list-style-image: url(images/debugger-step-over@2x.png);
617 -moz-image-region: rect(0px, 32px, 32px, 0);
621 -moz-image-region: rect(0px, 64px, 32px, 32px);
625 list-style-image: url(images/debugger-step-in@2x.png);
626 -moz-image-region: rect(0px, 32px, 32px, 0);
630 -moz-image-region: rect(0px, 64px, 32px, 32px);
634 list-style-image: url(images/debugger-step-out@2x.png);
635 -moz-image-region: rect(0px, 32px, 32px, 0);
639 -moz-image-region: rect(0px, 64px, 32px, 32px);
643 #instruments-pane-toggle {
644 list-style-image: url("chrome://devtools/skin/images/debugger-collapse.png");
647 #instruments-pane-toggle[pane-collapsed] {
648 list-style-image: url("chrome://devtools/skin/images/debugger-expand.png");
651 @media (min-resolution: 1.1dppx) {
652 #instruments-pane-toggle {
653 list-style-image: url(images/debugger-collapse@2x.png);
656 #instruments-pane-toggle[pane-collapsed] {
657 list-style-image: url(images/debugger-expand@2x.png);
661 /* Horizontal vs. vertical layout */
663 #vertical-layout-panes-container {
668 #body[layout=vertical] #instruments-pane {
669 margin: 0 !important;
670 /* To prevent all the margin hacks to hide the sidebar. */
673 #body[layout=vertical] #sources-pane > tabs {
674 -moz-border-end: none;
677 #body[layout=vertical] .side-menu-widget-container,
678 #body[layout=vertical] .side-menu-widget-empty-text {
679 box-shadow: none !important;
682 #body[layout=vertical] .side-menu-widget-item-arrow {
683 background-image: none !important;
686 /* === END debugger.inc.css === */