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/. */
5 /* ===== console.css ====================================================
6 == Styles used by the Error Console window.
7 ======================================================================= */
9 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
12 background-color: #000000;
16 /* ::::: console rows ::::: */
20 border-bottom: 1px solid #FF9F00;
24 border-right: 1px solid #FF9F00;
26 background-color: #9C9CFF;
27 -moz-box-align: start;
30 .console-row-msg > label,
31 .console-row-file > label:first-child {
36 list-style-image: inherit;
43 /* ..... error rows ..... */
48 -moz-padding-start: 3px;
49 -moz-padding-end: 0px;
60 background: url("chrome://global/skin/console/console-error-dash.gif") repeat-x top;
65 background: url("chrome://global/skin/console/console-error-caret.gif") no-repeat top;
68 /* ..... message rows ..... */
70 .console-row[type="message"] {
71 font-family: "Liberation Mono", Consolas, "Courier New", monospace;
74 /* ..... selected state ..... */
76 .console-row[selected="true"] {
77 background-color: #FFCF00;
81 .console-row-code[selected="true"],
82 .console-row-content[selected="true"] > .console-row-file > .console-error-source > .text-link {
83 color: inherit !important;
86 /* ::::: icons ::::: */
88 .console-row[type="error"],
89 .console-row[type="exception"] {
90 list-style-image: url("chrome://global/skin/icons/alert-error.gif");
93 .console-row[type="error"] .console-row-msg,
94 .console-row[type="exception"] .console-row-msg {
98 .console-row[type="warning"] {
99 list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
102 .console-row[type="message"] {
103 list-style-image: url("chrome://global/skin/icons/alert-message.gif");
106 /* ::::: toolbars ::::: */
115 -moz-margin-start: 0;
116 -moz-margin-end: 2px;
125 #ToolbarMode toolbarbutton {
128 /* XXX: don't support icons on those yet
129 padding: 4px !important;
133 toolbar#ToolbarMode toolbarbutton:active,
134 toolbar#ToolbarMode toolbarbutton[checked="true"] {
135 -moz-padding-start: 5px !important;
136 -moz-padding-end: 3px !important;
139 /* XXX: don't support icons on those yet
142 toolbar#ToolbarMode toolbarbutton {
143 list-style-image: url("chrome://global/skin/console/console-toolbar.png");
144 -moz-box-orient: horizontal;
145 padding: 4px !important;
149 -moz-image-region: rect(0px 24px 24px 0px);
152 #Console\:modeAll:hover,
153 #Console\:modeAll[checked="true"] {
154 -moz-image-region: rect(24px 24px 48px 0px);
157 #Console\:modeErrors {
158 -moz-image-region: rect(0px 96px 24px 72px);
161 #Console\:modeErrors:hover,
162 #Console\:modeErrors[checked="true"] {
163 -moz-image-region: rect(24px 96px 48px 72px);
166 #Console\:modeWarnings {
167 -moz-image-region: rect(0px 72px 24px 48px);
170 #Console\:modeWarnings:hover,
171 #Console\:modeWarnings[checked="true"] {
172 -moz-image-region: rect(24px 72px 48px 48px);
175 #Console\:modeMessages {
176 -moz-image-region: rect(0px 48px 24px 24px);
179 #Console\:modeMessages:hover,
180 #Console\:modeMessages[checked="true"] {
181 -moz-image-region: rect(24px 48px 48px 24px);
185 -moz-image-region: rect(0px 120px 24px 96px);
188 #Console\:clear:hover,
189 #Console\:clear[checked="true"] {
190 -moz-image-region: rect(24px 120px 48px 96px);
193 toolbar#ToolbarMode .toolbarbutton-icon {
194 padding: 2px 0 !important;
197 toolbar#ToolbarMode .toolbarbutton-text {
198 -moz-padding-end: 4px;
203 /* ::::: Fix Error Console toolbar button text spacing ::::: */
205 .toolbarbutton-text {
206 -moz-padding-start: 0px;
207 -moz-padding-end: 5px;