keeping up with classic; make labels do better & clean up margins of some elements
[themes.git] / EarlyBlue / global / outliner.css
1 /* ***** BEGIN LICENSE BLOCK *****
2  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3  *
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/
8  *
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
12  * License.
13  *
14  * The Original Code is "Classic" theme of mozilla.org code.
15  *
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.
20  *
21  * Contributor(s):
22  *   Robert Kaiser <KaiRo@KaiRo.at>
23  *
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.
35  *
36  * ***** END LICENSE BLOCK ***** */
37
38 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
39
40 /* ===== outliner.css ===================================================
41   == Styles used by the XUL outline element.
42   ======================================================================= */
43
44 /* ::::: outliner ::::: */
45
46 outliner {
47   border-spacing: 0px;     
48   border: 1px inset #CCD0DD;
49   background-color: #FFFFFF;
50   color: #000000;   
51 }
52
53 /* ::::: outliner rows ::::: */
54
55 outlinerchildren:-moz-outliner-row {
56   border: 1px solid transparent;
57   height: 18px;
58 }
59
60 outlinerchildren:-moz-outliner-row(selected) {
61   background-color: #808080;
62 }
63
64 outlinerchildren:-moz-outliner-row(selected, focus) {
65   background-color: #336699;
66 }
67
68 outlinerchildren:-moz-outliner-row(current, focus) {
69   border: 1px dotted #9999CC;
70 }
71
72 /* ::::: outliner cells ::::: */
73
74 outlinerchildren:-moz-outliner-cell {
75   padding: 0px 2px 0px 2px;
76 }
77
78 outlinerchildren:-moz-outliner-cell-text {
79   color: inherit;
80   border: 2px solid transparent;
81 }
82
83 outlinerchildren:-moz-outliner-cell-text(selected) {
84   color: #FFFFFF;
85 }
86
87 outlinerchildren:-moz-outliner-cell-text(selected, focus) {
88   color: #FFFFFF;
89 }
90
91 /* ::::: lines connecting cells ::::: */
92
93 outlinerchildren:-moz-outliner-line {
94   visibility: hidden;
95 }
96
97 /*
98 outlinerchildren:-moz-outliner-line {
99   border: 1px dotted grey;
100 }
101
102 outlinerchildren:-moz-outliner-line(selected, focus) {
103   border: 1px dotted black;
104 }
105 */
106
107 /* ::::: outliner separator ::::: */
108
109 outlinerchildren:-moz-outliner-separator {
110   border: 1px outset #CCD0DD;
111 }
112
113 /* ::::: drop feedback ::::: */
114
115 outlinerchildren:-moz-outliner-cell-text(dropOn) {
116   background-color: #336699;
117   color: #FFFFFF;
118 }
119
120 outlinerchildren:-moz-outliner-drop-feedback {
121   background-color: #336699;
122   width: 50px;
123   height: 2px;
124   margin-left: 5px;
125 }
126
127 outlinerchildren:-moz-outliner-drop-feedback(selected) {
128   background-color: #FFFFFF;
129 }
130
131 /* ::::: outliner columns ::::: */
132
133 outlinercol { 
134   -moz-box-align: center;
135   -moz-box-pack: center;
136   border: 1px outset #CCD0DD;
137   background-color: #CCD0DD;
138   color: #000000;
139   padding: 1px 4px;
140 }
141
142 outlinercolpicker { 
143   -moz-box-align: center;
144   -moz-box-pack: center;
145   border: 1px solid transparent;
146   background-color: #CCD0DD;
147   padding: 1px 0px;
148 }
149
150 .outlinercol-image {
151   padding: 1px;
152 }
153   
154 .outlinercol-text {
155   margin: 0px !important;
156   padding: 0px !important;
157 }
158
159 /* ..... internal box ..... */
160
161 outlinercol:hover:active {
162   border: 1px solid #666699;
163   padding: 2px 3px 0px 5px;
164 }
165
166 outlinercolpicker:hover:active {
167   border: 1px solid #666699;
168 }
169
170 .outlinercol-image:hover:active {
171   padding: 2px 0px 0px 2px;
172 }
173
174 /* ::::: column drag and drop styles ::::: */
175
176 outlinercol[dragging="true"] {
177   border: 1px solid transparent;
178   background-color: #336699;
179   color: #000000;
180 }
181
182 outlinercol[insertafter="true"] {
183   border-right: 1px solid #000000;
184 }
185
186 outlinercol[insertbefore="true"] {
187   border-left: 1px solid #000000;
188 }
189
190 outlinerchildren:-moz-outliner-column(insertbefore) {
191   border-left: 1px solid #000000;
192 }
193
194 outlinerchildren:-moz-outliner-column(insertafter) {
195   border-right: 1px solid #000000;
196 }
197
198 /* ::::: sort direction indicator :::::  */
199
200 .outlinercol-sortdirection {
201   list-style-image: none;
202 }
203
204 .sortDirectionIndicator[sortDirection="ascending"] .outlinercol-sortdirection {
205   list-style-image: url("chrome://global/skin/tree/sort-asc.gif");
206 }
207
208 .sortDirectionIndicator[sortDirection="descending"] .outlinercol-sortdirection {
209   list-style-image: url("chrome://global/skin/tree/sort-desc.gif");
210 }
211
212 /* ::::: column picker :::::  */
213
214 .outliner-columnpicker-icon {
215   list-style-image: url("chrome://global/skin/tree/columnpicker.gif");
216 }
217
218 /* ::::: twisty :::::  */
219
220 outlinerchildren:-moz-outliner-twisty {
221   padding-right: 2px;
222   width: 12px; /* The image's width is 12 pixels */
223   list-style-image: url("chrome://global/skin/tree/twisty-closed.gif");
224 }
225   
226 outlinerchildren:-moz-outliner-twisty(open) {
227   width: 12px; /* The image's width is 12 pixels */
228   list-style-image: url("chrome://global/skin/tree/twisty-open.gif");
229 }
230
231 outlinerchildren:-moz-outliner-indentation {
232   width: 10px;
233 }