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