1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
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/
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 "Classic" theme of mozilla.org code.
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.
22 * Robert Kaiser <KaiRo@KaiRo.at>
23 * Joe Hewitt (hewitt@netscape.com)
25 * Alternatively, the contents of this file may be used under the terms of
26 * either the GNU General Public License Version 2 or later (the "GPL"), or
27 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 * in which case the provisions of the GPL or the LGPL are applicable instead
29 * of those above. If you wish to allow use of your version of this file only
30 * under the terms of either the GPL or the LGPL, and not to allow others to
31 * use your version of this file under the terms of the MPL, indicate your
32 * decision by deleting the provisions above and replace them with the notice
33 * and other provisions required by the GPL or the LGPL. If you do not delete
34 * the provisions above, a recipient may use your version of this file under
35 * the terms of any one of the MPL, the GPL or the LGPL.
37 * ***** END LICENSE BLOCK ***** */
39 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
41 /* ===== tree.css =======================================================
42 == Styles used by the XUL tree element.
43 ======================================================================= */
45 /* ::::: tree ::::: */
49 border: 1px inset #CCD0DD;
50 background-color: #FFFFFF;
54 /* ::::: tree rows ::::: */
56 treechildren:-moz-tree-row {
57 border: 1px solid transparent;
62 treechildren:-moz-tree-row(selected) {
63 background-color: #808080;
66 treechildren:-moz-tree-row(selected, focus) {
67 background-color: #336699;
70 treechildren:-moz-tree-row(current, focus) {
71 border: 1px dotted #9999CC;
74 /* ::::: tree cells ::::: */
76 treechildren:-moz-tree-cell {
77 padding: 0px 2px 0px 2px;
80 treechildren:-moz-tree-cell-text {
82 border: 2px solid transparent;
85 treechildren:-moz-tree-cell-text(selected) {
89 treechildren:-moz-tree-cell-text(selected, focus) {
93 /* ::::: lines connecting cells ::::: */
95 treechildren:-moz-tree-line {
100 treechildren:-moz-tree-line {
101 border: 1px dotted grey;
104 treechildren:-moz-tree-line(selected, focus) {
105 border: 1px dotted black;
109 /* ::::: tree separator ::::: */
111 treechildren:-moz-tree-separator {
112 border: 1px outset #CCD0DD;
115 /* ::::: drop feedback ::::: */
117 treechildren:-moz-tree-cell-text(dropOn) {
118 background-color: #336699;
122 treechildren:-moz-tree-drop-feedback {
123 background-color: #336699;
129 treechildren:-moz-tree-drop-feedback(selected) {
130 background-color: #FFFFFF;
133 /* ::::: tree progress meter ::::: */
135 treechildren:-moz-tree-progressmeter {
137 border: 1px inset #CCD0DD;
138 background-color: #999999;
142 treechildren:-moz-tree-progressmeter(progressUndetermined) {
143 list-style-image: url("chrome://global/skin/progressmeter/progressmeter-busy.gif");
144 background-color: #CCD0DD;
147 treechildren:-moz-tree-cell-text(progressmeter) {
151 /* ::::: tree columns ::::: */
154 -moz-box-align: center;
155 -moz-box-pack: center;
156 border: 1px outset #CCD0DD;
157 background-color: #CCD0DD;
163 -moz-box-align: center;
164 -moz-box-pack: center;
165 border: 1px solid transparent;
166 background-color: #CCD0DD;
175 margin: 0px !important;
176 padding: 0px !important;
179 treecol[hideheader="true"] {
184 /* ..... internal box ..... */
186 treecol:hover:active {
187 border: 1px solid #666699;
188 padding: 2px 3px 0px 5px;
191 treecolpicker:hover:active {
192 border: 1px solid #666699;
195 .treecol-image:hover:active {
196 padding: 2px 0px 0px 2px;
199 /* ::::: column drag and drop styles ::::: */
201 treecol[dragging="true"] {
202 border: 1px solid transparent;
203 background-color: #336699;
207 treecol[insertafter="true"] {
208 border-right: 1px solid #000000;
211 treecol[insertbefore="true"] {
212 border-left: 1px solid #000000;
215 treechildren:-moz-tree-column(insertbefore) {
216 border-left: 1px solid #000000;
219 treechildren:-moz-tree-column(insertafter) {
220 border-right: 1px solid #000000;
223 /* ::::: sort direction indicator ::::: */
225 .treecol-sortdirection {
226 list-style-image: none;
229 .sortDirectionIndicator[sortDirection="ascending"] .treecol-sortdirection {
230 list-style-image: url("chrome://global/skin/tree/sort-asc.gif");
233 .sortDirectionIndicator[sortDirection="descending"] .treecol-sortdirection {
234 list-style-image: url("chrome://global/skin/tree/sort-desc.gif");
237 /* ::::: column picker ::::: */
239 .tree-columnpicker-icon {
240 list-style-image: url("chrome://global/skin/tree/columnpicker.gif");
243 /* ::::: twisty ::::: */
245 treechildren:-moz-tree-twisty {
248 width: 11px; /* The image's width is 11 pixels */
249 list-style-image: url("chrome://global/skin/tree/twisty-closed.gif");
252 treechildren:-moz-tree-twisty(open) {
253 width: 11px; /* The image's width is 11 pixels */
254 list-style-image: url("chrome://global/skin/tree/twisty-open.gif");
257 treechildren:-moz-tree-indentation {
261 /* ::::: gridline style ::::: */
263 treechildren.gridlines:-moz-tree-cell {
264 border-right: 1px solid green;
265 border-bottom: 1px solid green;
268 treechildren.gridlines:-moz-tree-row {