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-and-editor-splitter {
16 -moz-border-start-color: transparent;
19 #sources-toolbar .devtools-toolbarbutton {
28 list-style-image: url("debugger-blackbox.png");
29 -moz-image-region: rect(0px, 16px, 16px, 0px);
34 -moz-image-region: rect(0px, 32px, 16px, 16px);
37 #sources .black-boxed {
41 #sources .black-boxed > .dbg-breakpoint {
45 #sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(ltr) {
46 background-image: none;
47 /* box-shadow: inset -1px 0 0 #222426; */
50 #sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(rtl) {
51 background-image: none;
52 /* box-shadow: inset 1px 0 0 #222426; */
55 /* Black box message and source progress meter */
58 #source-progress-container {
59 background-color: #A09090;
60 /* Prevent the container deck from aquiring the height from this message. */
70 #black-boxed-message-label,
71 #black-boxed-message-button {
76 #black-boxed-message-button {
81 /* ListWidget items */
87 .list-widget-item:not(.selected):not(.empty):hover {
88 /* background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.85)), Highlight;*/
91 .list-widget-item.selected.light {
92 /* background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.8)), Highlight;
96 .list-widget-item.selected {
101 .list-widget-item.empty {
106 /* Stack frames view */
112 .dbg-stackframe-details {
113 -moz-padding-start: 4px;
116 .dbg-stackframe-menuitem[checked] {
119 outline: 1px solid #008484;
123 .dbg-stackframe-menuitem-details {
124 -moz-padding-start: 16px;
127 /* Sources and breakpoints view */
130 -moz-margin-start: 4px;
133 .dbg-breakpoint-line {
137 .dbg-breakpoint-text {
138 -moz-margin-start: 10px !important;
143 .dbg-breakpoint-checkbox {
149 /* Variable bubble view */
151 .devtools-tooltip-simple-text.token-undefined,
152 .devtools-tooltip-simple-text.token-null {
154 color: #A09090 !important; /* Override the theme's color. */
157 .devtools-tooltip-simple-text.token-boolean {
159 color: #9C9CFF !important;
162 .devtools-tooltip-simple-text.token-number {
164 color: #E7ADE7 !important;
167 .devtools-tooltip-simple-text.token-string {
169 color: #008484 !important;
172 .devtools-tooltip-simple-text.token-other {
174 color: #FF9F00 !important;
177 /* Instruments pane (watch expressions, variables, event listeners...) */
179 #instruments-pane > tabs > tab {
180 min-height: 25px !important;
181 padding: 0 !important;
184 #instruments-pane > tabpanels > tabpanel {
188 /* Watch expressions view */
199 .dbg-expression-arrow {
202 background: -moz-image-rect(url("commandline-icon.png"), 0, 32, 16, 16);
205 .dbg-expression-input {
206 -moz-padding-start: 2px !important;
209 /* Event listeners view */
211 .dbg-event-listener {
215 .dbg-event-listener-type {
219 .dbg-event-listener-separator {
223 .dbg-event-listener-targets {
227 .dbg-event-listener-location {
231 /* Searchbox and the search operations help panel */
235 -moz-margin-start: 1px;
239 -moz-margin-start: 2px;
242 #searchbox-panel-operators {
245 -moz-margin-start: 2px;
248 .searchbox-panel-operator-button {
252 -moz-margin-start: 2px;
253 -moz-margin-end: 6px;
257 .searchbox-panel-operator-label {
261 /* Searchbox results panel */
267 .results-panel-item {
268 border: 1px solid #A09090;
269 border-top-color: #8050B0;
274 .results-panel-item:first-of-type {
275 border-top-color: #9C9CFF;
276 border-radius: 4px 4px 0 0;
279 .results-panel-item:last-of-type {
280 border-radius: 0 0 4px 4px;
283 .results-panel-item:only-of-type {
287 .results-panel-item:not(.selected):not(:hover) {
288 /* text-shadow: 0 1px #fff;*/
291 .results-panel-item-pre {
292 -moz-margin-end: 5px !important;
297 .results-panel-item-name {
303 .results-panel-item-details {
308 /* Sources search view */
314 #globalsearch > vbox:not(:empty) {
319 #globalsearch + .devtools-horizontal-splitter {
320 -moz-border-top-colors: #9C9CFF;
323 .dbg-source-results {
325 background: none !important;
328 .dbg-results-header {
329 -moz-padding-start: 6px;
332 .dbg-results-header-location {
336 .dbg-results-header-match-count {
337 -moz-padding-start: 6px;
341 .dbg-results-line-number {
344 -moz-border-end: 1px solid #9C9CFF;
345 -moz-padding-end: 4px;
351 .dbg-results-line-contents {
352 -moz-padding-start: 4px;
357 .dbg-results-line-contents-string {
361 .dbg-results-line-contents-string[match=true] {
365 border: 1px solid #9C9CFF;
370 .dbg-results-line-contents-string[match=true][focusing] {
371 transition: transform 0.3s ease-in-out;
374 .dbg-results-line-contents-string[match=true][focused] {
375 transition-duration: 0.1s;
376 transform: scale(1.75, 1.75);
379 /* Toolbar controls */
382 list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png");
383 -moz-image-region: rect(0px, 16px, 16px, 0px);
386 #toggle-panes:not([panesHidden]) {
387 list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png");
391 #toggle-panes:hover:active {
392 -moz-image-region: rect(0px, 32px, 16px, 16px);
395 #resumption-panel-desc {
399 #resumption-order-panel {
400 -moz-margin-start: -8px;
404 list-style-image: url("chrome://browser/skin/devtools/debugger-pause.png");
405 -moz-image-region: rect(0px, 16px, 16px, 0px);
406 /* transition: background 0.15s ease-in-out; */
410 -moz-image-region: rect(0px, 32px, 16px, 16px);
413 #resume[checked=true] {
414 /* background: none; */
415 list-style-image: url("chrome://browser/skin/devtools/debugger-play.png");
416 -moz-image-region: rect(0px, 16px, 16px, 0px);
419 #resume[checked=true]:hover {
420 -moz-image-region: rect(0px, 32px, 16px, 16px);
423 #resume ~ toolbarbutton {
424 /* transition: opacity 0.15s ease-in-out; */
427 #resume:not([checked]) ~ toolbarbutton {
432 list-style-image: url("chrome://browser/skin/devtools/debugger-step-over.png");
433 -moz-image-region: rect(0px, 16px, 16px, 0px);
436 -moz-image-region: rect(0px, 32px, 16px, 16px);
440 list-style-image: url("chrome://browser/skin/devtools/debugger-step-in.png");
441 -moz-image-region: rect(0px, 16px, 16px, 0px);
444 -moz-image-region: rect(0px, 32px, 16px, 16px);
448 list-style-image: url("chrome://browser/skin/devtools/debugger-step-out.png");
449 -moz-image-region: rect(0px, 16px, 16px, 0px);
452 -moz-image-region: rect(0px, 32px, 16px, 16px);
455 #debugger-controls > toolbarbutton,
456 #sources-controls > toolbarbutton {
459 #debugger-controls > toolbarbutton:last-of-type,
460 #sources-controls > toolbarbutton:last-of-type {
467 #instruments-pane-toggle {
471 list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png");
472 -moz-image-region: rect(0px,16px,16px,0px);
475 #instruments-pane-toggle[pane-collapsed] {
476 list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png");
479 #instruments-pane-toggle:hover,
480 #instruments-pane-toggle:hover:active {
481 -moz-image-region: rect(0px,32px,16px,16px);
484 /* Horizontal vs. vertical layout */
486 #vertical-layout-panes-container {
491 #body[layout=vertical] #instruments-pane {
492 margin: 0 !important;
493 /* To prevent all the margin hacks to hide the sidebar. */
496 #body[layout=vertical] .side-menu-widget-container {
497 box-shadow: none !important;
500 #body[layout=vertical] .side-menu-widget-item-arrow {
501 background-image: none !important;