only support about:plugins in new location after 1.7 release
[themes.git] / LCARStrek / global / tree.css
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>
23  *   Joe Hewitt (hewitt@netscape.com)                                           
24  *   Dean Tessman (dean_tessman@hotmail.com)
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
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 focusring ::::: */
57
58 /* deactivated, looks too bad for me in LCARStrek
59 .focusring > .tree-rows > .tree-bodybox {
60   border: 1px solid transparent;
61 }
62
63 .focusring:focus > .tree-rows > .tree-bodybox {
64   border-color: #FFCF00;
65 }
66 */
67
68 /* ::::: tree rows ::::: */
69
70 treechildren::-moz-tree-row {
71   border: 1px solid transparent;
72   background-color: transparent;
73   min-height: 18px;
74   height: 1.3em;
75 }
76
77 treechildren::-moz-tree-row(selected) {
78   background-color: #008484;
79   color: #FFCF00;
80 }
81
82 treechildren::-moz-tree-row(selected, focus) {
83   background-color: #008484;
84   color: #FFCF00;
85 }
86
87 treechildren::-moz-tree-row(current, focus) {
88   border: 1px dotted #FF9F00;
89 }
90
91 treechildren::-moz-tree-row(selected, current, focus) {
92   border: 1px dotted #FF9F00;
93 }
94
95 tree[selstyle="primary"] > treechildren::-moz-tree-row {
96   border: none;
97   background-color: transparent;
98 }
99
100 /* ::::: tree cells ::::: */
101
102 treechildren::-moz-tree-cell {
103   padding: 0px 0px 1px 2px;
104 }
105
106 tree[selstyle="primary"] > treechildren::-moz-tree-cell-text,
107 treechildren::-moz-tree-cell-text {
108   color: inherit;
109 }
110
111 tree[selstyle="primary"] > treechildren::-moz-tree-cell-text(primary) {
112   border: 1px solid transparent;
113   padding: 0px 1px 1px 1px;
114 }
115
116 treechildren::-moz-tree-cell-text(selected) {
117   color: #FFCF00;
118 }
119
120 tree[selstyle="primary"] > treechildren::-moz-tree-cell-text(primary, selected) {
121   background-color: #008484;
122   color: #FFCF00;
123 }
124
125 treechildren::-moz-tree-cell-text(selected, focus) {
126   color: #FFCF00;
127 }
128
129 tree[selstyle="primary"] > treechildren::-moz-tree-cell-text(primary, selected, focus) {
130   background-color: #008484;
131   color: #FFCF00;
132 }
133
134 tree[selstyle="primary"] > treechildren::-moz-tree-cell-text(primary, current, focus) {
135   border: 1px dotted #FF9F00;
136 }
137
138 tree[selstyle="primary"] > treechildren::-moz-tree-cell-text(primary, selected, current, focus) {
139   border: 1px dotted #FF9F00;
140 }
141
142 /* ::::: lines connecting cells ::::: */
143
144 tree[selstyle="primary"] > treechildren::-moz-tree-line,
145 treechildren::-moz-tree-line {
146   visibility: hidden;
147 }
148
149 /*
150 treechildren::-moz-tree-line {
151   border: 1px dotted grey;
152 }
153
154 treechildren::-moz-tree-line(selected) {
155   border: 1px dotted black;
156 }
157 */
158
159 /* ::::: tree separator ::::: */
160
161 treechildren::-moz-tree-separator {
162   border: 1px solid #9C9CFF;
163 }
164
165 /* ::::: drop feedback ::::: */
166
167 tree[selstyle="primary"] > treechildren::-moz-tree-cell-text(primary, dropOn),
168 treechildren::-moz-tree-cell-text(dropOn) {
169   background-color: #008484;
170   color: #FFCF00;
171 }
172
173 treechildren::-moz-tree-drop-feedback {
174   background-color: #008484;
175   width: 50px;
176   height: 2px;
177   margin-left: 5px;
178 }
179
180 treechildren::-moz-tree-drop-feedback(selected) {
181   background-color: #FFCF00;
182 }
183
184 /* ::::: tree progress meter ::::: */
185
186 treechildren::-moz-tree-progressmeter {
187   margin: 0px 0px;
188   border: 1px solid #FF9F00;
189   background-color: #000000;
190   color: #008484;
191 }
192
193 treechildren::-moz-tree-progressmeter(progressUndetermined) {
194   list-style-image: url("chrome://global/skin/progressmeter/progressmeter-busy.gif");
195   background-color: #008484;
196 }
197
198 treechildren::-moz-tree-cell-text(progressmeter) {
199   margin: 2px 4px;
200 }
201
202 /* ::::: tree columns ::::: */
203
204 treecol { 
205   -moz-box-align: center;
206   -moz-box-pack: center;
207   border: 1px solid #FF9F00;
208   background-color: #9C9CFF;
209   color: #000000;
210   padding: 1px 4px;
211 }
212
213 treecolpicker { 
214   -moz-box-align: center;
215   -moz-box-pack: center;
216   border: 1px solid transparent;
217   background-color: #000000;
218   padding: 1px 0px;
219 }  
220
221 .treecol-image {
222   padding: 1px;
223 }
224
225 .treecol-text {
226   margin: 0px !important;
227   padding: 0px !important;
228 }
229
230 treecol[hideheader="true"] {
231   border: none;
232   padding: 0;
233 }
234
235 /* ..... internal box ..... */
236
237 treecol:hover:active {
238   border: 1px solid #FFCF00;
239   padding: 2px 3px 0px 5px;
240 }
241   
242 treecolpicker:hover {
243   background-color: #FFCF00;
244 }
245
246 treecolpicker:hover:active {
247   border: 1px solid #FFCF00;
248   background-color: #FF9F00;
249 }
250
251 .treecol-image:hover:active {
252   padding: 2px 0px 0px 2px;
253 }
254
255 /* ::::: column drag and drop styles ::::: */
256
257 treecol[dragging="true"] {
258   border: 1px solid transparent;
259   background-color: #008484;
260   color: #000000;
261 }
262
263 treecol[insertafter="true"] {
264   border-right: 1px solid #FFCF00;
265 }
266
267 treecol[insertbefore="true"] {
268   border-left: 1px solid #FFCF00;
269 }
270
271 treechildren::-moz-tree-column(insertbefore) {
272   border-left: 1px solid #FFCF00;
273 }
274
275 treechildren::-moz-tree-column(insertafter) {
276   border-right: 1px solid #FFCF00;
277 }
278
279 /* ::::: sort direction indicator :::::  */
280
281 .treecol-sortdirection {
282   list-style-image: none;
283 }
284
285 .sortDirectionIndicator[sortDirection="ascending"] .treecol-sortdirection {
286   list-style-image: url("chrome://global/skin/tree/sort-asc.gif");
287 }
288
289 .sortDirectionIndicator[sortDirection="descending"] .treecol-sortdirection {
290   list-style-image: url("chrome://global/skin/tree/sort-desc.gif");
291 }
292
293 /* ::::: column picker :::::  */
294
295 .tree-columnpicker-icon {
296   list-style-image: url("chrome://global/skin/tree/columnpicker.gif");
297 }
298
299 treecolpicker:hover > .tree-columnpicker-icon,
300 treecolpicker:hover:active > .tree-columnpicker-icon {
301   list-style-image: url("chrome://global/skin/tree/columnpicker-hover.gif");
302 }
303
304 /* ::::: twisty :::::  */
305
306 treechildren::-moz-tree-twisty {
307   padding-right: 2px;
308   padding-top: 1px;
309   width: 11px; /* The image's width is 11 pixels */
310   list-style-image: url("chrome://global/skin/tree/twisty-closed.gif");
311 }
312   
313 treechildren::-moz-tree-twisty(open) {
314   width: 11px; /* The image's width is 11 pixels */
315   list-style-image: url("chrome://global/skin/tree/twisty-open.gif");
316 }
317
318 treechildren::-moz-tree-indentation {
319   width: 11px;
320 }
321
322 /* ::::: gridline style ::::: */
323
324 treechildren.gridlines::-moz-tree-cell {
325   border-right: 1px solid green;
326   border-bottom: 1px solid green;
327 }
328
329 treechildren.gridlines::-moz-tree-row {
330   border: none;
331 }