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);
41 list-style-image: url("debugger-toggleBreakpoints.png");
44 @media (min-resolution: 2dppx) {
46 list-style-image: url(debugger-toggleBreakpoints@2x.png);
50 #sources-toolbar .devtools-toolbarbutton:not([label]) {
51 -moz-image-region: rect(0px, 16px, 16px, 0px);
54 #sources-toolbar .devtools-toolbarbutton:not([label]):hover {
55 -moz-image-region: rect(16px, 16px, 32px, 0px);
58 #sources-toolbar .devtools-toolbarbutton:not([label])[checked] {
59 -moz-image-region: rect(0px, 32px, 16px, 16px);
62 #sources-toolbar .devtools-toolbarbutton:not([label])[checked]:hover {
63 -moz-image-region: rect(16px, 32px, 32px, 16px);
66 @media (min-resolution: 2dppx) {
67 #sources-toolbar .devtools-toolbarbutton:not([label]) {
68 -moz-image-region: rect(0px,32px,32px,0px);
71 #sources-toolbar .devtools-toolbarbutton:not([label]):hover {
72 -moz-image-region: rect(32px,32px,64px,0px);
75 #sources-toolbar .devtools-toolbarbutton:not([label])[checked] {
76 -moz-image-region: rect(0px,64px,32px,32px);
79 #sources-toolbar .devtools-toolbarbutton:not([label])[checked]:hover {
80 -moz-image-region: rect(32px,64px,64px,32px);
84 #sources .black-boxed {
88 #sources .selected > .black-boxed {
92 #sources .black-boxed > .dbg-breakpoint {
96 #sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(ltr) {
97 background-image: none;
98 /* box-shadow: inset -1px 0 0 #222426; */
101 #sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(rtl) {
102 background-image: none;
103 /* box-shadow: inset 1px 0 0 #222426; */
106 /* Debugger unblackbox button */
108 #black-boxed-message-button > .button-box > .button-icon {
111 background-image: url("debugger-blackbox.png");
112 background-position: 0 0;
113 background-size: 32px 16px;
114 background-repeat: no-repeat;
115 -moz-margin-end: 5px;
118 @media (min-resolution: 2dppx) {
119 #black-boxed-message-button > .button-box > .button-icon {
120 background-image: url("debugger-blackbox@2x.png");
124 /* Black box message and source progress meter */
126 #black-boxed-message,
127 #source-progress-container {
128 background-color: #A09090;
129 /* Prevent the container deck from aquiring the size from this message. */
140 #black-boxed-message-label,
141 #black-boxed-message-button {
146 #black-boxed-message-button {
154 list-style-image: url("tracer-icon.png");
155 -moz-image-region: rect(0px,16px,16px,0px);
160 -moz-image-region: rect(0px,32px,16px,16px);
163 @media (min-resolution: 2dppx) {
165 list-style-image: url(tracer-icon@2x.png);
166 -moz-image-region: rect(0px,32px,32px,0px);
171 -moz-image-region: rect(0px,64px,32px,32px);
176 /* Make this button as narrow as the text inside it. */
181 -moz-padding-start: 4px !important;
184 /* Tracer dark+light theme */
187 color: #FF9F00; /* Light foreground text */
190 .trace-item.black-boxed {
194 .trace-item.selected-matching {
195 background-color: #004242; /* Select highlight blue at 40% alpha */
198 .selected > .trace-item {
199 background-color: #004242; /* Select highlight blue at 75% alpha */
203 color: #9C9CFF; /* highlight blue */
208 color: #008484; /* highlight green */
212 color: #FF0000; /* highlight red */
216 color: #E7ADE7; /* Content text light */
220 color: #A09090; /* highlight grey */
223 /* Breadcrumbs stack frames view */
225 .breadcrumbs-widget-item {
233 .dbg-stackframe-details {
234 -moz-padding-start: 4px;
237 /* Classic stack frames view */
239 .dbg-classic-stackframe {
244 .dbg-classic-stackframe-title {
249 .dbg-classic-stackframe-details:-moz-locale-dir(ltr) {
253 .dbg-classic-stackframe-details:-moz-locale-dir(rtl) {
257 .dbg-classic-stackframe-details-url {
263 .dbg-classic-stackframe-details-sep {
267 .dbg-classic-stackframe-details-line {
271 #callstack-list .side-menu-widget-item.selected label {
275 /* Sources and breakpoints view */
278 -moz-margin-start: 4px;
281 .dbg-breakpoint-line {
285 .dbg-breakpoint-text {
286 -moz-margin-start: 10px !important;
291 .dbg-breakpoint-checkbox {
297 /* Variable bubble view */
299 .devtools-tooltip-simple-text.token-undefined,
300 .devtools-tooltip-simple-text.token-null {
302 color: #A09090 !important; /* Override the theme's color. */
305 .devtools-tooltip-simple-text.token-boolean {
307 color: #9C9CFF !important;
310 .devtools-tooltip-simple-text.token-number {
312 color: #E7ADE7 !important;
315 .devtools-tooltip-simple-text.token-string {
317 color: #008484 !important;
320 .devtools-tooltip-simple-text.token-other {
322 color: #FF9F00 !important;
325 /* Instruments pane (watch expressions, variables, event listeners...) */
327 #instruments-pane .side-menu-widget-container,
328 #instruments-pane .side-menu-widget-empty-text {
329 /* box-shadow: none !important; */
332 /* Watch expressions view */
343 .dbg-expression-arrow {
344 background-image: url("commandline-icon.png");
345 background-position: -16px 0;
346 background-repeat: no-repeat;
347 background-size: 32px 16px;
353 @media (min-resolution: 2dppx) {
354 .dbg-expression-arrow {
355 background-image: url(commandline-icon@2x.png);
359 .dbg-expression-input {
363 .dbg-expression-button {
366 text-decoration: underline;
369 color: #9C9CFF; /* Blue highlight color */
372 /* Event listeners view */
374 .dbg-event-listener {
378 .dbg-event-listener-type {
382 .dbg-event-listener-separator {
386 .dbg-event-listener-targets {
390 .dbg-event-listener-location {
394 #event-listeners .side-menu-widget-item.selected {
395 background: none !important;
398 /* Searchbox and the search operations help panel */
402 -moz-margin-start: 1px;
406 -moz-margin-start: 2px;
409 #searchbox-panel-operators {
412 -moz-margin-start: 2px;
415 .searchbox-panel-operator-button {
419 -moz-margin-start: 2px;
420 -moz-margin-end: 6px;
424 .searchbox-panel-operator-label {
428 /* Searchbox results panel */
434 .results-panel-item {
435 border: 1px solid #A09090;
436 border-top-color: #8050B0;
441 .results-panel-item:first-of-type {
442 border-top-color: #9C9CFF;
443 border-radius: 4px 4px 0 0;
446 .results-panel-item:last-of-type {
447 border-radius: 0 0 4px 4px;
450 .results-panel-item:only-of-type {
454 .results-panel-item:not(.selected):not(:hover) {
455 /* text-shadow: 0 1px #fff;*/
458 .results-panel-item-label-before {
459 -moz-margin-end: 5px !important;
464 .results-panel-item-label {
470 .results-panel-item-label-below {
475 /* Sources search view */
482 #globalsearch + .devtools-horizontal-splitter {
483 -moz-border-top-colors: #9C9CFF;
486 .dbg-source-results {
488 background: none !important;
491 .dbg-source-results:not(.selected):hover {
492 background-color: #000000; /* Sidebar background */
495 .dbg-results-header {
496 -moz-padding-start: 6px;
499 .dbg-results-header-location {
503 .dbg-results-header-match-count {
504 -moz-padding-start: 6px;
508 .dbg-results-line-number {
511 -moz-border-end: 1px solid #9C9CFF;
512 -moz-padding-end: 4px;
518 .dbg-results-line-contents {
519 -moz-padding-start: 4px;
524 .dbg-results-line-contents-string {
528 .dbg-results-line-contents-string[match=true] {
532 border: 1px solid #9C9CFF;
537 .dbg-results-line-contents-string[match=true][focusing] {
538 transition: transform 0.3s ease-in-out;
541 .dbg-results-line-contents-string[match=true][focused] {
542 transition-duration: 0.1s;
543 transform: scale(1.75, 1.75);
546 /* Toolbar controls */
549 list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png");
550 -moz-image-region: rect(0px, 16px, 16px, 0px);
553 #toggle-panes:not([panesHidden]) {
554 list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png");
558 #toggle-panes:hover:active {
559 -moz-image-region: rect(0px, 32px, 16px, 16px);
562 #debugger-toolbar .devtools-toolbarbutton:not([label]) > .toolbarbutton-icon,
563 #sources-toolbar .devtools-toolbarbutton:not([label]) > .toolbarbutton-icon {
569 list-style-image: url("chrome://browser/skin/devtools/debugger-pause.png");
570 -moz-image-region: rect(0px, 16px, 16px, 0px);
574 -moz-image-region: rect(0px, 32px, 16px, 16px);
577 #resume[checked=true] {
578 list-style-image: url("chrome://browser/skin/devtools/debugger-play.png");
581 @media (min-resolution: 2dppx) {
583 list-style-image: url(debugger-pause@2x.png);
584 -moz-image-region: rect(0px, 32px, 32px, 0px);
588 -moz-image-region: rect(0px, 64px, 32px, 32px);
591 #resume[checked=true] {
592 list-style-image: url(debugger-play@2x.png);
596 #resume ~ toolbarbutton {
597 /* transition: opacity 0.15s ease-in-out; */
600 #resume:not([checked]) ~ toolbarbutton {
605 list-style-image: url("chrome://browser/skin/devtools/debugger-step-over.png");
606 -moz-image-region: rect(0px, 16px, 16px, 0px);
609 -moz-image-region: rect(0px, 32px, 16px, 16px);
613 list-style-image: url("chrome://browser/skin/devtools/debugger-step-in.png");
614 -moz-image-region: rect(0px, 16px, 16px, 0px);
617 -moz-image-region: rect(0px, 32px, 16px, 16px);
621 list-style-image: url("chrome://browser/skin/devtools/debugger-step-out.png");
622 -moz-image-region: rect(0px, 16px, 16px, 0px);
625 -moz-image-region: rect(0px, 32px, 16px, 16px);
628 @media (min-resolution: 2dppx) {
630 list-style-image: url(debugger-step-over@2x.png);
631 -moz-image-region: rect(0px, 32px, 32px, 0);
635 -moz-image-region: rect(0px, 64px, 32px, 32px);
639 list-style-image: url(debugger-step-in@2x.png);
640 -moz-image-region: rect(0px, 32px, 32px, 0);
644 -moz-image-region: rect(0px, 64px, 32px, 32px);
648 list-style-image: url(debugger-step-out@2x.png);
649 -moz-image-region: rect(0px, 32px, 32px, 0);
653 -moz-image-region: rect(0px, 64px, 32px, 32px);
657 #instruments-pane-toggle {
661 list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png");
662 -moz-image-region: rect(0px,16px,16px,0px);
665 #instruments-pane-toggle[pane-collapsed] {
666 list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png");
669 #instruments-pane-toggle:hover {
670 -moz-image-region: rect(0px,32px,16px,16px);
673 @media (min-resolution: 2dppx) {
674 #instruments-pane-toggle {
675 list-style-image: url(debugger-collapse@2x.png);
676 -moz-image-region: rect(0px,32px,32px,0px);
679 #instruments-pane-toggle[pane-collapsed] {
680 list-style-image: url(debugger-expand@2x.png);
683 #instruments-pane-toggle:hover {
684 -moz-image-region: rect(0px,64px,32px,32px);
688 /* Horizontal vs. vertical layout */
690 #vertical-layout-panes-container {
695 #body[layout=vertical] #instruments-pane {
696 margin: 0 !important;
697 /* To prevent all the margin hacks to hide the sidebar. */
700 #body[layout=vertical] #sources-pane > tabs {
701 -moz-border-end: none;
704 #body[layout=vertical] .side-menu-widget-container,
705 #body[layout=vertical] .side-menu-widget-empty-text {
706 box-shadow: none !important;
709 #body[layout=vertical] .side-menu-widget-item-arrow {
710 background-image: none !important;
713 /* === END debugger.inc.css === */