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