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/. */
12 .jsterm-complete-node {
13 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
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
25 /* === webconsole.inc.css === */
27 /* General output styles */
29 .webconsole-timestamp {
36 list-style-image: url("chrome://browser/skin/devtools/webconsole.png");
37 -moz-image-region: rect(0, 1px, 0, 0);
40 .webconsole-msg-icon {
48 text-decoration: underline;
51 .webconsole-msg-body {
54 -moz-margin-start: 3px;
56 white-space: pre-wrap;
57 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
60 .webconsole-msg-body-piece {
68 /* Repeated messages */
69 .webconsole-msg-repeat {
74 background-color: #FF0000;
76 /* font: message-box; */
81 /* TODO move this and other functional rules to content - bug 635359 */
82 .webconsole-msg-repeat[value="1"] {
86 .webconsole-location {
95 .webconsole-mixed-content {
99 .webconsole-mixed-content-link {
104 .hud-msg-node[selected="true"] > .webconsole-timestamp,
105 .hud-msg-node[selected="true"] > .webconsole-location {
110 -moz-appearance: none;
111 border-bottom: 1px solid #9C9CFF;
115 .hud-filtered-by-type,
116 .hud-filtered-by-string {
127 /* WebConsole colored drops */
129 .webconsole-filter-button {
130 -moz-user-focus: normal;
133 .webconsole-filter-button[checked] {
134 /* color: white !important; */
137 .webconsole-filter-button > .toolbarbutton-menubutton-button:before {
139 display: inline-block;
148 .webconsole-filter-button menuitem {
149 -moz-image-region: auto;
158 .webconsole-filter-button[category="net"] > .toolbarbutton-menubutton-button:before {
159 background-image: linear-gradient(#BF9B00, #7F6700);
160 border-color: #FFCF00;
163 .webconsole-msg-network > .webconsole-msg-icon-container {
164 -moz-border-start: solid #FFCF00 6px;
167 .webconsole-msg-network.webconsole-msg-error {
168 -moz-image-region: rect(0, 16px, 8px, 8px);
172 .webconsole-filter-button[category="css"] > .toolbarbutton-menubutton-button:before {
173 background-image: linear-gradient(#7575BF, #4E4E7F);
174 border-color: #9C9CFF;
177 .webconsole-msg-cssparser > .webconsole-msg-icon-container {
178 -moz-border-start: solid #9C9CFF 6px;
181 .webconsole-msg-cssparser.webconsole-msg-error {
182 -moz-image-region: rect(8px, 16px, 16px, 8px);
185 .webconsole-msg-cssparser.webconsole-msg-warn {
186 -moz-image-region: rect(8px, 24px, 16px, 16px);
190 .webconsole-filter-button[category="js"] > .toolbarbutton-menubutton-button:before {
191 background-image: linear-gradient(#BF7700, #7F4F00);
192 border-color: #FF9F00;
195 .webconsole-msg-exception > .webconsole-msg-icon-container {
196 -moz-border-start: solid #FF9F00 6px;
199 .webconsole-msg-exception.webconsole-msg-error {
200 -moz-image-region: rect(16px, 16px, 24px, 8px);
203 .webconsole-msg-exception.webconsole-msg-warn {
204 -moz-image-region: rect(16px, 24px, 24px, 16px);
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;
213 .webconsole-msg-console > .webconsole-msg-icon-container {
214 -moz-border-start: solid #8050B0 6px;
217 .webconsole-msg-console.webconsole-msg-error,
218 .webconsole-msg-output.webconsole-msg-error {
219 -moz-image-region: rect(24px, 16px, 32px, 8px);
222 .webconsole-msg-console.webconsole-msg-warn {
223 -moz-image-region: rect(24px, 24px, 32px, 16px);
226 .webconsole-msg-console.webconsole-msg-info {
227 -moz-image-region: rect(24px, 32px, 32px, 24px);
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;
236 .webconsole-msg-input {
237 -moz-image-region: rect(24px, 40px, 32px, 32px);
240 .webconsole-msg-output {
241 -moz-image-region: rect(24px, 48px, 32px, 40px);
247 .jsterm-complete-node {
248 -moz-padding-start: 16px;
253 background: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 32, 16, 16) no-repeat;
254 background-position: 0%;
257 :-moz-any(.jsterm-input-node,
258 .jsterm-complete-node) > .textbox-input-box > .textbox-textarea {
262 .jsterm-complete-node > .textbox-input-box > .textbox-textarea {
266 .webconsole-msg-inspector iframe {
269 -moz-margin-end: 15px;
273 #webconsole-sidebar > tabs {
278 /* Security styles */
280 .webconsole-msg-security > .webconsole-msg-icon-container {
281 -moz-border-start: solid #FF0000 6px;
284 .webconsole-filter-button[category="security"] > .toolbarbutton-menubutton-button:before {
285 background-color: #FF0000;
286 border-color: #FFCF00;
289 .webconsole-msg-security.webconsole-msg-error {
290 -moz-image-region: rect(32px, 16px, 40px, 8px);
293 .webconsole-msg-security.webconsole-msg-warn {
294 -moz-image-region: rect(32px, 24px, 40px, 16px);
299 background-color: #A09090;
300 -moz-margin-start: 3px;
301 -moz-margin-end: 6px;
305 .navigation-marker .url {
306 background-color: #000000;
307 -moz-padding-end: 6px;