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 /* Instruments pane (watch expressions, variables, event listeners...) */
151 #instruments-pane > tabs > tab {
152 min-height: 25px !important;
153 padding: 0 !important;
156 #instruments-pane > tabpanels > tabpanel {
160 /* Watch expressions view */
171 .dbg-expression-arrow {
174 background: -moz-image-rect(url("commandline-icon.png"), 0, 32, 16, 16);
177 .dbg-expression-input {
178 -moz-padding-start: 2px !important;
181 /* Event listeners view */
183 .dbg-event-listener {
187 .dbg-event-listener-type {
191 .dbg-event-listener-separator {
195 .dbg-event-listener-targets {
199 .dbg-event-listener-location {
203 /* Searchbox and the search operations help panel */
205 .devtools-searchinput {
207 -moz-margin-start: 1px;
211 -moz-margin-start: 2px;
214 #searchbox-panel-operators {
217 -moz-margin-start: 2px;
220 .searchbox-panel-operator-button {
224 -moz-margin-start: 2px;
225 -moz-margin-end: 6px;
229 .searchbox-panel-operator-label {
233 /* Searchbox results panel */
239 .results-panel-item {
240 border: 1px solid #A09090;
241 border-top-color: #8050B0;
246 .results-panel-item:first-of-type {
247 border-top-color: #9C9CFF;
248 border-radius: 4px 4px 0 0;
251 .results-panel-item:last-of-type {
252 border-radius: 0 0 4px 4px;
255 .results-panel-item:only-of-type {
259 .results-panel-item:not(.selected):not(:hover) {
260 /* text-shadow: 0 1px #fff;*/
263 .results-panel-item-pre {
264 -moz-margin-end: 5px !important;
269 .results-panel-item-name {
275 .results-panel-item-details {
280 /* Sources search view */
286 #globalsearch > vbox:not(:empty) {
291 #globalsearch + .devtools-horizontal-splitter {
292 -moz-border-top-colors: #9C9CFF;
295 .dbg-source-results {
297 background: none !important;
300 .dbg-results-header {
301 -moz-padding-start: 6px;
304 .dbg-results-header-location {
308 .dbg-results-header-match-count {
309 -moz-padding-start: 6px;
313 .dbg-results-line-number {
316 -moz-border-end: 1px solid #9C9CFF;
317 -moz-padding-end: 4px;
323 .dbg-results-line-contents {
324 -moz-padding-start: 4px;
329 .dbg-results-line-contents-string {
333 .dbg-results-line-contents-string[match=true] {
337 border: 1px solid #9C9CFF;
342 .dbg-results-line-contents-string[match=true][focusing] {
343 transition: transform 0.3s ease-in-out;
346 .dbg-results-line-contents-string[match=true][focused] {
347 transition-duration: 0.1s;
348 transform: scale(1.75, 1.75);
351 /* Toolbar controls */
354 list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png");
355 -moz-image-region: rect(0px, 16px, 16px, 0px);
358 #toggle-panes:not([panesHidden]) {
359 list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png");
363 #toggle-panes:hover:active {
364 -moz-image-region: rect(0px, 32px, 16px, 16px);
367 #resumption-panel-desc {
371 #resumption-order-panel {
372 -moz-margin-start: -8px;
376 list-style-image: url("chrome://browser/skin/devtools/debugger-play.png");
377 -moz-image-region: rect(0px, 16px, 16px, 0px);
380 #resume[checked=true],
382 -moz-image-region: rect(0px, 32px, 16px, 16px);
386 list-style-image: url("chrome://browser/skin/devtools/debugger-step-over.png");
387 -moz-image-region: rect(0px, 16px, 16px, 0px);
390 -moz-image-region: rect(0px, 32px, 16px, 16px);
394 list-style-image: url("chrome://browser/skin/devtools/debugger-step-in.png");
395 -moz-image-region: rect(0px, 16px, 16px, 0px);
398 -moz-image-region: rect(0px, 32px, 16px, 16px);
402 list-style-image: url("chrome://browser/skin/devtools/debugger-step-out.png");
403 -moz-image-region: rect(0px, 16px, 16px, 0px);
406 -moz-image-region: rect(0px, 32px, 16px, 16px);
409 #debugger-controls > toolbarbutton,
410 #sources-controls > toolbarbutton {
413 #debugger-controls > toolbarbutton:last-of-type,
414 #sources-controls > toolbarbutton:last-of-type {
421 #instruments-pane-toggle {
425 list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png");
426 -moz-image-region: rect(0px,16px,16px,0px);
429 #instruments-pane-toggle[pane-collapsed] {
430 list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png");
433 #instruments-pane-toggle:hover,
434 #instruments-pane-toggle:hover:active {
435 -moz-image-region: rect(0px,32px,16px,16px);
438 /* Horizontal vs. vertical layout */
440 #vertical-layout-panes-container {
445 #body[layout=vertical] #instruments-pane {
446 margin: 0 !important;
447 /* To prevent all the margin hacks to hide the sidebar. */
450 #body[layout=vertical] .side-menu-widget-container {
451 box-shadow: none !important;
454 #body[layout=vertical] .side-menu-widget-item-arrow {
455 background-image: none !important;