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