Commit | Line | Data |
---|---|---|
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 | |
5 | window { | |
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 | ||
82b4252f RK |
19 | #sources-pane + .devtools-side-splitter { |
20 | -moz-border-start-color: transparent; | |
eec397be RK |
21 | } |
22 | ||
82b4252f | 23 | /* ListWidget items */ |
0142a07b | 24 | |
82b4252f RK |
25 | .list-widget-item { |
26 | padding: 2px; | |
c29b709d RK |
27 | } |
28 | ||
82b4252f RK |
29 | .list-widget-item:not(.selected):not(.empty):hover { |
30 | /* background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.85)), Highlight;*/ | |
c29b709d RK |
31 | } |
32 | ||
82b4252f RK |
33 | .list-widget-item.selected.light { |
34 | /* background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.8)), Highlight; | |
35 | color: #000;*/ | |
c29b709d RK |
36 | } |
37 | ||
82b4252f RK |
38 | .list-widget-item.selected { |
39 | background: #008484; | |
40 | color: #FFCF00; | |
c29b709d RK |
41 | } |
42 | ||
82b4252f | 43 | .list-widget-item.empty { |
b8384c33 | 44 | color: #8050B0; |
82b4252f | 45 | /* padding: 4px; */ |
c29b709d RK |
46 | } |
47 | ||
82b4252f | 48 | /* Stack frames view */ |
eec397be | 49 | |
f7774352 RK |
50 | #stackframes { |
51 | min-height: 25px; | |
52 | } | |
53 | ||
82b4252f | 54 | .dbg-stackframe-details { |
eec397be | 55 | -moz-padding-start: 4px; |
eec397be RK |
56 | } |
57 | ||
82b4252f RK |
58 | .dbg-stackframe-menuitem[checked] { |
59 | margin-top: 3px; | |
60 | margin-bottom: 3px; | |
61 | outline: 1px solid #008484; | |
eec397be RK |
62 | font-weight: 600; |
63 | } | |
64 | ||
82b4252f RK |
65 | .dbg-stackframe-menuitem-details { |
66 | -moz-padding-start: 16px; | |
990cba4b RK |
67 | } |
68 | ||
82b4252f | 69 | /* Sources and breakpoints view */ |
889649fd | 70 | |
82b4252f RK |
71 | .dbg-breakpoint { |
72 | font-family: "Liberation Mono", Consolas, "Courier New", monospace; | |
990cba4b RK |
73 | } |
74 | ||
82b4252f | 75 | .dbg-breakpoint-line { |
889649fd RK |
76 | font-weight: 600; |
77 | } | |
78 | ||
79 | .dbg-breakpoint-text { | |
82b4252f RK |
80 | -moz-margin-start: 10px !important; |
81 | font-style: italic; | |
990cba4b RK |
82 | } |
83 | ||
82b4252f | 84 | /* Watch expressions view */ |
990cba4b RK |
85 | |
86 | #expressions { | |
990cba4b | 87 | min-height: 10px; |
56ab361a | 88 | max-height: 125px; |
990cba4b RK |
89 | } |
90 | ||
91 | .dbg-expression { | |
92 | height: 20px; | |
93 | -moz-padding-start: 8px; | |
94 | } | |
95 | ||
96 | .dbg-expression-arrow { | |
97 | width: 10px; | |
98 | height: auto; | |
99 | background: url("chrome://browser/skin/devtools/commandline.png") 0px 4px no-repeat; | |
100 | } | |
101 | ||
102 | .dbg-expression-input { | |
82b4252f RK |
103 | -moz-padding-start: 2px !important; |
104 | font-family: "Liberation Mono", Consolas, "Courier New", monospace; | |
990cba4b RK |
105 | } |
106 | ||
82b4252f | 107 | /* Searchbox and the search operations help panel */ |
56ab361a | 108 | |
82b4252f RK |
109 | .devtools-searchinput { |
110 | min-width: 220px; | |
111 | -moz-margin-start: 1px; | |
56ab361a RK |
112 | } |
113 | ||
82b4252f RK |
114 | #searchbox-panel-description { |
115 | margin-top: 0; | |
116 | margin-bottom: 8px; | |
117 | -moz-margin-start: 2px; | |
c29b709d RK |
118 | } |
119 | ||
82b4252f RK |
120 | .searchbox-panel-operator-button { |
121 | min-width: 26px; | |
122 | margin-top: 0; | |
123 | margin-bottom: 0; | |
124 | -moz-margin-start: 2px; | |
125 | -moz-margin-end: 6px; | |
126 | text-align: center; | |
127 | font-family: "Liberation Mono", Consolas, "Courier New", monospace; | |
56ab361a RK |
128 | } |
129 | ||
82b4252f RK |
130 | .searchbox-panel-operator-label { |
131 | padding-bottom: 2px; | |
56ab361a RK |
132 | } |
133 | ||
82b4252f | 134 | /* Searchbox results panel */ |
56ab361a | 135 | |
82b4252f RK |
136 | .results-panel { |
137 | padding: 4px; | |
56ab361a RK |
138 | } |
139 | ||
82b4252f RK |
140 | .results-panel-item { |
141 | border: 1px solid #A09090; | |
142 | border-top-color: #8050B0; | |
143 | padding: 5px; | |
56ab361a RK |
144 | cursor: pointer; |
145 | } | |
eec397be | 146 | |
82b4252f RK |
147 | .results-panel-item:first-of-type { |
148 | border-top-color: #9C9CFF; | |
149 | border-radius: 4px 4px 0 0; | |
eec397be RK |
150 | } |
151 | ||
82b4252f RK |
152 | .results-panel-item:last-of-type { |
153 | border-radius: 0 0 4px 4px; | |
b8384c33 RK |
154 | } |
155 | ||
82b4252f RK |
156 | .results-panel-item:only-of-type { |
157 | border-radius: 4px; | |
c29b709d RK |
158 | } |
159 | ||
82b4252f RK |
160 | .results-panel-item:not(.selected):not(:hover) { |
161 | /* text-shadow: 0 1px #fff;*/ | |
85cfb236 RK |
162 | } |
163 | ||
82b4252f RK |
164 | .results-panel-item-pre { |
165 | -moz-margin-end: 5px !important; | |
166 | color: #A09090; | |
167 | cursor: inherit; | |
56ab361a RK |
168 | } |
169 | ||
82b4252f RK |
170 | .results-panel-item-name { |
171 | color: #9C9CFF; | |
b8384c33 | 172 | font-weight: 600; |
82b4252f | 173 | cursor: inherit; |
85cfb236 RK |
174 | } |
175 | ||
82b4252f | 176 | .results-panel-item-details { |
56ab361a | 177 | color: #FF9F00; |
82b4252f | 178 | cursor: inherit; |
56ab361a RK |
179 | } |
180 | ||
82b4252f | 181 | /* Sources search view */ |
eec397be | 182 | |
82b4252f RK |
183 | #globalsearch { |
184 | min-height: 10px; | |
b8384c33 RK |
185 | } |
186 | ||
82b4252f RK |
187 | #globalsearch > vbox:not(:empty) { |
188 | min-height: 10px; | |
189 | max-height: 125px; | |
eec397be RK |
190 | } |
191 | ||
82b4252f RK |
192 | #globalsearch + .devtools-horizontal-splitter { |
193 | -moz-border-top-colors: #9C9CFF; | |
56ab361a RK |
194 | } |
195 | ||
82b4252f RK |
196 | .dbg-source-results { |
197 | padding: 0; | |
198 | background: none !important; | |
eec397be RK |
199 | } |
200 | ||
82b4252f | 201 | .dbg-results-header { |
b8384c33 | 202 | -moz-padding-start: 6px; |
37953ab4 RK |
203 | } |
204 | ||
82b4252f | 205 | .dbg-results-header-location { |
990cba4b RK |
206 | font-weight: 600; |
207 | } | |
208 | ||
82b4252f RK |
209 | .dbg-results-header-match-count { |
210 | -moz-padding-start: 6px; | |
eec397be RK |
211 | color: #8050B0; |
212 | } | |
213 | ||
82b4252f RK |
214 | .dbg-results-line-number { |
215 | background: #000000; | |
216 | min-width: 40px; | |
217 | -moz-border-end: 1px solid #9C9CFF; | |
218 | -moz-padding-end: 4px; | |
219 | padding-top: 2px; | |
220 | text-align: end; | |
221 | font-family: "Liberation Mono", Consolas, "Courier New", monospace; | |
eec397be RK |
222 | color: #FF9F00; |
223 | } | |
224 | ||
82b4252f RK |
225 | .dbg-results-line-contents { |
226 | -moz-padding-start: 4px; | |
227 | padding-top: 1px; | |
228 | padding-bottom: 1px; | |
229 | font-family: "Liberation Mono", Consolas, "Courier New", monospace; | |
eec397be RK |
230 | } |
231 | ||
82b4252f RK |
232 | .dbg-results-line-contents-string { |
233 | padding: 1px; | |
eec397be RK |
234 | } |
235 | ||
82b4252f RK |
236 | .dbg-results-line-contents-string[match=true] { |
237 | background: #E7ADE7; | |
238 | color: #000000; | |
239 | padding: 0; | |
240 | border: 1px solid #9C9CFF; | |
241 | border-radius: 4px; | |
242 | cursor: pointer; | |
eec397be RK |
243 | } |
244 | ||
82b4252f RK |
245 | .dbg-results-line-contents-string[match=true][focusing] { |
246 | transition: transform 0.3s ease-in-out; | |
eec397be RK |
247 | } |
248 | ||
82b4252f RK |
249 | .dbg-results-line-contents-string[match=true][focused] { |
250 | transition-duration: 0.1s; | |
251 | transform: scale(1.75, 1.75); | |
b8384c33 RK |
252 | } |
253 | ||
82b4252f | 254 | /* Toolbar Controls */ |
5322a392 | 255 | |
c29b709d | 256 | #toggle-panes { |
c29b709d RK |
257 | list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png"); |
258 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
259 | } | |
260 | ||
b8384c33 | 261 | #toggle-panes:not([panesHidden]) { |
c29b709d RK |
262 | list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png"); |
263 | } | |
264 | ||
265 | #toggle-panes:hover, | |
266 | #toggle-panes:hover:active { | |
267 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
268 | } | |
269 | ||
ed1a91c6 RK |
270 | #resumption-panel-desc { |
271 | width: 200px; | |
272 | } | |
273 | ||
274 | #resumption-order-panel { | |
275 | -moz-margin-start: -8px; | |
276 | } | |
277 | ||
5322a392 | 278 | #resume { |
37953ab4 | 279 | list-style-image: url("chrome://browser/skin/devtools/debugger-play.png"); |
5322a392 RK |
280 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
281 | } | |
282 | ||
283 | #resume[checked=true], | |
284 | #resume:hover { | |
285 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
286 | } | |
287 | ||
288 | #step-over { | |
289 | list-style-image: url("chrome://browser/skin/devtools/debugger-step-over.png"); | |
290 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
291 | } | |
292 | #step-over:hover { | |
293 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
294 | } | |
295 | ||
296 | #step-in { | |
297 | list-style-image: url("chrome://browser/skin/devtools/debugger-step-in.png"); | |
298 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
299 | } | |
300 | #step-in:hover { | |
301 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
302 | } | |
303 | ||
304 | #step-out { | |
305 | list-style-image: url("chrome://browser/skin/devtools/debugger-step-out.png"); | |
306 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
307 | } | |
308 | #step-out:hover { | |
309 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
310 | } | |
311 | ||
312 | #debugger-controls > toolbarbutton { | |
313 | } | |
314 | ||
315 | #debugger-controls > toolbarbutton:last-of-type { | |
316 | } | |
317 | ||
318 | #debugger-controls { | |
319 | } | |
82b4252f RK |
320 | |
321 | #instruments-pane-toggle { | |
f7774352 | 322 | /* background: none; |
82b4252f | 323 | box-shadow: none; |
f7774352 | 324 | border: none; */ |
ed1a91c6 | 325 | list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png"); |
82b4252f RK |
326 | -moz-image-region: rect(0px,16px,16px,0px); |
327 | } | |
328 | ||
ed1a91c6 RK |
329 | #instruments-pane-toggle[pane-collapsed] { |
330 | list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png"); | |
82b4252f RK |
331 | } |
332 | ||
333 | #instruments-pane-toggle:hover, | |
334 | #instruments-pane-toggle:hover:active { | |
335 | -moz-image-region: rect(0px,32px,16px,16px); | |
336 | } |