update both themes to the state of SeaMonkey 2.3 and Firefox 6
[themes.git] / EarlyBlue / global / 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: 1px solid #CCD0DD;
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: #808080;
60   margin-top: 0;
61   margin-bottom: 0;
62 }
63
64 .webconsole-msg-icon {
65   list-style-image: url("chrome://global/skin/icons/webconsole.png");
66   -moz-image-region: rect(0, 1px, 0, 0);
67   margin: 3px 4px;
68   width: 8px;
69   height: 8px;
70 }
71
72 .hud-output-node div {
73   -moz-user-select: text;
74   white-space: pre-wrap;
75   -moz-user-focus: normal;
76 }
77
78 .hud-clickable {
79   cursor: pointer;
80   text-decoration: underline;
81 }
82
83 .webconsole-msg-body {
84   margin-top: 0;
85   margin-bottom: 3px;
86   -moz-margin-start: 3px;
87   -moz-margin-end: 6px;
88 }
89
90 .webconsole-msg-body-piece {
91   margin: 0;
92 }
93
94 .webconsole-msg-url {
95   margin: 0 6px;
96 }
97
98 /* Repeated messages */
99 .webconsole-msg-repeat {
100   margin: 2px 0;
101   padding-left: 4px;
102   padding-right: 4px;
103   width: 1em;
104   color: #FFFFFF;
105   background-color: #FF0000;
106   border-radius: 40px;
107   /* font: message-box; */
108   font-size: 10px;
109   font-weight: 600;
110 }
111
112 /* TODO move this and other functional rules to content - bug 635359 */
113 .webconsole-msg-repeat[value="1"] {
114   display: none;
115 }
116
117 .webconsole-location {
118   margin-top: 0;
119   margin-bottom: 0;
120   -moz-margin-start: 0;
121   -moz-margin-end: 6px;
122   width: 10em;
123   text-align: end;
124 }
125
126 .hud-msg-node[selected="true"] > .webconsole-timestamp,
127 .hud-msg-node[selected="true"] > .webconsole-location {
128   color: inherit;
129 }
130
131 .hud-output-node,
132 .jsterm-input-node,
133 .jsterm-complete-node {
134   font: 12px Consolas, Lucida Console, monospace;
135 }
136
137 .hud-output-node {
138   -moz-appearance: none;
139   border-bottom: 1px solid #666699;
140   border-top: 1px solid #666699;
141   margin: 0;
142 }
143
144 .hud-filtered-by-type,
145 .hud-filtered-by-string {
146   display: none;
147 }
148
149 .webconsole-clear-console-button > .toolbarbutton-icon {
150   display: none;
151 }
152
153 .webconsole-filter-button > .toolbarbutton-menubutton-button {
154   -moz-box-orient: horizontal;
155   list-style-image: url("chrome://global/skin/icons/webconsole.png");
156 }
157
158 /* Network styles */
159 .webconsole-filter-button[category="net"] {
160   -moz-image-region: rect(0, 8px, 8px, 0);
161 }
162
163 .webconsole-msg-network > .webconsole-msg-icon-container {
164   -moz-border-start: solid #000 6px;
165 }
166
167 .webconsole-msg-network.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
168   -moz-image-region: rect(0, 16px, 8px, 8px);
169 }
170
171 /* CSS styles */
172 .webconsole-filter-button[category="css"] {
173   -moz-image-region: rect(8px, 8px, 16px, 0);
174 }
175
176 .webconsole-msg-cssparser > .webconsole-msg-icon-container {
177   -moz-border-start: solid #00b6f0 6px;
178 }
179
180 .webconsole-msg-cssparser.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
181   -moz-image-region: rect(8px, 16px, 16px, 8px);
182 }
183
184 .webconsole-msg-cssparser.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
185   -moz-image-region: rect(8px, 24px, 16px, 16px);
186 }
187
188 /* JS styles */
189 .webconsole-filter-button[category="js"] {
190   -moz-image-region: rect(16px, 8px, 24px, 0);
191 }
192
193 .webconsole-msg-exception > .webconsole-msg-icon-container {
194   -moz-border-start: solid #fb9500 6px;
195 }
196
197 .webconsole-msg-exception.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
198   -moz-image-region: rect(16px, 16px, 24px, 8px);
199 }
200
201 .webconsole-msg-exception.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
202   -moz-image-region: rect(16px, 24px, 24px, 16px);
203 }
204
205 /* Web Developer styles */
206 .webconsole-filter-button[category="webdev"] {
207   -moz-image-region: rect(24px, 8px, 32px, 0);
208 }
209
210 .webconsole-msg-console > .webconsole-msg-icon-container {
211   -moz-border-start: solid #cbcbcb 6px;
212 }
213
214 .webconsole-msg-console.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon,
215 .webconsole-msg-output.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
216   -moz-image-region: rect(24px, 16px, 32px, 8px);
217 }
218
219 .webconsole-msg-console.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
220   -moz-image-region: rect(24px, 24px, 32px, 16px);
221 }
222
223 .webconsole-msg-console.webconsole-msg-info > .webconsole-msg-icon-container > .webconsole-msg-icon {
224   -moz-image-region: rect(24px, 32px, 32px, 24px);
225 }
226
227 /* Input and output styles */
228 .webconsole-msg-input > .webconsole-msg-icon-container,
229 .webconsole-msg-output > .webconsole-msg-icon-container {
230   border-left: solid #808080 6px;
231 }
232
233 .webconsole-msg-input > .webconsole-msg-icon-container > .webconsole-msg-icon {
234   -moz-image-region: rect(24px, 40px, 32px, 32px);
235 }
236
237 .webconsole-msg-output > .webconsole-msg-icon-container > .webconsole-msg-icon {
238   -moz-image-region: rect(24px, 48px, 32px, 40px);
239 }
240
241 .webconsole-close-button {
242   border: none;
243   padding: 3px;
244   list-style-image: url("chrome://global/skin/icons/close.png");
245   -moz-image-region: rect(0, 16px, 16px, 0);
246   -moz-appearance: none;
247 }
248
249 .webconsole-close-button:hover {
250   -moz-image-region: rect(0, 32px, 16px, 16px);
251 }
252
253 .webconsole-close-button:hover:active {
254   -moz-image-region: rect(0, 48px, 16px, 32px);
255 }
256
257 /* JSTerm Styles */
258
259 .jsterm-wrapper-node {
260   font-family: monospace; 
261   font-size: 1em;
262   background-color: #000; 
263   border: 1px solid #333; 
264   padding: 0.1em;
265   width: 100%;
266   height: 400px;
267 }
268
269 .jsterm-output-node {
270   width: 100%; 
271   height: 400px; 
272   color: white; 
273   background-color: black; 
274   overflow: auto; 
275   overflow-x: auto; 
276   position: absolute; 
277   -moz-box-direction: reverse;
278 }
279
280 .jsterm-scroll-to-node {
281   height: 1px; width: 1px; position: relative; top: 92%; display: block;
282 }
283
284 .jsterm-input-node,
285 .jsterm-complete-node {
286   border: none;
287   padding: 0 0 0 16px;
288 }
289
290 .jsterm-input-node {
291   background: url("chrome://global/skin/icons/commandline.png") 4px 3px no-repeat;
292 }
293
294 :-moz-any(.jsterm-input-node,
295           .jsterm-complete-node) > .textbox-input-box > .textbox-textarea {
296   overflow-x: hidden;
297 }
298
299 .jsterm-complete-node > .textbox-input-box > .textbox-textarea {
300   color: #808080;
301 }
302
303 .jsterm-output-line {
304   font-size: 1em;
305 }
306
307 .hud-console-filter-toolbar {
308   padding: 1px 0px;
309   -moz-box-align: center;
310 }
311
312 .web-console-panel {
313   -moz-appearance: none;
314   background-color: white;
315 }
316
317 .web-console-panel > .hud-box {
318   height: 100%;
319   width: 100%;
320   background-color: white;
321 }