351107c9 |
1 | /* ***** BEGIN LICENSE BLOCK ***** |
2 | * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |
3 | * |
4 | * The contents of this file are subject to the Mozilla Public License Version |
5 | * 1.1 (the "License"); you may not use this file except in compliance with |
6 | * the License. You may obtain a copy of the License at |
7 | * http://www.mozilla.org/MPL/ |
8 | * |
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 |
12 | * License. |
13 | * |
14 | * The Original Code is "Classic" theme of mozilla.org code. |
15 | * |
16 | * The Initial Developer of the Original Code is |
17 | * the Mozilla Organization. |
18 | * Portions created by the Initial Developer are Copyright (C) 1998-2001 |
19 | * the Initial Developer. All Rights Reserved. |
20 | * |
21 | * Contributor(s): |
22 | * Robert Kaiser <KaiRo@KaiRo.at> |
dc8e1207 |
23 | * Joe Hewitt (hewitt@netscape.com) |
24 | * Dean Tessman (dean_tessman@hotmail.com) |
351107c9 |
25 | * |
26 | * Alternatively, the contents of this file may be used under the terms of |
27 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
28 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
29 | * in which case the provisions of the GPL or the LGPL are applicable instead |
30 | * of those above. If you wish to allow use of your version of this file only |
31 | * under the terms of either the GPL or the LGPL, and not to allow others to |
32 | * use your version of this file under the terms of the MPL, indicate your |
33 | * decision by deleting the provisions above and replace them with the notice |
34 | * and other provisions required by the GPL or the LGPL. If you do not delete |
35 | * the provisions above, a recipient may use your version of this file under |
36 | * the terms of any one of the MPL, the GPL or the LGPL. |
37 | * |
38 | * ***** END LICENSE BLOCK ***** */ |
39 | |
40 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
41 | |
7aa65558 |
42 | /* ===== tree.css ======================================================= |
43 | == Styles used by the XUL tree element. |
44 | ======================================================================= */ |
45 | |
46 | /* ::::: tree ::::: */ |
47 | |
48 | tree { |
49 | -moz-border-radius: 5px; |
50 | border-spacing: 0px; |
51 | border: 1px solid #9C9CFF; |
52 | background-color: #000000; |
53 | color: #FF9F00; |
54 | } |
55 | |
56 | /* ::::: tree rows ::::: */ |
57 | |
58 | treechildren:-moz-tree-row { |
59 | border: 1px solid transparent; |
b1e5c9b1 |
60 | min-height: 18px; |
61 | height: 1.3em; |
7aa65558 |
62 | } |
63 | |
64 | treechildren:-moz-tree-row(selected) { |
65 | background-color: #008484; |
66 | color: #FFCF00; |
67 | } |
68 | |
69 | treechildren:-moz-tree-row(selected, focus) { |
70 | background-color: #008484; |
71 | color: #FFCF00; |
72 | } |
73 | |
74 | treechildren:-moz-tree-row(current, focus) { |
dc8e1207 |
75 | border: 1px dotted #FF9F00; |
76 | } |
77 | |
78 | treechildren:-moz-tree-row(selected, current, focus) { |
79 | border: 1px dotted #FF9F00; |
7aa65558 |
80 | } |
81 | |
82 | /* ::::: tree cells ::::: */ |
83 | |
84 | treechildren:-moz-tree-cell { |
85 | padding: 0px 0px 1px 2px; |
86 | } |
87 | |
88 | treechildren:-moz-tree-cell-text { |
89 | color: inherit; |
90 | border: 2px solid transparent; |
91 | } |
92 | |
93 | /* |
94 | treechildren:-moz-tree-cell-text(selected) { |
95 | color: #FFFFFF; |
96 | } |
97 | |
98 | treechildren:-moz-tree-cell-text(selected, focus) { |
99 | color: #FFFFFF; |
100 | } |
101 | */ |
102 | |
103 | /* ::::: lines connecting cells ::::: */ |
104 | |
105 | treechildren:-moz-tree-line { |
106 | visibility: hidden; |
107 | } |
108 | |
109 | /* |
110 | treechildren:-moz-tree-line { |
111 | border: 1px dotted grey; |
112 | } |
113 | |
114 | treechildren:-moz-tree-line(selected) { |
115 | border: 1px dotted black; |
116 | } |
117 | */ |
118 | |
119 | /* ::::: tree separator ::::: */ |
120 | |
121 | treechildren:-moz-tree-separator { |
122 | border: 1px solid #9C9CFF; |
123 | } |
124 | |
125 | /* ::::: drop feedback ::::: */ |
126 | |
127 | treechildren:-moz-tree-cell-text(dropOn) { |
128 | background-color: #008484; |
129 | color: #FFCF00; |
130 | } |
131 | |
132 | treechildren:-moz-tree-drop-feedback { |
133 | background-color: #008484; |
134 | width: 50px; |
135 | height: 2px; |
136 | margin-left: 5px; |
137 | } |
138 | |
139 | treechildren:-moz-tree-drop-feedback(selected) { |
140 | background-color: #FFCF00; |
141 | } |
142 | |
b1e5c9b1 |
143 | /* ::::: tree progress meter ::::: */ |
144 | |
145 | treechildren:-moz-tree-progressmeter { |
146 | margin: 0px 0px; |
147 | border: 1px solid #FF9F00; |
148 | background-color: #000000; |
149 | color: #008484; |
150 | } |
151 | |
152 | treechildren:-moz-tree-progressmeter(progressUndetermined) { |
153 | list-style-image: url("chrome://global/skin/progressmeter/progressmeter-busy.gif"); |
154 | background-color: #008484; |
155 | } |
156 | |
157 | treechildren:-moz-tree-cell-text(progressmeter) { |
158 | margin: 2px 4px; |
159 | } |
160 | |
7aa65558 |
161 | /* ::::: tree columns ::::: */ |
162 | |
163 | treecol { |
164 | -moz-box-align: center; |
165 | -moz-box-pack: center; |
166 | border: 1px solid #FF9F00; |
167 | background-color: #9C9CFF; |
168 | color: #000000; |
169 | padding: 1px 4px; |
170 | } |
171 | |
172 | treecolpicker { |
173 | -moz-box-align: center; |
174 | -moz-box-pack: center; |
175 | border: 1px solid transparent; |
176 | background-color: #000000; |
177 | padding: 1px 0px; |
178 | } |
179 | |
180 | .treecol-image { |
181 | padding: 1px; |
182 | } |
183 | |
184 | .treecol-text { |
185 | margin: 0px !important; |
186 | padding: 0px !important; |
187 | } |
188 | |
cc973dd9 |
189 | treecol[hideheader="true"] { |
190 | border: none; |
191 | padding: 0; |
192 | } |
193 | |
7aa65558 |
194 | /* ..... internal box ..... */ |
195 | |
196 | treecol:hover:active { |
197 | border: 1px solid #FFCF00; |
198 | padding: 2px 3px 0px 5px; |
199 | } |
351107c9 |
200 | |
7aa65558 |
201 | treecolpicker:hover { |
202 | background-color: #FFCF00; |
203 | } |
351107c9 |
204 | |
7aa65558 |
205 | treecolpicker:hover:active { |
206 | border: 1px solid #FFCF00; |
207 | background-color: #FF9F00; |
208 | } |
209 | |
210 | .treecol-image:hover:active { |
211 | padding: 2px 0px 0px 2px; |
212 | } |
213 | |
214 | /* ::::: column drag and drop styles ::::: */ |
215 | |
216 | treecol[dragging="true"] { |
217 | border: 1px solid transparent; |
218 | background-color: #008484; |
219 | color: #000000; |
220 | } |
221 | |
222 | treecol[insertafter="true"] { |
223 | border-right: 1px solid #FFCF00; |
224 | } |
225 | |
226 | treecol[insertbefore="true"] { |
227 | border-left: 1px solid #FFCF00; |
228 | } |
229 | |
230 | treechildren:-moz-tree-column(insertbefore) { |
231 | border-left: 1px solid #FFCF00; |
232 | } |
233 | |
234 | treechildren:-moz-tree-column(insertafter) { |
235 | border-right: 1px solid #FFCF00; |
236 | } |
237 | |
238 | /* ::::: sort direction indicator ::::: */ |
239 | |
240 | .treecol-sortdirection { |
241 | list-style-image: none; |
242 | } |
243 | |
244 | .sortDirectionIndicator[sortDirection="ascending"] .treecol-sortdirection { |
245 | list-style-image: url("chrome://global/skin/tree/sort-asc.gif"); |
246 | } |
247 | |
248 | .sortDirectionIndicator[sortDirection="descending"] .treecol-sortdirection { |
249 | list-style-image: url("chrome://global/skin/tree/sort-desc.gif"); |
250 | } |
251 | |
252 | /* ::::: column picker ::::: */ |
253 | |
731b0901 |
254 | .tree-columnpicker-icon { |
7aa65558 |
255 | list-style-image: url("chrome://global/skin/tree/columnpicker.gif"); |
256 | } |
257 | |
731b0901 |
258 | treecolpicker:hover > .tree-columnpicker-icon, |
259 | treecolpicker:hover:active > .tree-columnpicker-icon { |
7aa65558 |
260 | list-style-image: url("chrome://global/skin/tree/columnpicker-hover.gif"); |
261 | } |
262 | |
263 | /* ::::: twisty ::::: */ |
264 | |
265 | treechildren:-moz-tree-twisty { |
266 | padding-right: 2px; |
b1e5c9b1 |
267 | padding-top: 1px; |
268 | width: 11px; /* The image's width is 11 pixels */ |
7aa65558 |
269 | list-style-image: url("chrome://global/skin/tree/twisty-closed.gif"); |
270 | } |
351107c9 |
271 | |
7aa65558 |
272 | treechildren:-moz-tree-twisty(open) { |
b1e5c9b1 |
273 | width: 11px; /* The image's width is 11 pixels */ |
7aa65558 |
274 | list-style-image: url("chrome://global/skin/tree/twisty-open.gif"); |
275 | } |
276 | |
277 | treechildren:-moz-tree-indentation { |
b1e5c9b1 |
278 | width: 11px; |
7aa65558 |
279 | } |
280 | |
281 | /* ::::: gridline style ::::: */ |
282 | |
283 | treechildren.gridlines:-moz-tree-cell { |
284 | border-right: 1px solid green; |
285 | border-bottom: 1px solid green; |
286 | } |
287 | |
288 | treechildren.gridlines:-moz-tree-row { |
289 | border: none; |
b1e5c9b1 |
290 | } |