4c4c3c33d654c4e5b752cbb93e8c7a140383ff97
[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 .webconsole-timestamp,
10 .webconsole-msg-body,
11 .jsterm-input-node,
12 .jsterm-complete-node {
13   font-family: "Liberation Mono", Consolas, "Courier New", monospace;
14 }
15
16 /*
17  * This hardcoded width likely due to a toolkit Windows specific bug.
18  * See http://hg.mozilla.org/mozilla-central/annotate/f38d6df93cad/toolkit/themes/winstripe/global/textbox-aero.css#l7
19  */
20
21 .hud-filter-box {
22   width: 200px;
23 }
24
25 /* === webconsole.inc.css === */
26
27 /* General output styles */
28
29 .webconsole-timestamp {
30   color: #8050B0;
31   margin-top: 0;
32   margin-bottom: 0;
33 }
34
35 .hud-msg-node {
36   list-style-image: url("chrome://browser/skin/devtools/webconsole.png");
37   -moz-image-region: rect(0, 1px, 0, 0);
38 }
39
40 .webconsole-msg-icon {
41   margin: 3px 4px;
42   width: 8px;
43   height: 8px;
44 }
45
46 .hud-clickable {
47   cursor: pointer;
48   text-decoration: underline;
49 }
50
51 .webconsole-msg-body {
52   margin-top: 0;
53   margin-bottom: 3px;
54   -moz-margin-start: 3px;
55   -moz-margin-end: 6px;
56   white-space: pre-wrap;
57   font-family: "Liberation Mono", Consolas, "Courier New", monospace;
58 }
59
60 .webconsole-msg-body-piece {
61   margin: 0;
62 }
63
64 .webconsole-msg-url {
65   margin: 0 6px;
66 }
67
68 /* Repeated messages */
69 .webconsole-msg-repeat {
70   margin: 2px 0;
71   padding-left: 4px;
72   padding-right: 4px;
73   color: #000000;
74   background-color: #FF0000;
75   border-radius: 40px;
76   /* font: message-box; */
77   font-size: 0.9em;
78   font-weight: 600;
79 }
80
81 /* TODO move this and other functional rules to content - bug 635359 */
82 .webconsole-msg-repeat[value="1"] {
83   display: none;
84 }
85
86 .webconsole-location {
87   margin-top: 0;
88   margin-bottom: 0;
89   -moz-margin-start: 0;
90   -moz-margin-end: 6px;
91   width: 10em;
92   text-align: end;
93 }
94
95 .webconsole-mixed-content {
96   color: #FF0000;
97 }
98
99 .webconsole-mixed-content-link {
100   color: #3333FF;
101   margin: 0;
102 }
103
104 .hud-msg-node[selected="true"] > .webconsole-timestamp,
105 .hud-msg-node[selected="true"] > .webconsole-location {
106   color: inherit;
107 }
108
109 .hud-output-node {
110   -moz-appearance: none;
111   border-bottom: 1px solid #9C9CFF;
112   margin: 0;
113 }
114
115 .hud-filtered-by-type,
116 .hud-filtered-by-string {
117   display: none;
118 }
119
120 .hidden-message {
121   display: block;
122   visibility: hidden;
123   height: 0;
124   overflow: hidden;
125 }
126
127 /* WebConsole colored drops */
128
129 .webconsole-filter-button {
130   -moz-user-focus: normal;
131 }
132
133 .webconsole-filter-button[checked] {
134   /* color: white !important; */
135 }
136
137 .webconsole-filter-button > .toolbarbutton-menubutton-button:before {
138   content: "";
139   display: inline-block;
140   height: 8px;
141   width: 8px;
142   border-radius: 50%;
143   margin-left: 5px;
144   border-width: 1px;
145   border-style: solid;
146 }
147
148 .webconsole-filter-button menuitem {
149   -moz-image-region: auto;
150 }
151
152 .hud-filter-box {
153   margin-top: 0;
154   margin-bottom: 0;
155 }
156
157 /* Network styles */
158 .webconsole-filter-button[category="net"] > .toolbarbutton-menubutton-button:before {
159   background-image: linear-gradient(#BF9B00, #7F6700);
160   border-color: #FFCF00;
161 }
162
163 .webconsole-msg-network > .webconsole-msg-icon-container {
164   -moz-border-start: solid #FFCF00 6px;
165 }
166
167 .webconsole-msg-network.webconsole-msg-error {
168   -moz-image-region: rect(0, 16px, 8px, 8px);
169 }
170
171 /* CSS styles */
172 .webconsole-filter-button[category="css"] > .toolbarbutton-menubutton-button:before {
173   background-image: linear-gradient(#7575BF, #4E4E7F);
174   border-color: #9C9CFF;
175 }
176
177 .webconsole-msg-cssparser > .webconsole-msg-icon-container {
178   -moz-border-start: solid #9C9CFF 6px;
179 }
180
181 .webconsole-msg-cssparser.webconsole-msg-error {
182   -moz-image-region: rect(8px, 16px, 16px, 8px);
183 }
184
185 .webconsole-msg-cssparser.webconsole-msg-warn {
186   -moz-image-region: rect(8px, 24px, 16px, 16px);
187 }
188
189 /* JS styles */
190 .webconsole-filter-button[category="js"] > .toolbarbutton-menubutton-button:before {
191    background-image: linear-gradient(#BF7700, #7F4F00);
192    border-color: #FF9F00;
193 }
194
195 .webconsole-msg-exception > .webconsole-msg-icon-container {
196   -moz-border-start: solid #FF9F00 6px;
197 }
198
199 .webconsole-msg-exception.webconsole-msg-error {
200   -moz-image-region: rect(16px, 16px, 24px, 8px);
201 }
202
203 .webconsole-msg-exception.webconsole-msg-warn {
204   -moz-image-region: rect(16px, 24px, 24px, 16px);
205 }
206
207 /* Web Developer styles */
208 .webconsole-filter-button[category="logging"] > .toolbarbutton-menubutton-button:before {
209    background-image: linear-gradient(#5F3B83, #3F2756);
210    border-color: #8050B0;
211 }
212
213 .webconsole-msg-console > .webconsole-msg-icon-container {
214   -moz-border-start: solid #8050B0 6px;
215 }
216
217 .webconsole-msg-console.webconsole-msg-error,
218 .webconsole-msg-output.webconsole-msg-error {
219   -moz-image-region: rect(24px, 16px, 32px, 8px);
220 }
221
222 .webconsole-msg-console.webconsole-msg-warn {
223   -moz-image-region: rect(24px, 24px, 32px, 16px);
224 }
225
226 .webconsole-msg-console.webconsole-msg-info {
227   -moz-image-region: rect(24px, 32px, 32px, 24px);
228 }
229
230 /* Input and output styles */
231 .webconsole-msg-input > .webconsole-msg-icon-container,
232 .webconsole-msg-output > .webconsole-msg-icon-container {
233   border-left: solid #808080 6px;
234 }
235
236 .webconsole-msg-input {
237   -moz-image-region: rect(24px, 40px, 32px, 32px);
238 }
239
240 .webconsole-msg-output {
241   -moz-image-region: rect(24px, 48px, 32px, 40px);
242 }
243
244 /* JSTerm Styles */
245
246 .jsterm-input-node,
247 .jsterm-complete-node {
248   -moz-padding-start: 16px;
249   margin: 3px 0 0 0;
250 }
251
252 .jsterm-input-node {
253   background: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 32, 16, 16) no-repeat;
254 }
255
256 :-moz-any(.jsterm-input-node,
257           .jsterm-complete-node) > .textbox-input-box > .textbox-textarea {
258   overflow-x: hidden;
259 }
260
261 .jsterm-complete-node > .textbox-input-box > .textbox-textarea {
262   color: #8050B0;
263 }
264
265 .webconsole-msg-inspector iframe {
266   height: 7em;
267   margin-bottom: 15px;
268   -moz-margin-end: 15px;
269   border-radius: 4px;
270 }
271
272 #webconsole-sidebar > tabs {
273   height: 0;
274   border: none;
275 }
276
277 /* Security styles */
278
279 .webconsole-msg-security > .webconsole-msg-icon-container {
280   -moz-border-start: solid #FF0000 6px;
281 }
282
283 .webconsole-filter-button[category="security"] > .toolbarbutton-menubutton-button:before {
284   background-color: #FF0000;
285   border-color: #FFCF00;
286 }
287
288 .webconsole-msg-security.webconsole-msg-error {
289   -moz-image-region: rect(32px, 16px, 40px, 8px);
290 }
291
292 .webconsole-msg-security.webconsole-msg-warn {
293   -moz-image-region: rect(32px, 24px, 40px, 16px);
294 }