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 ::::: */
49 -moz-border-radius: 5px;
51 border: 1px solid #9C9CFF;
52 background-color: #000000;
56 /* ::::: tree rows ::::: */
58 treechildren:-moz-tree-row {
59 border: 1px solid transparent;
64 treechildren:-moz-tree-row(selected) {
65 background-color: #008484;
69 treechildren:-moz-tree-row(selected, focus) {
70 background-color: #008484;
74 treechildren:-moz-tree-row(current, focus) {
75 border: 1px dotted #FF9F00;
78 treechildren:-moz-tree-row(selected, current, focus) {
79 border: 1px dotted #FF9F00;
82 /* ::::: tree cells ::::: */
84 treechildren:-moz-tree-cell {
85 padding: 0px 0px 1px 2px;
88 treechildren:-moz-tree-cell-text {
90 border: 2px solid transparent;
94 treechildren:-moz-tree-cell-text(selected) {
98 treechildren:-moz-tree-cell-text(selected, focus) {
103 /* ::::: lines connecting cells ::::: */
105 treechildren:-moz-tree-line {
110 treechildren:-moz-tree-line {
111 border: 1px dotted grey;
114 treechildren:-moz-tree-line(selected) {
115 border: 1px dotted black;
119 /* ::::: tree separator ::::: */
121 treechildren:-moz-tree-separator {
122 border: 1px solid #9C9CFF;
125 /* ::::: drop feedback ::::: */
127 treechildren:-moz-tree-cell-text(dropOn) {
128 background-color: #008484;
132 treechildren:-moz-tree-drop-feedback {
133 background-color: #008484;
139 treechildren:-moz-tree-drop-feedback(selected) {
140 background-color: #FFCF00;
143 /* ::::: tree progress meter ::::: */
145 treechildren:-moz-tree-progressmeter {
147 border: 1px solid #FF9F00;
148 background-color: #000000;
152 treechildren:-moz-tree-progressmeter(progressUndetermined) {
153 list-style-image: url("chrome://global/skin/progressmeter/progressmeter-busy.gif");
154 background-color: #008484;
157 treechildren:-moz-tree-cell-text(progressmeter) {
161 /* ::::: tree columns ::::: */
164 -moz-box-align: center;
165 -moz-box-pack: center;
166 border: 1px solid #FF9F00;
167 background-color: #9C9CFF;
173 -moz-box-align: center;
174 -moz-box-pack: center;
175 border: 1px solid transparent;
176 background-color: #000000;
185 margin: 0px !important;
186 padding: 0px !important;
189 treecol[hideheader="true"] {
194 /* ..... internal box ..... */
196 treecol:hover:active {
197 border: 1px solid #FFCF00;
198 padding: 2px 3px 0px 5px;
201 treecolpicker:hover {
202 background-color: #FFCF00;
205 treecolpicker:hover:active {
206 border: 1px solid #FFCF00;
207 background-color: #FF9F00;
210 .treecol-image:hover:active {
211 padding: 2px 0px 0px 2px;
214 /* ::::: column drag and drop styles ::::: */
216 treecol[dragging="true"] {
217 border: 1px solid transparent;
218 background-color: #008484;
222 treecol[insertafter="true"] {
223 border-right: 1px solid #FFCF00;
226 treecol[insertbefore="true"] {
227 border-left: 1px solid #FFCF00;
230 treechildren:-moz-tree-column(insertbefore) {
231 border-left: 1px solid #FFCF00;
234 treechildren:-moz-tree-column(insertafter) {
235 border-right: 1px solid #FFCF00;
238 /* ::::: sort direction indicator ::::: */
240 .treecol-sortdirection {
241 list-style-image: none;
244 .sortDirectionIndicator[sortDirection="ascending"] .treecol-sortdirection {
245 list-style-image: url("chrome://global/skin/tree/sort-asc.gif");
248 .sortDirectionIndicator[sortDirection="descending"] .treecol-sortdirection {
249 list-style-image: url("chrome://global/skin/tree/sort-desc.gif");
252 /* ::::: column picker ::::: */
254 .tree-columnpicker-icon {
255 list-style-image: url("chrome://global/skin/tree/columnpicker.gif");
258 treecolpicker:hover > .tree-columnpicker-icon,
259 treecolpicker:hover:active > .tree-columnpicker-icon {
260 list-style-image: url("chrome://global/skin/tree/columnpicker-hover.gif");
263 /* ::::: twisty ::::: */
265 treechildren:-moz-tree-twisty {
268 width: 11px; /* The image's width is 11 pixels */
269 list-style-image: url("chrome://global/skin/tree/twisty-closed.gif");
272 treechildren:-moz-tree-twisty(open) {
273 width: 11px; /* The image's width is 11 pixels */
274 list-style-image: url("chrome://global/skin/tree/twisty-open.gif");
277 treechildren:-moz-tree-indentation {
281 /* ::::: gridline style ::::: */
283 treechildren.gridlines:-moz-tree-cell {
284 border-right: 1px solid green;
285 border-bottom: 1px solid green;
288 treechildren.gridlines:-moz-tree-row {