Upgrade to ExtJS 3.3.1 - Released 11/30/2010
[extjs.git] / resources / css / structure / layout.css
1 /*!
2  * Ext JS Library 3.3.1
3  * Copyright(c) 2006-2010 Sencha Inc.
4  * licensing@sencha.com
5  * http://www.sencha.com/license
6  */
7 .x-border-layout-ct {
8     position: relative;
9 }
10
11 .x-border-panel {
12     position:absolute;
13     left:0;
14     top:0;
15 }
16
17 .x-tool-collapse-south {
18     background-position:0 -195px;
19 }
20
21 .x-tool-collapse-south-over {
22     background-position:-15px -195px;
23 }
24
25 .x-tool-collapse-north {
26     background-position:0 -210px;
27 }
28
29 .x-tool-collapse-north-over {
30     background-position:-15px -210px;
31 }
32
33 .x-tool-collapse-west {
34     background-position:0 -180px;
35 }
36
37 .x-tool-collapse-west-over {
38     background-position:-15px -180px;
39 }
40
41 .x-tool-collapse-east {
42     background-position:0 -165px;
43 }
44
45 .x-tool-collapse-east-over {
46     background-position:-15px -165px;
47 }
48
49 .x-tool-expand-south {
50     background-position:0 -210px;
51 }
52
53 .x-tool-expand-south-over {
54     background-position:-15px -210px;
55 }
56
57 .x-tool-expand-north {
58     background-position:0 -195px;
59 }
60 .x-tool-expand-north-over {
61     background-position:-15px -195px;
62 }
63
64 .x-tool-expand-west {
65     background-position:0 -165px;
66 }
67
68 .x-tool-expand-west-over {
69     background-position:-15px -165px;
70 }
71
72 .x-tool-expand-east {
73     background-position:0 -180px;
74 }
75
76 .x-tool-expand-east-over {
77     background-position:-15px -180px;
78 }
79
80 .x-tool-expand-north, .x-tool-expand-south {
81     float:right;
82     margin:3px;
83 }
84
85 .x-tool-expand-east, .x-tool-expand-west {
86     float:none;
87     margin:3px 2px;
88 }
89
90 .x-accordion-hd .x-tool-toggle {
91     background-position:0 -255px;
92 }
93
94 .x-accordion-hd .x-tool-toggle-over {
95     background-position:-15px -255px;
96 }
97
98 .x-panel-collapsed .x-accordion-hd .x-tool-toggle {
99     background-position:0 -240px;
100 }
101
102 .x-panel-collapsed .x-accordion-hd .x-tool-toggle-over {
103     background-position:-15px -240px;
104 }
105
106 .x-accordion-hd {
107         padding-top:4px;
108         padding-bottom:3px;
109         border-top:0 none;
110     background: transparent repeat-x 0 -9px;
111 }
112
113 .x-layout-collapsed{
114     position:absolute;
115     left:-10000px;
116     top:-10000px;
117     visibility:hidden;
118     width:20px;
119     height:20px;
120     overflow:hidden;
121         border:1px solid;
122         z-index:20;
123 }
124
125 .ext-border-box .x-layout-collapsed{
126     width:22px;
127     height:22px;
128 }
129
130 .x-layout-collapsed-over{
131     cursor:pointer;
132 }
133
134 .x-layout-collapsed-west .x-layout-collapsed-tools, .x-layout-collapsed-east .x-layout-collapsed-tools{
135         position:absolute;
136     top:0;
137     left:0;
138     width:20px;
139     height:20px;
140 }
141
142
143 .x-layout-split{
144     position:absolute;
145     height:5px;
146     width:5px;
147     line-height:1px;
148     font-size:1px;
149     z-index:3;
150     background-color:transparent;
151 }
152
153 /* IE6 strict won't drag w/out a color */
154 .ext-strict .ext-ie6 .x-layout-split{
155     background-color: #fff !important;
156     filter: alpha(opacity=1);
157 }
158
159 .x-layout-split-h{
160     background-image:url(../images/default/s.gif);
161     background-position: left;
162 }
163
164 .x-layout-split-v{
165     background-image:url(../images/default/s.gif);
166     background-position: top;
167 }
168
169 .x-column-layout-ct {
170     overflow:hidden;
171     zoom:1;
172 }
173
174 .x-column {
175     float:left;
176     padding:0;
177     margin:0;
178     overflow:hidden;
179     zoom:1;
180 }
181
182 .x-column-inner {
183     overflow:hidden;
184     zoom:1;
185 }
186
187 /* mini mode */
188 .x-layout-mini {
189     position:absolute;
190     top:0;
191     left:0;
192     display:block;
193     width:5px;
194     height:35px;
195     cursor:pointer;
196     opacity:.5;
197     -moz-opacity:.5;
198     filter:alpha(opacity=50);
199 }
200
201 .x-layout-mini-over, .x-layout-collapsed-over .x-layout-mini{
202     opacity:1;
203     -moz-opacity:1;
204     filter:none;
205 }
206
207 .x-layout-split-west .x-layout-mini {
208     top:48%;
209 }
210
211 .x-layout-split-east .x-layout-mini {
212     top:48%;
213 }
214
215 .x-layout-split-north .x-layout-mini {
216     left:48%;
217     height:5px;
218     width:35px;
219 }
220
221 .x-layout-split-south .x-layout-mini {
222     left:48%;
223     height:5px;
224     width:35px;
225 }
226
227 .x-layout-cmini-west .x-layout-mini {
228     top:48%;
229 }
230
231 .x-layout-cmini-east .x-layout-mini {
232     top:48%;
233 }
234
235 .x-layout-cmini-north .x-layout-mini {
236     left:48%;
237     height:5px;
238     width:35px;
239 }
240
241 .x-layout-cmini-south .x-layout-mini {
242     left:48%;
243     height:5px;
244     width:35px;
245 }
246
247 .x-layout-cmini-west, .x-layout-cmini-east {
248     border:0 none;
249     width:5px !important;
250     padding:0;
251     background-color:transparent;
252 }
253
254 .x-layout-cmini-north, .x-layout-cmini-south {
255     border:0 none;
256     height:5px !important;
257     padding:0;
258     background-color:transparent;
259 }
260
261 .x-viewport, .x-viewport body {
262     margin: 0;
263     padding: 0;
264     border: 0 none;
265     overflow: hidden;
266     height: 100%;
267 }
268
269 .x-abs-layout-item {
270     position:absolute;
271     left:0;
272     top:0;
273 }
274
275 .ext-ie input.x-abs-layout-item, .ext-ie textarea.x-abs-layout-item {
276     margin:0;
277 }
278
279 .x-box-layout-ct {
280     overflow:hidden;
281     zoom:1;
282 }
283
284 .x-box-inner {
285     overflow:hidden;
286     zoom:1;
287     position:relative;
288     left:0;
289     top:0;
290 }
291
292 .x-box-item {
293     position:absolute;
294     left:0;
295     top:0;
296 }