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