2021-10-07 01:23:36 +00:00
|
|
|
@import '../../style/themes/index';
|
|
|
|
@import '../../style/mixins/index';
|
2021-12-20 08:19:35 +00:00
|
|
|
|
|
|
|
@tab-prefix-cls: ~'@{ant-prefix}-tabs';
|
2021-10-07 01:23:36 +00:00
|
|
|
|
|
|
|
.@{tab-prefix-cls} {
|
|
|
|
&-small {
|
|
|
|
> .@{tab-prefix-cls}-nav {
|
|
|
|
.@{tab-prefix-cls}-tab {
|
|
|
|
padding: @tabs-horizontal-padding-sm;
|
|
|
|
font-size: @tabs-title-font-size-sm;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-large {
|
|
|
|
> .@{tab-prefix-cls}-nav {
|
|
|
|
.@{tab-prefix-cls}-tab {
|
|
|
|
padding: @tabs-horizontal-padding-lg;
|
|
|
|
font-size: @tabs-title-font-size-lg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-card {
|
|
|
|
&.@{tab-prefix-cls}-small {
|
|
|
|
> .@{tab-prefix-cls}-nav {
|
|
|
|
.@{tab-prefix-cls}-tab {
|
|
|
|
padding: @tabs-card-horizontal-padding-sm;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.@{tab-prefix-cls}-large {
|
|
|
|
> .@{tab-prefix-cls}-nav {
|
|
|
|
.@{tab-prefix-cls}-tab {
|
|
|
|
padding: @tabs-card-horizontal-padding-lg;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|