1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: NPL 1.1/GPL 2.0/LGPL 2.1
4 * The contents of this file are subject to the Netscape Public License
5 * Version 1.1 (the "License"); you may not use this file except in
6 * compliance with the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/NPL/
9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 * for the specific language governing rights and limitations under the
14 * The Original Code is mozilla.org code.
16 * The Initial Developer of the Original Code is
17 * Netscape Communications Corporation.
18 * Portions created by the Initial Developer are Copyright (C) 1998-1999
19 * the Initial Developer. All Rights Reserved.
22 * Robert Kaiser <KaiRo@KaiRo.at>
24 * Alternatively, the contents of this file may be used under the terms of
25 * either the GNU General Public License Version 2 or later (the "GPL"), or
26 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 * in which case the provisions of the GPL or the LGPL are applicable instead
28 * of those above. If you wish to allow use of your version of this file only
29 * under the terms of either the GPL or the LGPL, and not to allow others to
30 * use your version of this file under the terms of the NPL, indicate your
31 * decision by deleting the provisions above and replace them with the notice
32 * and other provisions required by the GPL or the LGPL. If you do not delete
33 * the provisions above, a recipient may use your version of this file under
34 * the terms of any one of the NPL, the GPL or the LGPL.
36 * ***** END LICENSE BLOCK ***** */
38 /* ===== console.css ====================================================
39 == Styles used by the Error Console window.
40 ======================================================================= */
42 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
45 background-color: #CCD0DD;
49 /* ::::: console rows ::::: */
53 border-bottom: 1px solid #666699;
57 border-right: 1px solid #666699;
59 background-color: #CCCCCC;
60 -moz-box-align: start;
63 .console-row-msg > label,
64 .console-row-file > label:first-child {
69 list-style-image: inherit;
76 /* ..... error rows ..... */
81 -moz-padding-start: 3px;
82 -moz-padding-end: 0px;
93 background: url("chrome://global/skin/console/console-error-dash.gif") repeat-x top;
98 background: url("chrome://global/skin/console/console-error-caret.gif") no-repeat top;
101 /* ..... message rows ..... */
103 .console-row[type="message"] {
104 font-family: monospace;
107 /* ..... selected state ..... */
109 .console-row[selected="true"] {
110 background-color: #336699;
114 .console-row-code[selected="true"],
115 .console-row-content[selected="true"] > .console-row-file > .console-error-source > .text-link {
116 color: inherit !important;
119 /* ::::: icons ::::: */
121 .console-row[type="error"],
122 .console-row[type="exception"] {
123 list-style-image: url("chrome://global/skin/icons/alert-error.gif");
126 .console-row[type="error"] .console-row-msg,
127 .console-row[type="exception"] .console-row-msg {
131 .console-row[type="warning"] {
132 list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
135 .console-row[type="message"] {
136 list-style-image: url("chrome://global/skin/icons/alert-message.gif");
139 /* ::::: toolbars ::::: */
148 -moz-margin-start: 0;
149 -moz-margin-end: 2px;
158 #ToolbarMode toolbarbutton {
161 /* XXX: don't support icons on those yet
162 padding: 4px !important;
166 toolbar#ToolbarMode toolbarbutton:active,
167 toolbar#ToolbarMode toolbarbutton[checked="true"] {
168 -moz-padding-start: 5px !important;
169 -moz-padding-end: 3px !important;
172 /* XXX: don't support icons on those yet
175 toolbar#ToolbarMode toolbarbutton {
176 list-style-image: url("chrome://global/skin/console/console-toolbar.png");
177 -moz-box-orient: horizontal;
178 padding: 4px !important;
182 -moz-image-region: rect(0px 24px 24px 0px);
185 #Console\:modeAll:hover,
186 #Console\:modeAll[checked="true"] {
187 -moz-image-region: rect(24px 24px 48px 0px);
190 #Console\:modeErrors {
191 -moz-image-region: rect(0px 96px 24px 72px);
194 #Console\:modeErrors:hover,
195 #Console\:modeErrors[checked="true"] {
196 -moz-image-region: rect(24px 96px 48px 72px);
199 #Console\:modeWarnings {
200 -moz-image-region: rect(0px 72px 24px 48px);
203 #Console\:modeWarnings:hover,
204 #Console\:modeWarnings[checked="true"] {
205 -moz-image-region: rect(24px 72px 48px 48px);
208 #Console\:modeMessages {
209 -moz-image-region: rect(0px 48px 24px 24px);
212 #Console\:modeMessages:hover,
213 #Console\:modeMessages[checked="true"] {
214 -moz-image-region: rect(24px 48px 48px 24px);
218 -moz-image-region: rect(0px 120px 24px 96px);
221 #Console\:clear:hover,
222 #Console\:clear[checked="true"] {
223 -moz-image-region: rect(24px 120px 48px 96px);
226 toolbar#ToolbarMode .toolbarbutton-icon {
227 padding: 2px 0 !important;
230 toolbar#ToolbarMode .toolbarbutton-text {
231 -moz-padding-end: 4px;
236 /* ::::: Fix Error Console toolbar button text spacing ::::: */
238 .toolbarbutton-text {
239 -moz-padding-start: 0px;
240 -moz-padding-end: 5px;