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