removing useless directories, moving contents.rdf and preview.png to top level directory
[themes.git] / EarlyBlue / global / splitter.css
CommitLineData
128000f4 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
f6e0a33f 40/******* Splitters *******/
41
42/**
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
45 * these XUL elements.
46 */
47
48 splitter
49 {
50 cursor : e-resize;
51 background-color : #CCD0DD;
52 -moz-box-align : center;
53 -moz-box-pack : center;
54 border : none;
55 border-left : 1px solid #9999CC;
56 border-right : 1px solid #9999CC;
57 }
58
59 grippy, grippy[collapse="before"]
60 {
61 background-color : #CCCCCC;
62 border : 1px outset #CCD0DD;
63 list-style-image : url("chrome://global/skin/grippy-vertical-before.gif");
64 cursor : pointer;
65 min-height : 1px;
66 }
67
68 grippy:hover
69 {
70 background-color : #99CCFF;
71 }
72
73 grippy:hover:active
74 {
75 border : 1px inset #CCD0DD;
76 }
77
78 splitter[state="collapsed"] > grippy
79 {
80 list-style-image : url("chrome://global/skin/grippy-vertical-after.gif");
81 }
82
83 .grippy-box
84 {
85 }
86
87 .grippy-image
88 {
89 list-style-image : inherit;
90 }
91
92 splitter[state="dragging"],
93 splitter:hover:active
94 {
95 background-color : #999999;
96 }
97
98 rows > splitter
99 {
100 cursor : n-resize;
101 }
102
cd130c22 103 splitter[orient="vertical"]
f6e0a33f 104 {
105 cursor : n-resize;
106 border : none;
107 border-top : 1px solid #9999CC;
108 border-bottom : 1px solid #9999CC;
109 }
110
111/* Grippy alignment */
112
113/* Vertical splitter (between two boxes, horizontally stacked), collapse to left */
cd130c22 114 splitter > grippy
f6e0a33f 115 {
116 list-style-image : url("chrome://global/skin/grippy-vertical-before.gif");
117/*
118 border-left : 1px solid #9999CC;
119 border-right : 1px solid #9999CC;
120*/
121 }
122
cd130c22 123 splitter > grippy > .grippy-box
f6e0a33f 124 {
125 border-left : none;
126 border-right : none;
127 }
128
cd130c22 129 splitter[state="collapsed"] > grippy
f6e0a33f 130 {
131 list-style-image : url("chrome://global/skin/grippy-vertical-after.gif");
132 }
133
134/* Vertical splitter (between two boxes, horizontally stacked), collapse to right */
cd130c22 135 splitter[collapse="after"] > grippy
f6e0a33f 136 {
137 list-style-image : url("chrome://global/skin/grippy-vertical-after.gif");
138 }
139
cd130c22 140 splitter[collapse="after"][state="collapsed"] > grippy
f6e0a33f 141 {
142 list-style-image : url("chrome://global/skin/grippy-vertical-before.gif");
143 }
144
145/* Horizontal splitter (between two boxes, vertically stacked), collapse to left */
cd130c22 146 splitter[orient="vertical"] > grippy
f6e0a33f 147 {
148 list-style-image : url("chrome://global/skin/grippy-horizontal-before.gif");
149/*
150 border-top : 1px solid #9999CC;
151 border-bottom : 1px solid #9999CC;
152*/
153 }
154
cd130c22 155 splitter[orient="vertical"] > grippy > .grippy-box
f6e0a33f 156 {
157 }
158
cd130c22 159 splitter[state="collapsed"][orient="vertical"] > grippy
f6e0a33f 160 {
161 list-style-image : url("chrome://global/skin/grippy-horizontal-after.gif");
162 }
163
164/* Horizontal splitter (between two boxes, vertically stacked), collapse to right */
cd130c22 165 splitter[collapse="after"][orient="vertical"] > grippy
f6e0a33f 166 {
167 list-style-image : url("chrome://global/skin/grippy-horizontal-after.gif");
168 }
169
cd130c22 170 splitter[collapse="after"][state="collapsed"][orient="vertical"] > grippy
f6e0a33f 171 {
172 list-style-image : url("chrome://global/skin/grippy-horizontal-before.gif");
173 }