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 /* ===== outliner.css ===================================================
41 == Styles used by the XUL outline element.
42 ======================================================================= */
44 /* ::::: outliner ::::: */
47 -moz-border-radius: 5px;
49 border: 1px solid #9C9CFF;
50 background-color: #000000;
54 /* ::::: outliner rows ::::: */
56 outlinerchildren:-moz-outliner-row {
57 border: 1px solid transparent;
61 outlinerchildren:-moz-outliner-row(selected) {
62 background-color: #008484;
66 outlinerchildren:-moz-outliner-row(selected, focus) {
67 background-color: #008484;
71 outlinerchildren:-moz-outliner-row(current, focus) {
72 border: 1px dotted #008484;
75 /* ::::: outliner cells ::::: */
77 outlinerchildren:-moz-outliner-cell {
78 padding: 0px 0px 1px 2px;
81 outlinerchildren:-moz-outliner-cell-text {
83 border: 2px solid transparent;
87 outlinerchildren:-moz-outliner-cell-text(selected) {
91 outlinerchildren:-moz-outliner-cell-text(selected, focus) {
96 /* ::::: lines connecting cells ::::: */
98 outlinerchildren:-moz-outliner-line {
103 outlinerchildren:-moz-outliner-line {
104 border: 1px dotted grey;
107 outlinerchildren:-moz-outliner-line(selected) {
108 border: 1px dotted black;
112 /* ::::: outliner separator ::::: */
114 outlinerchildren:-moz-outliner-separator {
115 border: 1px solid #9C9CFF;
118 /* ::::: drop feedback ::::: */
120 outlinerchildren:-moz-outliner-cell-text(dropOn) {
121 background-color: #008484;
125 outlinerchildren:-moz-outliner-drop-feedback {
126 background-color: #008484;
132 outlinerchildren:-moz-outliner-drop-feedback(selected) {
133 background-color: #FFCF00;
136 /* ::::: outliner columns ::::: */
139 -moz-box-align: center;
140 -moz-box-pack: center;
141 border: 1px solid #FF9F00;
142 background-color: #9C9CFF;
148 -moz-box-align: center;
149 -moz-box-pack: center;
150 border: 1px solid transparent;
151 background-color: #000000;
160 margin: 0px !important;
161 padding: 0px !important;
164 /* ..... internal box ..... */
166 outlinercol:hover:active {
167 border: 1px solid #FFCF00;
168 padding: 2px 3px 0px 5px;
171 outlinercolpicker:hover {
172 background-color: #FFCF00;
175 outlinercolpicker:hover:active {
176 border: 1px solid #FFCF00;
177 background-color: #FF9F00;
180 .outlinercol-image:hover:active {
181 padding: 2px 0px 0px 2px;
184 /* ::::: column drag and drop styles ::::: */
186 outlinercol[dragging="true"] {
187 border: 1px solid transparent;
188 background-color: #008484;
192 outlinercol[insertafter="true"] {
193 border-right: 1px solid #FFCF00;
196 outlinercol[insertbefore="true"] {
197 border-left: 1px solid #FFCF00;
200 outlinerchildren:-moz-outliner-column(insertbefore) {
201 border-left: 1px solid #FFCF00;
204 outlinerchildren:-moz-outliner-column(insertafter) {
205 border-right: 1px solid #FFCF00;
208 /* ::::: sort direction indicator ::::: */
210 .outlinercol-sortdirection {
211 list-style-image: none;
214 .sortDirectionIndicator[sortDirection="ascending"] .outlinercol-sortdirection {
215 list-style-image: url("chrome://global/skin/tree/sort-asc.gif");
218 .sortDirectionIndicator[sortDirection="descending"] .outlinercol-sortdirection {
219 list-style-image: url("chrome://global/skin/tree/sort-desc.gif");
222 /* ::::: column picker ::::: */
224 .outliner-columnpicker-icon {
225 list-style-image: url("chrome://global/skin/tree/columnpicker.gif");
228 outlinercolpicker:hover > .outliner-columnpicker-icon,
229 outlinercolpicker:hover:active > .outliner-columnpicker-icon {
230 list-style-image: url("chrome://global/skin/tree/columnpicker-hover.gif");
233 /* ::::: twisty ::::: */
235 outlinerchildren:-moz-outliner-twisty {
237 width: 12px; /* The image's width is 12 pixels */
238 list-style-image: url("chrome://global/skin/tree/twisty-closed.gif");
241 outlinerchildren:-moz-outliner-twisty(open) {
242 width: 12px; /* The image's width is 12 pixels */
243 list-style-image: url("chrome://global/skin/tree/twisty-open.gif");
246 outlinerchildren:-moz-outliner-indentation {