2020-03-18 14:23:30 +08:00
|
|
|
@import '../../style/themes/index';
|
|
|
|
@import '../../style/mixins/index';
|
|
|
|
@import './card-style';
|
|
|
|
|
|
|
|
@tab-prefix-cls: ~'@{ant-prefix}-tabs';
|
|
|
|
|
|
|
|
.@{tab-prefix-cls} {
|
|
|
|
&-rtl {
|
|
|
|
direction: rtl;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-ink-bar {
|
|
|
|
.@{tab-prefix-cls}-rtl & {
|
|
|
|
right: 0;
|
|
|
|
left: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-tab-next {
|
|
|
|
.@{tab-prefix-cls}-rtl & {
|
|
|
|
right: auto;
|
|
|
|
left: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-tab-prev {
|
|
|
|
.@{tab-prefix-cls}-rtl & {
|
|
|
|
right: 2px;
|
|
|
|
left: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-nav {
|
|
|
|
.@{tab-prefix-cls}-tab {
|
|
|
|
.@{tab-prefix-cls}-rtl & {
|
|
|
|
margin: @tabs-horizontal-margin-rtl;
|
|
|
|
}
|
|
|
|
|
|
|
|
.@{iconfont-css-prefix} {
|
|
|
|
.@{tab-prefix-cls}-rtl & {
|
|
|
|
margin-right: 0;
|
2020-03-29 10:39:46 +08:00
|
|
|
margin-left: @margin-xs;
|
2020-03-18 14:23:30 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-04-22 11:57:06 +08:00
|
|
|
|
|
|
|
.@{tab-prefix-cls}-left-bar,
|
|
|
|
.@{tab-prefix-cls}-right-bar {
|
|
|
|
.@{tab-prefix-cls}-tab {
|
|
|
|
.@{tab-prefix-cls}-rtl& {
|
|
|
|
margin: @tabs-vertical-margin;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.@{tab-prefix-cls}-right-bar {
|
|
|
|
.@{tab-prefix-cls}-ink-bar {
|
|
|
|
.@{tab-prefix-cls}-rtl& {
|
|
|
|
right: auto;
|
|
|
|
left: 1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// card
|
|
|
|
&&-card &-card-bar &-tab &-close-x {
|
|
|
|
.@{tab-prefix-cls}-rtl& {
|
|
|
|
margin-right: 3px;
|
|
|
|
margin-left: -5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-extra-content {
|
|
|
|
.@{tab-prefix-cls}-rtl & {
|
|
|
|
float: left !important;
|
|
|
|
}
|
|
|
|
}
|
2020-03-18 14:23:30 +08:00
|
|
|
}
|