1 /* -*- Mode: javascript; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ft=javascript ts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
12 background-color: #000000;
19 #chrome-globals, #sources {
24 * This hardcoded width likely due to a toolkit Windows specific bug.
25 * See http://hg.mozilla.org/mozilla-central/annotate/f38d6df93cad/toolkit/themes/winstripe/global/textbox-aero.css#l7
39 .list-item:not(.selected):not(.empty):hover {
40 /* background: #cddae5; */
58 background-color: #000000;
62 #globalsearch > vbox:not(:empty) {
67 .dbg-source-results:not(:last-child) {
68 border-bottom: 1px dotted #9C9CFF;
72 -moz-padding-start: 6px;
75 .dbg-results-header .location {
79 .dbg-results-header .match-count {
80 -moz-padding-start: 6px;
84 .dbg-results-container .line-number {
87 -moz-padding-end: 4px;
88 -moz-border-end: 1px dotted #9C9CFF;
94 .dbg-results-container .line-contents {
95 -moz-padding-start: 4px;
99 .dbg-results-container .line-contents:hover {
103 .dbg-results-container .line-contents > .string {
107 .dbg-results-container .line-contents > .string[match=true] {
111 border: 1px solid #9C9CFF;
114 transition: transform 0.25s ease-in-out;
117 .dbg-results-container .line-contents > .string[match=true][focused] {
118 transition-duration: 0.1s;
119 transform: scale(1.75, 1.75);
126 #searchbox-panel .description {
130 #searchbox-panel button.operator {
134 font: 9pt "Liberation Mono", Consolas, "Courier New", monospace;
137 #searchbox-panel label.operator {
138 -moz-padding-start: 6px;
143 * Filtered sources panel
146 #filtered-sources-panel {
151 border: 1px solid #A09090;
152 border-top-color: #8050B0;
155 .dbg-source-item.selected {
158 .dbg-source-item:first-of-type {
159 border-top-color: #9C9CFF;
160 border-radius: 4px 4px 0 0;
163 .dbg-source-item:last-of-type {
164 border-radius: 0 0 4px 4px;
167 .dbg-source-item:only-of-type {
168 border-radius: 4px 4px 4px 4px;
171 .dbg-source-item:not(:hover) {
172 /* text-shadow: 0 1px #fff;*/
175 .dbg-source-item-name {
180 .dbg-source-item-details {
185 * Stack frames and breakpoints pane
188 #stackframes\+breakpoints {
189 background-color: #000000;
193 #stackframes\+breakpoints[animated] {
194 transition: margin 0.25s ease-in-out;
198 * Variables and watch expressions pane
201 #variables\+expressions {
202 background-color: #000000;
206 #variables\+expressions[animated] {
207 transition: margin 0.25s ease-in-out;
215 /* background-color: white; */
220 -moz-padding-start: 4px;
221 -moz-padding-end: 4px;
224 .dbg-stackframe-name {
228 .dbg-stackframe-details {
229 -moz-padding-start: 4px;
237 background-color: #000000;
241 #breakpoints > vbox:not(:empty) {
246 .dbg-breakpoint:not(:last-child) {
247 border-bottom: 1px solid #008484;
250 .dbg-breakpoint-info {
254 .dbg-breakpoint-text {
255 font: 12px "Liberation Mono", Consolas, "Courier New", monospace;
258 #conditional-breakpoint-panel .description {
259 margin: -6px 0 8px 0;
262 #conditional-breakpoint-panel textbox {
267 * Watch expressions view
271 background-color: #000000;
277 -moz-padding-start: 8px;
280 .dbg-expression-arrow {
283 background: url("chrome://browser/skin/devtools/commandline.png") 0px 4px no-repeat;
286 .dbg-expression-input {
290 .dbg-expression-delete {
291 -moz-image-region: rect(0, 32px, 16px, 16px);
299 /* background-color: white; */
303 .dbg-variables-delete:not(:hover) {
304 -moz-image-region: rect(0, 32px, 16px, 16px);
319 -moz-margin-start: 2px;
320 -moz-margin-end: 2px;
323 .scope > .details.nonenum:not(:empty) {
324 border-top: 1px solid #9C9CFF;
332 -moz-margin-start: 1px;
333 -moz-margin-end: 1px;
334 border-bottom: 1px solid #008484;
336 transition: background 1s ease-in-out;
341 transition-duration: 0.4s;
344 .variable > .title > .name {
349 .variable > .title > .value {
350 -moz-padding-start: 6px;
351 -moz-padding-end: 4px;
354 .variable:not([non-header]) > .details {
355 -moz-margin-start: 10px;
363 transition: background 1s ease-in-out;
369 transition-duration: 0.4s;
370 background: rgba(255, 207, 0, 0.8);
373 .property > .title > .name {
377 .property > .title > .value {
378 -moz-padding-start: 6px;
379 -moz-padding-end: 4px;
382 .property:not([non-header]) > .details {
383 -moz-margin-start: 10px;
387 * Non enumerable, configurable and writable variables and properties.
390 .variable[proto] > .title > .name,
391 .property[proto] > .title > .name,
392 .variable[non-enumerable]:not([self]):not([exception]) > .title > .name,
393 .property[non-enumerable]:not([self]):not([exception]) > .title > .name {
397 .variable[non-configurable] > .title > .name,
398 .property[non-configurable] > .title > .name {
399 border-bottom: 1px dashed #9C9CFF;
402 .variable[non-configurable][non-writable] > .title > .name,
403 .property[non-configurable][non-writable] > .title > .name {
404 border-bottom: 1px dashed #FF0000;
407 .variable[non-writable] > .title:after,
408 .property[non-writable] > .title:after {
410 display: inline-block;
413 background: url("chrome://browser/skin/identity-icons-https.png") no-repeat;
418 @media (min-resolution: 2dppx) {
419 .variable[non-writable] > .title:after,
420 .property[non-writable] > .title:after {
421 background-image: url("chrome://browser/skin/identity-icons-https@2x.png");
422 background-size: 32px;
427 .variable[exception] > .title > .name,
428 .property[exception] > .title > .name {
432 .variable > tooltip > label,
433 .property > tooltip > label {
437 .variable[non-enumerable] > tooltip > label[value="enumerable"],
438 .property[non-enumerable] > tooltip > label[value="enumerable"],
439 .variable[non-configurable] > tooltip > label[value="configurable"],
440 .property[non-configurable] > tooltip > label[value="configurable"],
441 .variable[non-writable] > tooltip > label[value="writable"],
442 .property[non-writable] > tooltip > label[value="writable"] {
443 text-decoration: line-through;
447 * Variables and properties editing
450 #variables .element-value-input {
451 -moz-margin-start: 5px !important;
454 #variables .element-name-input {
455 -moz-margin-start: -1px !important;
461 * Variables and properties searching
464 .variables-searchinput.devtools-searchinput {
468 .variable[non-match],
469 .property[non-match] {
503 * Expand/collapse arrow
509 -moz-margin-start: 5px;
510 -moz-margin-end: 5px;
512 background: url("chrome://global/skin/tree/twisty-closed.gif") center center no-repeat;
516 background-image: url("chrome://global/skin/tree/twisty-open.gif");
519 .scope > .title > .arrow {
520 background-image: url("chrome://global/skin/tree/twisty-closed-selected.gif");
523 .scope > .title > .arrow[open] {
524 background-image: url("chrome://global/skin/tree/twisty-open-selected.gif");
536 list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png");
537 -moz-image-region: rect(0px, 16px, 16px, 0px);
540 #toggle-panes:not([panesHidden]) {
541 list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png");
545 #toggle-panes:hover:active {
546 -moz-image-region: rect(0px, 32px, 16px, 16px);
550 list-style-image: url("chrome://browser/skin/devtools/debugger-play.png");
551 -moz-image-region: rect(0px, 16px, 16px, 0px);
554 #resume[checked=true],
556 -moz-image-region: rect(0px, 32px, 16px, 16px);
560 list-style-image: url("chrome://browser/skin/devtools/debugger-step-over.png");
561 -moz-image-region: rect(0px, 16px, 16px, 0px);
564 -moz-image-region: rect(0px, 32px, 16px, 16px);
568 list-style-image: url("chrome://browser/skin/devtools/debugger-step-in.png");
569 -moz-image-region: rect(0px, 16px, 16px, 0px);
572 -moz-image-region: rect(0px, 32px, 16px, 16px);
576 list-style-image: url("chrome://browser/skin/devtools/debugger-step-out.png");
577 -moz-image-region: rect(0px, 16px, 16px, 0px);
580 -moz-image-region: rect(0px, 32px, 16px, 16px);
583 #debugger-controls > toolbarbutton {
586 #debugger-controls > toolbarbutton:last-of-type {