1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
|
/**
* dijit.layout.TabContainer
*
* To style TabContainer with rounded corners
* you can use these classes: .dijitTab (left), .dijitTabContent (center), dijitTabInnerDiv (right)
* For tabs aligned to top you can style a stripe div right underneath the tabs using .dijitTabStripe
*/
/* Classes for all types of tabs (top/bottom/left/right) */
.nihilo .dijitTabPaneWrapper { /* Container for tab content */
/*
overflow: hidden;
*/
background:#fff;
border:1px solid #ccc;
}
.nihilo .dijitTab {
line-height:normal;
margin-right:3px; /* space between one tab and the next in top/bottom mode */
padding:0px;
background: url("../images/tabContainerSprite.gif") no-repeat 0 -300px;
font-size: 0.9em;
font-weight: bold;
color: #6d6d6d;
margin-bottom: -1px;
}
.nihilo dijitTabChecked {
margin-bottom: -2px;
}
.nihilo .dijitTabInnerDiv .dijitTabContent {
padding:8px 10px 4px 10px;
background: url("../images/tabContainerSprite.gif") repeat-x 0 -350px;
}
.nihilo .dijitTabInnerDiv {
padding:0px 10px 0px 10px;
background: url("../images/tabContainerSprite.gif") no-repeat;
background-position: right -400px;
border: none;
}
.nihilo .dijitTabHover,
.nihilo .dijitTabCloseButtonHover {
color: #243C5F;
background: url("../images/tabContainerSprite.gif") no-repeat 0px -150px;
}
.nihilo .dijitTabHover .dijitTabInnerDiv,
.nihilo .dijitTabCloseButtonHover .dijitTabInnerDiv {
background: url("../images/tabContainerSprite.gif") no-repeat right -250px;
border: none;
}
.nihilo .dijitTabHover .dijitTabInnerDiv .dijitTabContent,
.nihilo .dijitTabCloseButtonHover .dijitTabInnerDiv .dijitTabContent {
background: url("../images/tabContainerSprite.gif") repeat-x 0 -200px;
padding:8px 10px 4px 10px;
}
.nihilo .dijitTabChecked,
.nihilo .dijitTabCloseButtonChecked
{
/* the selected tab (with or without hover) */
background: url("../images/tabContainerSprite.gif") no-repeat 0px -0px;
}
.nihilo .dijitTabChecked .dijitTabInnerDiv {
padding:0px 10px 0px 10px;
background: url("../images/tabContainerSprite.gif") no-repeat right -100px;
border: none;
}
.nihilo .dijitTabChecked .dijitTabInnerDiv .dijitTabContent {
background: url("../images/tabContainerSprite.gif") repeat-x 0 -50px;
padding:8px 10px 5px 10px;
color: #243C5F !important;
}
/* top specific classes */
.nihilo .dijitTabLabels-top {
border-left: 1px solid #ccc;
border-top: 1px solid #ccc;
border-right: 1px solid #ccc;
padding-top: 2px;
padding-left: 3px;
background: #fafafa url("../images/tabStripe.gif") repeat-x left bottom;
padding-bottom: 4px;
}
/*
.nihilo .dijitAlignTop .dijitTabStripe {
background: url("../images/tabStripe.gif") repeat-x left bottom;
padding-left: 2px;
padding-top: 0px;
height: 4px;
clear: both;
font-size: 1px;
margin-left: -3px;
}
*/
.nihilo .dijitAlignLeft .dijitTab,
.nihilo .dijitAlignRight .dijitTab {
margin-right:0px;
margin-bottom:5px; /* space between one tab and the next in left/right mode */
}
/* make the active tab white on the side next to the content pane */
.nihilo .dijitAlignTop .dijitTabChecked,
.nihilo .dijitAlignTop .dijitTabCloseButtonChecked
{
border-bottom-color:white;
vertical-align:bottom;
}
.nihilo .dijitAlignBottom .dijitTabChecked,
.nihilo .dijitAlignBottom .dijitTabCloseButtonChecked
{
border-top-color:white;
/*-moz-border-radius:2px 2px 0px 0px; eliminate some border detritrus on moz */
}
.nihilo .dijitAlignLeft .dijitTabChecked,
.nihilo .dijitAlignLeft .dijitTabCloseButtonChecked
{
border-right-color:white;
}
.nihilo .dijitAlignRight .dijitTabChecked,
.nihilo .dijitAlignRight .dijitTabCloseButtonChecked
{
border-left-color:white;
}
/* bottom specific classes */
.nihilo .dijitTabLabels-bottom {
padding-bottom: 2px;
padding-left: 3px;
border-left: 1px solid #ccc;
border-bottom: 1px solid #ccc;
border-right: 1px solid #ccc;
background: #fafafa url("../images/tabStripeBottom.gif") repeat-x left top;
padding-top: 3px;
}
/*
.nihilo .dijitAlignBottom .dijitTabStripe {
background: url("../images/tabStripe.gif") repeat-x left bottom;
padding-left: 2px;
padding-top: 0px;
height: 4px;
clear: both;
font-size: 1px;
margin-left: -3px;
}
*/
.nihilo .dijitAlignBottom .dijitTab {
line-height:normal;
margin-right:3px; /* space between one tab and the next in top/bottom mode */
padding:0px;
background: url("../images/tabBottomEnabledSpriteLR.gif") no-repeat bottom left;
font-size: 0.9em;
font-weight: bold;
color: #6d6d6d;
margin-bottom: 0px;
margin-top: 1px;
}
.nihilo .dijitAlignBottom .dijitTabChecked {
margin-bottom: 0px;
margin-top: 0px !important;
}
.nihilo .dijitAlignBottom .dijitTabInnerDiv .dijitTabContent {
padding:6px 10px 6px 10px;
background: url("../images/tabBottomEnabledC.gif") repeat-x bottom left;
}
.nihilo .dijitAlignBottom .dijitTabInnerDiv {
padding:0px 10px 0px 10px;
background: url("../images/tabBottomEnabledSpriteLR.gif") no-repeat bottom right;
border: none;
}
.nihilo .dijitAlignBottom .dijitTabHover,
.nihilo .dijitAlignBottom .dijitTabCloseButtonHover {
color: #243C5F;
background: url("../images/tabBottomHoverSpriteLR.gif") no-repeat bottom left;
}
.nihilo .dijitAlignBottom .dijitTabHover .dijitTabInnerDiv,
.nihilo .dijitAlignBottom .dijitTabCloseButtonHover .dijitTabInnerDiv {
background: url("../images/tabBottomHoverSpriteLR.gif") no-repeat bottom right;
border: none;
}
.nihilo .dijitAlignBottom .dijitTabHover .dijitTabInnerDiv .dijitTabContent,
.nihilo .dijitAlignBottom .dijitTabCloseButtonHover .dijitTabInnerDiv .dijitTabContent {
background: url("../images/tabBottomHoverC.gif") repeat-x bottom left;
padding:6px 10px 6px 10px;
}
.dj_ie6 .nihilo .dijitAlignBottom .dijitTabHover,
.dj_ie6 .nihilo .dijitAlignBottom .dijitTabCloseButtonHover {
background-image: url("../images/tabHover.gif");
}
.nihilo .dijitAlignBottom .dijitTabChecked,
.nihilo .dijitAlignBottom .dijitTabCloseButtonChecked
{
/* the selected tab (with or without hover) */
background: url("../images/tabBottomActiveSpriteLR.gif") no-repeat bottom left;
}
.nihilo .dijitAlignBottom .dijitTabChecked .dijitTabInnerDiv {
padding:0px 10px 0px 10px;
background: url("../images/tabBottomActiveSpriteLR.gif") no-repeat bottom right;
border: none;
}
.nihilo .dijitAlignBottom .dijitTabChecked .dijitTabInnerDiv .dijitTabContent {
background: url("../images/tabBottomActiveC.gif") repeat-x bottom left;
padding:7px 10px 6px 10px;
}
/* left specific classes */
.nihilo .dijitAlignLeft .dijitTab {
margin-right: 1px !important;
}
.nihilo .dijitAlignLeft .dijitTabChecked {
margin-right: 0px !important;
}
.nihilo .dijitAlignLeft .dijitTabChecked .dijitTabInnerDiv {
background: url("../images/tabLeftChecked.gif") no-repeat right top !important;
padding-left: 10px;
border-bottom: 1px solid #dedede !important;
}
.nihilo .dijitAlignLeft .dijitTabInnerDiv {
background: url("../images/tabContainerSprite.gif") no-repeat right -350px;
padding-left: 10px;
border-bottom: 1px solid #dedede;
}
.nihilo .dijitAlignLeft .dijitTabHover .dijitTabInnerDiv {
background: url("../images/tabContainerSprite.gif") no-repeat right -200px;
padding-left: 10px;
border-bottom: 1px solid #dedede;
}
.nihilo .dijitTabLabels-left-h {
padding-left: 2px;
padding-top: 3px;
border-left: 1px solid #b1badf;
border-bottom: 1px solid #b1badf;
border-top: 1px solid #b1badf;
background: #fafafa url("../images/tabStripeLeft.gif") repeat-y right top;
padding-right: 3px;
}
.nihilo .dijitAlignLeft .dijitTabInnerDiv .dijitTabContent {
padding:7px 10px 6px 10px !important;
}
/* right specific classes */
.nihilo .dijitTabLabels-right-h {
padding-right: 2px;
padding-top: 3px;
border-right: 1px solid #b1badf;
border-bottom: 1px solid #b1badf;
border-top: 1px solid #b1badf;
background: #fafafa url("../images/tabStripeRight.gif") repeat-y left top;
padding-left: 3px;
}
.nihilo .dijitAlignRight .dijitTab {
margin-left: 1px;
}
.nihilo .dijitAlignRight .dijitTabChecked {
margin-left: 0px;
}
.nihilo .dijitAlignRight .dijitTabChecked {
background: url("../images/tabRightChecked.gif") no-repeat left top !important;
}
.nihilo .dijitAlignRight .dijitTab {
background: url("../images/tabContainerSprite.gif") no-repeat left -350px;
}
.nihilo .dijitAlignRight .dijitTabHover .dijitTab {
background: url("../images/tabContainerSprite.gif") no-repeat left -200px;
}
.nihilo .dijitAlignRight .dijitTabInnerDiv .dijitTabContent {
padding:7px 10px 6px 10px !important;
}
.nihilo .dijitAlignRight .dijitTabChecked .dijitTabInnerDiv {
border-bottom: 1px solid #dedede !important;
}
.nihilo .dijitAlignRight .dijitTabInnerDiv {
border-bottom: 1px solid #dedede;
}
.nihilo .dijitAlignRight .dijitTabHover .dijitTabInnerDiv {
border-bottom: 1px solid #dedede;
}
/* make space for a positioned close button */
.nihilo .dijitTab .dijitClosable {
position: relative;
padding: 0;
padding-left: 10px !important;
padding-right: 20px !important;
}
.nihilo .dijitTab img {
padding: 0;
margin: 0;
}
.nihilo .dijitTab .dijitClosable .closeImage {
position:absolute;
top: 5px;
right: 5px;
height: 15px;
width: 15px;
padding: 0;
margin: 0;
background: url("../images/spriteRoundedIconsSmall.png") no-repeat -60px top;
}
.dj_ie6 .dijitTab .dijitClosable .closeImage {
background:url("../images/spriteRoundedIconsSmall.gif") no-repeat -60px top;
}
.dj_ie6 .nihilo .dijitTabCloseButton .dijitClosable .closeImage {
background: url("../images/spriteRoundedIconsSmall.gif") no-repeat -60px top;
}
.nihilo .dijitTabHover .dijitClosable .closeImage {
background: url("../images/spriteRoundedIconsSmall.png") no-repeat -60px -15px !important;
}
.dj_ie6 .nihilo .dijitTabHover .dijitClosable .closeImage {
background: url("../images/spriteRoundedIconsSmall.gif") no-repeat -60px -15px !important;
}
/* correct for IE6.
We cant force hasLayout as that blows out the shrink wrapped tabs
..so we shim in the closeImage position properties instead
*/
.dj_ie6 .nihilo .dijitAlignLeft .dijitTab .dijitClosable .closeImage {
left:-20px;
}
.nihilo .dijitAlignBottom .dijitTab .dijitClosable .closeImage {
top: auto;
bottom: 7px;
right: 3px;
}
.nihilo .dijitAlignLeft .dijitTab .dijitClosable .closeImage {
top: 7px;
left: 3px;
}
|