first part of sync for LCARStrek with browser windows theme in Firefox 23 cycle
[themes.git] / LCARStrek / browser / devtools / webconsole.css
CommitLineData
9099c61d
RK
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/. */
f0c3317f 4
c54ac991
RK
5window {
6 padding: 0;
7}
8
8a933f1e
RK
9/* General output styles */
10
11.webconsole-timestamp {
12 color: #8050B0;
13 margin-top: 0;
14 margin-bottom: 0;
c29b709d 15 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
8a933f1e
RK
16}
17
a42b27e7 18.hud-msg-node {
f128e38f 19 list-style-image: url("chrome://browser/skin/devtools/webconsole.png");
a0885fa2 20 -moz-image-region: rect(0, 1px, 0, 0);
a42b27e7
RK
21}
22
23.webconsole-msg-icon {
a0885fa2
RK
24 margin: 3px 4px;
25 width: 8px;
26 height: 8px;
f0c3317f
RK
27}
28
29.hud-output-node div {
30 -moz-user-select: text;
3327253e 31 white-space: pre-wrap;
941d657f 32 -moz-user-focus: normal;
f0c3317f
RK
33}
34
569543b3 35.hud-clickable {
9162a092 36 cursor: pointer;
569543b3
RK
37 text-decoration: underline;
38}
39
8a933f1e
RK
40.webconsole-msg-body {
41 margin-top: 0;
42 margin-bottom: 3px;
43 -moz-margin-start: 3px;
44 -moz-margin-end: 6px;
a42b27e7 45 white-space: pre-wrap;
c29b709d 46 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
f0c3317f
RK
47}
48
a0885fa2
RK
49.webconsole-msg-body-piece {
50 margin: 0;
51}
52
53.webconsole-msg-url {
54 margin: 0 6px;
55}
56
38b75e2e
RK
57/* Repeated messages */
58.webconsole-msg-repeat {
59 margin: 2px 0;
60 padding-left: 4px;
61 padding-right: 4px;
38b75e2e
RK
62 color: #000000;
63 background-color: #FF0000;
64 border-radius: 40px;
65 /* font: message-box; */
c29b709d 66 font-size: 0.9em;
38b75e2e
RK
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
8a933f1e
RK
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;
f0c3317f
RK
82}
83
8a933f1e
RK
84.hud-msg-node[selected="true"] > .webconsole-timestamp,
85.hud-msg-node[selected="true"] > .webconsole-location {
86 color: inherit;
f0c3317f
RK
87}
88
8a933f1e
RK
89.jsterm-input-node,
90.jsterm-complete-node {
c29b709d 91 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
f0c3317f
RK
92}
93
94.hud-output-node {
8a933f1e
RK
95 -moz-appearance: none;
96 border-bottom: 1px solid #9C9CFF;
8a933f1e 97 margin: 0;
f0c3317f
RK
98}
99
9162a092
RK
100.hud-filtered-by-type,
101.hud-filtered-by-string {
706c344c
RK
102 display: none;
103}
104
c29b709d 105/* WebConsole colored drops */
941d657f 106
ed1a91c6 107.webconsole-filter-button[checked] {
c29b709d 108 /* color: white !important; */
72a6fd39
RK
109}
110
c29b709d
RK
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;
e0b5363a
RK
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;
904e5040
RK
129}
130
8a933f1e 131/* Network styles */
c29b709d 132.webconsole-filter-button[category="net"] > .toolbarbutton-menubutton-button:before {
884ab557 133 background-image: linear-gradient(#BF9B00, #7F6700);
c29b709d 134 border-color: #FFCF00;
72a6fd39
RK
135}
136
8a933f1e 137.webconsole-msg-network > .webconsole-msg-icon-container {
884ab557 138 -moz-border-start: solid #FFCF00 6px;
8a933f1e
RK
139}
140
a42b27e7 141.webconsole-msg-network.webconsole-msg-error {
a0885fa2 142 -moz-image-region: rect(0, 16px, 8px, 8px);
8a933f1e
RK
143}
144
145/* CSS styles */
c29b709d 146.webconsole-filter-button[category="css"] > .toolbarbutton-menubutton-button:before {
884ab557 147 background-image: linear-gradient(#7575BF, #4E4E7F);
c29b709d 148 border-color: #9C9CFF;
72a6fd39
RK
149}
150
8a933f1e 151.webconsole-msg-cssparser > .webconsole-msg-icon-container {
884ab557 152 -moz-border-start: solid #9C9CFF 6px;
8a933f1e
RK
153}
154
a42b27e7 155.webconsole-msg-cssparser.webconsole-msg-error {
a0885fa2 156 -moz-image-region: rect(8px, 16px, 16px, 8px);
8a933f1e
RK
157}
158
a42b27e7 159.webconsole-msg-cssparser.webconsole-msg-warn {
a0885fa2 160 -moz-image-region: rect(8px, 24px, 16px, 16px);
8a933f1e
RK
161}
162
163/* JS styles */
884ab557
RK
164.webconsole-filter-button[category="js"] > .toolbarbutton-menubutton-button:before {
165 background-image: linear-gradient(#BF7700, #7F4F00);
c29b709d 166 border-color: #FF9F00;
72a6fd39
RK
167}
168
8a933f1e 169.webconsole-msg-exception > .webconsole-msg-icon-container {
884ab557 170 -moz-border-start: solid #FF9F00 6px;
8a933f1e
RK
171}
172
a42b27e7 173.webconsole-msg-exception.webconsole-msg-error {
a0885fa2 174 -moz-image-region: rect(16px, 16px, 24px, 8px);
8a933f1e
RK
175}
176
a42b27e7 177.webconsole-msg-exception.webconsole-msg-warn {
a0885fa2 178 -moz-image-region: rect(16px, 24px, 24px, 16px);
8a933f1e
RK
179}
180
181/* Web Developer styles */
c29b709d 182.webconsole-filter-button[category="logging"] > .toolbarbutton-menubutton-button:before {
884ab557 183 background-image: linear-gradient(#5F3B83, #3F2756);
c29b709d 184 border-color: #8050B0;
72a6fd39
RK
185}
186
8a933f1e 187.webconsole-msg-console > .webconsole-msg-icon-container {
884ab557 188 -moz-border-start: solid #8050B0 6px;
8a933f1e
RK
189}
190
a42b27e7
RK
191.webconsole-msg-console.webconsole-msg-error,
192.webconsole-msg-output.webconsole-msg-error {
a0885fa2 193 -moz-image-region: rect(24px, 16px, 32px, 8px);
8a933f1e
RK
194}
195
a42b27e7 196.webconsole-msg-console.webconsole-msg-warn {
a0885fa2 197 -moz-image-region: rect(24px, 24px, 32px, 16px);
8a933f1e
RK
198}
199
a42b27e7 200.webconsole-msg-console.webconsole-msg-info {
a0885fa2 201 -moz-image-region: rect(24px, 32px, 32px, 24px);
8a933f1e
RK
202}
203
889649fd
RK
204webconsole-mixed-content {
205 color: #FF0000;
206}
207
208.webconsole-mixed-content-link {
209 color: #9C9CFF;
210 margin: 0;
211}
212
8a933f1e
RK
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
a42b27e7 219.webconsole-msg-input {
a0885fa2
RK
220 -moz-image-region: rect(24px, 40px, 32px, 32px);
221}
222
a42b27e7 223.webconsole-msg-output {
a0885fa2
RK
224 -moz-image-region: rect(24px, 48px, 32px, 40px);
225}
c29b709d 226/*
72a6fd39
RK
227.webconsole-close-button {
228 border: none;
e0b5363a
RK
229 padding-top: 4px;
230 padding-bottom: 5px;
231 list-style-image: url("chrome://global/skin/icons/close-button.gif");
72a6fd39
RK
232}
233
e0b5363a 234.webconsole-close-button:hover,
72a6fd39 235.webconsole-close-button:hover:active {
e0b5363a 236 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
72a6fd39 237}
c29b709d 238*/
f0c3317f
RK
239/* JSTerm Styles */
240
e1313d59
RK
241.jsterm-input-node,
242.jsterm-complete-node {
c54ac991
RK
243 -moz-padding-start: 16px;
244 margin: 3px 0 0 0;
e1313d59
RK
245}
246
247.jsterm-input-node {
c54ac991 248 background: url("chrome://browser/skin/devtools/commandline.png") 4px 3px no-repeat;
f0c3317f
RK
249}
250
e1313d59
RK
251:-moz-any(.jsterm-input-node,
252 .jsterm-complete-node) > .textbox-input-box > .textbox-textarea {
941d657f 253 overflow-x: hidden;
f0c3317f
RK
254}
255
e1313d59
RK
256.jsterm-complete-node > .textbox-input-box > .textbox-textarea {
257 color: #8050B0;
258}
259
c29b709d 260/* Filter */
f993773d 261
c29b709d
RK
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 */
f993773d 266
c29b709d
RK
267.hud-filter-box {
268 width: 200px;
e0b5363a 269}
ed1a91c6
RK
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}