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 /******* Splitters *******/
43 * XXX - We want to deprecate all usages of 'box' in this file and replace with
44 * vbox/hbox. This should happen after the chrome is converted to use
51 background-color : #CCD0DD;
52 -moz-box-align : center;
53 -moz-box-pack : center;
55 border-left : 1px solid #9999CC;
56 border-right : 1px solid #9999CC;
59 grippy, grippy[collapse="before"]
61 background-color : #CCCCCC;
62 border : 1px outset #CCD0DD;
63 list-style-image : url("chrome://global/skin/grippy-vertical-before.gif");
70 background-color : #99CCFF;
75 border : 1px inset #CCD0DD;
78 splitter[state="collapsed"] > grippy
80 list-style-image : url("chrome://global/skin/grippy-vertical-after.gif");
89 list-style-image : inherit;
92 splitter[state="dragging"],
95 background-color : #999999;
103 splitter[orient="vertical"]
107 border-top : 1px solid #9999CC;
108 border-bottom : 1px solid #9999CC;
111 /* Grippy alignment */
113 /* Vertical splitter (between two boxes, horizontally stacked), collapse to left */
116 list-style-image : url("chrome://global/skin/grippy-vertical-before.gif");
118 border-left : 1px solid #9999CC;
119 border-right : 1px solid #9999CC;
123 splitter > grippy > .grippy-box
129 splitter[state="collapsed"] > grippy
131 list-style-image : url("chrome://global/skin/grippy-vertical-after.gif");
134 /* Vertical splitter (between two boxes, horizontally stacked), collapse to right */
135 splitter[collapse="after"] > grippy
137 list-style-image : url("chrome://global/skin/grippy-vertical-after.gif");
140 splitter[collapse="after"][state="collapsed"] > grippy
142 list-style-image : url("chrome://global/skin/grippy-vertical-before.gif");
145 /* Horizontal splitter (between two boxes, vertically stacked), collapse to left */
146 splitter[orient="vertical"] > grippy
148 list-style-image : url("chrome://global/skin/grippy-horizontal-before.gif");
150 border-top : 1px solid #9999CC;
151 border-bottom : 1px solid #9999CC;
155 splitter[orient="vertical"] > grippy > .grippy-box
159 splitter[state="collapsed"][orient="vertical"] > grippy
161 list-style-image : url("chrome://global/skin/grippy-horizontal-after.gif");
164 /* Horizontal splitter (between two boxes, vertically stacked), collapse to right */
165 splitter[collapse="after"][orient="vertical"] > grippy
167 list-style-image : url("chrome://global/skin/grippy-horizontal-after.gif");
170 splitter[collapse="after"][state="collapsed"][orient="vertical"] > grippy
172 list-style-image : url("chrome://global/skin/grippy-horizontal-before.gif");