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 /* Sources and breakpoints pane */
15 #sources-pane > tabs {
16 -moz-border-end: 1px solid #9C9CFF; /* Match the sources list's dark margin. */
19 #sources-and-editor-splitter {
20 -moz-border-start-color: transparent;
23 #sources-toolbar > .devtools-toolbarbutton,
24 #sources-controls > .devtools-toolbarbutton {
29 list-style-image: url("debugger-blackbox.png");
37 list-style-image: url("debugger-toggleBreakpoints.png");
40 #sources-toolbar .devtools-toolbarbutton:not([label]) {
41 -moz-image-region: rect(0px, 16px, 16px, 0px);
44 #sources-toolbar .devtools-toolbarbutton:not([label]):hover {
45 -moz-image-region: rect(16px, 16px, 32px, 0px);
48 #sources-toolbar .devtools-toolbarbutton:not([label])[checked] {
49 -moz-image-region: rect(0px, 32px, 16px, 16px);
52 #sources-toolbar .devtools-toolbarbutton:not([label])[checked]:hover {
53 -moz-image-region: rect(16px, 32px, 32px, 16px);
56 #sources .black-boxed {
60 #sources .black-boxed > .dbg-breakpoint {
64 #sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(ltr) {
65 background-image: none;
66 /* box-shadow: inset -1px 0 0 #222426; */
69 #sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(rtl) {
70 background-image: none;
71 /* box-shadow: inset 1px 0 0 #222426; */
74 /* Black box message and source progress meter */
77 #source-progress-container {
78 background-color: #A09090;
79 /* Prevent the container deck from aquiring the height from this message. */
89 #black-boxed-message-label,
90 #black-boxed-message-button {
95 #black-boxed-message-button {
100 /* ListWidget items */
106 /* .theme-light / .theme-dark */
107 .list-widget-item:not(.selected):not(.empty):hover {
108 /* background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.85)), Highlight;*/
111 /* .theme-light / .theme-dark */
112 .list-widget-item.selected.light {
113 /* background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.8)), Highlight;
117 .list-widget-item.selected {
122 .list-widget-item.empty {
127 /* Breadcrumbs stack frames view */
129 .breadcrumbs-widget-item {
137 .dbg-stackframe-details {
138 -moz-padding-start: 4px;
141 /* Classic stack frames view */
143 .dbg-classic-stackframe {
148 .dbg-classic-stackframe-title {
153 .dbg-classic-stackframe-details:-moz-locale-dir(ltr) {
157 .dbg-classic-stackframe-details:-moz-locale-dir(rtl) {
161 .dbg-classic-stackframe-details-url {
167 .dbg-classic-stackframe-details-sep {
171 .dbg-classic-stackframe-details-line {
175 #callstack-list .side-menu-widget-item.selected label {
179 /* Sources and breakpoints view */
182 -moz-margin-start: 4px;
185 .dbg-breakpoint-line {
189 .dbg-breakpoint-text {
190 -moz-margin-start: 10px !important;
195 .dbg-breakpoint-checkbox {
201 /* Variable bubble view */
203 .devtools-tooltip-simple-text.token-undefined,
204 .devtools-tooltip-simple-text.token-null {
206 color: #A09090 !important; /* Override the theme's color. */
209 .devtools-tooltip-simple-text.token-boolean {
211 color: #9C9CFF !important;
214 .devtools-tooltip-simple-text.token-number {
216 color: #E7ADE7 !important;
219 .devtools-tooltip-simple-text.token-string {
221 color: #008484 !important;
224 .devtools-tooltip-simple-text.token-other {
226 color: #FF9F00 !important;
229 /* Instruments pane (watch expressions, variables, event listeners...) */
231 #instruments-pane > tabs > tab {
232 /* min-height: 25px !important;
233 padding: 0 !important;*/
236 #instruments-pane .side-menu-widget-container,
237 #instruments-pane .side-menu-widget-empty-notice-container {
238 /* box-shadow: none !important; */
241 /* Watch expressions view */
252 .dbg-expression-arrow {
255 background: -moz-image-rect(url("commandline-icon.png"), 0, 32, 16, 16);
258 .dbg-expression-input {
259 -moz-padding-start: 2px !important;
263 /* Event listeners view */
265 .dbg-event-listener {
269 .dbg-event-listener-type {
273 .dbg-event-listener-separator {
277 .dbg-event-listener-targets {
281 .dbg-event-listener-location {
285 #event-listeners .side-menu-widget-item.selected {
286 background: none !important;
289 /* Searchbox and the search operations help panel */
293 -moz-margin-start: 1px;
297 -moz-margin-start: 2px;
300 #searchbox-panel-operators {
303 -moz-margin-start: 2px;
306 .searchbox-panel-operator-button {
310 -moz-margin-start: 2px;
311 -moz-margin-end: 6px;
315 .searchbox-panel-operator-label {
319 /* Searchbox results panel */
325 .results-panel-item {
326 border: 1px solid #A09090;
327 border-top-color: #8050B0;
332 .results-panel-item:first-of-type {
333 border-top-color: #9C9CFF;
334 border-radius: 4px 4px 0 0;
337 .results-panel-item:last-of-type {
338 border-radius: 0 0 4px 4px;
341 .results-panel-item:only-of-type {
345 .results-panel-item:not(.selected):not(:hover) {
346 /* text-shadow: 0 1px #fff;*/
349 .results-panel-item-pre {
350 -moz-margin-end: 5px !important;
355 .results-panel-item-name {
361 .results-panel-item-details {
366 /* Sources search view */
372 #globalsearch > vbox:not(:empty) {
377 #globalsearch + .devtools-horizontal-splitter {
378 -moz-border-top-colors: #9C9CFF;
381 .dbg-source-results {
383 background: none !important;
386 .dbg-results-header {
387 -moz-padding-start: 6px;
390 .dbg-results-header-location {
394 .dbg-results-header-match-count {
395 -moz-padding-start: 6px;
399 .dbg-results-line-number {
402 -moz-border-end: 1px solid #9C9CFF;
403 -moz-padding-end: 4px;
409 .dbg-results-line-contents {
410 -moz-padding-start: 4px;
415 .dbg-results-line-contents-string {
419 .dbg-results-line-contents-string[match=true] {
423 border: 1px solid #9C9CFF;
428 .dbg-results-line-contents-string[match=true][focusing] {
429 transition: transform 0.3s ease-in-out;
432 .dbg-results-line-contents-string[match=true][focused] {
433 transition-duration: 0.1s;
434 transform: scale(1.75, 1.75);
437 /* Toolbar controls */
439 .devtools-sidebar-tabs > tabs > tab {
440 /* min-height: 25px !important;
441 padding: 0 !important; */
445 list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png");
446 -moz-image-region: rect(0px, 16px, 16px, 0px);
449 #toggle-panes:not([panesHidden]) {
450 list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png");
454 #toggle-panes:hover:active {
455 -moz-image-region: rect(0px, 32px, 16px, 16px);
458 #resumption-panel-desc {
462 #resumption-order-panel {
463 -moz-margin-start: -8px;
467 list-style-image: url("chrome://browser/skin/devtools/debugger-pause.png");
468 -moz-image-region: rect(0px, 16px, 16px, 0px);
469 /* transition: background 0.15s ease-in-out; */
473 -moz-image-region: rect(0px, 32px, 16px, 16px);
476 #resume[checked=true] {
477 /* background: none; */
478 list-style-image: url("chrome://browser/skin/devtools/debugger-play.png");
479 -moz-image-region: rect(0px, 16px, 16px, 0px);
482 #resume[checked=true]:hover {
483 -moz-image-region: rect(0px, 32px, 16px, 16px);
486 #resume ~ toolbarbutton {
487 /* transition: opacity 0.15s ease-in-out; */
490 #resume:not([checked]) ~ toolbarbutton {
495 list-style-image: url("chrome://browser/skin/devtools/debugger-step-over.png");
496 -moz-image-region: rect(0px, 16px, 16px, 0px);
499 -moz-image-region: rect(0px, 32px, 16px, 16px);
503 list-style-image: url("chrome://browser/skin/devtools/debugger-step-in.png");
504 -moz-image-region: rect(0px, 16px, 16px, 0px);
507 -moz-image-region: rect(0px, 32px, 16px, 16px);
511 list-style-image: url("chrome://browser/skin/devtools/debugger-step-out.png");
512 -moz-image-region: rect(0px, 16px, 16px, 0px);
515 -moz-image-region: rect(0px, 32px, 16px, 16px);
518 #debugger-controls > toolbarbutton,
519 #sources-controls > toolbarbutton {
522 #debugger-controls > toolbarbutton:last-of-type,
523 #sources-controls > toolbarbutton:last-of-type {
530 #instruments-pane-toggle {
534 list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png");
535 -moz-image-region: rect(0px,16px,16px,0px);
538 #instruments-pane-toggle[pane-collapsed] {
539 list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png");
542 #instruments-pane-toggle:hover,
543 #instruments-pane-toggle:hover:active {
544 -moz-image-region: rect(0px,32px,16px,16px);
547 /* Horizontal vs. vertical layout */
549 #vertical-layout-panes-container {
554 #body[layout=vertical] #instruments-pane {
555 margin: 0 !important;
556 /* To prevent all the margin hacks to hide the sidebar. */
559 #body[layout=vertical] #sources-pane > tabs {
560 -moz-border-end: none;
563 #body[layout=vertical] .side-menu-widget-container,
564 #body[layout=vertical] .side-menu-widget-empty-notice-container {
565 box-shadow: none !important;
568 #body[layout=vertical] .side-menu-widget-item-arrow {
569 background-image: none !important;