ant-design/components/tabs/style/rtl.less
zefeng dda45e4796
feat: support compact theme (#22126)
* feat: support narrow theme mode

* chore: rename narrow to compact

* chore: height part

* chore: preview compact mode

* chore: to make site corrected

* chore: preview site

* docs: 📖 document compact theme usage

* docs: tweak theme doc

* docs: 📖 Add description about double css bundle size

* chore: preview

* chore: for preview

* chore: adjust pagination

* chore: compact mode done!

* chore: remove useless todo

* chore: fix review bug

* chore: fix review bug

* chore: fix card margin

* chore: fix review bug

* chore: fix review bug

* chore: improve i18n and transition

* Update site/theme/static/common.less

Co-Authored-By: 偏右 <afc163@gmail.com>

* chore: fix button size and description padding

* chore: update snapshots

* chore: add compact css bundlesize limit

* chore: compact dist support

Co-authored-by: afc163 <afc163@gmail.com>
2020-03-29 10:39:46 +08:00

48 lines
755 B
Plaintext

@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;
margin-left: @margin-xs;
}
}
}
}
}