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");
35 list-style-image: url("debugger-toggleBreakpoints.png");
38 #sources-toolbar .devtools-toolbarbutton:not([label]) {
39 -moz-image-region: rect(0px, 16px, 16px, 0px);
42 #sources-toolbar .devtools-toolbarbutton:not([label]):hover {
43 -moz-image-region: rect(16px, 16px, 32px, 0px);
46 #sources-toolbar .devtools-toolbarbutton:not([label])[checked] {
47 -moz-image-region: rect(0px, 32px, 16px, 16px);
50 #sources-toolbar .devtools-toolbarbutton:not([label])[checked]:hover {
51 -moz-image-region: rect(16px, 32px, 32px, 16px);
54 #sources .black-boxed {
58 #sources .selected > .black-boxed {
62 #sources .black-boxed > .dbg-breakpoint {
66 #sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(ltr) {
67 background-image: none;
68 /* box-shadow: inset -1px 0 0 #222426; */
71 #sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(rtl) {
72 background-image: none;
73 /* box-shadow: inset 1px 0 0 #222426; */
76 /* Black box message and source progress meter */
79 #source-progress-container {
80 background-color: #A09090;
81 /* Prevent the container deck from aquiring the size from this message. */
92 #black-boxed-message-label,
93 #black-boxed-message-button {
98 #black-boxed-message-button {
106 list-style-image: url("tracer-icon.png");
107 -moz-image-region: rect(0px,16px,16px,0px);
112 -moz-image-region: rect(0px,32px,16px,16px);
116 /* Make this button as narrow as the text inside it. */
121 -moz-padding-start: 4px !important;
124 /* Tracer dark+light theme */
127 color: #FF9F00; /* Light foreground text */
130 .trace-item.selected-matching {
131 background-color: #004242; /* Select highlight blue at 40% alpha */
134 .selected > .trace-item {
135 background-color: #004242; /* Select highlight blue at 75% alpha */
139 color: #9C9CFF; /* highlight blue */
144 color: #008484; /* highlight green */
148 color: #FF0000; /* highlight red */
152 color: #E7ADE7; /* Content text light */
156 color: #A09090; /* highlight grey */
159 /* Breadcrumbs stack frames view */
161 .breadcrumbs-widget-item {
169 .dbg-stackframe-details {
170 -moz-padding-start: 4px;
173 /* Classic stack frames view */
175 .dbg-classic-stackframe {
180 .dbg-classic-stackframe-title {
185 .dbg-classic-stackframe-details:-moz-locale-dir(ltr) {
189 .dbg-classic-stackframe-details:-moz-locale-dir(rtl) {
193 .dbg-classic-stackframe-details-url {
199 .dbg-classic-stackframe-details-sep {
203 .dbg-classic-stackframe-details-line {
207 #callstack-list .side-menu-widget-item.selected label {
211 /* Sources and breakpoints view */
214 -moz-margin-start: 4px;
217 .dbg-breakpoint-line {
221 .dbg-breakpoint-text {
222 -moz-margin-start: 10px !important;
227 .dbg-breakpoint-checkbox {
233 /* Variable bubble view */
235 .devtools-tooltip-simple-text.token-undefined,
236 .devtools-tooltip-simple-text.token-null {
238 color: #A09090 !important; /* Override the theme's color. */
241 .devtools-tooltip-simple-text.token-boolean {
243 color: #9C9CFF !important;
246 .devtools-tooltip-simple-text.token-number {
248 color: #E7ADE7 !important;
251 .devtools-tooltip-simple-text.token-string {
253 color: #008484 !important;
256 .devtools-tooltip-simple-text.token-other {
258 color: #FF9F00 !important;
261 /* Instruments pane (watch expressions, variables, event listeners...) */
263 #instruments-pane .side-menu-widget-container,
264 #instruments-pane .side-menu-widget-empty-text {
265 /* box-shadow: none !important; */
268 /* Watch expressions view */
279 .dbg-expression-arrow {
283 background: -moz-image-rect(url("commandline-icon.png"), 0, 32, 16, 16);
286 .dbg-expression-input {
290 .dbg-expression-button {
294 text-decoration: underline;
297 .dbg-expression-button {
298 color: #9C9CFF; /* Blue highlight color */
301 /* Event listeners view */
303 .dbg-event-listener {
307 .dbg-event-listener-type {
311 .dbg-event-listener-separator {
315 .dbg-event-listener-targets {
319 .dbg-event-listener-location {
323 #event-listeners .side-menu-widget-item.selected {
324 background: none !important;
327 /* Searchbox and the search operations help panel */
331 -moz-margin-start: 1px;
335 -moz-margin-start: 2px;
338 #searchbox-panel-operators {
341 -moz-margin-start: 2px;
344 .searchbox-panel-operator-button {
348 -moz-margin-start: 2px;
349 -moz-margin-end: 6px;
353 .searchbox-panel-operator-label {
357 /* Searchbox results panel */
363 .results-panel-item {
364 border: 1px solid #A09090;
365 border-top-color: #8050B0;
370 .results-panel-item:first-of-type {
371 border-top-color: #9C9CFF;
372 border-radius: 4px 4px 0 0;
375 .results-panel-item:last-of-type {
376 border-radius: 0 0 4px 4px;
379 .results-panel-item:only-of-type {
383 .results-panel-item:not(.selected):not(:hover) {
384 /* text-shadow: 0 1px #fff;*/
387 .results-panel-item-label-before {
388 -moz-margin-end: 5px !important;
393 .results-panel-item-label {
399 .results-panel-item-label-below {
404 /* Sources search view */
411 #globalsearch + .devtools-horizontal-splitter {
412 -moz-border-top-colors: #9C9CFF;
415 .dbg-source-results {
417 background: none !important;
420 .dbg-source-results:not(.selected):hover {
421 background-color: #000000; /* Sidebar background */
424 .dbg-results-header {
425 -moz-padding-start: 6px;
428 .dbg-results-header-location {
432 .dbg-results-header-match-count {
433 -moz-padding-start: 6px;
437 .dbg-results-line-number {
440 -moz-border-end: 1px solid #9C9CFF;
441 -moz-padding-end: 4px;
447 .dbg-results-line-contents {
448 -moz-padding-start: 4px;
453 .dbg-results-line-contents-string {
457 .dbg-results-line-contents-string[match=true] {
461 border: 1px solid #9C9CFF;
466 .dbg-results-line-contents-string[match=true][focusing] {
467 transition: transform 0.3s ease-in-out;
470 .dbg-results-line-contents-string[match=true][focused] {
471 transition-duration: 0.1s;
472 transform: scale(1.75, 1.75);
475 /* Toolbar controls */
477 .devtools-sidebar-tabs > tabs > tab {
478 /* min-height: 25px !important;
479 padding: 0 !important; */
483 list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png");
484 -moz-image-region: rect(0px, 16px, 16px, 0px);
487 #toggle-panes:not([panesHidden]) {
488 list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png");
492 #toggle-panes:hover:active {
493 -moz-image-region: rect(0px, 32px, 16px, 16px);
497 list-style-image: url("chrome://browser/skin/devtools/debugger-pause.png");
498 -moz-image-region: rect(0px, 16px, 16px, 0px);
499 /* transition: background 0.15s ease-in-out; */
503 -moz-image-region: rect(0px, 32px, 16px, 16px);
506 #resume[checked=true] {
507 /* background: none; */
508 list-style-image: url("chrome://browser/skin/devtools/debugger-play.png");
509 -moz-image-region: rect(0px, 16px, 16px, 0px);
512 #resume[checked=true]:hover {
513 -moz-image-region: rect(0px, 32px, 16px, 16px);
516 #resume ~ toolbarbutton {
517 /* transition: opacity 0.15s ease-in-out; */
520 #resume:not([checked]) ~ toolbarbutton {
525 list-style-image: url("chrome://browser/skin/devtools/debugger-step-over.png");
526 -moz-image-region: rect(0px, 16px, 16px, 0px);
529 -moz-image-region: rect(0px, 32px, 16px, 16px);
533 list-style-image: url("chrome://browser/skin/devtools/debugger-step-in.png");
534 -moz-image-region: rect(0px, 16px, 16px, 0px);
537 -moz-image-region: rect(0px, 32px, 16px, 16px);
541 list-style-image: url("chrome://browser/skin/devtools/debugger-step-out.png");
542 -moz-image-region: rect(0px, 16px, 16px, 0px);
545 -moz-image-region: rect(0px, 32px, 16px, 16px);
548 #instruments-pane-toggle {
552 list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png");
553 -moz-image-region: rect(0px,16px,16px,0px);
556 #instruments-pane-toggle[pane-collapsed] {
557 list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png");
560 #instruments-pane-toggle:hover,
561 #instruments-pane-toggle:hover:active {
562 -moz-image-region: rect(0px,32px,16px,16px);
565 /* Horizontal vs. vertical layout */
567 #vertical-layout-panes-container {
572 #body[layout=vertical] #instruments-pane {
573 margin: 0 !important;
574 /* To prevent all the margin hacks to hide the sidebar. */
577 #body[layout=vertical] #sources-pane > tabs {
578 -moz-border-end: none;
581 #body[layout=vertical] .side-menu-widget-container,
582 #body[layout=vertical] .side-menu-widget-empty-text {
583 box-shadow: none !important;
586 #body[layout=vertical] .side-menu-widget-item-arrow {
587 background-image: none !important;
590 /* === END debugger.inc.css === */