Merge branch 'master' of linz:/srv/git/themes
[themes.git] / LCARStrek / browser / devtools / webconsole.css
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
42 .hud-box.animated {
43   -moz-transition: height 100ms;
44 }
45
46 .hud-outer-wrapper {
47   width: 100%; 
48   height: 100%;
49 }
50
51 .hud-console-wrapper {
52   width: 100%; 
53   overflow: auto; 
54 }
55
56 /* General output styles */
57
58 .webconsole-timestamp {
59   color: #8050B0;
60   margin-top: 0;
61   margin-bottom: 0;
62   font: 12px "Liberation Mono", Consolas, "Courier New", monospace;
63 }
64
65 .hud-msg-node {
66   list-style-image: url("chrome://browser/skin/devtools/webconsole.png");
67   -moz-image-region: rect(0, 1px, 0, 0);
68 }
69
70 .webconsole-msg-icon {
71   margin: 3px 4px;
72   width: 8px;
73   height: 8px;
74 }
75
76 .hud-output-node div {
77   -moz-user-select: text;
78   white-space: pre-wrap;
79   -moz-user-focus: normal;
80 }
81
82 .hud-clickable {
83   cursor: pointer;
84   text-decoration: underline;
85 }
86
87 .webconsole-msg-body {
88   margin-top: 0;
89   margin-bottom: 3px;
90   -moz-margin-start: 3px;
91   -moz-margin-end: 6px;
92   white-space: pre-wrap;
93   font: 12px "Liberation Mono", Consolas, "Courier New", monospace;
94 }
95
96 .webconsole-msg-body-piece {
97   margin: 0;
98 }
99
100 .webconsole-msg-url {
101   margin: 0 6px;
102 }
103
104 /* Repeated messages */
105 .webconsole-msg-repeat {
106   margin: 2px 0;
107   padding-left: 4px;
108   padding-right: 4px;
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
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;
129 }
130
131 .hud-msg-node[selected="true"] > .webconsole-timestamp,
132 .hud-msg-node[selected="true"] > .webconsole-location {
133   color: inherit;
134 }
135
136 .jsterm-input-node,
137 .jsterm-complete-node {
138   font: 12px "Liberation Mono", Consolas, "Courier New", monospace;
139 }
140
141 .hud-output-node {
142   -moz-appearance: none;
143   border-bottom: 1px solid #9C9CFF;
144   border-top: 1px solid #9C9CFF;
145   margin: 0;
146 }
147
148 .hud-filtered-by-type,
149 .hud-filtered-by-string {
150   display: none;
151 }
152
153 .webconsole-clear-console-button > .toolbarbutton-icon {
154   display: none;
155 }
156
157 .webconsole-filter-button > .toolbarbutton-menubutton-button {
158   -moz-box-orient: horizontal;
159   list-style-image: url("chrome://browser/skin/devtools/webconsole.png");
160 }
161
162 .webconsole-filter-button:hover:active > .toolbarbutton-menubutton-button,
163 .webconsole-filter-button[open="true"] > .toolbarbutton-menubutton-button {
164 }
165
166 .webconsole-filter-button {
167   -moz-margin-start: 3px;
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;
178 }
179
180 /* Network styles */
181 .webconsole-filter-button[category="net"] {
182   -moz-image-region: rect(0, 8px, 8px, 0);
183 }
184
185 .webconsole-msg-network > .webconsole-msg-icon-container {
186   -moz-border-start: solid #000 6px;
187 }
188
189 .webconsole-msg-network.webconsole-msg-error {
190   -moz-image-region: rect(0, 16px, 8px, 8px);
191 }
192
193 /* CSS styles */
194 .webconsole-filter-button[category="css"] {
195   -moz-image-region: rect(8px, 8px, 16px, 0);
196 }
197
198 .webconsole-msg-cssparser > .webconsole-msg-icon-container {
199   -moz-border-start: solid #00b6f0 6px;
200 }
201
202 .webconsole-msg-cssparser.webconsole-msg-error {
203   -moz-image-region: rect(8px, 16px, 16px, 8px);
204 }
205
206 .webconsole-msg-cssparser.webconsole-msg-warn {
207   -moz-image-region: rect(8px, 24px, 16px, 16px);
208 }
209
210 /* JS styles */
211 .webconsole-filter-button[category="js"] {
212   -moz-image-region: rect(16px, 8px, 24px, 0);
213 }
214
215 .webconsole-msg-exception > .webconsole-msg-icon-container {
216   -moz-border-start: solid #fb9500 6px;
217 }
218
219 .webconsole-msg-exception.webconsole-msg-error {
220   -moz-image-region: rect(16px, 16px, 24px, 8px);
221 }
222
223 .webconsole-msg-exception.webconsole-msg-warn {
224   -moz-image-region: rect(16px, 24px, 24px, 16px);
225 }
226
227 /* Web Developer styles */
228 .webconsole-filter-button[category="logging"] {
229   -moz-image-region: rect(24px, 8px, 32px, 0);
230 }
231
232 .webconsole-msg-console > .webconsole-msg-icon-container {
233   -moz-border-start: solid #cbcbcb 6px;
234 }
235
236 .webconsole-msg-console.webconsole-msg-error,
237 .webconsole-msg-output.webconsole-msg-error {
238   -moz-image-region: rect(24px, 16px, 32px, 8px);
239 }
240
241 .webconsole-msg-console.webconsole-msg-warn {
242   -moz-image-region: rect(24px, 24px, 32px, 16px);
243 }
244
245 .webconsole-msg-console.webconsole-msg-info {
246   -moz-image-region: rect(24px, 32px, 32px, 24px);
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
255 .webconsole-msg-input {
256   -moz-image-region: rect(24px, 40px, 32px, 32px);
257 }
258
259 .webconsole-msg-output {
260   -moz-image-region: rect(24px, 48px, 32px, 40px);
261 }
262
263 .webconsole-close-button {
264   border: none;
265   padding-top: 4px;
266   padding-bottom: 5px;
267   list-style-image: url("chrome://global/skin/icons/close-button.gif");
268 }
269
270 .webconsole-close-button:hover,
271 .webconsole-close-button:hover:active {
272   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
273 }
274
275 /* JSTerm Styles */
276
277 .jsterm-wrapper-node {
278   font-family: "Liberation Mono", Consolas, "Courier New", monospace; 
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 {
288   width: 100%;
289   height: 400px;
290   color: white;
291   background-color: black;
292   overflow: auto;
293   overflow-x: auto;
294   position: absolute;
295   -moz-box-direction: reverse;
296 }
297
298 .jsterm-scroll-to-node {
299   height: 1px; width: 1px; position: relative; top: 92%; display: block;
300 }
301
302 .jsterm-input-node,
303 .jsterm-complete-node {
304   border: none;
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;
310 }
311
312 :-moz-any(.jsterm-input-node,
313           .jsterm-complete-node) > .textbox-input-box > .textbox-textarea {
314   overflow-x: hidden;
315 }
316
317 .jsterm-complete-node > .textbox-input-box > .textbox-textarea {
318   color: #8050B0;
319 }
320
321 .jsterm-output-line {
322   font-size: 1em;
323 }
324
325 .hud-console-filter-toolbar {
326   -moz-box-align: center;
327 }
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 }
339
340 .hud-splitter {
341   border: 0;
342 }