]>
Commit | Line | Data |
---|---|---|
81bea17a AD |
1 | /** |
2 | * dijit.layout.TabContainer | |
81bea17a AD |
3 | */ |
4 | ||
5 | /* Classes for all types of tabs (top/bottom/left/right) */ | |
2f01fe57 AD |
6 | |
7 | .soria .dijitTabContainer .tabStripRBtn { | |
8 | margin-right: 21px; | |
9 | } | |
10 | .soria .dijitTabContainer .tabStripLBtn { | |
11 | margin-left: 21px; | |
12 | } | |
81bea17a | 13 | |
2f01fe57 AD |
14 | .soria .nowrapTabStrip .dijitTab { |
15 | top: 2px; | |
16 | } | |
81bea17a | 17 | |
2f01fe57 AD |
18 | .soria .dijitTabContainerBottom-tabs .dijitTab { |
19 | top: -1px; | |
20 | bottom: 2px; | |
21 | } | |
81bea17a AD |
22 | |
23 | /* Tabs, shared classes */ | |
2f01fe57 AD |
24 | .soria .dijitTabPaneWrapper { |
25 | background:#fff; | |
26 | border:1px solid #B1BADF; | |
27 | margin: 0; | |
81bea17a | 28 | padding-left: 0; |
2f01fe57 | 29 | } |
81bea17a | 30 | |
2f01fe57 | 31 | .soria .dijitTab { |
f0cfe83e AD |
32 | padding:4px 6px 2px 4px; |
33 | background: url("../images/tabContainerSprite.gif") repeat-x 0 -351px; | |
34 | position: relative; | |
2f01fe57 | 35 | line-height:normal; |
81bea17a | 36 | margin:0 2px 0 0; /* space between one tab and the next in top/bottom mode */ |
2f01fe57 | 37 | color: #243C5F; |
f0cfe83e | 38 | border: 1px #8BA0BD solid; |
2f01fe57 AD |
39 | border-bottom: 1px #B1BADF solid; |
40 | } | |
81bea17a | 41 | |
81bea17a | 42 | /* hovered tab */ |
2f01fe57 AD |
43 | .soria .dijitTabHover { |
44 | color: #243C5F; | |
f0cfe83e | 45 | background: url("../images/tabContainerSprite.gif") repeat-x 0 -201px; |
2f01fe57 | 46 | } |
81bea17a | 47 | |
f0cfe83e | 48 | /* selected tab*/ |
2f01fe57 AD |
49 | .soria .dijitTabChecked |
50 | { | |
f0cfe83e AD |
51 | background: url("../images/tabContainerSprite.gif") repeat-x 0 -51px; |
52 | color: #243C5F !important; | |
2f01fe57 | 53 | } |
81bea17a | 54 | |
81bea17a | 55 | |
f0cfe83e AD |
56 | .soria .dijitTabListWrapper { |
57 | z-index: 10; | |
2f01fe57 | 58 | } |
81bea17a | 59 | |
f0cfe83e | 60 | |
81bea17a AD |
61 | /* Nested Tabs */ |
62 | ||
2f01fe57 | 63 | .soria .dijitTabContainerTabListNested { |
2f01fe57 AD |
64 | background: #D9E9F9; |
65 | border: none; | |
66 | } | |
67 | .soria .dijitTabContainerTabListNested .dijitTab { | |
68 | background: none; | |
69 | border: none; | |
81bea17a | 70 | top: 0; /* override top:1px setting of top-level tabs */ |
2f01fe57 | 71 | } |
f0cfe83e | 72 | .soria .dijitTabContainerTabListNested .dijitTabHover .tabLabel { |
2f01fe57 AD |
73 | text-decoration: underline; |
74 | } | |
75 | .soria .dijitTabContainerTabListNested .dijitTabChecked .tabLabel { | |
76 | text-decoration: underline; | |
77 | font-weight: bold; | |
78 | } | |
79 | .soria .dijitTabContainerSpacerNested .dijitTabSpacer { | |
81bea17a AD |
80 | /* thinner line between tab (labels) and content */ |
81 | height: 0; | |
2f01fe57 AD |
82 | } |
83 | .soria .dijitTabPaneWrapperNested { | |
81bea17a | 84 | border: none; /* prevent double border */ |
2f01fe57 | 85 | } |
81bea17a AD |
86 | |
87 | ||
88 | /* Close Button */ | |
2f01fe57 AD |
89 | .soria .dijitTabCloseButton { |
90 | width: 15px; | |
91 | height: 15px; | |
92 | background: url("../images/spriteRoundedIconsSmall.png") no-repeat -60px top; | |
93 | margin-top: -1px; | |
94 | } | |
95 | .dj_ie6 .soria .dijitTabCloseButton { | |
96 | background: url("../images/spriteRoundedIconsSmall.gif") no-repeat -60px top; | |
97 | } | |
81bea17a | 98 | |
2f01fe57 AD |
99 | .soria .dijitTabCloseButtonHover { |
100 | background: url("../images/spriteRoundedIconsSmall.png") no-repeat -60px -15px; | |
101 | } | |
102 | .dj_ie6 .soria .dijitTabCloseButtonHover { | |
103 | background: url("../images/spriteRoundedIconsSmall.gif") no-repeat -60px -15px; | |
104 | } | |
81bea17a AD |
105 | |
106 | /* ================================ */ | |
107 | /* top tabs */ | |
2f01fe57 AD |
108 | .soria .dijitTabContainerTop-tabs { |
109 | border-color: #B1BADF; | |
110 | padding-left: 3px; | |
111 | } | |
f0cfe83e AD |
112 | .soria .dijitTabContainerTop-tabs .dijitTab { |
113 | border-radius: 4px 4px 0 0; | |
114 | -moz-border-radius: 4px 4px 0 0; | |
115 | } | |
81bea17a | 116 | |
2f01fe57 AD |
117 | .soria .dijitTabContainerTopNoStrip { |
118 | padding-top: 3px; | |
119 | } | |
81bea17a AD |
120 | |
121 | /* top container */ | |
2f01fe57 AD |
122 | .soria .dijitTabContainerTop-container { |
123 | border-top: none; | |
124 | } | |
81bea17a | 125 | |
2f01fe57 AD |
126 | .soria .dijitTabContainerTop .dijitTabListWrapper { |
127 | border-bottom: none; | |
128 | } | |
81bea17a | 129 | |
f0cfe83e | 130 | /*unselected tabs */ |
2f01fe57 AD |
131 | .soria .dijitTabContainerTop-tabs .dijitTab { |
132 | top: 1px; | |
133 | } | |
81bea17a | 134 | |
f0cfe83e | 135 | /* selected tabs */ |
2f01fe57 AD |
136 | .soria .dijitTabContainerTop-tabs .dijitTabChecked { |
137 | border-bottom-color: #94b4e6; | |
138 | } | |
81bea17a AD |
139 | |
140 | /* strip */ | |
2f01fe57 AD |
141 | .soria .dijitTabContainerTopStrip { |
142 | border: 1px solid #B1BADF; | |
143 | margin-top: 1px; | |
144 | padding-top: 1px; | |
145 | background: #F0F4FC; | |
146 | } | |
81bea17a | 147 | |
2f01fe57 AD |
148 | .soria .dijitTabContainerTopStrip .dijitTabContainerTop-tabs { |
149 | padding-left: 3px; | |
150 | } | |
81bea17a AD |
151 | |
152 | ||
2f01fe57 AD |
153 | .soria .dijitTabContainerNested .dijitTabListWrapper { |
154 | height: auto; | |
155 | } | |
81bea17a AD |
156 | |
157 | /* ================================ */ | |
158 | /* bottom tabs */ | |
2f01fe57 AD |
159 | .soria .dijitTabContainerBottom-tabs { |
160 | margin-top: -1px; | |
161 | padding-left: 3px; | |
162 | border-top: 1px solid #B1BADF; | |
163 | } | |
81bea17a | 164 | |
2f01fe57 AD |
165 | .soria .dijitTabContainerBottom .dijitTabListWrapper { |
166 | border-top: none; | |
167 | padding-top: 1px; | |
168 | padding-bottom: 1px; | |
169 | float: left; | |
170 | } | |
81bea17a | 171 | |
2f01fe57 | 172 | .soria .dijitTabContainerBottom-tabs .dijitTab { |
f0cfe83e AD |
173 | border-bottom: none; |
174 | border-top: 1px solid #B1BADF; | |
175 | border-radius: 0 0 4px 4px; | |
176 | -moz-border-radius: 0 0 4px 4px; | |
177 | padding-top: 3px; | |
178 | padding-bottom: 3px; | |
179 | background: url("../images/tabBottomEnabledC.gif") repeat-x bottom left; | |
2f01fe57 | 180 | } |
81bea17a | 181 | |
2f01fe57 | 182 | .soria .dijitTabContainerBottom-tabs .dijitTabHover { |
2f01fe57 AD |
183 | background: url("../images/tabBottomHoverC.gif") repeat-x bottom left; |
184 | } | |
81bea17a | 185 | |
f0cfe83e AD |
186 | .soria .dijitTabContainerBottom-tabs .dijitTabChecked { |
187 | border-top-color:#94b4e6; | |
188 | background: url("../images/tabBottomActiveC.gif") repeat-x bottom left; | |
2f01fe57 | 189 | } |
81bea17a | 190 | |
81bea17a | 191 | |
f0cfe83e AD |
192 | /* bottom container */ |
193 | .soria .dijitTabContainerBottom-container { | |
194 | border-bottom: none; | |
2f01fe57 | 195 | } |
81bea17a | 196 | |
f0cfe83e | 197 | |
81bea17a | 198 | /* strip */ |
2f01fe57 AD |
199 | .soria .dijitTabContainerBottomStrip { |
200 | padding-bottom: 2px; | |
201 | border: 1px solid #B1BADF; | |
202 | } | |
81bea17a | 203 | |
2f01fe57 AD |
204 | .soria .dijitTabContainerBottomStrip { |
205 | background: #F0F4FC; | |
206 | } | |
81bea17a AD |
207 | |
208 | /* top/bottom strip */ | |
2f01fe57 AD |
209 | .soria .dijitTabContainerBottom-spacer, |
210 | .soria .dijitTabContainerTop-spacer { | |
211 | height: 2px; | |
212 | border: 1px solid #8ba0bd; | |
213 | background: #94b4e6; | |
214 | } | |
81bea17a | 215 | |
2f01fe57 AD |
216 | .soria .dijitTabContainerTop-spacer { |
217 | border-top: none; | |
218 | } | |
81bea17a | 219 | |
2f01fe57 AD |
220 | .soria .dijitTabContainerBottom-spacer { |
221 | border-bottom: none; | |
222 | } | |
81bea17a AD |
223 | |
224 | /* ================================ */ | |
225 | /* right tabs */ | |
2f01fe57 AD |
226 | .soria .dijitTabContainerRight-tabs { |
227 | height: 100%; | |
228 | border-color: #ccc; | |
229 | padding-top: 3px; | |
230 | } | |
f0cfe83e AD |
231 | .soria .dijitTabContainerRight-tabs .dijitTab { |
232 | border-radius: 0 4px 4px 0; | |
233 | -moz-border-radius: 0 4px 4px 0; | |
234 | border-bottom: none; | |
235 | border-left: 1px solid #B1BADF; | |
236 | border-bottom: 1px solid #B1BADF !important; | |
237 | padding: 4px 6px 2px 8px; | |
238 | } | |
239 | ||
240 | .soria .dijitTabContainerRight-tabs .dijitTabChecked { | |
241 | border-left-color: #94b4e6; | |
242 | background: url("../images/tabRightChecked.gif") no-repeat left top !important; | |
243 | } | |
244 | ||
81bea17a AD |
245 | |
246 | /* right container */ | |
2f01fe57 AD |
247 | .soria .dijitTabContainerRight-container { |
248 | border-right: none; | |
249 | } | |
81bea17a | 250 | |
81bea17a | 251 | |
f0cfe83e AD |
252 | /* some odd ie bug when borders disappear when setting a bottom margin, this sort of helps */ |
253 | .dj_ie6 .soria .dijitTabContainerRight-tabs .dijitTab, | |
254 | .dj_ie7 .soria .dijitTabContainerRight-tabs .dijitTab { | |
2f01fe57 AD |
255 | border-bottom: solid #B1BADF 1px; |
256 | margin-bottom: -1px; | |
257 | } | |
81bea17a | 258 | |
81bea17a | 259 | |
f0cfe83e AD |
260 | /* some odd ie bug when borders disappear when setting a bottom margin, this sort of helps */ |
261 | .dj_ie6 .soria .dijitTabContainerRight-tabs .dijitTabChecked, | |
262 | .dj_ie7 .soria .dijitTabContainerRight-tabs .dijitTabChecked, | |
263 | .dj_ie6 .soria .dijitTabContainerRight-tabs .dijitTabCheckedHover, | |
264 | .dj_ie7 .soria .dijitTabContainerRight-tabs .dijitTabCheckedHover { | |
2f01fe57 AD |
265 | border-bottom: solid #94b4e6 1px; |
266 | margin-bottom: -1px; | |
267 | } | |
81bea17a | 268 | |
81bea17a | 269 | /* strip */ |
2f01fe57 AD |
270 | .soria .dijitTabContainerRightStrip { |
271 | padding-right: 2px; | |
272 | border: 1px solid #B1BADF; | |
273 | background: #F0F4FC; | |
274 | border-left: none; | |
275 | } | |
81bea17a AD |
276 | |
277 | /* ================================ */ | |
278 | /* left tabs */ | |
2f01fe57 AD |
279 | .soria .dijitTabContainerLeft-tabs { |
280 | border-color: #ccc; | |
281 | padding-top: 3px; | |
282 | height: 100%; | |
283 | } | |
2f01fe57 | 284 | .soria .dijitTabContainerLeft-tabs .dijitTab { |
f0cfe83e AD |
285 | border-radius: 4px 0 0 4px; |
286 | -moz-border-radius: 4px 0 0 4px; | |
287 | border-right: 1px solid #B1BADF; | |
288 | border-bottom: 1px solid #B1BADF; | |
2f01fe57 | 289 | } |
81bea17a | 290 | |
2f01fe57 AD |
291 | .soria .dijitTabContainerLeft-tabs .dijitTabChecked { |
292 | border-right: 1px solid #94b4e6; | |
f0cfe83e | 293 | background: url("../images/tabLeftChecked.gif") no-repeat right top; |
2f01fe57 | 294 | } |
81bea17a | 295 | |
f0cfe83e AD |
296 | /* left container */ |
297 | .soria .dijitTabContainerLeft-container { | |
298 | border-left: none; | |
2f01fe57 | 299 | } |
81bea17a | 300 | |
f0cfe83e AD |
301 | |
302 | .dj_ie6 .soria .dijitTabContainerLeft-tabs .dijitTab, | |
303 | .dj_ie7 .soria .dijitTabContainerLeft-tabs .dijitTab { | |
2f01fe57 AD |
304 | border-bottom: solid #B1BADF 1px; |
305 | margin-bottom: -1px; | |
306 | } | |
81bea17a | 307 | |
f0cfe83e AD |
308 | .dj_ie6 .soria .dijitTabContainerLeft-tabs .dijitTabChecked .dijitTab, |
309 | .dj_ie7 .soria .dijitTabContainerLeft-tabs .dijitTabChecked .dijitTab, | |
310 | .dj_ie6 .soria .dijitTabContainerLeft-tabs .dijitTabCheckedHover .dijitTab, | |
311 | .dj_ie7 .soria .dijitTabContainerLeft-tabs .dijitTabCheckedHover .dijitTab { | |
2f01fe57 AD |
312 | border-bottom: solid #94b4e6 1px; |
313 | margin-bottom: -1px; | |
314 | } | |
81bea17a AD |
315 | |
316 | /* strip */ | |
2f01fe57 AD |
317 | .soria .dijitTabContainerLeftStrip { |
318 | padding-left: 2px; | |
319 | border: 1px solid #B1BADF; | |
320 | background: #F0F4FC; | |
321 | border-right: none; | |
322 | } | |
81bea17a AD |
323 | |
324 | /* ================================ */ | |
325 | /* left/right tabs */ | |
2f01fe57 AD |
326 | .soria .dijitTabContainerLeft-tabs .dijitTab, |
327 | .soria .dijitTabContainerRight-tabs .dijitTab { | |
f0cfe83e | 328 | margin: 1px 0; /* space between one tab and the next in left/right mode */ |
2f01fe57 | 329 | } |
81bea17a AD |
330 | |
331 | /* left/right tabstrip */ | |
2f01fe57 AD |
332 | .soria .dijitTabContainerLeft-spacer, |
333 | .soria .dijitTabContainerRight-spacer { | |
334 | width: 2px; | |
335 | border: 1px solid #8ba0bd; | |
336 | background: #94b4e6; | |
337 | } | |
81bea17a | 338 | |
2f01fe57 AD |
339 | .soria .dijitTabContainerLeft-spacer { |
340 | border-left: none; | |
341 | } | |
342 | .soria .dijitTabContainerRight-spacer { | |
343 | border-right: none; | |
344 | } | |
81bea17a AD |
345 | /* ================================ */ |
346 | ||
f0cfe83e | 347 | /* this resets the tabcontainer strip when within a contentpane */ |
2f01fe57 | 348 | .soria .dijitTabContainerTop-dijitContentPane .dijitTabContainerTop-tabs { |
81bea17a AD |
349 | border-left: 0 solid #ccc; |
350 | border-top: 0 solid #ccc; | |
351 | border-right: 0 solid #ccc; | |
352 | padding-top: 0; | |
353 | padding-left: 0; | |
2f01fe57 | 354 | } |
81bea17a AD |
355 | |
356 | ||
357 | /* ================================ */ | |
358 | ||
359 | /* Menu and slider control styles */ | |
2f01fe57 AD |
360 | .soria .dijitTabContainer .tabStripButton { |
361 | margin-right: 0; | |
362 | } | |
363 | .soria .dijitTabContainer .tabStripButton-top { | |
364 | margin-top: 1px; | |
365 | } | |
81bea17a | 366 | |
2f01fe57 AD |
367 | .dj_ie6 .soria .tabStripButton .dijitTabContent, |
368 | .dj_ie7 .soria .tabStripButton .dijitTabContent { | |
369 | padding-top: 7px; | |
370 | } | |
81bea17a | 371 | |
2f01fe57 AD |
372 | .dj_ie6 .soria .tabStrip-disabled .tabStripButton .dijitTabContent, |
373 | .dj_ie7 .soria .tabStrip-disabled .tabStripButton .dijitTabContent { | |
374 | padding-top: 6px; | |
375 | } | |
81bea17a | 376 | |
2f01fe57 AD |
377 | .soria .dijitTabContainer .tabStripButton-bottom { |
378 | background: transparent url(../images/tabBottomEnabledSpriteLR.gif) no-repeat scroll left bottom; | |
379 | border-bottom: medium none; | |
380 | border-top: 1px solid #B1BADF; | |
381 | } | |
81bea17a | 382 | |
f0cfe83e | 383 | .soria .dijitTabContainer .tabStripButton-bottom .dijitTab { |
2f01fe57 AD |
384 | background: transparent url(../images/tabBottomEnabledSpriteLR.gif) no-repeat scroll right bottom; |
385 | } | |
81bea17a | 386 | |
2f01fe57 AD |
387 | .soria .dijitTabStripIcon { |
388 | height: 14px; | |
389 | width: 14px; | |
390 | background: url(../images/spriteRoundedIconsSmall.png) no-repeat left top ; | |
391 | } | |
81bea17a | 392 | |
2f01fe57 AD |
393 | .dj_ie6 .soria .dijitTabStripIcon { |
394 | background-image: url(../images/spriteRoundedIconsSmall.gif); | |
395 | } | |
81bea17a | 396 | |
2f01fe57 AD |
397 | .soria .dijitTabStripSlideRightIcon { |
398 | background-position: -30px top; | |
399 | } | |
81bea17a | 400 | |
2f01fe57 AD |
401 | .soria .dijitTabStripMenuIcon { |
402 | background-position: -15px top; | |
81bea17a | 403 | } |