sync both themes with suite classic changes in SeaMonkey 2.21
[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
c4460289
RK
105.hidden-message {
106 display: block;
107 visibility: hidden;
108 height: 0;
109 overflow: hidden;
110}
111
c29b709d 112/* WebConsole colored drops */
941d657f 113
ed1a91c6 114.webconsole-filter-button[checked] {
c29b709d 115 /* color: white !important; */
72a6fd39
RK
116}
117
c29b709d
RK
118.webconsole-filter-button > .toolbarbutton-menubutton-button:before {
119 content: "";
120 display: inline-block;
121 height: 8px;
122 width: 8px;
123 border-radius: 50%;
124 margin-left: 5px;
125 border-width: 1px;
126 border-style: solid;
e0b5363a
RK
127}
128
129.webconsole-filter-button menuitem {
130 -moz-image-region: auto;
131}
132
133.hud-filter-box {
134 margin-top: 0;
135 margin-bottom: 0;
904e5040
RK
136}
137
8a933f1e 138/* Network styles */
c29b709d 139.webconsole-filter-button[category="net"] > .toolbarbutton-menubutton-button:before {
884ab557 140 background-image: linear-gradient(#BF9B00, #7F6700);
c29b709d 141 border-color: #FFCF00;
72a6fd39
RK
142}
143
8a933f1e 144.webconsole-msg-network > .webconsole-msg-icon-container {
884ab557 145 -moz-border-start: solid #FFCF00 6px;
8a933f1e
RK
146}
147
a42b27e7 148.webconsole-msg-network.webconsole-msg-error {
a0885fa2 149 -moz-image-region: rect(0, 16px, 8px, 8px);
8a933f1e
RK
150}
151
152/* CSS styles */
c29b709d 153.webconsole-filter-button[category="css"] > .toolbarbutton-menubutton-button:before {
884ab557 154 background-image: linear-gradient(#7575BF, #4E4E7F);
c29b709d 155 border-color: #9C9CFF;
72a6fd39
RK
156}
157
8a933f1e 158.webconsole-msg-cssparser > .webconsole-msg-icon-container {
884ab557 159 -moz-border-start: solid #9C9CFF 6px;
8a933f1e
RK
160}
161
a42b27e7 162.webconsole-msg-cssparser.webconsole-msg-error {
a0885fa2 163 -moz-image-region: rect(8px, 16px, 16px, 8px);
8a933f1e
RK
164}
165
a42b27e7 166.webconsole-msg-cssparser.webconsole-msg-warn {
a0885fa2 167 -moz-image-region: rect(8px, 24px, 16px, 16px);
8a933f1e
RK
168}
169
170/* JS styles */
884ab557
RK
171.webconsole-filter-button[category="js"] > .toolbarbutton-menubutton-button:before {
172 background-image: linear-gradient(#BF7700, #7F4F00);
c29b709d 173 border-color: #FF9F00;
72a6fd39
RK
174}
175
8a933f1e 176.webconsole-msg-exception > .webconsole-msg-icon-container {
884ab557 177 -moz-border-start: solid #FF9F00 6px;
8a933f1e
RK
178}
179
a42b27e7 180.webconsole-msg-exception.webconsole-msg-error {
a0885fa2 181 -moz-image-region: rect(16px, 16px, 24px, 8px);
8a933f1e
RK
182}
183
a42b27e7 184.webconsole-msg-exception.webconsole-msg-warn {
a0885fa2 185 -moz-image-region: rect(16px, 24px, 24px, 16px);
8a933f1e
RK
186}
187
188/* Web Developer styles */
c29b709d 189.webconsole-filter-button[category="logging"] > .toolbarbutton-menubutton-button:before {
884ab557 190 background-image: linear-gradient(#5F3B83, #3F2756);
c29b709d 191 border-color: #8050B0;
72a6fd39
RK
192}
193
8a933f1e 194.webconsole-msg-console > .webconsole-msg-icon-container {
884ab557 195 -moz-border-start: solid #8050B0 6px;
8a933f1e
RK
196}
197
a42b27e7
RK
198.webconsole-msg-console.webconsole-msg-error,
199.webconsole-msg-output.webconsole-msg-error {
a0885fa2 200 -moz-image-region: rect(24px, 16px, 32px, 8px);
8a933f1e
RK
201}
202
a42b27e7 203.webconsole-msg-console.webconsole-msg-warn {
a0885fa2 204 -moz-image-region: rect(24px, 24px, 32px, 16px);
8a933f1e
RK
205}
206
a42b27e7 207.webconsole-msg-console.webconsole-msg-info {
a0885fa2 208 -moz-image-region: rect(24px, 32px, 32px, 24px);
8a933f1e
RK
209}
210
889649fd
RK
211webconsole-mixed-content {
212 color: #FF0000;
213}
214
215.webconsole-mixed-content-link {
216 color: #9C9CFF;
217 margin: 0;
218}
219
8a933f1e
RK
220/* Input and output styles */
221.webconsole-msg-input > .webconsole-msg-icon-container,
222.webconsole-msg-output > .webconsole-msg-icon-container {
223 border-left: solid #808080 6px;
224}
225
a42b27e7 226.webconsole-msg-input {
a0885fa2
RK
227 -moz-image-region: rect(24px, 40px, 32px, 32px);
228}
229
a42b27e7 230.webconsole-msg-output {
a0885fa2
RK
231 -moz-image-region: rect(24px, 48px, 32px, 40px);
232}
c29b709d 233/*
72a6fd39
RK
234.webconsole-close-button {
235 border: none;
e0b5363a
RK
236 padding-top: 4px;
237 padding-bottom: 5px;
238 list-style-image: url("chrome://global/skin/icons/close-button.gif");
72a6fd39
RK
239}
240
e0b5363a 241.webconsole-close-button:hover,
72a6fd39 242.webconsole-close-button:hover:active {
e0b5363a 243 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
72a6fd39 244}
c29b709d 245*/
f0c3317f
RK
246/* JSTerm Styles */
247
e1313d59
RK
248.jsterm-input-node,
249.jsterm-complete-node {
c54ac991
RK
250 -moz-padding-start: 16px;
251 margin: 3px 0 0 0;
e1313d59
RK
252}
253
254.jsterm-input-node {
c54ac991 255 background: url("chrome://browser/skin/devtools/commandline.png") 4px 3px no-repeat;
f0c3317f
RK
256}
257
e1313d59
RK
258:-moz-any(.jsterm-input-node,
259 .jsterm-complete-node) > .textbox-input-box > .textbox-textarea {
941d657f 260 overflow-x: hidden;
f0c3317f
RK
261}
262
e1313d59
RK
263.jsterm-complete-node > .textbox-input-box > .textbox-textarea {
264 color: #8050B0;
265}
266
c29b709d 267/* Filter */
f993773d 268
c29b709d
RK
269/*
270 * This hardcoded width likely due to a toolkit Windows specific bug.
271 * See http://hg.mozilla.org/mozilla-central/annotate/f38d6df93cad/toolkit/themes/winstripe/global/textbox-aero.css#l7
272 */
f993773d 273
c29b709d
RK
274.hud-filter-box {
275 width: 200px;
e0b5363a 276}
ed1a91c6
RK
277
278.webconsole-msg-inspector iframe {
279 height: 7em;
280 margin-bottom: 15px;
281 -moz-margin-end: 15px;
282 border-radius: 4px;
283}
284
285#webconsole-sidebar > tabs {
286 height: 0;
287 border: none;
288}
289
290.webconsole-msg-security > .webconsole-msg-icon-container {
291 -moz-border-start: solid #FF0000 6px;
292}
293
294.webconsole-filter-button[category="security"] > .toolbarbutton-menubutton-button:before {
295 background-color: #FF0000;
296 border-color: #FFCF00;
297}