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 -2px;
92 .#{$prefix}tab-disabled {
96 .#{$prefix}border-box {
97 .#{$prefix}tab-default-top {
98 height: $tab-height + top($tabbar-top-strip-border-width);
100 .#{$prefix}tab-default-bottom {
101 height: $tab-height + bottom($tabbar-bottom-strip-border-width);
106 * html .#{$prefix}ie {
107 .#{$prefix}tab button {
112 .#{$prefix}strict .#{$prefix}ie6,
113 .#{$prefix}strict .#{$prefix}ie7 {
114 .#{$prefix}tab .#{$prefix}frame-mc {
119 .#{$prefix}ie .#{$prefix}tab-active button:active {
126 $framepad: max(top($tab-top-border-radius), right($tab-top-border-radius)) - top($tab-top-border-width);
128 .#{$prefix}tab-default-top {
129 @if $tab-inner-border {
130 @include inner-border(
131 $width: $tab-top-inner-border-width,
132 $color: $tab-inner-border-color
136 border-bottom: 1px solid $tabbar-strip-border-color !important;
139 padding-bottom: $framepad;
143 .#{$prefix}tab-inner {
144 height: $tab-height - $framepad * 2 - top($tab-top-border-width);
145 line-height: $tab-height - $framepad * 2 - top($tab-top-border-width);
149 .#{$prefix}nbr .#{$prefix}tab-default-top {
150 border-bottom-width: 1px !important;
153 .#{$prefix}tab-default-top-active {
154 border-bottom-color: $tabbar-strip-background-color !important;
157 $framepad: max(bottom($tab-bottom-border-radius), left($tab-bottom-border-radius)) - bottom($tab-bottom-border-width);
159 .#{$prefix}tab-default-bottom {
160 @if $tab-inner-border {
161 @include inner-border(
162 $width: $tab-bottom-inner-border-width,
163 $color: $tab-inner-border-color
167 border-top: 1px solid $tabbar-strip-border-color !important;
169 @include inner-border(
170 $width: $tab-bottom-inner-border-width,
171 $color: $tab-inner-border-color
175 padding-top: $framepad;
179 .#{$prefix}tab-inner {
180 height: $tab-height - $framepad * 2 - bottom($tab-bottom-border-width);
181 line-height: $tab-height - $framepad * 2 - bottom($tab-bottom-border-width);
185 .#{$prefix}nbr .#{$prefix}tab-default-bottom {
186 border-top-width: 1px !important;
189 .#{$prefix}tab-default-bottom-active {
190 border-top-color: $tabbar-strip-background-color !important;
193 .#{$prefix}tab-default-disabled {
200 border-color: $tab-border-color-disabled;
201 @include background-gradient($tab-base-color-disabled, $tab-background-gradient-disabled);
204 color: $tab-color-disabled !important;
208 .#{$prefix}tab-icon-text-left {
209 .#{$prefix}tab-inner {
218 .#{$prefix}tab-icon {
220 background-repeat: no-repeat;
232 .#{$prefix}tab-over {
233 @if $tab-border-color-over != $tab-border-color {
234 border-color: $tab-border-color-over;
238 @if $tab-color-over != $tab-color {
239 color: $tab-color-over;
241 @if $tab-font-weight-over != $tab-font-weight {
242 font-weight: $tab-font-weight-over;
244 @if $tab-font-size-over != $tab-font-size {
245 font-size: $tab-font-size-over;
247 @if $tab-font-family-over != $tab-font-family {
248 font-family: $tab-font-family-over;
253 .#{$prefix}tab-top-over {
254 @include background-gradient($tab-base-color-over, $tab-background-gradient-over, top);
256 .#{$prefix}tab-bottom-over {
257 @include background-gradient($tab-base-color-over, $tab-background-gradient-over, bottom);
261 .#{$prefix}tab-active {
263 @if $tab-border-color-active != $tab-border-color {
264 border-color: $tab-border-color-active;
268 @if $tab-color-active != $tab-color {
269 color: $tab-color-active;
271 @if $tab-font-weight-active != $tab-font-weight {
272 font-weight: $tab-font-weight-active;
274 @if $tab-font-size-active != $tab-font-size {
275 font-size: $tab-font-size-active;
277 @if $tab-font-family-active != $tab-font-family {
278 font-family: $tab-font-family-active;
283 .#{$prefix}tab-top-active {
284 @include background-gradient($tab-base-color-active, $tab-background-gradient-active, top);
286 .#{$prefix}tab-bottom-active {
287 @include background-gradient($tab-base-color-active, $tab-background-gradient-active, bottom);
291 .#{$prefix}tab-disabled {
292 @if $tab-border-color-disabled != $tab-border-color {
293 border-color: $tab-border-color-disabled;
297 @if $tab-color-disabled != $tab-color {
298 color: $tab-color-disabled;
300 @if $tab-font-weight-disabled != $tab-font-weight {
301 font-weight: $tab-font-weight-disabled;
303 @if $tab-font-size-disabled != $tab-font-size {
304 font-size: $tab-font-size-disabled;
306 @if $tab-font-family-disabled != $tab-font-family {
307 font-family: $tab-font-family-disabled;
312 .#{$prefix}tab-top-disabled {
313 background-image: none;
314 background: transparent;
315 @include background-gradient($tab-base-color-disabled, $tab-background-gradient-disabled, top);
317 .#{$prefix}tab-bottom-disabled {
318 background-image: none;
319 background: transparent;
320 @include background-gradient($tab-base-color-disabled, $tab-background-gradient-disabled, bottom);
323 @if not $supports-gradients or $compile-all {
325 @if $tab-background-gradient != null {
326 .#{$prefix}tab-top { background-image: theme-background-image($theme-name, 'tab/tab-default-top-bg.gif'); }
327 .#{$prefix}tab-bottom { background-image: theme-background-image($theme-name, 'tab/tab-default-bottom-bg.gif'); }
330 @if $tab-background-gradient-over != null {
331 .#{$prefix}tab-top-over { background-image: theme-background-image($theme-name, 'tab/tab-default-top-over-bg.gif'); }
332 .#{$prefix}tab-bottom-over { background-image: theme-background-image($theme-name, 'tab/tab-default-bottom-over-bg.gif'); }
335 @if $tab-background-gradient-active != null {
336 .#{$prefix}tab-top-active { background-image: theme-background-image($theme-name, 'tab/tab-default-top-active-bg.gif'); }
337 .#{$prefix}tab-bottom-active { background-image: theme-background-image($theme-name, 'tab/tab-default-bottom-active-bg.gif'); }
340 @if $tab-background-gradient-disabled != null {
341 .#{$prefix}tab-top-disabled { background-image: theme-background-image($theme-name, 'tab/tab-default-top-disabled-bg.gif') !important; }
342 .#{$prefix}tab-bottom-disabled { background-image: theme-background-image($theme-name, 'tab/tab-default-bottom-disabled-bg.gif') !important; }
347 .#{$prefix}tab-closable em {
348 padding-right: $tab-closable-icon-width + 3;
351 .#{$prefix}tab-close-btn {
352 position: absolute !important;
353 top: $tab-closable-icon-top;
354 right: $tab-closable-icon-right;
355 width: $tab-closable-icon-width;
356 height: $tab-closable-icon-height;
360 background: no-repeat;
361 background-image: theme-background-image($theme-name, $tab-closable-icon);
362 @include opacity(.6);
364 .#{$prefix}tab-close-btn:hover {
368 @if not $supports-border-radius or $compile-all {
370 .#{$prefix}tab-top-over {
376 .#{$prefix}frame-bc {
377 background-image: theme-background-image($theme-name, 'tab/tab-default-top-over-corners.gif');
380 .#{$prefix}frame-mr {
381 background-image: theme-background-image($theme-name, 'tab/tab-default-top-over-sides.gif');
383 @if $tab-background-gradient-over != null {
384 .#{$prefix}frame-mc {
385 background-color: $tab-base-color-over;
386 background-repeat: repeat-x;
387 background-image: theme-background-image($theme-name, 'tab/tab-default-top-over-bg.gif');
392 .#{$prefix}tab-bottom-over {
398 .#{$prefix}frame-bc {
399 background-image: theme-background-image($theme-name, 'tab/tab-default-bottom-over-corners.gif');
402 .#{$prefix}frame-mr {
403 background-image: theme-background-image($theme-name, 'tab/tab-default-bottom-over-sides.gif');
405 @if $tab-background-gradient-over != null {
406 .#{$prefix}frame-mc {
407 background-color: $tab-base-color-over;
408 background-repeat: repeat-x;
409 background-image: theme-background-image($theme-name, 'tab/tab-default-bottom-over-bg.gif');
414 .#{$prefix}tab-top-active {
420 .#{$prefix}frame-bc {
421 background-image: theme-background-image($theme-name, 'tab/tab-default-top-active-corners.gif');
424 .#{$prefix}frame-mr {
425 background-image: theme-background-image($theme-name, 'tab/tab-default-top-active-sides.gif');
427 @if $tab-background-gradient-active != null {
428 .#{$prefix}frame-mc {
429 background-color: $tab-base-color-active;
430 background-repeat: repeat-x;
431 background-image: theme-background-image($theme-name, 'tab/tab-default-top-active-bg.gif');
436 .#{$prefix}tab-bottom-active {
442 .#{$prefix}frame-bc {
443 background-image: theme-background-image($theme-name, 'tab/tab-default-bottom-active-corners.gif');
446 .#{$prefix}frame-mr {
447 background-image: theme-background-image($theme-name, 'tab/tab-default-bottom-active-sides.gif');
449 @if $tab-background-gradient-active != null {
450 .#{$prefix}frame-mc {
451 background-color: $tab-base-color-active;
452 background-repeat: repeat-x;
453 background-image: theme-background-image($theme-name, 'tab/tab-default-bottom-active-bg.gif');
458 .#{$prefix}tab-top-disabled {
464 .#{$prefix}frame-bc {
465 background-image: theme-background-image($theme-name, 'tab/tab-default-top-disabled-corners.gif');
468 .#{$prefix}frame-mr {
469 background-image: theme-background-image($theme-name, 'tab/tab-default-top-disabled-sides.gif');
471 @if $tab-background-gradient-disabled != null {
472 .#{$prefix}frame-mc {
473 background-repeat: repeat-x;
474 background-image: theme-background-image($theme-name, 'tab/tab-default-top-disabled-bg.gif');
479 .#{$prefix}tab-bottom-disabled {
485 .#{$prefix}frame-bc {
486 background-image: theme-background-image($theme-name, 'tab/tab-default-bottom-disabled-corners.gif');
489 .#{$prefix}frame-mr {
490 background-image: theme-background-image($theme-name, 'tab/tab-default-bottom-disabled-sides.gif');
492 @if $tab-background-gradient-disabled != null {
493 .#{$prefix}frame-mc {
494 background-repeat: repeat-x;
495 background-image: theme-background-image($theme-name, 'tab/tab-default-bottom-disabled-bg.gif');