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}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 {
214 .#{$prefix}tab-icon {
216 background-repeat: no-repeat;
228 .#{$prefix}tab-over {
229 @if $tab-border-color-over != $tab-border-color {
230 border-color: $tab-border-color-over;
234 @if $tab-color-over != $tab-color {
235 color: $tab-color-over;
237 @if $tab-font-weight-over != $tab-font-weight {
238 font-weight: $tab-font-weight-over;
240 @if $tab-font-size-over != $tab-font-size {
241 font-size: $tab-font-size-over;
243 @if $tab-font-family-over != $tab-font-family {
244 font-family: $tab-font-family-over;
249 .#{$prefix}tab-top-over {
250 @include background-gradient($tab-base-color-over, $tab-background-gradient-over, top);
252 .#{$prefix}tab-bottom-over {
253 @include background-gradient($tab-base-color-over, $tab-background-gradient-over, bottom);
257 .#{$prefix}tab-active {
259 @if $tab-border-color-active != $tab-border-color {
260 border-color: $tab-border-color-active;
264 @if $tab-color-active != $tab-color {
265 color: $tab-color-active;
267 @if $tab-font-weight-active != $tab-font-weight {
268 font-weight: $tab-font-weight-active;
270 @if $tab-font-size-active != $tab-font-size {
271 font-size: $tab-font-size-active;
273 @if $tab-font-family-active != $tab-font-family {
274 font-family: $tab-font-family-active;
279 .#{$prefix}tab-top-active {
280 @include background-gradient($tab-base-color-active, $tab-background-gradient-active, top);
282 .#{$prefix}tab-bottom-active {
283 @include background-gradient($tab-base-color-active, $tab-background-gradient-active, bottom);
287 .#{$prefix}tab-disabled {
288 @if $tab-border-color-disabled != $tab-border-color {
289 border-color: $tab-border-color-disabled;
293 @if $tab-color-disabled != $tab-color {
294 color: $tab-color-disabled;
296 @if $tab-font-weight-disabled != $tab-font-weight {
297 font-weight: $tab-font-weight-disabled;
299 @if $tab-font-size-disabled != $tab-font-size {
300 font-size: $tab-font-size-disabled;
302 @if $tab-font-family-disabled != $tab-font-family {
303 font-family: $tab-font-family-disabled;
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 @if not $supports-gradients or $compile-all {
321 .#{$prefix}tab-top { background-image: theme-image($theme-name, 'tab/tab-default-top-bg.gif'); }
322 .#{$prefix}tab-bottom { background-image: theme-image($theme-name, 'tab/tab-default-bottom-bg.gif'); }
324 .#{$prefix}tab-top-over { background-image: theme-image($theme-name, 'tab/tab-default-top-over-bg.gif'); }
325 .#{$prefix}tab-bottom-over { background-image: theme-image($theme-name, 'tab/tab-default-bottom-over-bg.gif'); }
327 .#{$prefix}tab-top-active { background-image: theme-image($theme-name, 'tab/tab-default-top-active-bg.gif'); }
328 .#{$prefix}tab-bottom-active { background-image: theme-image($theme-name, 'tab/tab-default-bottom-active-bg.gif'); }
330 .#{$prefix}tab-top-disabled { background-image: theme-image($theme-name, 'tab/tab-default-top-disabled-bg.gif') !important; }
331 .#{$prefix}tab-bottom-disabled { background-image: theme-image($theme-name, 'tab/tab-default-bottom-disabled-bg.gif') !important; }
335 .#{$prefix}tab-closable em {
336 padding-right: $tab-closable-icon-width + 3;
339 .#{$prefix}tab-close-btn {
340 position: absolute !important;
341 top: $tab-closable-icon-top;
342 right: $tab-closable-icon-right;
343 width: $tab-closable-icon-width;
344 height: $tab-closable-icon-height;
348 background: theme-image($theme-name, $tab-closable-icon) no-repeat;
349 @include opacity(.6);
351 .#{$prefix}tab-close-btn:hover {
355 @if not $supports-border-radius or $compile-all {
357 .#{$prefix}tab-top-over {
363 .#{$prefix}frame-bc {
364 background-image: theme-image($theme-name, 'tab/tab-default-top-over-corners.gif');
367 .#{$prefix}frame-mr {
368 background-image: theme-image($theme-name, 'tab/tab-default-top-over-sides.gif');
370 .#{$prefix}frame-mc {
371 background-color: $tab-base-color-over;
372 background-repeat: repeat-x;
373 background-image: theme-image($theme-name, 'tab/tab-default-top-over-bg.gif');
377 .#{$prefix}tab-bottom-over {
383 .#{$prefix}frame-bc {
384 background-image: theme-image($theme-name, 'tab/tab-default-bottom-over-corners.gif');
387 .#{$prefix}frame-mr {
388 background-image: theme-image($theme-name, 'tab/tab-default-bottom-over-sides.gif');
390 .#{$prefix}frame-mc {
391 background-color: $tab-base-color-over;
392 background-repeat: repeat-x;
393 background-image: theme-image($theme-name, 'tab/tab-default-bottom-over-bg.gif');
397 .#{$prefix}tab-top-active {
403 .#{$prefix}frame-bc {
404 background-image: theme-image($theme-name, 'tab/tab-default-top-active-corners.gif');
407 .#{$prefix}frame-mr {
408 background-image: theme-image($theme-name, 'tab/tab-default-top-active-sides.gif');
410 .#{$prefix}frame-mc {
411 background-color: $tab-base-color-active;
412 background-repeat: repeat-x;
413 background-image: theme-image($theme-name, 'tab/tab-default-top-active-bg.gif');
417 .#{$prefix}tab-bottom-active {
423 .#{$prefix}frame-bc {
424 background-image: theme-image($theme-name, 'tab/tab-default-bottom-active-corners.gif');
427 .#{$prefix}frame-mr {
428 background-image: theme-image($theme-name, 'tab/tab-default-bottom-active-sides.gif');
430 .#{$prefix}frame-mc {
431 background-color: $tab-base-color-active;
432 background-repeat: repeat-x;
433 background-image: theme-image($theme-name, 'tab/tab-default-bottom-active-bg.gif');
437 .#{$prefix}tab-top-disabled {
443 .#{$prefix}frame-bc {
444 background-image: theme-image($theme-name, 'tab/tab-default-top-disabled-corners.gif');
447 .#{$prefix}frame-mr {
448 background-image: theme-image($theme-name, 'tab/tab-default-top-disabled-sides.gif');
450 .#{$prefix}frame-mc {
451 background-repeat: repeat-x;
452 background-image: theme-image($theme-name, 'tab/tab-default-top-disabled-bg.gif');
456 .#{$prefix}tab-bottom-disabled {
462 .#{$prefix}frame-bc {
463 background-image: theme-image($theme-name, 'tab/tab-default-bottom-disabled-corners.gif');
466 .#{$prefix}frame-mr {
467 background-image: theme-image($theme-name, 'tab/tab-default-bottom-disabled-sides.gif');
469 .#{$prefix}frame-mc {
470 background-repeat: repeat-x;
471 background-image: theme-image($theme-name, 'tab/tab-default-bottom-disabled-bg.gif');