8 $border-radius: $tab-top-border-radius,
9 $border-width: $tab-top-border-width,
10 $background-color: $tab-base-color,
11 $background-gradient: $tab-background-gradient,
12 $background-direction: top,
18 $ui: 'default-bottom',
19 $border-radius: $tab-bottom-border-radius,
20 $border-width: $tab-bottom-border-width,
21 $background-color: $tab-base-color,
22 $background-gradient: $tab-background-gradient,
23 $background-direction: bottom,
29 margin: 0 0 0 $tab-spacing;
30 display: inline-block;
35 border-color: $tab-border-color;
55 -webkit-appearance: none;
56 font-size: $tab-font-size;
57 @if $tab-font-weight {
58 font-weight: $tab-font-weight;
60 @if $tab-font-family {
61 $font-family: $tab-font-family;
69 -o-text-overflow: ellipsis;
70 text-overflow: ellipsis;
77 .#{$prefix}tab-inner {
78 background-color: transparent;
79 background-repeat: no-repeat;
80 background-position: 0 -1px;
92 .#{$prefix}border-box {
93 .#{$prefix}tab-default-top {
94 height: $tab-height + top($tabbar-top-strip-border-width);
96 .#{$prefix}tab-default-bottom {
97 height: $tab-height + bottom($tabbar-bottom-strip-border-width);
102 * html .#{$prefix}ie {
103 .#{$prefix}tab button {
108 .#{$prefix}strict .#{$prefix}ie6,
109 .#{$prefix}strict .#{$prefix}ie7 {
110 .#{$prefix}tab .#{$prefix}frame-mc {
115 .#{$prefix}ie .#{$prefix}tab-active button:active {
122 $framepad: max(top($tab-top-border-radius), right($tab-top-border-radius)) - top($tab-top-border-width);
124 .#{$prefix}tab-default-top {
125 @if $tab-inner-border {
126 @include inner-border(
127 $width: $tab-top-inner-border-width,
128 $color: $tab-inner-border-color
132 border-bottom: 1px solid $tabbar-strip-border-color !important;
135 padding-bottom: $framepad;
139 .#{$prefix}tab-inner {
140 height: $tab-height - $framepad * 2 - top($tab-top-border-width);
141 line-height: $tab-height - $framepad * 2 - top($tab-top-border-width);
145 .#{$prefix}nbr .#{$prefix}tab-default-top {
146 border-bottom-width: 1px !important;
149 .#{$prefix}tab-default-top-active {
150 border-bottom-color: $tabbar-strip-background-color !important;
153 $framepad: max(bottom($tab-bottom-border-radius), left($tab-bottom-border-radius)) - bottom($tab-bottom-border-width);
155 .#{$prefix}tab-default-bottom {
156 @if $tab-inner-border {
157 @include inner-border(
158 $width: $tab-bottom-inner-border-width,
159 $color: $tab-inner-border-color
163 border-top: 1px solid $tabbar-strip-border-color !important;
165 @include inner-border(
166 $width: $tab-bottom-inner-border-width,
167 $color: $tab-inner-border-color
171 padding-top: $framepad;
175 .#{$prefix}tab-inner {
176 height: $tab-height - $framepad * 2 - bottom($tab-bottom-border-width);
177 line-height: $tab-height - $framepad * 2 - bottom($tab-bottom-border-width);
181 .#{$prefix}nbr .#{$prefix}tab-default-bottom {
182 border-top-width: 1px !important;
185 .#{$prefix}tab-default-bottom-active {
186 border-top-color: $tabbar-strip-background-color !important;
189 .#{$prefix}tab-default-disabled {
196 border-color: $tab-border-color-disabled;
197 @include background-gradient($tab-base-color-disabled, $tab-background-gradient-disabled);
200 color: $tab-color-disabled !important;
204 .#{$prefix}tab-icon-text-left {
205 .#{$prefix}tab-inner {
211 .#{$prefix}tab-over {
212 @if $tab-border-color-over != $tab-border-color {
213 border-color: $tab-border-color-over;
217 @if $tab-color-over != $tab-color {
218 color: $tab-color-over;
220 @if $tab-font-weight-over != $tab-font-weight {
221 font-weight: $tab-font-weight-over;
223 @if $tab-font-size-over != $tab-font-size {
224 font-size: $tab-font-size-over;
226 @if $tab-font-family-over != $tab-font-family {
227 font-family: $tab-font-family-over;
232 @if $tab-background-gradient-over != $tab-background-gradient {
233 .#{$prefix}tab-top-over {
234 @include background-gradient($tab-base-color-over, $tab-background-gradient-over, top);
236 .#{$prefix}tab-bottom-over {
237 @include background-gradient($tab-base-color-over, $tab-background-gradient-over, bottom);
240 @else if $tab-base-color-over != $tab-base-color {
241 .#{$prefix}tab-top-over,
242 .#{$prefix}tab-bottom-over {
243 background-color: $tab-base-color-over;
248 .#{$prefix}tab-active {
250 @if $tab-border-color-active != $tab-border-color {
251 border-color: $tab-border-color-active;
255 @if $tab-color-active != $tab-color {
256 color: $tab-color-active;
258 @if $tab-font-weight-active != $tab-font-weight {
259 font-weight: $tab-font-weight-active;
261 @if $tab-font-size-active != $tab-font-size {
262 font-size: $tab-font-size-active;
264 @if $tab-font-family-active != $tab-font-family {
265 font-family: $tab-font-family-active;
270 @if $tab-background-gradient-active != $tab-background-gradient {
271 .#{$prefix}tab-top-active {
272 @include background-gradient($tab-base-color-active, $tab-background-gradient-active, top);
274 .#{$prefix}tab-bottom-active {
275 @include background-gradient($tab-base-color-active, $tab-background-gradient-active, bottom);
278 @else if $tab-base-color-active != $tab-base-color {
279 .#{$prefix}tab-top-active,
280 .#{$prefix}tab-bottom-active {
281 background-color: $tab-base-color-active;
286 .#{$prefix}tab-disabled {
287 @if $tab-border-color-disabled != $tab-border-color {
288 border-color: $tab-border-color-disabled;
292 @if $tab-color-disabled != $tab-color {
293 color: $tab-color-disabled;
295 @if $tab-font-weight-disabled != $tab-font-weight {
296 font-weight: $tab-font-weight-disabled;
298 @if $tab-font-size-disabled != $tab-font-size {
299 font-size: $tab-font-size-disabled;
301 @if $tab-font-family-disabled != $tab-font-family {
302 font-family: $tab-font-family-disabled;
307 @if $tab-background-gradient-disabled != $tab-background-gradient {
308 .#{$prefix}tab-top-disabled {
309 background-image: none;
310 background: transparent;
311 @include background-gradient($tab-base-color-disabled, $tab-background-gradient-disabled, top);
313 .#{$prefix}tab-bottom-disabled {
314 background-image: none;
315 background: transparent;
316 @include background-gradient($tab-base-color-disabled, $tab-background-gradient-disabled, bottom);
319 @else if $tab-base-color-disabled != $tab-base-color {
320 .#{$prefix}tab-top-disabled,
321 .#{$prefix}tab-bottom-disabled {
322 background-color: $tab-base-color-disabled;
326 @if not $supports-gradients or $compile-all {
328 .#{$prefix}tab-top { background-image: theme-image($theme-name, 'tab/tab-default-top-bg.gif'); }
329 .#{$prefix}tab-bottom { background-image: theme-image($theme-name, 'tab/tab-default-bottom-bg.gif'); }
331 .#{$prefix}tab-top-over { background-image: theme-image($theme-name, 'tab/tab-default-top-over-bg.gif'); }
332 .#{$prefix}tab-bottom-over { background-image: theme-image($theme-name, 'tab/tab-default-bottom-over-bg.gif'); }
334 .#{$prefix}tab-top-active { background-image: theme-image($theme-name, 'tab/tab-default-top-active-bg.gif'); }
335 .#{$prefix}tab-bottom-active { background-image: theme-image($theme-name, 'tab/tab-default-bottom-active-bg.gif'); }
337 .#{$prefix}tab-top-disabled { background-image: theme-image($theme-name, 'tab/tab-default-top-disabled-bg.gif') !important; }
338 .#{$prefix}tab-bottom-disabled { background-image: theme-image($theme-name, 'tab/tab-default-bottom-disabled-bg.gif') !important; }
342 .#{$prefix}tab-closable em {
343 padding-right: $tab-closable-icon-width + 3;
346 .#{$prefix}tab-close-btn {
348 top: $tab-closable-icon-top;
349 right: $tab-closable-icon-right;
350 width: $tab-closable-icon-width;
351 height: $tab-closable-icon-height;
355 background: theme-image($theme-name, $tab-closable-icon) no-repeat;
356 @include opacity(.6);
358 .#{$prefix}tab-close-btn:hover {
362 @if not $supports-border-radius or $compile-all {
364 .#{$prefix}tab-top-over {
370 .#{$prefix}frame-bc {
371 background-image: theme-image($theme-name, 'tab/tab-default-top-over-corners.gif');
374 .#{$prefix}frame-mr {
375 background-image: theme-image($theme-name, 'tab/tab-default-top-over-sides.gif');
377 .#{$prefix}frame-mc {
378 background-color: $tab-base-color-over;
379 background-repeat: repeat-x;
380 background-image: theme-image($theme-name, 'tab/tab-default-top-over-bg.gif');
384 .#{$prefix}tab-bottom-over {
390 .#{$prefix}frame-bc {
391 background-image: theme-image($theme-name, 'tab/tab-default-bottom-over-corners.gif');
394 .#{$prefix}frame-mr {
395 background-image: theme-image($theme-name, 'tab/tab-default-bottom-over-sides.gif');
397 .#{$prefix}frame-mc {
398 background-color: $tab-base-color-over;
399 background-repeat: repeat-x;
400 background-image: theme-image($theme-name, 'tab/tab-default-bottom-over-bg.gif');
404 .#{$prefix}tab-top-active {
410 .#{$prefix}frame-bc {
411 background-image: theme-image($theme-name, 'tab/tab-default-top-active-corners.gif');
414 .#{$prefix}frame-mr {
415 background-image: theme-image($theme-name, 'tab/tab-default-top-active-sides.gif');
417 .#{$prefix}frame-mc {
418 background-color: $tab-base-color-active;
419 background-repeat: repeat-x;
420 background-image: theme-image($theme-name, 'tab/tab-default-top-active-bg.gif');
424 .#{$prefix}tab-bottom-active {
430 .#{$prefix}frame-bc {
431 background-image: theme-image($theme-name, 'tab/tab-default-bottom-active-corners.gif');
434 .#{$prefix}frame-mr {
435 background-image: theme-image($theme-name, 'tab/tab-default-bottom-active-sides.gif');
437 .#{$prefix}frame-mc {
438 background-color: $tab-base-color-active;
439 background-repeat: repeat-x;
440 background-image: theme-image($theme-name, 'tab/tab-default-bottom-active-bg.gif');
444 .#{$prefix}tab-top-disabled {
450 .#{$prefix}frame-bc {
451 background-image: theme-image($theme-name, 'tab/tab-default-top-disabled-corners.gif');
454 .#{$prefix}frame-mr {
455 background-image: theme-image($theme-name, 'tab/tab-default-top-disabled-sides.gif');
457 .#{$prefix}frame-mc {
458 background-repeat: repeat-x;
459 background-image: theme-image($theme-name, 'tab/tab-default-top-disabled-bg.gif');
463 .#{$prefix}tab-bottom-disabled {
469 .#{$prefix}frame-bc {
470 background-image: theme-image($theme-name, 'tab/tab-default-bottom-disabled-corners.gif');
473 .#{$prefix}frame-mr {
474 background-image: theme-image($theme-name, 'tab/tab-default-bottom-disabled-sides.gif');
476 .#{$prefix}frame-mc {
477 background-repeat: repeat-x;
478 background-image: theme-image($theme-name, 'tab/tab-default-bottom-disabled-bg.gif');