Merge branch 'master' of linz:/srv/git/themes
[themes.git] / LCARStrek / browser / devtools / webconsole.css
CommitLineData
f0c3317f
RK
1/* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3 *
4 * The contents of this file are subject to the Mozilla Public License Version
5 * 1.1 (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/MPL/
8 *
9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 * for the specific language governing rights and limitations under the
12 * License.
13 *
14 * The Original Code is DevTools code
15 *
16 * The Initial Developer of the Original Code is
17 * Mozilla Corporation
18 * Portions created by the Initial Developer are Copyright (C) 2010
19 * the Initial Developer. All Rights Reserved.
20 *
21 * Contributor(s):
22 * David Dahl <ddahl@mozilla.com>
23
24 * Alternatively, the contents of this file may be used under the terms of
25 * either the GNU General Public License Version 2 or later (the "GPL"), or
26 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 * in which case the provisions of the GPL or the LGPL are applicable instead
28 * of those above. If you wish to allow use of your version of this file only
29 * under the terms of either the GPL or the LGPL, and not to allow others to
30 * use your version of this file under the terms of the MPL, indicate your
31 * decision by deleting the provisions above and replace them with the notice
32 * and other provisions required by the GPL or the LGPL. If you do not delete
33 * the provisions above, a recipient may use your version of this file under
34 * the terms of any one of the MPL, the GPL or the LGPL.
35 *
36 * ***** END LICENSE BLOCK ***** */
37
38.hud-box {
39 border-bottom: 3px solid #000000;
40}
41
9162a092 42.hud-box.animated {
72a6fd39 43 -moz-transition: height 100ms;
569543b3
RK
44}
45
f0c3317f
RK
46.hud-outer-wrapper {
47 width: 100%;
48 height: 100%;
49}
50
51.hud-console-wrapper {
52 width: 100%;
53 overflow: auto;
54}
55
8a933f1e
RK
56/* General output styles */
57
58.webconsole-timestamp {
59 color: #8050B0;
60 margin-top: 0;
61 margin-bottom: 0;
c5772fdf 62 font: 12px "Liberation Mono", Consolas, "Courier New", monospace;
8a933f1e
RK
63}
64
a42b27e7 65.hud-msg-node {
f128e38f 66 list-style-image: url("chrome://browser/skin/devtools/webconsole.png");
a0885fa2 67 -moz-image-region: rect(0, 1px, 0, 0);
a42b27e7
RK
68}
69
70.webconsole-msg-icon {
a0885fa2
RK
71 margin: 3px 4px;
72 width: 8px;
73 height: 8px;
f0c3317f
RK
74}
75
76.hud-output-node div {
77 -moz-user-select: text;
3327253e 78 white-space: pre-wrap;
941d657f 79 -moz-user-focus: normal;
f0c3317f
RK
80}
81
569543b3 82.hud-clickable {
9162a092 83 cursor: pointer;
569543b3
RK
84 text-decoration: underline;
85}
86
8a933f1e
RK
87.webconsole-msg-body {
88 margin-top: 0;
89 margin-bottom: 3px;
90 -moz-margin-start: 3px;
91 -moz-margin-end: 6px;
a42b27e7 92 white-space: pre-wrap;
c5772fdf 93 font: 12px "Liberation Mono", Consolas, "Courier New", monospace;
f0c3317f
RK
94}
95
a0885fa2
RK
96.webconsole-msg-body-piece {
97 margin: 0;
98}
99
100.webconsole-msg-url {
101 margin: 0 6px;
102}
103
38b75e2e
RK
104/* Repeated messages */
105.webconsole-msg-repeat {
106 margin: 2px 0;
107 padding-left: 4px;
108 padding-right: 4px;
38b75e2e
RK
109 color: #000000;
110 background-color: #FF0000;
111 border-radius: 40px;
112 /* font: message-box; */
113 font-size: 10px;
114 font-weight: 600;
115}
116
117/* TODO move this and other functional rules to content - bug 635359 */
118.webconsole-msg-repeat[value="1"] {
119 display: none;
120}
121
8a933f1e
RK
122.webconsole-location {
123 margin-top: 0;
124 margin-bottom: 0;
125 -moz-margin-start: 0;
126 -moz-margin-end: 6px;
127 width: 10em;
128 text-align: end;
f0c3317f
RK
129}
130
8a933f1e
RK
131.hud-msg-node[selected="true"] > .webconsole-timestamp,
132.hud-msg-node[selected="true"] > .webconsole-location {
133 color: inherit;
f0c3317f
RK
134}
135
8a933f1e
RK
136.jsterm-input-node,
137.jsterm-complete-node {
8ad8bf83 138 font: 12px "Liberation Mono", Consolas, "Courier New", monospace;
f0c3317f
RK
139}
140
141.hud-output-node {
8a933f1e
RK
142 -moz-appearance: none;
143 border-bottom: 1px solid #9C9CFF;
144 border-top: 1px solid #9C9CFF;
145 margin: 0;
f0c3317f
RK
146}
147
9162a092
RK
148.hud-filtered-by-type,
149.hud-filtered-by-string {
706c344c
RK
150 display: none;
151}
152
72a6fd39 153.webconsole-clear-console-button > .toolbarbutton-icon {
941d657f
RK
154 display: none;
155}
156
a0885fa2 157.webconsole-filter-button > .toolbarbutton-menubutton-button {
72a6fd39 158 -moz-box-orient: horizontal;
f128e38f 159 list-style-image: url("chrome://browser/skin/devtools/webconsole.png");
72a6fd39
RK
160}
161
e0b5363a
RK
162.webconsole-filter-button:hover:active > .toolbarbutton-menubutton-button,
163.webconsole-filter-button[open="true"] > .toolbarbutton-menubutton-button {
904e5040
RK
164}
165
166.webconsole-filter-button {
167 -moz-margin-start: 3px;
e0b5363a
RK
168 padding: 0 !important;
169}
170
171.webconsole-filter-button menuitem {
172 -moz-image-region: auto;
173}
174
175.hud-filter-box {
176 margin-top: 0;
177 margin-bottom: 0;
904e5040
RK
178}
179
8a933f1e 180/* Network styles */
72a6fd39 181.webconsole-filter-button[category="net"] {
a0885fa2 182 -moz-image-region: rect(0, 8px, 8px, 0);
72a6fd39
RK
183}
184
8a933f1e
RK
185.webconsole-msg-network > .webconsole-msg-icon-container {
186 -moz-border-start: solid #000 6px;
187}
188
a42b27e7 189.webconsole-msg-network.webconsole-msg-error {
a0885fa2 190 -moz-image-region: rect(0, 16px, 8px, 8px);
8a933f1e
RK
191}
192
193/* CSS styles */
72a6fd39 194.webconsole-filter-button[category="css"] {
a0885fa2 195 -moz-image-region: rect(8px, 8px, 16px, 0);
72a6fd39
RK
196}
197
8a933f1e
RK
198.webconsole-msg-cssparser > .webconsole-msg-icon-container {
199 -moz-border-start: solid #00b6f0 6px;
200}
201
a42b27e7 202.webconsole-msg-cssparser.webconsole-msg-error {
a0885fa2 203 -moz-image-region: rect(8px, 16px, 16px, 8px);
8a933f1e
RK
204}
205
a42b27e7 206.webconsole-msg-cssparser.webconsole-msg-warn {
a0885fa2 207 -moz-image-region: rect(8px, 24px, 16px, 16px);
8a933f1e
RK
208}
209
210/* JS styles */
72a6fd39 211.webconsole-filter-button[category="js"] {
a0885fa2 212 -moz-image-region: rect(16px, 8px, 24px, 0);
72a6fd39
RK
213}
214
8a933f1e
RK
215.webconsole-msg-exception > .webconsole-msg-icon-container {
216 -moz-border-start: solid #fb9500 6px;
217}
218
a42b27e7 219.webconsole-msg-exception.webconsole-msg-error {
a0885fa2 220 -moz-image-region: rect(16px, 16px, 24px, 8px);
8a933f1e
RK
221}
222
a42b27e7 223.webconsole-msg-exception.webconsole-msg-warn {
a0885fa2 224 -moz-image-region: rect(16px, 24px, 24px, 16px);
8a933f1e
RK
225}
226
227/* Web Developer styles */
f128e38f 228.webconsole-filter-button[category="logging"] {
a0885fa2 229 -moz-image-region: rect(24px, 8px, 32px, 0);
72a6fd39
RK
230}
231
8a933f1e
RK
232.webconsole-msg-console > .webconsole-msg-icon-container {
233 -moz-border-start: solid #cbcbcb 6px;
234}
235
a42b27e7
RK
236.webconsole-msg-console.webconsole-msg-error,
237.webconsole-msg-output.webconsole-msg-error {
a0885fa2 238 -moz-image-region: rect(24px, 16px, 32px, 8px);
8a933f1e
RK
239}
240
a42b27e7 241.webconsole-msg-console.webconsole-msg-warn {
a0885fa2 242 -moz-image-region: rect(24px, 24px, 32px, 16px);
8a933f1e
RK
243}
244
a42b27e7 245.webconsole-msg-console.webconsole-msg-info {
a0885fa2 246 -moz-image-region: rect(24px, 32px, 32px, 24px);
8a933f1e
RK
247}
248
249/* Input and output styles */
250.webconsole-msg-input > .webconsole-msg-icon-container,
251.webconsole-msg-output > .webconsole-msg-icon-container {
252 border-left: solid #808080 6px;
253}
254
a42b27e7 255.webconsole-msg-input {
a0885fa2
RK
256 -moz-image-region: rect(24px, 40px, 32px, 32px);
257}
258
a42b27e7 259.webconsole-msg-output {
a0885fa2
RK
260 -moz-image-region: rect(24px, 48px, 32px, 40px);
261}
262
72a6fd39
RK
263.webconsole-close-button {
264 border: none;
e0b5363a
RK
265 padding-top: 4px;
266 padding-bottom: 5px;
267 list-style-image: url("chrome://global/skin/icons/close-button.gif");
72a6fd39
RK
268}
269
e0b5363a 270.webconsole-close-button:hover,
72a6fd39 271.webconsole-close-button:hover:active {
e0b5363a 272 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
72a6fd39
RK
273}
274
f0c3317f
RK
275/* JSTerm Styles */
276
277.jsterm-wrapper-node {
8ad8bf83 278 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
f0c3317f
RK
279 font-size: 1em;
280 background-color: #000;
281 border: 1px solid #333;
282 padding: 0.1em;
283 width: 100%;
284 height: 400px;
285}
286
287.jsterm-output-node {
e0b5363a
RK
288 width: 100%;
289 height: 400px;
290 color: white;
291 background-color: black;
292 overflow: auto;
293 overflow-x: auto;
294 position: absolute;
f0c3317f
RK
295 -moz-box-direction: reverse;
296}
297
f0c3317f
RK
298.jsterm-scroll-to-node {
299 height: 1px; width: 1px; position: relative; top: 92%; display: block;
300}
301
e1313d59
RK
302.jsterm-input-node,
303.jsterm-complete-node {
9162a092 304 border: none;
e1313d59
RK
305 padding: 0 0 0 16px;
306}
307
308.jsterm-input-node {
309 background: url("chrome://global/skin/icons/commandline.png") 4px 3px no-repeat;
f0c3317f
RK
310}
311
e1313d59
RK
312:-moz-any(.jsterm-input-node,
313 .jsterm-complete-node) > .textbox-input-box > .textbox-textarea {
941d657f 314 overflow-x: hidden;
f0c3317f
RK
315}
316
e1313d59
RK
317.jsterm-complete-node > .textbox-input-box > .textbox-textarea {
318 color: #8050B0;
319}
320
941d657f 321.jsterm-output-line {
569543b3 322 font-size: 1em;
f0c3317f
RK
323}
324
325.hud-console-filter-toolbar {
f0c3317f
RK
326 -moz-box-align: center;
327}
f993773d
RK
328
329.web-console-panel {
330 -moz-appearance: none;
331 background-color: black;
332}
333
334.web-console-panel > .hud-box {
335 height: 100%;
336 width: 100%;
337 background-color: black;
338}
e0b5363a
RK
339
340.hud-splitter {
341 border: 0;
342}