second part of sync for LCARStrek with browser windows/shared theme changes in Firefo...
[themes.git] / LCARStrek / browser / devtools / debugger.css
CommitLineData
9099c61d
RK
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/. */
eec397be
RK
4
5window {
6 padding: 0;
7}
8
9#body {
7bc075b6 10 background-color: #000000;
eec397be
RK
11}
12
82b4252f 13/* Sources and breakpoints pane */
eec397be 14
82b4252f
RK
15#sources-pane {
16 min-width: 50px;
889649fd
RK
17}
18
3a0880a9 19#sources-and-editor-splitter {
82b4252f 20 -moz-border-start-color: transparent;
eec397be
RK
21}
22
3a0880a9
RK
23#pretty-print {
24 min-width: 0;
25 font-weight: bold;
26}
27
7600e0b1
RK
28#black-box {
29 list-style-image: url("debugger-blackbox.png");
30 -moz-image-region: rect(0px, 16px, 16px, 0px);
fe524e0c
RK
31}
32
7600e0b1
RK
33#black-box[checked],
34#black-box:hover {
35 -moz-image-region: rect(0px, 32px, 16px, 16px);
fe524e0c
RK
36}
37
7600e0b1 38#sources .black-boxed {
1b13529a
RK
39 color: #8050B0;
40}
41
7600e0b1 42#sources .black-boxed > .dbg-breakpoint {
fe524e0c
RK
43 display: none;
44}
45
7600e0b1 46#sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(ltr) {
3a0880a9
RK
47 background-image: none;
48/* box-shadow: inset -1px 0 0 #222426; */
49}
50
7600e0b1 51#sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(rtl) {
3a0880a9
RK
52 background-image: none;
53/* box-shadow: inset 1px 0 0 #222426; */
54}
55
56/* Black box message and source progress meter */
fe524e0c 57
3a0880a9
RK
58#black-boxed-message,
59#source-progress-container {
60 background-color: #A09090;
fe524e0c
RK
61 /* Prevent the container deck from aquiring the height from this message. */
62 min-height: 1px;
fe524e0c
RK
63 color: #000000;
64}
65
3a0880a9
RK
66#source-progress {
67 min-height: 2em;
68 min-width: 40em;
69}
70
fe524e0c
RK
71#black-boxed-message-label,
72#black-boxed-message-button {
73 text-align: center;
74 font-size: 120%;
75}
76
77#black-boxed-message-button {
78 margin-top: 1em;
79 padding: .25em;
80}
81
82b4252f 82/* ListWidget items */
0142a07b 83
82b4252f
RK
84.list-widget-item {
85 padding: 2px;
c29b709d
RK
86}
87
82b4252f
RK
88.list-widget-item:not(.selected):not(.empty):hover {
89/* background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.85)), Highlight;*/
c29b709d
RK
90}
91
82b4252f
RK
92.list-widget-item.selected.light {
93/* background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.8)), Highlight;
94 color: #000;*/
c29b709d
RK
95}
96
82b4252f
RK
97.list-widget-item.selected {
98 background: #008484;
99 color: #FFCF00;
c29b709d
RK
100}
101
82b4252f 102.list-widget-item.empty {
b8384c33 103 color: #8050B0;
82b4252f 104 /* padding: 4px; */
c29b709d
RK
105}
106
82b4252f 107/* Stack frames view */
eec397be 108
f7774352
RK
109#stackframes {
110 min-height: 25px;
111}
112
82b4252f 113.dbg-stackframe-details {
eec397be 114 -moz-padding-start: 4px;
eec397be
RK
115}
116
82b4252f
RK
117.dbg-stackframe-menuitem[checked] {
118 margin-top: 3px;
119 margin-bottom: 3px;
120 outline: 1px solid #008484;
eec397be
RK
121 font-weight: 600;
122}
123
82b4252f
RK
124.dbg-stackframe-menuitem-details {
125 -moz-padding-start: 16px;
990cba4b
RK
126}
127
82b4252f 128/* Sources and breakpoints view */
889649fd 129
82b4252f 130.dbg-breakpoint {
7600e0b1 131 -moz-margin-start: 4px;
990cba4b
RK
132}
133
82b4252f 134.dbg-breakpoint-line {
889649fd
RK
135 font-weight: 600;
136}
137
138.dbg-breakpoint-text {
82b4252f
RK
139 -moz-margin-start: 10px !important;
140 font-style: italic;
1b13529a
RK
141 font-size: 90%;
142}
143
144.dbg-breakpoint-checkbox {
145 width: 16px;
146 height: 16px;
147 margin: 2px;
990cba4b
RK
148}
149
3a0880a9
RK
150/* Instruments pane (watch expressions, variables, event listeners...) */
151
152#instruments-pane > tabs > tab {
153 min-height: 25px !important;
154 padding: 0 !important;
155}
156
157#instruments-pane > tabpanels > tabpanel {
158 background: #000000;
159}
160
82b4252f 161/* Watch expressions view */
990cba4b
RK
162
163#expressions {
990cba4b 164 min-height: 10px;
56ab361a 165 max-height: 125px;
990cba4b
RK
166}
167
168.dbg-expression {
169 height: 20px;
990cba4b
RK
170}
171
172.dbg-expression-arrow {
b27cc46e 173 width: 16px;
990cba4b 174 height: auto;
3a0880a9 175 background: -moz-image-rect(url("commandline-icon.png"), 0, 32, 16, 16);
990cba4b
RK
176}
177
178.dbg-expression-input {
82b4252f 179 -moz-padding-start: 2px !important;
990cba4b
RK
180}
181
3a0880a9
RK
182/* Event listeners view */
183
184.dbg-event-listener {
185 padding: 4px 8px;
186}
187
188.dbg-event-listener-type {
189 font-weight: 600;
190}
191
192.dbg-event-listener-separator {
193 color: #A09090;
194}
195
196.dbg-event-listener-targets {
197 color: #9C9CFF;
198}
199
200.dbg-event-listener-location {
201 color: #E7ADE7;
202}
203
82b4252f 204/* Searchbox and the search operations help panel */
56ab361a 205
82b4252f
RK
206.devtools-searchinput {
207 min-width: 220px;
208 -moz-margin-start: 1px;
56ab361a
RK
209}
210
fe524e0c
RK
211#filter-label {
212 -moz-margin-start: 2px;
213}
214
215#searchbox-panel-operators {
216 margin-top: 5px;
82b4252f
RK
217 margin-bottom: 8px;
218 -moz-margin-start: 2px;
c29b709d
RK
219}
220
82b4252f
RK
221.searchbox-panel-operator-button {
222 min-width: 26px;
223 margin-top: 0;
224 margin-bottom: 0;
225 -moz-margin-start: 2px;
226 -moz-margin-end: 6px;
227 text-align: center;
56ab361a
RK
228}
229
82b4252f
RK
230.searchbox-panel-operator-label {
231 padding-bottom: 2px;
56ab361a
RK
232}
233
82b4252f 234/* Searchbox results panel */
56ab361a 235
82b4252f
RK
236.results-panel {
237 padding: 4px;
56ab361a
RK
238}
239
82b4252f
RK
240.results-panel-item {
241 border: 1px solid #A09090;
242 border-top-color: #8050B0;
243 padding: 5px;
56ab361a
RK
244 cursor: pointer;
245}
eec397be 246
82b4252f
RK
247.results-panel-item:first-of-type {
248 border-top-color: #9C9CFF;
249 border-radius: 4px 4px 0 0;
eec397be
RK
250}
251
82b4252f
RK
252.results-panel-item:last-of-type {
253 border-radius: 0 0 4px 4px;
b8384c33
RK
254}
255
82b4252f
RK
256.results-panel-item:only-of-type {
257 border-radius: 4px;
c29b709d
RK
258}
259
82b4252f
RK
260.results-panel-item:not(.selected):not(:hover) {
261/* text-shadow: 0 1px #fff;*/
85cfb236
RK
262}
263
82b4252f
RK
264.results-panel-item-pre {
265 -moz-margin-end: 5px !important;
266 color: #A09090;
267 cursor: inherit;
56ab361a
RK
268}
269
82b4252f
RK
270.results-panel-item-name {
271 color: #9C9CFF;
b8384c33 272 font-weight: 600;
82b4252f 273 cursor: inherit;
85cfb236
RK
274}
275
82b4252f 276.results-panel-item-details {
56ab361a 277 color: #FF9F00;
82b4252f 278 cursor: inherit;
56ab361a
RK
279}
280
82b4252f 281/* Sources search view */
eec397be 282
82b4252f
RK
283#globalsearch {
284 min-height: 10px;
b8384c33
RK
285}
286
82b4252f
RK
287#globalsearch > vbox:not(:empty) {
288 min-height: 10px;
289 max-height: 125px;
eec397be
RK
290}
291
82b4252f
RK
292#globalsearch + .devtools-horizontal-splitter {
293 -moz-border-top-colors: #9C9CFF;
56ab361a
RK
294}
295
82b4252f
RK
296.dbg-source-results {
297 padding: 0;
298 background: none !important;
eec397be
RK
299}
300
82b4252f 301.dbg-results-header {
b8384c33 302 -moz-padding-start: 6px;
37953ab4
RK
303}
304
82b4252f 305.dbg-results-header-location {
990cba4b
RK
306 font-weight: 600;
307}
308
82b4252f
RK
309.dbg-results-header-match-count {
310 -moz-padding-start: 6px;
eec397be
RK
311 color: #8050B0;
312}
313
82b4252f
RK
314.dbg-results-line-number {
315 background: #000000;
316 min-width: 40px;
317 -moz-border-end: 1px solid #9C9CFF;
318 -moz-padding-end: 4px;
319 padding-top: 2px;
320 text-align: end;
eec397be
RK
321 color: #FF9F00;
322}
323
82b4252f
RK
324.dbg-results-line-contents {
325 -moz-padding-start: 4px;
326 padding-top: 1px;
327 padding-bottom: 1px;
eec397be
RK
328}
329
82b4252f
RK
330.dbg-results-line-contents-string {
331 padding: 1px;
eec397be
RK
332}
333
82b4252f
RK
334.dbg-results-line-contents-string[match=true] {
335 background: #E7ADE7;
336 color: #000000;
337 padding: 0;
338 border: 1px solid #9C9CFF;
339 border-radius: 4px;
340 cursor: pointer;
eec397be
RK
341}
342
82b4252f
RK
343.dbg-results-line-contents-string[match=true][focusing] {
344 transition: transform 0.3s ease-in-out;
eec397be
RK
345}
346
82b4252f
RK
347.dbg-results-line-contents-string[match=true][focused] {
348 transition-duration: 0.1s;
349 transform: scale(1.75, 1.75);
b8384c33
RK
350}
351
3a0880a9 352/* Toolbar controls */
5322a392 353
c29b709d 354#toggle-panes {
c29b709d
RK
355 list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png");
356 -moz-image-region: rect(0px, 16px, 16px, 0px);
357}
358
b8384c33 359#toggle-panes:not([panesHidden]) {
c29b709d
RK
360 list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png");
361}
362
363#toggle-panes:hover,
364#toggle-panes:hover:active {
365 -moz-image-region: rect(0px, 32px, 16px, 16px);
366}
367
ed1a91c6
RK
368#resumption-panel-desc {
369 width: 200px;
370}
371
372#resumption-order-panel {
373 -moz-margin-start: -8px;
374}
375
5322a392 376#resume {
37953ab4 377 list-style-image: url("chrome://browser/skin/devtools/debugger-play.png");
5322a392
RK
378 -moz-image-region: rect(0px, 16px, 16px, 0px);
379}
380
381#resume[checked=true],
382#resume:hover {
383 -moz-image-region: rect(0px, 32px, 16px, 16px);
384}
385
386#step-over {
387 list-style-image: url("chrome://browser/skin/devtools/debugger-step-over.png");
388 -moz-image-region: rect(0px, 16px, 16px, 0px);
389}
390#step-over:hover {
391 -moz-image-region: rect(0px, 32px, 16px, 16px);
392}
393
394#step-in {
395 list-style-image: url("chrome://browser/skin/devtools/debugger-step-in.png");
396 -moz-image-region: rect(0px, 16px, 16px, 0px);
397}
398#step-in:hover {
399 -moz-image-region: rect(0px, 32px, 16px, 16px);
400}
401
402#step-out {
403 list-style-image: url("chrome://browser/skin/devtools/debugger-step-out.png");
404 -moz-image-region: rect(0px, 16px, 16px, 0px);
405}
406#step-out:hover {
407 -moz-image-region: rect(0px, 32px, 16px, 16px);
408}
409
7600e0b1
RK
410#debugger-controls > toolbarbutton,
411#sources-controls > toolbarbutton {
5322a392
RK
412}
413
7600e0b1
RK
414#debugger-controls > toolbarbutton:last-of-type,
415#sources-controls > toolbarbutton:last-of-type {
5322a392
RK
416}
417
7600e0b1
RK
418#debugger-controls,
419#sources-controls {
5322a392 420}
82b4252f
RK
421
422#instruments-pane-toggle {
f7774352 423/* background: none;
82b4252f 424 box-shadow: none;
f7774352 425 border: none; */
ed1a91c6 426 list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png");
82b4252f
RK
427 -moz-image-region: rect(0px,16px,16px,0px);
428}
429
ed1a91c6
RK
430#instruments-pane-toggle[pane-collapsed] {
431 list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png");
82b4252f
RK
432}
433
434#instruments-pane-toggle:hover,
435#instruments-pane-toggle:hover:active {
436 -moz-image-region: rect(0px,32px,16px,16px);
437}
3a0880a9
RK
438
439/* Horizontal vs. vertical layout */
440
441#vertical-layout-panes-container {
442 min-height: 35vh;
443 max-height: 80vh;
444}
445
446#body[layout=vertical] #instruments-pane {
447 margin: 0 !important;
448 /* To prevent all the margin hacks to hide the sidebar. */
449}
450
451#body[layout=vertical] .side-menu-widget-container {
452 box-shadow: none !important;
453}
454
455#body[layout=vertical] .side-menu-widget-item-arrow {
456 background-image: none !important;
457}