ant-design-vue/components/list/style/bordered.less

42 lines
825 B
Plaintext
Raw Normal View History

2018-06-16 13:30:41 +00:00
.@{list-prefix-cls}-bordered {
border: 1px solid @border-color-base;
2019-03-30 08:06:06 +00:00
border-radius: @border-radius-base;
2018-06-16 13:30:41 +00:00
.@{list-prefix-cls}-header {
padding-right: 24px;
2019-03-30 08:06:06 +00:00
padding-left: 24px;
2018-06-16 13:30:41 +00:00
}
.@{list-prefix-cls}-footer {
padding-right: 24px;
2019-03-30 08:06:06 +00:00
padding-left: 24px;
2018-06-16 13:30:41 +00:00
}
.@{list-prefix-cls}-item {
padding-right: 24px;
2019-03-30 08:06:06 +00:00
padding-left: 24px;
border-bottom: 1px solid @border-color-split;
2018-06-16 13:30:41 +00:00
}
.@{list-prefix-cls}-pagination {
margin: 16px 24px;
}
&.@{list-prefix-cls}-sm {
.@{list-prefix-cls}-item {
padding-right: 16px;
2019-03-30 08:06:06 +00:00
padding-left: 16px;
2018-06-16 13:30:41 +00:00
}
.@{list-prefix-cls}-header,
.@{list-prefix-cls}-footer {
padding: 8px 16px;
}
}
&.@{list-prefix-cls}-lg {
.@{list-prefix-cls}-header,
.@{list-prefix-cls}-footer {
padding: 16px 24px;
}
}
}