UNPKG

849 Btext/lessView Raw
1@import '../../style/themes/index';
2@import '../../style/mixins/index';
3@import './index';
4
5.@{tab-prefix-cls} {
6 &-small {
7 > .@{tab-prefix-cls}-nav {
8 .@{tab-prefix-cls}-tab {
9 padding: @tabs-horizontal-padding-sm;
10 font-size: @tabs-title-font-size-sm;
11 }
12 }
13 }
14
15 &-large {
16 > .@{tab-prefix-cls}-nav {
17 .@{tab-prefix-cls}-tab {
18 padding: @tabs-horizontal-padding-lg;
19 font-size: @tabs-title-font-size-lg;
20 }
21 }
22 }
23
24 &-card {
25 &.@{tab-prefix-cls}-small {
26 > .@{tab-prefix-cls}-nav {
27 .@{tab-prefix-cls}-tab {
28 padding: @tabs-card-horizontal-padding-sm;
29 }
30 }
31 }
32
33 &.@{tab-prefix-cls}-large {
34 > .@{tab-prefix-cls}-nav {
35 .@{tab-prefix-cls}-tab {
36 padding: @tabs-card-horizontal-padding-lg;
37 }
38 }
39 }
40 }
41}