mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-03 16:39:41 +08:00
77c5adbe4d
* init style * support size * editable * add shadow * update demo * fix nest style * update rtl * update snapshot * bump * fix hover * fix test case * fix style lint * clean up * updat docs * add onTabScroll * upgrade rc-dropdown * update snapshot * clean snapshot * clean up Co-authored-by: afc163 <afc163@gmail.com>
42 lines
849 B
Plaintext
42 lines
849 B
Plaintext
@import '../../style/themes/index';
|
|
@import '../../style/mixins/index';
|
|
@import './index';
|
|
|
|
.@{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;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|