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)
24 * Dean Tessman (dean_tessman@hotmail.com)
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.
38 * ***** END LICENSE BLOCK ***** */
40 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
42 /* ===== tree.css =======================================================
43 == Styles used by the XUL tree element.
44 ======================================================================= */
46 /* ::::: tree ::::: */
50 border: 1px inset #CCD0DD;
51 background-color: #FFFFFF;
55 /* ::::: tree rows ::::: */
57 treechildren:-moz-tree-row {
58 border: 1px solid transparent;
63 treechildren:-moz-tree-row(selected) {
64 background-color: #808080;
67 treechildren:-moz-tree-row(selected, focus) {
68 background-color: #336699;
71 treechildren:-moz-tree-row(current, focus) {
72 border: 1px dotted #9999CC;
75 treechildren:-moz-tree-row(selected, current, focus) {
76 border: 1px dotted #666699;
79 /* ::::: tree cells ::::: */
81 treechildren:-moz-tree-cell {
82 padding: 0px 2px 0px 2px;
85 treechildren:-moz-tree-cell-text {
87 border: 2px solid transparent;
90 treechildren:-moz-tree-cell-text(selected) {
94 treechildren:-moz-tree-cell-text(selected, focus) {
98 /* ::::: lines connecting cells ::::: */
100 treechildren:-moz-tree-line {
105 treechildren:-moz-tree-line {
106 border: 1px dotted grey;
109 treechildren:-moz-tree-line(selected, focus) {
110 border: 1px dotted black;
114 /* ::::: tree separator ::::: */
116 treechildren:-moz-tree-separator {
117 border: 1px outset #CCD0DD;
120 /* ::::: drop feedback ::::: */
122 treechildren:-moz-tree-cell-text(dropOn) {
123 background-color: #336699;
127 treechildren:-moz-tree-drop-feedback {
128 background-color: #336699;
134 treechildren:-moz-tree-drop-feedback(selected) {
135 background-color: #FFFFFF;
138 /* ::::: tree progress meter ::::: */
140 treechildren:-moz-tree-progressmeter {
142 border: 1px inset #CCD0DD;
143 background-color: #999999;
147 treechildren:-moz-tree-progressmeter(progressUndetermined) {
148 list-style-image: url("chrome://global/skin/progressmeter/progressmeter-busy.gif");
149 background-color: #CCD0DD;
152 treechildren:-moz-tree-cell-text(progressmeter) {
156 /* ::::: tree columns ::::: */
159 -moz-box-align: center;
160 -moz-box-pack: center;
161 border: 1px outset #CCD0DD;
162 background-color: #CCD0DD;
168 -moz-box-align: center;
169 -moz-box-pack: center;
170 border: 1px solid transparent;
171 background-color: #CCD0DD;
180 margin: 0px !important;
181 padding: 0px !important;
184 treecol[hideheader="true"] {
189 /* ..... internal box ..... */
191 treecol:hover:active {
192 border: 1px solid #666699;
193 padding: 2px 3px 0px 5px;
196 treecolpicker:hover:active {
197 border: 1px solid #666699;
200 .treecol-image:hover:active {
201 padding: 2px 0px 0px 2px;
204 /* ::::: column drag and drop styles ::::: */
206 treecol[dragging="true"] {
207 border: 1px solid transparent;
208 background-color: #336699;
212 treecol[insertafter="true"] {
213 border-right: 1px solid #000000;
216 treecol[insertbefore="true"] {
217 border-left: 1px solid #000000;
220 treechildren:-moz-tree-column(insertbefore) {
221 border-left: 1px solid #000000;
224 treechildren:-moz-tree-column(insertafter) {
225 border-right: 1px solid #000000;
228 /* ::::: sort direction indicator ::::: */
230 .treecol-sortdirection {
231 list-style-image: none;
234 .sortDirectionIndicator[sortDirection="ascending"] .treecol-sortdirection {
235 list-style-image: url("chrome://global/skin/tree/sort-asc.gif");
238 .sortDirectionIndicator[sortDirection="descending"] .treecol-sortdirection {
239 list-style-image: url("chrome://global/skin/tree/sort-desc.gif");
242 /* ::::: column picker ::::: */
244 .tree-columnpicker-icon {
245 list-style-image: url("chrome://global/skin/tree/columnpicker.gif");
248 /* ::::: twisty ::::: */
250 treechildren:-moz-tree-twisty {
253 width: 11px; /* The image's width is 11 pixels */
254 list-style-image: url("chrome://global/skin/tree/twisty-closed.gif");
257 treechildren:-moz-tree-twisty(open) {
258 width: 11px; /* The image's width is 11 pixels */
259 list-style-image: url("chrome://global/skin/tree/twisty-open.gif");
262 treechildren:-moz-tree-indentation {
266 /* ::::: gridline style ::::: */
268 treechildren.gridlines:-moz-tree-cell {
269 border-right: 1px solid green;
270 border-bottom: 1px solid green;
273 treechildren.gridlines:-moz-tree-row {