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: 1px solid #9C9CFF; /* Match the splitter color. */
21 #sources-toolbar > .devtools-toolbarbutton,
22 #sources-controls > .devtools-toolbarbutton {
27 list-style-image: url("debugger-blackbox.png");
30 @media (min-resolution: 2dppx) {
32 list-style-image: url(debugger-blackbox@2x.png);
37 list-style-image: url(debugger-prettyprint.png);
40 @media (min-resolution: 2dppx) {
42 list-style-image: url(debugger-prettyprint@2x.png);
47 list-style-image: url("debugger-toggleBreakpoints.png");
50 @media (min-resolution: 2dppx) {
52 list-style-image: url(debugger-toggleBreakpoints@2x.png);
56 #sources-toolbar .devtools-toolbarbutton:not([label]) {
57 -moz-image-region: rect(0px, 16px, 16px, 0px);
60 #sources-toolbar .devtools-toolbarbutton:not([label]):hover {
61 -moz-image-region: rect(16px, 16px, 32px, 0px);
64 #sources-toolbar .devtools-toolbarbutton:not([label])[checked] {
65 -moz-image-region: rect(0px, 32px, 16px, 16px);
68 #sources-toolbar .devtools-toolbarbutton:not([label])[checked]:hover {
69 -moz-image-region: rect(16px, 32px, 32px, 16px);
72 @media (min-resolution: 2dppx) {
73 #sources-toolbar .devtools-toolbarbutton:not([label]) {
74 -moz-image-region: rect(0px,32px,32px,0px);
77 #sources-toolbar .devtools-toolbarbutton:not([label]):hover {
78 -moz-image-region: rect(32px,32px,64px,0px);
81 #sources-toolbar .devtools-toolbarbutton:not([label])[checked] {
82 -moz-image-region: rect(0px,64px,32px,32px);
85 #sources-toolbar .devtools-toolbarbutton:not([label])[checked]:hover {
86 -moz-image-region: rect(32px,64px,64px,32px);
90 #sources .black-boxed {
94 #sources .selected > .black-boxed {
98 #sources .black-boxed > .dbg-breakpoint {
102 #sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(ltr) {
103 background-image: none;
104 /* box-shadow: inset -1px 0 0 #222426; */
107 #sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(rtl) {
108 background-image: none;
109 /* box-shadow: inset 1px 0 0 #222426; */
112 /* Debugger unblackbox button */
114 #black-boxed-message-button > .button-box > .button-icon {
117 background-image: url("debugger-blackbox.png");
118 background-position: -16px -16px;
119 background-size: 32px 32px;
120 background-repeat: no-repeat;
121 -moz-margin-end: 5px;
124 @media (min-resolution: 2dppx) {
125 #black-boxed-message-button > .button-box > .button-icon {
126 background-image: url("debugger-blackbox@2x.png");
130 /* Black box message and source progress meter */
132 #black-boxed-message,
133 #source-progress-container {
134 background-color: #A09090;
135 /* Prevent the container deck from aquiring the size from this message. */
146 #black-boxed-message-label,
147 #black-boxed-message-button {
152 #black-boxed-message-button {
160 list-style-image: url("tracer-icon.png");
161 -moz-image-region: rect(0px,16px,16px,0px);
166 -moz-image-region: rect(0px,32px,16px,16px);
169 @media (min-resolution: 2dppx) {
171 list-style-image: url(tracer-icon@2x.png);
172 -moz-image-region: rect(0px,32px,32px,0px);
177 -moz-image-region: rect(0px,64px,32px,32px);
182 /* Make this button as narrow as the text inside it. */
187 -moz-padding-start: 4px !important;
190 /* Tracer dark+light theme */
193 color: #FF9F00; /* Light foreground text */
196 .trace-item.black-boxed {
200 .trace-item.selected-matching {
201 background-color: #004242; /* Select highlight blue at 40% alpha */
204 .selected > .trace-item {
205 background-color: #004242; /* Select highlight blue at 75% alpha */
209 color: #9C9CFF; /* highlight blue */
214 color: #008484; /* highlight green */
218 color: #FF0000; /* highlight red */
222 color: #E7ADE7; /* Content text light */
226 color: #A09090; /* highlight grey */
229 /* Breadcrumbs stack frames view */
231 .breadcrumbs-widget-item {
239 .dbg-stackframe-details {
240 -moz-padding-start: 4px;
243 /* Classic stack frames view */
245 .dbg-classic-stackframe {
250 .dbg-classic-stackframe-title {
255 .dbg-classic-stackframe-details:-moz-locale-dir(ltr) {
259 .dbg-classic-stackframe-details:-moz-locale-dir(rtl) {
263 .dbg-classic-stackframe-details-url {
269 .dbg-classic-stackframe-details-sep {
273 .dbg-classic-stackframe-details-line {
277 #callstack-list .side-menu-widget-item.selected label {
281 /* Sources and breakpoints view */
284 -moz-margin-start: 4px;
287 .dbg-breakpoint-line {
291 .dbg-breakpoint-text {
292 -moz-margin-start: 10px !important;
297 .dbg-breakpoint-checkbox {
303 /* Variable bubble view */
305 .devtools-tooltip-simple-text.token-undefined,
306 .devtools-tooltip-simple-text.token-null {
308 color: #A09090 !important; /* Override the theme's color. */
311 .devtools-tooltip-simple-text.token-boolean {
313 color: #9C9CFF !important;
316 .devtools-tooltip-simple-text.token-number {
318 color: #E7ADE7 !important;
321 .devtools-tooltip-simple-text.token-string {
323 color: #008484 !important;
326 .devtools-tooltip-simple-text.token-other {
328 color: #FF9F00 !important;
331 /* Instruments pane (watch expressions, variables, event listeners...) */
333 #instruments-pane .side-menu-widget-container,
334 #instruments-pane .side-menu-widget-empty-text {
335 /* box-shadow: none !important; */
338 /* Watch expressions view */
349 .dbg-expression-arrow {
350 background-image: url("commandline-icon.png");
351 background-position: -16px 0;
352 background-repeat: no-repeat;
353 background-size: 32px 16px;
359 @media (min-resolution: 2dppx) {
360 .dbg-expression-arrow {
361 background-image: url(commandline-icon@2x.png);
365 .dbg-expression-input {
369 .dbg-expression-button {
372 text-decoration: underline;
375 color: #9C9CFF; /* Blue highlight color */
378 /* Event listeners view */
380 .dbg-event-listener {
384 .dbg-event-listener-type {
388 .dbg-event-listener-separator {
392 .dbg-event-listener-targets {
396 .dbg-event-listener-location {
400 #event-listeners .side-menu-widget-item.selected {
401 background: none !important;
404 /* Searchbox and the search operations help panel */
408 -moz-margin-start: 1px;
412 -moz-margin-start: 2px;
415 #searchbox-panel-operators {
418 -moz-margin-start: 2px;
421 .searchbox-panel-operator-button {
425 -moz-margin-start: 2px;
426 -moz-margin-end: 6px;
430 .searchbox-panel-operator-label {
434 /* Searchbox results panel */
440 .results-panel-item {
441 border: 1px solid #A09090;
442 border-top-color: #8050B0;
447 .results-panel-item:first-of-type {
448 border-top-color: #9C9CFF;
449 border-radius: 4px 4px 0 0;
452 .results-panel-item:last-of-type {
453 border-radius: 0 0 4px 4px;
456 .results-panel-item:only-of-type {
460 .results-panel-item:not(.selected):not(:hover) {
461 /* text-shadow: 0 1px #fff;*/
464 .results-panel-item-label-before {
465 -moz-margin-end: 5px !important;
470 .results-panel-item-label {
476 .results-panel-item-label-below {
481 /* Sources search view */
488 #globalsearch + .devtools-horizontal-splitter {
489 -moz-border-top-colors: #9C9CFF;
492 .dbg-source-results {
494 background: none !important;
497 .dbg-source-results:not(.selected):hover {
498 background-color: #000000; /* Sidebar background */
501 .dbg-results-header {
502 -moz-padding-start: 6px;
505 .dbg-results-header-location {
509 .dbg-results-header-match-count {
510 -moz-padding-start: 6px;
514 .dbg-results-line-number {
517 -moz-border-end: 1px solid #9C9CFF;
518 -moz-padding-end: 4px;
524 .dbg-results-line-contents {
525 -moz-padding-start: 4px;
530 .dbg-results-line-contents-string {
534 .dbg-results-line-contents-string[match=true] {
538 border: 1px solid #9C9CFF;
543 .dbg-results-line-contents-string[match=true][focusing] {
544 transition: transform 0.3s ease-in-out;
547 .dbg-results-line-contents-string[match=true][focused] {
548 transition-duration: 0.1s;
549 transform: scale(1.75, 1.75);
552 /* Toolbar controls */
555 list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png");
556 -moz-image-region: rect(0px, 16px, 16px, 0px);
559 #toggle-panes:not([panesHidden]) {
560 list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png");
564 #toggle-panes:hover:active {
565 -moz-image-region: rect(0px, 32px, 16px, 16px);
568 #debugger-toolbar .devtools-toolbarbutton:not([label]) > .toolbarbutton-icon,
569 #sources-toolbar .devtools-toolbarbutton:not([label]) > .toolbarbutton-icon {
575 list-style-image: url("chrome://browser/skin/devtools/debugger-pause.png");
576 -moz-image-region: rect(0px, 16px, 16px, 0px);
580 -moz-image-region: rect(0px, 32px, 16px, 16px);
583 #resume[checked=true] {
584 list-style-image: url("chrome://browser/skin/devtools/debugger-play.png");
587 @media (min-resolution: 2dppx) {
589 list-style-image: url(debugger-pause@2x.png);
590 -moz-image-region: rect(0px, 32px, 32px, 0px);
594 -moz-image-region: rect(0px, 64px, 32px, 32px);
597 #resume[checked=true] {
598 list-style-image: url(debugger-play@2x.png);
602 #resume ~ toolbarbutton {
603 /* transition: opacity 0.15s ease-in-out; */
606 #resume:not([checked]) ~ toolbarbutton {
611 list-style-image: url("chrome://browser/skin/devtools/debugger-step-over.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://browser/skin/devtools/debugger-step-in.png");
620 -moz-image-region: rect(0px, 16px, 16px, 0px);
623 -moz-image-region: rect(0px, 32px, 16px, 16px);
627 list-style-image: url("chrome://browser/skin/devtools/debugger-step-out.png");
628 -moz-image-region: rect(0px, 16px, 16px, 0px);
631 -moz-image-region: rect(0px, 32px, 16px, 16px);
634 @media (min-resolution: 2dppx) {
636 list-style-image: url(debugger-step-over@2x.png);
637 -moz-image-region: rect(0px, 32px, 32px, 0);
641 -moz-image-region: rect(0px, 64px, 32px, 32px);
645 list-style-image: url(debugger-step-in@2x.png);
646 -moz-image-region: rect(0px, 32px, 32px, 0);
650 -moz-image-region: rect(0px, 64px, 32px, 32px);
654 list-style-image: url(debugger-step-out@2x.png);
655 -moz-image-region: rect(0px, 32px, 32px, 0);
659 -moz-image-region: rect(0px, 64px, 32px, 32px);
663 #instruments-pane-toggle {
667 list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png");
668 -moz-image-region: rect(0px,16px,16px,0px);
671 #instruments-pane-toggle[pane-collapsed] {
672 list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png");
675 #instruments-pane-toggle:hover {
676 -moz-image-region: rect(0px,32px,16px,16px);
679 @media (min-resolution: 2dppx) {
680 #instruments-pane-toggle {
681 list-style-image: url(debugger-collapse@2x.png);
682 -moz-image-region: rect(0px,32px,32px,0px);
685 #instruments-pane-toggle[pane-collapsed] {
686 list-style-image: url(debugger-expand@2x.png);
689 #instruments-pane-toggle:hover {
690 -moz-image-region: rect(0px,64px,32px,32px);
694 /* Horizontal vs. vertical layout */
696 #vertical-layout-panes-container {
701 #body[layout=vertical] #instruments-pane {
702 margin: 0 !important;
703 /* To prevent all the margin hacks to hide the sidebar. */
706 #body[layout=vertical] #sources-pane > tabs {
707 -moz-border-end: none;
710 #body[layout=vertical] .side-menu-widget-container,
711 #body[layout=vertical] .side-menu-widget-empty-text {
712 box-shadow: none !important;
715 #body[layout=vertical] .side-menu-widget-item-arrow {
716 background-image: none !important;
719 /* === END debugger.inc.css === */