|
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/. */ |
|
4 |
|
5 /* ===== console.css ==================================================== |
|
6 == Styles used by the Error Console window. |
|
7 ====================================================================== */ |
|
8 |
|
9 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
|
10 |
|
11 .console-box { |
|
12 background-color: -moz-Field; |
|
13 color: -moz-FieldText; |
|
14 } |
|
15 |
|
16 /* ::::: console rows ::::: */ |
|
17 |
|
18 .console-row { |
|
19 border-bottom: 1px dotted threedshadow; |
|
20 padding: 4px 0px; |
|
21 } |
|
22 |
|
23 .console-row-icon { |
|
24 padding: 4px; |
|
25 -moz-padding-start: 5px; |
|
26 -moz-box-align: start !important; |
|
27 } |
|
28 |
|
29 .console-row-msg > label:first-child, |
|
30 .console-row-file > label:first-child { |
|
31 display: none; |
|
32 } |
|
33 |
|
34 .console-time { |
|
35 font-weight: normal !important; |
|
36 } |
|
37 |
|
38 .console-icon { |
|
39 list-style-image: inherit; |
|
40 } |
|
41 |
|
42 .console-error-msg { |
|
43 margin-bottom: 2px; |
|
44 } |
|
45 |
|
46 /* ..... error rows ..... */ |
|
47 |
|
48 .console-row-code { |
|
49 padding-top: 3px; |
|
50 padding-bottom: 3px; |
|
51 -moz-padding-start: 3px; |
|
52 -moz-padding-end: 0px; |
|
53 color: #0000BB; |
|
54 font-size: larger; |
|
55 } |
|
56 |
|
57 .console-dots, |
|
58 .console-caret { |
|
59 height: 9px; |
|
60 } |
|
61 |
|
62 .console-dots { |
|
63 background: url("chrome://global/skin/console/console-error-dash.gif") repeat-x top; |
|
64 } |
|
65 |
|
66 .console-caret { |
|
67 width: 7px; |
|
68 background: url("chrome://global/skin/console/console-error-caret.gif") no-repeat top; |
|
69 } |
|
70 |
|
71 /* ..... message rows ..... */ |
|
72 |
|
73 .console-row[type="message"] { |
|
74 font-family: monospace; |
|
75 } |
|
76 |
|
77 /* ..... selected state ..... */ |
|
78 |
|
79 .console-row[selected="true"] { |
|
80 background-image: url("chrome://global/skin/console/itemSelected.png"); |
|
81 } |
|
82 |
|
83 .console-row-code[selected="true"], |
|
84 .console-row-content[selected="true"] > .console-row-file > .console-error-source > .text-link { |
|
85 color: inherit !important; |
|
86 } |
|
87 |
|
88 /* ::::: icons ::::: */ |
|
89 |
|
90 .console-row[type="error"], |
|
91 .console-row[type="exception"] { |
|
92 list-style-image: url("moz-icon://stock/gtk-dialog-error?size=menu"); |
|
93 } |
|
94 |
|
95 .console-row[type="error"] .console-row-msg, |
|
96 .console-row[type="exception"] .console-row-msg { |
|
97 font-weight: bold; |
|
98 } |
|
99 |
|
100 .console-row[type="warning"] { |
|
101 list-style-image: url("moz-icon://stock/gtk-dialog-warning?size=menu"); |
|
102 } |
|
103 |
|
104 .console-row[type="message"] { |
|
105 list-style-image: url("moz-icon://stock/gtk-dialog-info?size=menu"); |
|
106 } |
|
107 |
|
108 /* ::::: toolbars ::::: */ |
|
109 |
|
110 #TextboxEval { |
|
111 margin: 2px !important; |
|
112 } |
|
113 |
|
114 #ButtonEval { |
|
115 margin-top: 2px !important; |
|
116 margin-bottom: 2px !important; |
|
117 -moz-margin-start: 0px !important; |
|
118 -moz-margin-end: 2px !important; |
|
119 } |
|
120 |
|
121 /* Toolbar icons */ |
|
122 |
|
123 toolbar#ToolbarMode toolbarbutton { |
|
124 -moz-box-orient: horizontal; |
|
125 } |
|
126 |
|
127 #Console\:modeAll { |
|
128 list-style-image: url("chrome://global/skin/console/console-toolbar.png"); |
|
129 } |
|
130 |
|
131 #Console\:modeErrors { |
|
132 list-style-image: url("moz-icon://stock/gtk-dialog-error?size=toolbar"); |
|
133 } |
|
134 |
|
135 #Console\:modeWarnings { |
|
136 list-style-image: url("moz-icon://stock/gtk-dialog-warning?size=toolbar"); |
|
137 } |
|
138 |
|
139 #Console\:modeMessages { |
|
140 list-style-image: url("moz-icon://stock/gtk-dialog-info?size=toolbar"); |
|
141 } |
|
142 |
|
143 #Console\:clear { |
|
144 list-style-image: url("moz-icon://stock/gtk-clear?size=toolbar"); |
|
145 } |
|
146 |
|
147 toolbar#ToolbarMode .toolbarbutton-text { |
|
148 -moz-padding-end: 4px; |
|
149 } |
|
150 |
|
151 /* ::::: Fix Error Console toolbar button text spacing ::::: */ |
|
152 |
|
153 .toolbarbutton-text { |
|
154 -moz-padding-start: 0px; |
|
155 -moz-padding-end: 5px; |
|
156 } |