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 ::::: */
49 background-color: #FFFFFF;
53 /* ::::: outliner rows ::::: */
55 outlinerchildren:-moz-outliner-row {
56 border: 1px solid transparent;
60 outlinerchildren:-moz-outliner-row(selected) {
61 background-color: #808080;
64 outlinerchildren:-moz-outliner-row(selected, focus) {
65 background-color: #336699;
68 outlinerchildren:-moz-outliner-row(current, focus) {
69 border: 1px dotted #9999CC;
72 /* ::::: outliner cells ::::: */
74 outlinerchildren:-moz-outliner-cell {
75 padding: 0px 2px 0px 2px;
78 outlinerchildren:-moz-outliner-cell-text {
80 border: 2px solid transparent;
83 outlinerchildren:-moz-outliner-cell-text(selected) {
87 outlinerchildren:-moz-outliner-cell-text(selected, focus) {
91 outlinerchildren:-moz-outliner-cell-text(primary) {
92 border: 2px solid transparent;
95 outlinerchildren:-moz-outliner-cell-text(primary, drop) {
96 background-color: #336699;
100 outlinerchildren:-moz-outliner-cell-text(primary, dropBefore) {
101 border-top: 2px solid #000000;
104 outlinerchildren:-moz-outliner-cell-text(selected, primary, dropBefore) {
105 border-top: 2px solid #000000;
108 outlinerchildren:-moz-outliner-cell-text(primary, dropAfter) {
109 border-bottom: 2px solid #000000;
112 outlinerchildren:-moz-outliner-cell-text(selected, primary, dropAfter) {
113 border-bottom: 2px solid #000000;
117 /* ::::: lines connecting cells ::::: */
119 outlinerchildren:-moz-outliner-line {
124 outlinerchildren:-moz-outliner-line {
125 border: 1px dotted grey;
128 outlinerchildren:-moz-outliner-line(selected, focus) {
129 border: 1px dotted black;
133 outlinerchildren:-moz-outliner-separator {
134 border: 1px outset #CCD0DD;
137 /* ::::: outliner columns ::::: */
140 -moz-box-align: center;
141 -moz-box-pack: center;
142 border: 1px outset #CCD0DD;
143 background-color: #CCD0DD;
149 -moz-box-align: center;
150 -moz-box-pack: center;
151 border: 1px solid transparent;
152 background-color: #CCD0DD;
161 margin: 0px !important;
162 padding: 0px !important;
165 /* ..... internal box ..... */
167 outlinercol:hover:active {
168 border: 1px solid #666699;
169 padding: 2px 3px 0px 5px;
172 outlinercolpicker:hover:active {
173 border: 1px solid #666699;
176 .outlinercol-image:hover:active {
177 padding: 2px 0px 0px 2px;
180 /* ::::: column drag and drop styles ::::: */
182 outlinercol[dragging="true"] {
183 border: 1px solid transparent;
184 background-color: #336699;
188 outlinercol[insertafter="true"] {
189 border-right: 1px solid #000000;
192 outlinercol[insertbefore="true"] {
193 border-left: 1px solid #000000;
196 outlinerchildren:-moz-outliner-column(insertbefore) {
197 border-left: 1px solid #000000;
200 outlinerchildren:-moz-outliner-column(insertafter) {
201 border-right: 1px solid #000000;
204 /* ::::: sort direction indicator ::::: */
206 .outlinercol-sortdirection {
207 list-style-image: none;
210 .sortDirectionIndicator[sortDirection="ascending"] .outlinercol-sortdirection {
211 list-style-image: url("chrome://global/skin/tree/sort-asc.gif");
214 .sortDirectionIndicator[sortDirection="descending"] .outlinercol-sortdirection {
215 list-style-image: url("chrome://global/skin/tree/sort-desc.gif");
218 /* ::::: column picker ::::: */
220 .outliner-columnpicker-icon {
221 list-style-image: url("chrome://global/skin/tree/columnpicker.gif");
224 /* ::::: twisty ::::: */
226 outlinerchildren:-moz-outliner-twisty {
228 width: 12px; /* The image's width is 12 pixels */
229 list-style-image: url("chrome://global/skin/tree/twisty-closed.gif");
232 outlinerchildren:-moz-outliner-twisty(open) {
233 width: 12px; /* The image's width is 12 pixels */
234 list-style-image: url("chrome://global/skin/tree/twisty-open.gif");
237 outlinerchildren:-moz-outliner-indentation {