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/. */ | |
f0c3317f | 4 | |
c54ac991 RK |
5 | window { |
6 | padding: 0; | |
7 | } | |
8 | ||
f0c3317f RK |
9 | .hud-box { |
10 | border-bottom: 3px solid #000000; | |
11 | } | |
12 | ||
9162a092 | 13 | .hud-box.animated { |
72a6fd39 | 14 | -moz-transition: height 100ms; |
569543b3 RK |
15 | } |
16 | ||
f0c3317f RK |
17 | .hud-outer-wrapper { |
18 | width: 100%; | |
19 | height: 100%; | |
20 | } | |
21 | ||
22 | .hud-console-wrapper { | |
23 | width: 100%; | |
24 | overflow: auto; | |
25 | } | |
26 | ||
8a933f1e RK |
27 | /* General output styles */ |
28 | ||
29 | .webconsole-timestamp { | |
30 | color: #8050B0; | |
31 | margin-top: 0; | |
32 | margin-bottom: 0; | |
c5772fdf | 33 | font: 12px "Liberation Mono", Consolas, "Courier New", monospace; |
8a933f1e RK |
34 | } |
35 | ||
a42b27e7 | 36 | .hud-msg-node { |
f128e38f | 37 | list-style-image: url("chrome://browser/skin/devtools/webconsole.png"); |
a0885fa2 | 38 | -moz-image-region: rect(0, 1px, 0, 0); |
a42b27e7 RK |
39 | } |
40 | ||
41 | .webconsole-msg-icon { | |
a0885fa2 RK |
42 | margin: 3px 4px; |
43 | width: 8px; | |
44 | height: 8px; | |
f0c3317f RK |
45 | } |
46 | ||
47 | .hud-output-node div { | |
48 | -moz-user-select: text; | |
3327253e | 49 | white-space: pre-wrap; |
941d657f | 50 | -moz-user-focus: normal; |
f0c3317f RK |
51 | } |
52 | ||
569543b3 | 53 | .hud-clickable { |
9162a092 | 54 | cursor: pointer; |
569543b3 RK |
55 | text-decoration: underline; |
56 | } | |
57 | ||
8a933f1e RK |
58 | .webconsole-msg-body { |
59 | margin-top: 0; | |
60 | margin-bottom: 3px; | |
61 | -moz-margin-start: 3px; | |
62 | -moz-margin-end: 6px; | |
a42b27e7 | 63 | white-space: pre-wrap; |
c5772fdf | 64 | font: 12px "Liberation Mono", Consolas, "Courier New", monospace; |
f0c3317f RK |
65 | } |
66 | ||
a0885fa2 RK |
67 | .webconsole-msg-body-piece { |
68 | margin: 0; | |
69 | } | |
70 | ||
71 | .webconsole-msg-url { | |
72 | margin: 0 6px; | |
73 | } | |
74 | ||
38b75e2e RK |
75 | /* Repeated messages */ |
76 | .webconsole-msg-repeat { | |
77 | margin: 2px 0; | |
78 | padding-left: 4px; | |
79 | padding-right: 4px; | |
38b75e2e RK |
80 | color: #000000; |
81 | background-color: #FF0000; | |
82 | border-radius: 40px; | |
83 | /* font: message-box; */ | |
84 | font-size: 10px; | |
85 | font-weight: 600; | |
86 | } | |
87 | ||
88 | /* TODO move this and other functional rules to content - bug 635359 */ | |
89 | .webconsole-msg-repeat[value="1"] { | |
90 | display: none; | |
91 | } | |
92 | ||
8a933f1e RK |
93 | .webconsole-location { |
94 | margin-top: 0; | |
95 | margin-bottom: 0; | |
96 | -moz-margin-start: 0; | |
97 | -moz-margin-end: 6px; | |
98 | width: 10em; | |
99 | text-align: end; | |
f0c3317f RK |
100 | } |
101 | ||
8a933f1e RK |
102 | .hud-msg-node[selected="true"] > .webconsole-timestamp, |
103 | .hud-msg-node[selected="true"] > .webconsole-location { | |
104 | color: inherit; | |
f0c3317f RK |
105 | } |
106 | ||
8a933f1e RK |
107 | .jsterm-input-node, |
108 | .jsterm-complete-node { | |
8ad8bf83 | 109 | font: 12px "Liberation Mono", Consolas, "Courier New", monospace; |
f0c3317f RK |
110 | } |
111 | ||
112 | .hud-output-node { | |
8a933f1e RK |
113 | -moz-appearance: none; |
114 | border-bottom: 1px solid #9C9CFF; | |
115 | border-top: 1px solid #9C9CFF; | |
116 | margin: 0; | |
f0c3317f RK |
117 | } |
118 | ||
9162a092 RK |
119 | .hud-filtered-by-type, |
120 | .hud-filtered-by-string { | |
706c344c RK |
121 | display: none; |
122 | } | |
123 | ||
72a6fd39 | 124 | .webconsole-clear-console-button > .toolbarbutton-icon { |
941d657f RK |
125 | display: none; |
126 | } | |
127 | ||
a0885fa2 | 128 | .webconsole-filter-button > .toolbarbutton-menubutton-button { |
72a6fd39 | 129 | -moz-box-orient: horizontal; |
f128e38f | 130 | list-style-image: url("chrome://browser/skin/devtools/webconsole.png"); |
72a6fd39 RK |
131 | } |
132 | ||
e0b5363a RK |
133 | .webconsole-filter-button:hover:active > .toolbarbutton-menubutton-button, |
134 | .webconsole-filter-button[open="true"] > .toolbarbutton-menubutton-button { | |
904e5040 RK |
135 | } |
136 | ||
137 | .webconsole-filter-button { | |
138 | -moz-margin-start: 3px; | |
e0b5363a RK |
139 | padding: 0 !important; |
140 | } | |
141 | ||
142 | .webconsole-filter-button menuitem { | |
143 | -moz-image-region: auto; | |
144 | } | |
145 | ||
146 | .hud-filter-box { | |
147 | margin-top: 0; | |
148 | margin-bottom: 0; | |
904e5040 RK |
149 | } |
150 | ||
8a933f1e | 151 | /* Network styles */ |
72a6fd39 | 152 | .webconsole-filter-button[category="net"] { |
a0885fa2 | 153 | -moz-image-region: rect(0, 8px, 8px, 0); |
72a6fd39 RK |
154 | } |
155 | ||
8a933f1e RK |
156 | .webconsole-msg-network > .webconsole-msg-icon-container { |
157 | -moz-border-start: solid #000 6px; | |
158 | } | |
159 | ||
a42b27e7 | 160 | .webconsole-msg-network.webconsole-msg-error { |
a0885fa2 | 161 | -moz-image-region: rect(0, 16px, 8px, 8px); |
8a933f1e RK |
162 | } |
163 | ||
164 | /* CSS styles */ | |
72a6fd39 | 165 | .webconsole-filter-button[category="css"] { |
a0885fa2 | 166 | -moz-image-region: rect(8px, 8px, 16px, 0); |
72a6fd39 RK |
167 | } |
168 | ||
8a933f1e RK |
169 | .webconsole-msg-cssparser > .webconsole-msg-icon-container { |
170 | -moz-border-start: solid #00b6f0 6px; | |
171 | } | |
172 | ||
a42b27e7 | 173 | .webconsole-msg-cssparser.webconsole-msg-error { |
a0885fa2 | 174 | -moz-image-region: rect(8px, 16px, 16px, 8px); |
8a933f1e RK |
175 | } |
176 | ||
a42b27e7 | 177 | .webconsole-msg-cssparser.webconsole-msg-warn { |
a0885fa2 | 178 | -moz-image-region: rect(8px, 24px, 16px, 16px); |
8a933f1e RK |
179 | } |
180 | ||
181 | /* JS styles */ | |
72a6fd39 | 182 | .webconsole-filter-button[category="js"] { |
a0885fa2 | 183 | -moz-image-region: rect(16px, 8px, 24px, 0); |
72a6fd39 RK |
184 | } |
185 | ||
8a933f1e RK |
186 | .webconsole-msg-exception > .webconsole-msg-icon-container { |
187 | -moz-border-start: solid #fb9500 6px; | |
188 | } | |
189 | ||
a42b27e7 | 190 | .webconsole-msg-exception.webconsole-msg-error { |
a0885fa2 | 191 | -moz-image-region: rect(16px, 16px, 24px, 8px); |
8a933f1e RK |
192 | } |
193 | ||
a42b27e7 | 194 | .webconsole-msg-exception.webconsole-msg-warn { |
a0885fa2 | 195 | -moz-image-region: rect(16px, 24px, 24px, 16px); |
8a933f1e RK |
196 | } |
197 | ||
198 | /* Web Developer styles */ | |
f128e38f | 199 | .webconsole-filter-button[category="logging"] { |
a0885fa2 | 200 | -moz-image-region: rect(24px, 8px, 32px, 0); |
72a6fd39 RK |
201 | } |
202 | ||
8a933f1e RK |
203 | .webconsole-msg-console > .webconsole-msg-icon-container { |
204 | -moz-border-start: solid #cbcbcb 6px; | |
205 | } | |
206 | ||
a42b27e7 RK |
207 | .webconsole-msg-console.webconsole-msg-error, |
208 | .webconsole-msg-output.webconsole-msg-error { | |
a0885fa2 | 209 | -moz-image-region: rect(24px, 16px, 32px, 8px); |
8a933f1e RK |
210 | } |
211 | ||
a42b27e7 | 212 | .webconsole-msg-console.webconsole-msg-warn { |
a0885fa2 | 213 | -moz-image-region: rect(24px, 24px, 32px, 16px); |
8a933f1e RK |
214 | } |
215 | ||
a42b27e7 | 216 | .webconsole-msg-console.webconsole-msg-info { |
a0885fa2 | 217 | -moz-image-region: rect(24px, 32px, 32px, 24px); |
8a933f1e RK |
218 | } |
219 | ||
220 | /* Input and output styles */ | |
221 | .webconsole-msg-input > .webconsole-msg-icon-container, | |
222 | .webconsole-msg-output > .webconsole-msg-icon-container { | |
223 | border-left: solid #808080 6px; | |
224 | } | |
225 | ||
a42b27e7 | 226 | .webconsole-msg-input { |
a0885fa2 RK |
227 | -moz-image-region: rect(24px, 40px, 32px, 32px); |
228 | } | |
229 | ||
a42b27e7 | 230 | .webconsole-msg-output { |
a0885fa2 RK |
231 | -moz-image-region: rect(24px, 48px, 32px, 40px); |
232 | } | |
233 | ||
72a6fd39 RK |
234 | .webconsole-close-button { |
235 | border: none; | |
e0b5363a RK |
236 | padding-top: 4px; |
237 | padding-bottom: 5px; | |
238 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
72a6fd39 RK |
239 | } |
240 | ||
e0b5363a | 241 | .webconsole-close-button:hover, |
72a6fd39 | 242 | .webconsole-close-button:hover:active { |
e0b5363a | 243 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); |
72a6fd39 RK |
244 | } |
245 | ||
f0c3317f RK |
246 | /* JSTerm Styles */ |
247 | ||
248 | .jsterm-wrapper-node { | |
8ad8bf83 | 249 | font-family: "Liberation Mono", Consolas, "Courier New", monospace; |
f0c3317f RK |
250 | font-size: 1em; |
251 | background-color: #000; | |
252 | border: 1px solid #333; | |
253 | padding: 0.1em; | |
254 | width: 100%; | |
255 | height: 400px; | |
256 | } | |
257 | ||
258 | .jsterm-output-node { | |
e0b5363a RK |
259 | width: 100%; |
260 | height: 400px; | |
261 | color: white; | |
262 | background-color: black; | |
263 | overflow: auto; | |
264 | overflow-x: auto; | |
265 | position: absolute; | |
f0c3317f RK |
266 | -moz-box-direction: reverse; |
267 | } | |
268 | ||
f0c3317f RK |
269 | .jsterm-scroll-to-node { |
270 | height: 1px; width: 1px; position: relative; top: 92%; display: block; | |
271 | } | |
272 | ||
e1313d59 RK |
273 | .jsterm-input-node, |
274 | .jsterm-complete-node { | |
c54ac991 RK |
275 | -moz-padding-start: 16px; |
276 | margin: 3px 0 0 0; | |
e1313d59 RK |
277 | } |
278 | ||
279 | .jsterm-input-node { | |
c54ac991 | 280 | background: url("chrome://browser/skin/devtools/commandline.png") 4px 3px no-repeat; |
f0c3317f RK |
281 | } |
282 | ||
e1313d59 RK |
283 | :-moz-any(.jsterm-input-node, |
284 | .jsterm-complete-node) > .textbox-input-box > .textbox-textarea { | |
941d657f | 285 | overflow-x: hidden; |
f0c3317f RK |
286 | } |
287 | ||
e1313d59 RK |
288 | .jsterm-complete-node > .textbox-input-box > .textbox-textarea { |
289 | color: #8050B0; | |
290 | } | |
291 | ||
941d657f | 292 | .jsterm-output-line { |
569543b3 | 293 | font-size: 1em; |
f0c3317f RK |
294 | } |
295 | ||
296 | .hud-console-filter-toolbar { | |
f0c3317f RK |
297 | -moz-box-align: center; |
298 | } | |
f993773d RK |
299 | |
300 | .web-console-panel { | |
301 | -moz-appearance: none; | |
302 | background-color: black; | |
303 | } | |
304 | ||
305 | .web-console-panel > .hud-box { | |
306 | height: 100%; | |
307 | width: 100%; | |
308 | background-color: black; | |
309 | } | |
e0b5363a RK |
310 | |
311 | .hud-splitter { | |
312 | border: 0; | |
313 | } |