update both themes for all (toolkit winstripe only actually) change up to 2011-01-23
[themes.git] / LCARStrek / 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: 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 .webconsole-msg-icon {
65   list-style-image: url(chrome://global/skin/icons/webconsole.png);
66   margin: 2px 3px;
67   width: 10px;
68   height: 10px;
69 }
70
71 .webconsole-msg-log > .webconsole-msg-icon-container > .webconsole-msg-icon {
72   visibility: hidden;
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 }
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 .hud-output-node,
108 .jsterm-input-node,
109 .jsterm-complete-node {
110   font: 12px Consolas, Lucida Console, monospace;
111 }
112
113 .hud-output-node {
114   -moz-appearance: none;
115   border-bottom: 1px solid #9C9CFF;
116   border-top: 1px solid #9C9CFF;
117   margin: 0;
118 }
119
120 .hud-filtered-by-type,
121 .hud-filtered-by-string {
122   display: none;
123 }
124
125 .webconsole-clear-console-button > .toolbarbutton-icon {
126   display: none;
127 }
128
129   -moz-box-orient: horizontal;
130   list-style-image: url("chrome://global/skin/icons/webconsole.png");
131 }
132
133 /* Network styles */
134 .webconsole-filter-button[category="net"] {
135   -moz-image-region: rect(0, 40px, 10px, 30px);
136 }
137
138 .webconsole-msg-network > .webconsole-msg-icon-container {
139   -moz-border-start: solid #000 6px;
140 }
141
142 .webconsole-msg-network.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
143   -moz-image-region: rect(0, 10px, 10px, 0);
144 }
145
146 /* CSS styles */
147 .webconsole-filter-button[category="css"] {
148   -moz-image-region: rect(10px, 40px, 20px, 30px);
149 }
150
151 .webconsole-msg-cssparser > .webconsole-msg-icon-container {
152   -moz-border-start: solid #00b6f0 6px;
153 }
154
155 .webconsole-msg-cssparser.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
156   -moz-image-region: rect(10px, 10px, 20px, 0);
157 }
158
159 .webconsole-msg-cssparser.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
160   -moz-image-region: rect(10px, 20px, 20px, 10px);
161 }
162
163 /* JS styles */
164 .webconsole-filter-button[category="js"] {
165   -moz-image-region: rect(20px, 40px, 30px, 30px);
166 }
167
168 .webconsole-msg-exception > .webconsole-msg-icon-container {
169   -moz-border-start: solid #fb9500 6px;
170 }
171
172 .webconsole-msg-exception.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
173   -moz-image-region: rect(20px, 10px, 30px, 0);
174 }
175
176 .webconsole-msg-exception.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
177   -moz-image-region: rect(20px, 20px, 30px, 10px);
178 }
179
180 /* Web Developer styles */
181 .webconsole-filter-button[category="webdev"] {
182   -moz-image-region: rect(30px, 40px, 40px, 30px);
183 }
184
185 .webconsole-msg-console > .webconsole-msg-icon-container {
186   -moz-border-start: solid #cbcbcb 6px;
187 }
188
189 .webconsole-msg-console.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon,
190 .webconsole-msg-output.webconsole-msg-error > .webconsole-msg-icon-container > .webconsole-msg-icon {
191   -moz-image-region: rect(30px, 10px, 40px, 0);
192 }
193
194 .webconsole-msg-console.webconsole-msg-warn > .webconsole-msg-icon-container > .webconsole-msg-icon {
195   -moz-image-region: rect(30px, 20px, 40px, 10px);
196 }
197
198 .webconsole-msg-console.webconsole-msg-info > .webconsole-msg-icon-container > .webconsole-msg-icon {
199   -moz-image-region: rect(30px, 30px, 40px, 20px);
200 }
201
202 /* Input and output styles */
203 .webconsole-msg-input > .webconsole-msg-icon-container,
204 .webconsole-msg-output > .webconsole-msg-icon-container {
205   border-left: solid #808080 6px;
206 }
207
208 .webconsole-close-button {
209   border: none;
210   padding: 3px;
211   list-style-image: url("chrome://global/skin/icons/close.png");
212   -moz-image-region: rect(0, 16px, 16px, 0);
213   -moz-appearance: none;
214 }
215
216 .webconsole-close-button:hover {
217   -moz-image-region: rect(0, 32px, 16px, 16px);
218 }
219
220 .webconsole-close-button:hover:active {
221   -moz-image-region: rect(0, 48px, 16px, 32px);
222 }
223
224 /* JSTerm Styles */
225
226 .jsterm-wrapper-node {
227   font-family: monospace; 
228   font-size: 1em;
229   background-color: #000; 
230   border: 1px solid #333; 
231   padding: 0.1em;
232   width: 100%;
233   height: 400px;
234 }
235
236 .jsterm-output-node {
237   width: 100%; 
238   height: 400px; 
239   color: white; 
240   background-color: black; 
241   overflow: auto; 
242   overflow-x: auto; 
243   position: absolute; 
244   -moz-box-direction: reverse;
245 }
246
247 .jsterm-scroll-to-node {
248   height: 1px; width: 1px; position: relative; top: 92%; display: block;
249 }
250
251 .jsterm-input-node,
252 .jsterm-complete-node {
253   border: none;
254   padding: 0 0 0 16px;
255 }
256
257 .jsterm-input-node {
258   background: url("chrome://global/skin/icons/commandline.png") 4px 3px no-repeat;
259 }
260
261 :-moz-any(.jsterm-input-node,
262           .jsterm-complete-node) > .textbox-input-box > .textbox-textarea {
263   overflow-x: hidden;
264 }
265
266 .jsterm-complete-node > .textbox-input-box > .textbox-textarea {
267   color: #8050B0;
268 }
269
270 .jsterm-output-line {
271   font-size: 1em;
272 }
273
274 .hud-console-filter-toolbar {
275   padding: 1px 0px;
276   -moz-box-align: center;
277 }