add missing file
[themes.git] / EarlyBlue / skin / 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 widget **********/
41
42 /** basic outliner ****************************************************
43  *  basic outliner widget for use in main windows where no decoration
44  *  is required.
45  **/
46
47 outliner {
48   border-spacing        : 0px;     
49   border                : none;
50   background-color      : #FFFFFF;
51   color                 : #000000;   
52 }
53
54 outliner.inset {
55   border: 1px inset #CCD0DD;
56 }
57
58 outlinerbody {
59   -moz-user-select: none;
60 }
61
62 outlinerbody:-moz-outliner-row {
63   height: 18px;
64   border: 1px solid transparent;
65 }
66
67 outlinerbody:-moz-outliner-row(selected) {
68   background-color: #808080;
69 }
70
71 outliner:focus > outlinerbody:-moz-outliner-row(selected, focus) {
72   background-color: #336699;
73 }
74
75 outlinerbody:-moz-outliner-row(current, focus) {
76   border: 1px dotted #9999CC;
77 }
78
79 outlinerbody:-moz-outliner-cell {
80   padding: 0px 0px 1px 2px;
81 }
82
83 outlinerbody:-moz-outliner-cell-text {
84   color: inherit;
85 }
86
87 /*
88 outlinerbody:-moz-outliner-cell-text(selected) {
89   color: #000000;
90 }
91
92 outlinerbody:-moz-outliner-cell-text(selected, focus) {
93   color: #000000;
94 }
95 */
96
97 outlinerbody:-moz-outliner-line {
98   border: 1px dotted grey;
99 }
100
101 outlinerbody:-moz-outliner-line(selected) {
102   border: 1px dotted black;
103 }
104
105 outlinerbody:-moz-outliner-separator {
106   border: 1px outset #CCD0DD;
107 }
108
109 outlinercol { 
110 /*  border: 1px solid #666699; */
111   background-color: #CCD0DD;
112   color: black;
113 }
114
115 .outlinercol-box,
116 .outlinercol-image-box {
117   border: 1px outset #CCD0DD;
118 }  
119
120 .outlinercol-box {
121   padding: 0px 4px;
122 }
123
124 .outlinercol-image-box {
125   padding: 0px 1px;
126 }
127   
128 outlinercol:hover:active {
129   border: 1px solid #666699;
130 }
131
132 outlinercol:hover:active > .outlinercol-box,
133 outlinercol:hover:active > .outlinercol-image-box {
134   border-top: 1px solid transparent;
135   border-right: none;
136   border-bottom: none;
137   border-left: 1px solid transparent;
138 }
139   
140 outlinercol:hover:active > .outlinercol-box {
141   padding: 1px 4px 0px 5px;
142 }
143
144 outlinercol:hover:active > .outlinercol-image-box {
145   padding: 1px 1px 0px 2px;
146 }
147
148 /* column drag and drop styles */
149
150 outlinercol[dragging="true"] {
151 /*  border: 1px solid ThreeDDarkShadow; */
152   background-color: #336699;
153   color: #000000;
154 }
155
156 outlinercol[dragging="true"] > .outlinercol-box {
157   border: 1px solid transparent;
158 }
159
160 outlinercol[insertafter="true"] {
161 /*  border-right: 1px solid #000000; */
162 }
163
164 outlinercol[insertafter="true"] > .outlinercol-box {
165   border-right: 1px solid #000000;
166 }
167
168 outlinercol[insertbefore="true"] {
169 /*  border-left: 1px solid #000000; */
170 }
171
172 outlinercol[insertbefore="true"] > .outlinercol-box {
173   border-left: 1px solid #000000;
174 }
175
176 outlinerbody:-moz-outliner-column(insertbefore) {
177   border-left: 1px solid #000000;
178 }
179
180 outlinerbody:-moz-outliner-column(insertafter) {
181   border-right: 1px solid #000000;
182 }
183
184 /* outliner header with sort direction indicators */
185
186 .outlinercol-sortdirection {
187   list-style-image: none;
188 }
189
190 .sortDirectionIndicator[sortDirection="ascending"] > .outlinercol-box > .outlinercol-sortdirection {
191   list-style-image: url("chrome://global/skin/sortAscending.gif");
192 }
193
194 .sortDirectionIndicator[sortDirection="descending"] > .outlinercol-box > .outlinercol-sortdirection {
195   list-style-image: url("chrome://global/skin/sortDescending.gif");
196 }
197
198 .outliner-colpicker-icon
199 {
200   list-style-image: url("chrome://global/skin/columnselect.gif");
201 }
202
203 /* twisty rules */
204 outlinerbody:-moz-outliner-twisty {
205   padding-right: 2px;
206   width: 12px; /* The image's width is 12 pixels */
207   list-style-image: url("chrome://global/skin/twisty-closed.gif");
208 }
209   
210 outlinerbody:-moz-outliner-twisty(open) {
211   width: 12px; /* The image's width is 12 pixels */
212   list-style-image: url("chrome://global/skin/twisty-open.gif");
213 }
214
215 outlinerbody:-moz-outliner-indentation {
216   width: 16px;
217 }
218
219 .outlinercol-text {
220    margin: 0px;
221 }