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 > #sources-controls > .devtools-toolbarbutton {
32 list-style-image: url("debugger-blackbox.png");
33 -moz-image-region: rect(0px, 16px, 16px, 0px);
38 -moz-image-region: rect(0px, 32px, 16px, 16px);
41 #sources .black-boxed {
45 #sources .black-boxed > .dbg-breakpoint {
49 #sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(ltr) {
50 background-image: none;
51 /* box-shadow: inset -1px 0 0 #222426; */
54 #sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(rtl) {
55 background-image: none;
56 /* box-shadow: inset 1px 0 0 #222426; */
59 /* Black box message and source progress meter */
62 #source-progress-container {
63 background-color: #A09090;
64 /* Prevent the container deck from aquiring the height from this message. */
74 #black-boxed-message-label,
75 #black-boxed-message-button {
80 #black-boxed-message-button {
85 /* ListWidget items */
91 /* .theme-light / .theme-dark */
92 .list-widget-item:not(.selected):not(.empty):hover {
93 /* background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.85)), Highlight;*/
96 /* .theme-light / .theme-dark */
97 .list-widget-item.selected.light {
98 /* background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.8)), Highlight;
102 .list-widget-item.selected {
107 .list-widget-item.empty {
112 /* Breadcrumbs stack frames view */
114 .breadcrumbs-widget-item {
122 .dbg-stackframe-details {
123 -moz-padding-start: 4px;
126 /* Classic stack frames view */
128 .dbg-classic-stackframe {
133 .dbg-classic-stackframe-title {
138 .dbg-classic-stackframe-details:-moz-locale-dir(ltr) {
142 .dbg-classic-stackframe-details:-moz-locale-dir(rtl) {
146 .dbg-classic-stackframe-details-url {
152 .dbg-classic-stackframe-details-sep {
156 .dbg-classic-stackframe-details-line {
160 #callstack-list .side-menu-widget-item.selected label {
164 /* Sources and breakpoints view */
167 -moz-margin-start: 4px;
170 .dbg-breakpoint-line {
174 .dbg-breakpoint-text {
175 -moz-margin-start: 10px !important;
180 .dbg-breakpoint-checkbox {
186 /* Variable bubble view */
188 .devtools-tooltip-simple-text.token-undefined,
189 .devtools-tooltip-simple-text.token-null {
191 color: #A09090 !important; /* Override the theme's color. */
194 .devtools-tooltip-simple-text.token-boolean {
196 color: #9C9CFF !important;
199 .devtools-tooltip-simple-text.token-number {
201 color: #E7ADE7 !important;
204 .devtools-tooltip-simple-text.token-string {
206 color: #008484 !important;
209 .devtools-tooltip-simple-text.token-other {
211 color: #FF9F00 !important;
214 /* Instruments pane (watch expressions, variables, event listeners...) */
216 #instruments-pane > tabs > tab {
217 /* min-height: 25px !important;
218 padding: 0 !important;*/
221 #instruments-pane .side-menu-widget-container,
222 #instruments-pane .side-menu-widget-empty-notice-container {
223 /* box-shadow: none !important; */
226 /* Watch expressions view */
237 .dbg-expression-arrow {
240 background: -moz-image-rect(url("commandline-icon.png"), 0, 32, 16, 16);
243 .dbg-expression-input {
244 -moz-padding-start: 2px !important;
248 /* Event listeners view */
250 .dbg-event-listener {
254 .dbg-event-listener-type {
258 .dbg-event-listener-separator {
262 .dbg-event-listener-targets {
266 .dbg-event-listener-location {
270 #event-listeners .side-menu-widget-item.selected {
271 background: none !important;
274 /* Searchbox and the search operations help panel */
278 -moz-margin-start: 1px;
282 -moz-margin-start: 2px;
285 #searchbox-panel-operators {
288 -moz-margin-start: 2px;
291 .searchbox-panel-operator-button {
295 -moz-margin-start: 2px;
296 -moz-margin-end: 6px;
300 .searchbox-panel-operator-label {
304 /* Searchbox results panel */
310 .results-panel-item {
311 border: 1px solid #A09090;
312 border-top-color: #8050B0;
317 .results-panel-item:first-of-type {
318 border-top-color: #9C9CFF;
319 border-radius: 4px 4px 0 0;
322 .results-panel-item:last-of-type {
323 border-radius: 0 0 4px 4px;
326 .results-panel-item:only-of-type {
330 .results-panel-item:not(.selected):not(:hover) {
331 /* text-shadow: 0 1px #fff;*/
334 .results-panel-item-pre {
335 -moz-margin-end: 5px !important;
340 .results-panel-item-name {
346 .results-panel-item-details {
351 /* Sources search view */
357 #globalsearch > vbox:not(:empty) {
362 #globalsearch + .devtools-horizontal-splitter {
363 -moz-border-top-colors: #9C9CFF;
366 .dbg-source-results {
368 background: none !important;
371 .dbg-results-header {
372 -moz-padding-start: 6px;
375 .dbg-results-header-location {
379 .dbg-results-header-match-count {
380 -moz-padding-start: 6px;
384 .dbg-results-line-number {
387 -moz-border-end: 1px solid #9C9CFF;
388 -moz-padding-end: 4px;
394 .dbg-results-line-contents {
395 -moz-padding-start: 4px;
400 .dbg-results-line-contents-string {
404 .dbg-results-line-contents-string[match=true] {
408 border: 1px solid #9C9CFF;
413 .dbg-results-line-contents-string[match=true][focusing] {
414 transition: transform 0.3s ease-in-out;
417 .dbg-results-line-contents-string[match=true][focused] {
418 transition-duration: 0.1s;
419 transform: scale(1.75, 1.75);
422 /* Toolbar controls */
424 .devtools-sidebar-tabs > tabs > tab {
425 /* min-height: 25px !important;
426 padding: 0 !important; */
430 list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png");
431 -moz-image-region: rect(0px, 16px, 16px, 0px);
434 #toggle-panes:not([panesHidden]) {
435 list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png");
439 #toggle-panes:hover:active {
440 -moz-image-region: rect(0px, 32px, 16px, 16px);
443 #resumption-panel-desc {
447 #resumption-order-panel {
448 -moz-margin-start: -8px;
452 list-style-image: url("chrome://browser/skin/devtools/debugger-pause.png");
453 -moz-image-region: rect(0px, 16px, 16px, 0px);
454 /* transition: background 0.15s ease-in-out; */
458 -moz-image-region: rect(0px, 32px, 16px, 16px);
461 #resume[checked=true] {
462 /* background: none; */
463 list-style-image: url("chrome://browser/skin/devtools/debugger-play.png");
464 -moz-image-region: rect(0px, 16px, 16px, 0px);
467 #resume[checked=true]:hover {
468 -moz-image-region: rect(0px, 32px, 16px, 16px);
471 #resume ~ toolbarbutton {
472 /* transition: opacity 0.15s ease-in-out; */
475 #resume:not([checked]) ~ toolbarbutton {
480 list-style-image: url("chrome://browser/skin/devtools/debugger-step-over.png");
481 -moz-image-region: rect(0px, 16px, 16px, 0px);
484 -moz-image-region: rect(0px, 32px, 16px, 16px);
488 list-style-image: url("chrome://browser/skin/devtools/debugger-step-in.png");
489 -moz-image-region: rect(0px, 16px, 16px, 0px);
492 -moz-image-region: rect(0px, 32px, 16px, 16px);
496 list-style-image: url("chrome://browser/skin/devtools/debugger-step-out.png");
497 -moz-image-region: rect(0px, 16px, 16px, 0px);
500 -moz-image-region: rect(0px, 32px, 16px, 16px);
503 #debugger-controls > toolbarbutton,
504 #sources-controls > toolbarbutton {
507 #debugger-controls > toolbarbutton:last-of-type,
508 #sources-controls > toolbarbutton:last-of-type {
515 #instruments-pane-toggle {
519 list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png");
520 -moz-image-region: rect(0px,16px,16px,0px);
523 #instruments-pane-toggle[pane-collapsed] {
524 list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png");
527 #instruments-pane-toggle:hover,
528 #instruments-pane-toggle:hover:active {
529 -moz-image-region: rect(0px,32px,16px,16px);
532 /* Horizontal vs. vertical layout */
534 #vertical-layout-panes-container {
539 #body[layout=vertical] #instruments-pane {
540 margin: 0 !important;
541 /* To prevent all the margin hacks to hide the sidebar. */
544 #body[layout=vertical] #sources-pane > tabs {
545 -moz-border-end: none;
548 #body[layout=vertical] .side-menu-widget-container,
549 #body[layout=vertical] .side-menu-widget-empty-notice-container {
550 box-shadow: none !important;
553 #body[layout=vertical] .side-menu-widget-item-arrow {
554 background-image: none !important;