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/. */
9 /* General output styles */
11 .webconsole-timestamp {
15 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
19 list-style-image: url("chrome://browser/skin/devtools/webconsole.png");
20 -moz-image-region: rect(0, 1px, 0, 0);
23 .webconsole-msg-icon {
29 .hud-output-node div {
30 -moz-user-select: text;
31 white-space: pre-wrap;
32 -moz-user-focus: normal;
37 text-decoration: underline;
40 .webconsole-msg-body {
43 -moz-margin-start: 3px;
45 white-space: pre-wrap;
46 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
49 .webconsole-msg-body-piece {
57 /* Repeated messages */
58 .webconsole-msg-repeat {
63 background-color: #FF0000;
65 /* font: message-box; */
70 /* TODO move this and other functional rules to content - bug 635359 */
71 .webconsole-msg-repeat[value="1"] {
75 .webconsole-location {
84 .hud-msg-node[selected="true"] > .webconsole-timestamp,
85 .hud-msg-node[selected="true"] > .webconsole-location {
90 .jsterm-complete-node {
91 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
95 -moz-appearance: none;
96 border-bottom: 1px solid #9C9CFF;
100 .hud-filtered-by-type,
101 .hud-filtered-by-string {
112 /* WebConsole colored drops */
114 .webconsole-filter-button[checked] {
115 /* color: white !important; */
118 .webconsole-filter-button > .toolbarbutton-menubutton-button:before {
120 display: inline-block;
129 .webconsole-filter-button menuitem {
130 -moz-image-region: auto;
139 .webconsole-filter-button[category="net"] > .toolbarbutton-menubutton-button:before {
140 background-image: linear-gradient(#BF9B00, #7F6700);
141 border-color: #FFCF00;
144 .webconsole-msg-network > .webconsole-msg-icon-container {
145 -moz-border-start: solid #FFCF00 6px;
148 .webconsole-msg-network.webconsole-msg-error {
149 -moz-image-region: rect(0, 16px, 8px, 8px);
153 .webconsole-filter-button[category="css"] > .toolbarbutton-menubutton-button:before {
154 background-image: linear-gradient(#7575BF, #4E4E7F);
155 border-color: #9C9CFF;
158 .webconsole-msg-cssparser > .webconsole-msg-icon-container {
159 -moz-border-start: solid #9C9CFF 6px;
162 .webconsole-msg-cssparser.webconsole-msg-error {
163 -moz-image-region: rect(8px, 16px, 16px, 8px);
166 .webconsole-msg-cssparser.webconsole-msg-warn {
167 -moz-image-region: rect(8px, 24px, 16px, 16px);
171 .webconsole-filter-button[category="js"] > .toolbarbutton-menubutton-button:before {
172 background-image: linear-gradient(#BF7700, #7F4F00);
173 border-color: #FF9F00;
176 .webconsole-msg-exception > .webconsole-msg-icon-container {
177 -moz-border-start: solid #FF9F00 6px;
180 .webconsole-msg-exception.webconsole-msg-error {
181 -moz-image-region: rect(16px, 16px, 24px, 8px);
184 .webconsole-msg-exception.webconsole-msg-warn {
185 -moz-image-region: rect(16px, 24px, 24px, 16px);
188 /* Web Developer styles */
189 .webconsole-filter-button[category="logging"] > .toolbarbutton-menubutton-button:before {
190 background-image: linear-gradient(#5F3B83, #3F2756);
191 border-color: #8050B0;
194 .webconsole-msg-console > .webconsole-msg-icon-container {
195 -moz-border-start: solid #8050B0 6px;
198 .webconsole-msg-console.webconsole-msg-error,
199 .webconsole-msg-output.webconsole-msg-error {
200 -moz-image-region: rect(24px, 16px, 32px, 8px);
203 .webconsole-msg-console.webconsole-msg-warn {
204 -moz-image-region: rect(24px, 24px, 32px, 16px);
207 .webconsole-msg-console.webconsole-msg-info {
208 -moz-image-region: rect(24px, 32px, 32px, 24px);
211 webconsole-mixed-content {
215 .webconsole-mixed-content-link {
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;
226 .webconsole-msg-input {
227 -moz-image-region: rect(24px, 40px, 32px, 32px);
230 .webconsole-msg-output {
231 -moz-image-region: rect(24px, 48px, 32px, 40px);
234 .webconsole-close-button {
238 list-style-image: url("chrome://global/skin/icons/close-button.gif");
241 .webconsole-close-button:hover,
242 .webconsole-close-button:hover:active {
243 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
249 .jsterm-complete-node {
250 -moz-padding-start: 16px;
255 background: url("chrome://browser/skin/devtools/commandline.png") 4px 3px no-repeat;
258 :-moz-any(.jsterm-input-node,
259 .jsterm-complete-node) > .textbox-input-box > .textbox-textarea {
263 .jsterm-complete-node > .textbox-input-box > .textbox-textarea {
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
278 .webconsole-msg-inspector iframe {
281 -moz-margin-end: 15px;
285 #webconsole-sidebar > tabs {
290 .webconsole-msg-security > .webconsole-msg-icon-container {
291 -moz-border-start: solid #FF0000 6px;
294 .webconsole-filter-button[category="security"] > .toolbarbutton-menubutton-button:before {
295 background-color: #FF0000;
296 border-color: #FFCF00;