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 widget **********/
42 /** basic outliner ****************************************************
43 * basic outliner widget for use in main windows where no decoration
48 -moz-border-radius : 5px;
50 border : 1px solid #9C9CFF;
51 background-color : #000000;
56 /* border: 1px inset #CCD0DD; */
60 -moz-user-select: none;
63 outlinerbody:-moz-outliner-row {
65 border: 1px solid transparent;
68 outlinerbody:-moz-outliner-row(selected) {
69 background-color: #008484;
73 outliner:focus > outlinerbody:-moz-outliner-row(selected, focus) {
74 background-color: #008484;
78 outlinerbody:-moz-outliner-row(current, focus) {
79 border: 1px dotted #008484;
82 outlinerbody:-moz-outliner-cell {
83 padding: 0px 0px 1px 2px;
86 outlinerbody:-moz-outliner-cell-text {
91 outlinerbody:-moz-outliner-cell-text(selected) {
95 outlinerbody:-moz-outliner-cell-text(selected, focus) {
100 outlinerbody:-moz-outliner-line {
101 /* border: 1px dotted grey; */
104 outlinerbody:-moz-outliner-line(selected) {
105 /* border: 1px dotted black; */
108 outlinerbody:-moz-outliner-separator {
109 border: 1px solid #9C9CFF;
113 border: 1px solid #FFCF00;
115 background-color: #9C9CFF;
120 .outlinercol-image-box {
121 /* border: 1px solid #9C9CFF; */
128 .outlinercol-image-box {
132 outlinercol:hover:active {
133 border: 1px solid #FFCF00;
136 outlinercol:hover:active > .outlinercol-box,
137 outlinercol:hover:active > .outlinercol-image-box {
138 border-top: 1px solid transparent;
141 border-left: 1px solid transparent;
144 outlinercol:hover:active > .outlinercol-box {
145 padding: 1px 4px 0px 5px;
148 outlinercol:hover:active > .outlinercol-image-box {
149 padding: 1px 1px 0px 2px;
152 /* column drag and drop styles */
154 outlinercol[dragging="true"] {
155 /* border: 1px solid ThreeDDarkShadow; */
156 background-color: #008484;
160 outlinercol[dragging="true"] > .outlinercol-box {
161 border: 1px solid transparent;
164 outlinercol[insertafter="true"] {
165 /* border-right: 1px solid #FFCF00; */
168 outlinercol[insertafter="true"] > .outlinercol-box {
169 border-right: 1px solid #FFCF00;
172 outlinercol[insertbefore="true"] {
173 /* border-left: 1px solid #FFCF00; */
176 outlinercol[insertbefore="true"] > .outlinercol-box {
177 border-left: 1px solid #FFCF00;
180 outlinerbody:-moz-outliner-column(insertbefore) {
181 border-left: 1px solid #FFCF00;
184 outlinerbody:-moz-outliner-column(insertafter) {
185 border-right: 1px solid #FFCF00;
188 /* outliner header with sort direction indicators */
190 .outlinercol-sortdirection {
191 list-style-image: none;
194 .sortDirectionIndicator[sortDirection="ascending"] > .outlinercol-box > .outlinercol-sortdirection {
195 list-style-image: url("chrome://global/skin/sortAscending.gif");
198 .sortDirectionIndicator[sortDirection="descending"] > .outlinercol-box > .outlinercol-sortdirection {
199 list-style-image: url("chrome://global/skin/sortDescending.gif");
202 .outliner-colpicker-icon
204 list-style-image: url("chrome://global/skin/columnselect.gif");
208 outlinerbody:-moz-outliner-twisty {
210 width: 12px; /* The image's width is 12 pixels */
211 list-style-image: url("chrome://global/skin/twisty-closed.gif");
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");
219 outlinerbody:-moz-outliner-indentation {