big tree->listbox/outliner; outliner-> update
[themes.git] / LCARStrek / global / outliner.css
CommitLineData
351107c9 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
b1eaa419 40/* ===== outliner.css ===================================================
41 == Styles used by the XUL outline element.
42 ======================================================================= */
351107c9 43
b1eaa419 44/* ::::: outliner ::::: */
351107c9 45
46outliner {
b1eaa419 47 -moz-border-radius: 5px;
48 border-spacing: 0px;
49 border: 1px solid #9C9CFF;
50 background-color: #000000;
51 color: #FF9F00;
351107c9 52}
53
b1eaa419 54/* ::::: outliner rows ::::: */
351107c9 55
b1eaa419 56outlinerchildren:-moz-outliner-row {
351107c9 57 border: 1px solid transparent;
b1eaa419 58 height: 18px;
351107c9 59}
60
b1eaa419 61outlinerchildren:-moz-outliner-row(selected) {
351107c9 62 background-color: #008484;
63 color: #FFCF00;
64}
65
b1eaa419 66outlinerchildren:-moz-outliner-row(selected, focus) {
351107c9 67 background-color: #008484;
68 color: #FFCF00;
69}
70
b1eaa419 71outlinerchildren:-moz-outliner-row(current, focus) {
351107c9 72 border: 1px dotted #008484;
73}
74
b1eaa419 75/* ::::: outliner cells ::::: */
76
77outlinerchildren:-moz-outliner-cell {
351107c9 78 padding: 0px 0px 1px 2px;
79}
80
b1eaa419 81outlinerchildren:-moz-outliner-cell-text {
351107c9 82 color: inherit;
b1eaa419 83 border: 2px solid transparent;
351107c9 84}
85
86/*
b1eaa419 87outlinerchildren:-moz-outliner-cell-text(selected) {
88 color: #FFFFFF;
351107c9 89}
90
b1eaa419 91outlinerchildren:-moz-outliner-cell-text(selected, focus) {
92 color: #FFFFFF;
351107c9 93}
94*/
95
b1eaa419 96/* ::::: lines connecting cells ::::: */
97
98outlinerchildren:-moz-outliner-line {
99 visibility: hidden;
351107c9 100}
101
b1eaa419 102/*
103outlinerchildren:-moz-outliner-line {
104 border: 1px dotted grey;
351107c9 105}
106
b1eaa419 107outlinerchildren:-moz-outliner-line(selected) {
108 border: 1px dotted black;
109}
110*/
111
112/* ::::: outliner separator ::::: */
113
114outlinerchildren:-moz-outliner-separator {
351107c9 115 border: 1px solid #9C9CFF;
116}
117
b1eaa419 118/* ::::: drop feedback ::::: */
119
120outlinerchildren:-moz-outliner-cell-text(dropOn) {
121 background-color: #008484;
122 color: #FFCF00;
123}
124
125outlinerchildren:-moz-outliner-drop-feedback {
126 background-color: #008484;
127 width: 50px;
128 height: 2px;
129 margin-left: 5px;
130}
131
132outlinerchildren:-moz-outliner-drop-feedback(selected) {
133 background-color: #FFCF00;
134}
135
136/* ::::: outliner columns ::::: */
137
351107c9 138outlinercol {
b1eaa419 139 -moz-box-align: center;
140 -moz-box-pack: center;
141 border: 1px solid #FF9F00;
351107c9 142 background-color: #9C9CFF;
b1eaa419 143 color: #000000;
144 padding: 1px 4px;
351107c9 145}
146
b1eaa419 147outlinercolpicker {
148 -moz-box-align: center;
149 -moz-box-pack: center;
150 border: 1px solid transparent;
151 background-color: #000000;
152 padding: 1px 0px;
351107c9 153}
154
b1eaa419 155.outlinercol-image {
156 padding: 1px;
351107c9 157}
158
b1eaa419 159.outlinercol-text {
160 margin: 0px !important;
161 padding: 0px !important;
351107c9 162}
b1eaa419 163
164/* ..... internal box ..... */
165
351107c9 166outlinercol:hover:active {
167 border: 1px solid #FFCF00;
b1eaa419 168 padding: 2px 3px 0px 5px;
351107c9 169}
170
b1eaa419 171outlinercolpicker:hover {
172 background-color: #FFCF00;
173}
174
175outlinercolpicker:hover:active {
176 border: 1px solid #FFCF00;
177 background-color: #FF9F00;
351107c9 178}
179
b1eaa419 180.outlinercol-image:hover:active {
181 padding: 2px 0px 0px 2px;
351107c9 182}
183
b1eaa419 184/* ::::: column drag and drop styles ::::: */
351107c9 185
186outlinercol[dragging="true"] {
b1eaa419 187 border: 1px solid transparent;
351107c9 188 background-color: #008484;
189 color: #000000;
190}
191
351107c9 192outlinercol[insertafter="true"] {
351107c9 193 border-right: 1px solid #FFCF00;
194}
195
196outlinercol[insertbefore="true"] {
351107c9 197 border-left: 1px solid #FFCF00;
198}
199
b1eaa419 200outlinerchildren:-moz-outliner-column(insertbefore) {
351107c9 201 border-left: 1px solid #FFCF00;
202}
203
b1eaa419 204outlinerchildren:-moz-outliner-column(insertafter) {
351107c9 205 border-right: 1px solid #FFCF00;
206}
207
b1eaa419 208/* ::::: sort direction indicator ::::: */
351107c9 209
210.outlinercol-sortdirection {
211 list-style-image: none;
212}
213
b1eaa419 214.sortDirectionIndicator[sortDirection="ascending"] .outlinercol-sortdirection {
215 list-style-image: url("chrome://global/skin/tree/sort-asc.gif");
351107c9 216}
217
b1eaa419 218.sortDirectionIndicator[sortDirection="descending"] .outlinercol-sortdirection {
219 list-style-image: url("chrome://global/skin/tree/sort-desc.gif");
351107c9 220}
221
b1eaa419 222/* ::::: column picker ::::: */
223
224.outliner-columnpicker-icon {
225 list-style-image: url("chrome://global/skin/tree/columnpicker.gif");
351107c9 226}
227
b1eaa419 228outlinercolpicker:hover > .outliner-columnpicker-icon,
229outlinercolpicker:hover:active > .outliner-columnpicker-icon {
230 list-style-image: url("chrome://global/skin/tree/columnpicker-hover.gif");
231}
232
233/* ::::: twisty ::::: */
234
235outlinerchildren:-moz-outliner-twisty {
351107c9 236 padding-right: 2px;
237 width: 12px; /* The image's width is 12 pixels */
b1eaa419 238 list-style-image: url("chrome://global/skin/tree/twisty-closed.gif");
351107c9 239}
240
b1eaa419 241outlinerchildren:-moz-outliner-twisty(open) {
351107c9 242 width: 12px; /* The image's width is 12 pixels */
b1eaa419 243 list-style-image: url("chrome://global/skin/tree/twisty-open.gif");
351107c9 244}
245
b1eaa419 246outlinerchildren:-moz-outliner-indentation {
247 width: 10px;
351107c9 248}