keep up with Classic development
[themes.git] / EarlyBlue / global / tree.css
CommitLineData
128000f4 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>
e1597424 23 * Joe Hewitt (hewitt@netscape.com)
459f2165 24 * Dean Tessman (dean_tessman@hotmail.com)
128000f4 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");
f6e0a33f 41
e1597424 42/* ===== tree.css =======================================================
43 == Styles used by the XUL tree element.
44 ======================================================================= */
f6e0a33f 45
e1597424 46/* ::::: tree ::::: */
47
48tree {
49 border-spacing: 0px;
50 border: 1px inset #CCD0DD;
51 background-color: #FFFFFF;
52 color: #000000;
53}
54
55/* ::::: tree rows ::::: */
56
57treechildren:-moz-tree-row {
58 border: 1px solid transparent;
f2450795 59 min-height: 18px;
60 height: 1.3em;
e1597424 61}
62
63treechildren:-moz-tree-row(selected) {
64 background-color: #808080;
65}
66
67treechildren:-moz-tree-row(selected, focus) {
68 background-color: #336699;
69}
70
71treechildren:-moz-tree-row(current, focus) {
72 border: 1px dotted #9999CC;
73}
74
459f2165 75treechildren:-moz-tree-row(selected, current, focus) {
76 border: 1px dotted #666699;
77}
78
e1597424 79/* ::::: tree cells ::::: */
80
81treechildren:-moz-tree-cell {
82 padding: 0px 2px 0px 2px;
83}
84
85treechildren:-moz-tree-cell-text {
86 color: inherit;
87 border: 2px solid transparent;
88}
89
90treechildren:-moz-tree-cell-text(selected) {
91 color: #FFFFFF;
92}
93
94treechildren:-moz-tree-cell-text(selected, focus) {
95 color: #FFFFFF;
96}
97
98/* ::::: lines connecting cells ::::: */
99
100treechildren:-moz-tree-line {
101 visibility: hidden;
102}
103
104/*
105treechildren:-moz-tree-line {
106 border: 1px dotted grey;
107}
108
109treechildren:-moz-tree-line(selected, focus) {
110 border: 1px dotted black;
111}
112*/
113
114/* ::::: tree separator ::::: */
115
116treechildren:-moz-tree-separator {
117 border: 1px outset #CCD0DD;
118}
119
120/* ::::: drop feedback ::::: */
121
122treechildren:-moz-tree-cell-text(dropOn) {
123 background-color: #336699;
124 color: #FFFFFF;
125}
126
127treechildren:-moz-tree-drop-feedback {
128 background-color: #336699;
129 width: 50px;
130 height: 2px;
131 margin-left: 5px;
132}
133
134treechildren:-moz-tree-drop-feedback(selected) {
135 background-color: #FFFFFF;
136}
137
f2450795 138/* ::::: tree progress meter ::::: */
139
140treechildren:-moz-tree-progressmeter {
141 margin: 0px 0px;
142 border: 1px inset #CCD0DD;
143 background-color: #999999;
144 color: #6699CC;
145}
146
147treechildren:-moz-tree-progressmeter(progressUndetermined) {
148 list-style-image: url("chrome://global/skin/progressmeter/progressmeter-busy.gif");
149 background-color: #CCD0DD;
150}
151
152treechildren:-moz-tree-cell-text(progressmeter) {
153 margin: 2px 4px;
154}
155
e1597424 156/* ::::: tree columns ::::: */
157
158treecol {
159 -moz-box-align: center;
160 -moz-box-pack: center;
161 border: 1px outset #CCD0DD;
162 background-color: #CCD0DD;
163 color: #000000;
164 padding: 1px 4px;
165}
166
167treecolpicker {
168 -moz-box-align: center;
169 -moz-box-pack: center;
170 border: 1px solid transparent;
171 background-color: #CCD0DD;
172 padding: 1px 0px;
173}
174
175.treecol-image {
176 padding: 1px;
177}
f6e0a33f 178
e1597424 179.treecol-text {
180 margin: 0px !important;
181 padding: 0px !important;
182}
183
cc973dd9 184treecol[hideheader="true"] {
185 border: none;
186 padding: 0;
187}
188
e1597424 189/* ..... internal box ..... */
190
191treecol:hover:active {
192 border: 1px solid #666699;
193 padding: 2px 3px 0px 5px;
194}
195
196treecolpicker:hover:active {
197 border: 1px solid #666699;
198}
199
200.treecol-image:hover:active {
201 padding: 2px 0px 0px 2px;
202}
203
204/* ::::: column drag and drop styles ::::: */
205
206treecol[dragging="true"] {
207 border: 1px solid transparent;
208 background-color: #336699;
209 color: #000000;
210}
211
212treecol[insertafter="true"] {
213 border-right: 1px solid #000000;
214}
215
216treecol[insertbefore="true"] {
217 border-left: 1px solid #000000;
218}
219
220treechildren:-moz-tree-column(insertbefore) {
221 border-left: 1px solid #000000;
222}
223
224treechildren:-moz-tree-column(insertafter) {
225 border-right: 1px solid #000000;
226}
227
228/* ::::: sort direction indicator ::::: */
229
230.treecol-sortdirection {
231 list-style-image: none;
232}
233
234.sortDirectionIndicator[sortDirection="ascending"] .treecol-sortdirection {
235 list-style-image: url("chrome://global/skin/tree/sort-asc.gif");
236}
237
238.sortDirectionIndicator[sortDirection="descending"] .treecol-sortdirection {
239 list-style-image: url("chrome://global/skin/tree/sort-desc.gif");
240}
241
242/* ::::: column picker ::::: */
243
244.tree-columnpicker-icon {
245 list-style-image: url("chrome://global/skin/tree/columnpicker.gif");
246}
247
248/* ::::: twisty ::::: */
249
250treechildren:-moz-tree-twisty {
251 padding-right: 2px;
f2450795 252 padding-top: 1px;
253 width: 11px; /* The image's width is 11 pixels */
e1597424 254 list-style-image: url("chrome://global/skin/tree/twisty-closed.gif");
255}
f6e0a33f 256
e1597424 257treechildren:-moz-tree-twisty(open) {
f2450795 258 width: 11px; /* The image's width is 11 pixels */
e1597424 259 list-style-image: url("chrome://global/skin/tree/twisty-open.gif");
260}
261
262treechildren:-moz-tree-indentation {
f2450795 263 width: 11px;
e1597424 264}
265
266/* ::::: gridline style ::::: */
267
268treechildren.gridlines:-moz-tree-cell {
269 border-right: 1px solid green;
270 border-bottom: 1px solid green;
271}
272
273treechildren.gridlines:-moz-tree-row {
274 border: none;
f2450795 275}