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
50 background-color : #FFFFFF;
55 border: 1px inset #CCD0DD;
59 -moz-user-select: none;
62 outlinerbody:-moz-outliner-row {
64 border: 1px solid transparent;
67 outlinerbody:-moz-outliner-row(selected) {
68 background-color: #808080;
71 outliner:focus > outlinerbody:-moz-outliner-row(selected, focus) {
72 background-color: #336699;
75 outlinerbody:-moz-outliner-row(current, focus) {
76 border: 1px dotted #9999CC;
79 outlinerbody:-moz-outliner-cell {
80 padding: 0px 0px 1px 2px;
83 outlinerbody:-moz-outliner-cell-text {
88 outlinerbody:-moz-outliner-cell-text(selected) {
92 outlinerbody:-moz-outliner-cell-text(selected, focus) {
97 outlinerbody:-moz-outliner-line {
98 border: 1px dotted grey;
101 outlinerbody:-moz-outliner-line(selected) {
102 border: 1px dotted black;
105 outlinerbody:-moz-outliner-separator {
106 border: 1px outset #CCD0DD;
110 /* border: 1px solid #666699; */
111 background-color: #CCD0DD;
116 .outlinercol-image-box {
117 border: 1px outset #CCD0DD;
124 .outlinercol-image-box {
128 outlinercol:hover:active {
129 border: 1px solid #666699;
132 outlinercol:hover:active > .outlinercol-box,
133 outlinercol:hover:active > .outlinercol-image-box {
134 border-top: 1px solid transparent;
137 border-left: 1px solid transparent;
140 outlinercol:hover:active > .outlinercol-box {
141 padding: 1px 4px 0px 5px;
144 outlinercol:hover:active > .outlinercol-image-box {
145 padding: 1px 1px 0px 2px;
148 /* column drag and drop styles */
150 outlinercol[dragging="true"] {
151 /* border: 1px solid ThreeDDarkShadow; */
152 background-color: #336699;
156 outlinercol[dragging="true"] > .outlinercol-box {
157 border: 1px solid transparent;
160 outlinercol[insertafter="true"] {
161 /* border-right: 1px solid #000000; */
164 outlinercol[insertafter="true"] > .outlinercol-box {
165 border-right: 1px solid #000000;
168 outlinercol[insertbefore="true"] {
169 /* border-left: 1px solid #000000; */
172 outlinercol[insertbefore="true"] > .outlinercol-box {
173 border-left: 1px solid #000000;
176 outlinerbody:-moz-outliner-column(insertbefore) {
177 border-left: 1px solid #000000;
180 outlinerbody:-moz-outliner-column(insertafter) {
181 border-right: 1px solid #000000;
184 /* outliner header with sort direction indicators */
186 .outlinercol-sortdirection {
187 list-style-image: none;
190 .sortDirectionIndicator[sortDirection="ascending"] > .outlinercol-box > .outlinercol-sortdirection {
191 list-style-image: url("chrome://global/skin/sortAscending.gif");
194 .sortDirectionIndicator[sortDirection="descending"] > .outlinercol-box > .outlinercol-sortdirection {
195 list-style-image: url("chrome://global/skin/sortDescending.gif");
198 .outliner-colpicker-icon
200 list-style-image: url("chrome://global/skin/columnselect.gif");
204 outlinerbody:-moz-outliner-twisty {
206 width: 12px; /* The image's width is 12 pixels */
207 list-style-image: url("chrome://global/skin/twisty-closed.gif");
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");
215 outlinerbody:-moz-outliner-indentation {