mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-01 14:59:35 +08:00
dda45e4796
* 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>
45 lines
951 B
Plaintext
45 lines
951 B
Plaintext
@import '../../style/themes/index';
|
|
|
|
.@{list-prefix-cls}-bordered {
|
|
border: 1px solid @border-color-base;
|
|
border-radius: @border-radius-base;
|
|
.@{list-prefix-cls}-header {
|
|
padding-right: @padding-lg;
|
|
padding-left: @padding-lg;
|
|
}
|
|
|
|
.@{list-prefix-cls}-footer {
|
|
padding-right: @padding-lg;
|
|
padding-left: @padding-lg;
|
|
}
|
|
|
|
.@{list-prefix-cls}-item {
|
|
padding-right: @padding-lg;
|
|
padding-left: @padding-lg;
|
|
}
|
|
|
|
.@{list-prefix-cls}-pagination {
|
|
margin: @margin-md @margin-lg;
|
|
}
|
|
|
|
&.@{list-prefix-cls}-sm {
|
|
.@{list-prefix-cls}-item {
|
|
padding: @list-item-padding-sm;
|
|
}
|
|
.@{list-prefix-cls}-header,
|
|
.@{list-prefix-cls}-footer {
|
|
padding: @list-item-padding-sm;
|
|
}
|
|
}
|
|
|
|
&.@{list-prefix-cls}-lg {
|
|
.@{list-prefix-cls}-item {
|
|
padding: @list-item-padding-lg;
|
|
}
|
|
.@{list-prefix-cls}-header,
|
|
.@{list-prefix-cls}-footer {
|
|
padding: @list-item-padding-lg;
|
|
}
|
|
}
|
|
}
|