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>
24 * Alternatively, the contents of this file may be used under the terms of
25 * either the GNU General Public License Version 2 or later (the "GPL"), or
26 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 * in which case the provisions of the GPL or the LGPL are applicable instead
28 * of those above. If you wish to allow use of your version of this file only
29 * under the terms of either the GPL or the LGPL, and not to allow others to
30 * use your version of this file under the terms of the MPL, indicate your
31 * decision by deleting the provisions above and replace them with the notice
32 * and other provisions required by the GPL or the LGPL. If you do not delete
33 * the provisions above, a recipient may use your version of this file under
34 * the terms of any one of the MPL, the GPL or the LGPL.
36 * ***** END LICENSE BLOCK ***** */
38 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
40 /******** Tree widget **********/
42 /** basic tree ****************************************************
43 * basic tree widget for use in main windows where no decoration
48 -moz-border-radius : 5px;
49 background-color : #000000;
50 border : 1px solid #9C9CFF;
52 /* margin : 1px 3px 2px 3px; */
55 .tree-container-treerows[dragover="true"][dragdroptree="true"]
59 .tree-container-treerows
63 .tree-container-treerows[dragdroptree="true"]
67 treeitem[selected="true"] > treerow
69 background-color : #008484;
74 list-style-image : none;
79 border : 1px solid transparent;
82 treehead > treeitem > treerow,
90 padding : 0px 0px 1px 2px;
94 tree:focus > treechildren treeitem[selected="true"] > treerow,
95 treeitem[dd-dropon="true"] > treerow
97 background-color : #008484;
100 tree:focus > treechildren treeitem[selected="true"][current="true"] > treerow
102 border : 1px dotted #008484;
105 .treecell-header-image
107 list-style-image : inherit;
111 .treecell-inset-header,
112 .treecell-header-image
114 border : 1px solid #000000;
116 background-color : #9C9CFF;
120 .treecell-header-box,
121 .treecell-header-image-box
127 padding : 0px 4px 0px 4px;
130 .treecell-header-text
135 .treecell-header-image-box
137 padding : 0px 1px 0px 1px;
140 .treecell-header:hover:active,
141 .treecell-header-image:hover:active,
142 .treecell-inset-header:hover:active
144 border : 1px solid #FFCF00;
147 .treecell-header:hover:active > .treecell-header-box,
148 .treecell-inset-header:hover:active > .treecell-header-box,
149 .treecell-header-image:hover:active > .treecell-header-image-box
151 border-top : 1px solid transparent;
153 border-bottom : none;
154 border-left : 1px solid transparent;
157 .treecell-header:hover:active > .treecell-header-box,
158 .treecell-inset-header:hover:active > .treecell-header-box
160 padding : 1px 4px 0px 5px;
163 .treecell-header-image:hover:active > .treecell-header-image-box
165 padding : 1px 1px 0px 2px;
173 /* slimline sidebar treeheaders */
174 .treecell-header.treecell-header-sidebarpanel,
175 .treecell-inset-header.treecell-header-sidebarpanel
177 padding : 0px 1px 1px 3px;
180 .treecell-header-sidebarpanel > .treecell-header-box
184 /** class="propertylist" ******************************************
185 * class for cells in grid-formatted property lists.
188 treecell.propertylist
190 border-right : 1px solid #9C9CFF;
191 border-bottom : 1px solid #9C9CFF;
195 .tree-cell-primary-icon,
196 .tree-cell-primary-icon-inline-edit-folder
198 list-style-image : inherit;
204 list-style-image : inherit;
210 list-style-image : url("chrome://global/skin/tree/twisty-closed.gif");
211 -moz-user-focus : ignore;
215 .treecell-indent > .tree-cell-primary-icon
220 treeitem[container="true"] > treerow > .treecell-indent > .tree-cell-primary-icon
225 .tree-cell-twisty[disabled="true"]
227 list-style-image : none;
230 treeitem[container="true"][open="true"] > treerow > treecell > .tree-cell-twisty
232 list-style-image : url("chrome://global/skin/tree/twisty-open.gif");
235 treeitem[empty="true"] > treerow > treecell > .tree-cell-twisty {
239 /* tree header with sort direction indicators */
241 .tree-header-sortdirection
243 list-style-image : none;
246 .sortDirectionIndicator[sortDirection="ascending"] > .treecell-header-box > .tree-header-sortdirection
248 list-style-image : url("chrome://global/skin/tree/sort-asc.gif");
251 .sortDirectionIndicator[sortDirection="descending"] > .treecell-header-box > .tree-header-sortdirection
253 list-style-image : url("chrome://global/skin/tree/sort-desc.gif");
256 treecol[sortDirection="true"],
257 treecol[sortActive="true"]
259 background-color : #008484;
262 /* column selection popup menu icon */
266 list-style-image : url("chrome://global/skin/tree/columnpicker.gif");
269 /* Inline Editable Treecells */
271 treerow[mode="inline-edit"]
273 border-top : none !important;
274 border-bottom : none !important;
275 background-color : transparent !important;
278 .inline-edit-cell-box
283 .inline-edit-cell-box[mode="edit"]