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.css =======================================================
41 == Styles used by the XUL tree element.
42 ======================================================================= */
44 /* ::::: tree ::::: */
47 -moz-border-radius: 5px;
49 border: 1px solid #9C9CFF;
50 background-color: #000000;
54 /* ::::: tree rows ::::: */
56 treechildren:-moz-tree-row {
57 border: 1px solid transparent;
62 treechildren:-moz-tree-row(selected) {
63 background-color: #008484;
67 treechildren:-moz-tree-row(selected, focus) {
68 background-color: #008484;
72 treechildren:-moz-tree-row(current, focus) {
73 border: 1px dotted #008484;
76 /* ::::: tree cells ::::: */
78 treechildren:-moz-tree-cell {
79 padding: 0px 0px 1px 2px;
82 treechildren:-moz-tree-cell-text {
84 border: 2px solid transparent;
88 treechildren:-moz-tree-cell-text(selected) {
92 treechildren:-moz-tree-cell-text(selected, focus) {
97 /* ::::: lines connecting cells ::::: */
99 treechildren:-moz-tree-line {
104 treechildren:-moz-tree-line {
105 border: 1px dotted grey;
108 treechildren:-moz-tree-line(selected) {
109 border: 1px dotted black;
113 /* ::::: tree separator ::::: */
115 treechildren:-moz-tree-separator {
116 border: 1px solid #9C9CFF;
119 /* ::::: drop feedback ::::: */
121 treechildren:-moz-tree-cell-text(dropOn) {
122 background-color: #008484;
126 treechildren:-moz-tree-drop-feedback {
127 background-color: #008484;
133 treechildren:-moz-tree-drop-feedback(selected) {
134 background-color: #FFCF00;
137 /* ::::: tree progress meter ::::: */
139 treechildren:-moz-tree-progressmeter {
141 border: 1px solid #FF9F00;
142 background-color: #000000;
146 treechildren:-moz-tree-progressmeter(progressUndetermined) {
147 list-style-image: url("chrome://global/skin/progressmeter/progressmeter-busy.gif");
148 background-color: #008484;
151 treechildren:-moz-tree-cell-text(progressmeter) {
155 /* ::::: tree columns ::::: */
158 -moz-box-align: center;
159 -moz-box-pack: center;
160 border: 1px solid #FF9F00;
161 background-color: #9C9CFF;
167 -moz-box-align: center;
168 -moz-box-pack: center;
169 border: 1px solid transparent;
170 background-color: #000000;
179 margin: 0px !important;
180 padding: 0px !important;
183 treecol[hideheader="true"] {
188 /* ..... internal box ..... */
190 treecol:hover:active {
191 border: 1px solid #FFCF00;
192 padding: 2px 3px 0px 5px;
195 treecolpicker:hover {
196 background-color: #FFCF00;
199 treecolpicker:hover:active {
200 border: 1px solid #FFCF00;
201 background-color: #FF9F00;
204 .treecol-image:hover:active {
205 padding: 2px 0px 0px 2px;
208 /* ::::: column drag and drop styles ::::: */
210 treecol[dragging="true"] {
211 border: 1px solid transparent;
212 background-color: #008484;
216 treecol[insertafter="true"] {
217 border-right: 1px solid #FFCF00;
220 treecol[insertbefore="true"] {
221 border-left: 1px solid #FFCF00;
224 treechildren:-moz-tree-column(insertbefore) {
225 border-left: 1px solid #FFCF00;
228 treechildren:-moz-tree-column(insertafter) {
229 border-right: 1px solid #FFCF00;
232 /* ::::: sort direction indicator ::::: */
234 .treecol-sortdirection {
235 list-style-image: none;
238 .sortDirectionIndicator[sortDirection="ascending"] .treecol-sortdirection {
239 list-style-image: url("chrome://global/skin/tree/sort-asc.gif");
242 .sortDirectionIndicator[sortDirection="descending"] .treecol-sortdirection {
243 list-style-image: url("chrome://global/skin/tree/sort-desc.gif");
246 /* ::::: column picker ::::: */
248 .tree-columnpicker-icon {
249 list-style-image: url("chrome://global/skin/tree/columnpicker.gif");
252 treecolpicker:hover > .tree-columnpicker-icon,
253 treecolpicker:hover:active > .tree-columnpicker-icon {
254 list-style-image: url("chrome://global/skin/tree/columnpicker-hover.gif");
257 /* ::::: twisty ::::: */
259 treechildren:-moz-tree-twisty {
262 width: 11px; /* The image's width is 11 pixels */
263 list-style-image: url("chrome://global/skin/tree/twisty-closed.gif");
266 treechildren:-moz-tree-twisty(open) {
267 width: 11px; /* The image's width is 11 pixels */
268 list-style-image: url("chrome://global/skin/tree/twisty-open.gif");
271 treechildren:-moz-tree-indentation {
275 /* ::::: gridline style ::::: */
277 treechildren.gridlines:-moz-tree-cell {
278 border-right: 1px solid green;
279 border-bottom: 1px solid green;
282 treechildren.gridlines:-moz-tree-row {