2021-04-19 18:05:48 +08:00
|
|
|
@import 'mixins/mixins';
|
|
|
|
@import 'common/var';
|
|
|
|
@import 'descriptions-item';
|
|
|
|
|
|
|
|
@include b(descriptions) {
|
|
|
|
box-sizing: border-box;
|
|
|
|
font-size: $--font-size-base;
|
|
|
|
color: $--color-text-primary;
|
|
|
|
|
|
|
|
@include e(header) {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: $--descriptions-header-margin-bottom;
|
|
|
|
|
|
|
|
@include e(title) {
|
|
|
|
font-size: $--descriptions-title-font-size;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include e(body) {
|
|
|
|
color: $--color-text-regular;
|
|
|
|
background-color: $--color-white;
|
|
|
|
|
|
|
|
table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
width: 100%;
|
|
|
|
|
2021-07-14 09:27:52 +08:00
|
|
|
th,
|
|
|
|
td {
|
2021-07-03 15:01:55 +08:00
|
|
|
box-sizing: border-box;
|
2021-04-19 18:05:48 +08:00
|
|
|
text-align: left;
|
|
|
|
font-weight: normal;
|
|
|
|
line-height: 1.5;
|
2021-07-03 15:01:55 +08:00
|
|
|
|
|
|
|
@include when(left) {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include when(center) {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include when(right) {
|
|
|
|
text-align: right;
|
|
|
|
}
|
2021-04-19 18:05:48 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.is-bordered {
|
2021-07-14 09:27:52 +08:00
|
|
|
th,
|
|
|
|
td {
|
2021-04-19 18:05:48 +08:00
|
|
|
border: $--descriptions-table-border;
|
|
|
|
padding: 12px 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
:not(.is-bordered) {
|
2021-07-14 09:27:52 +08:00
|
|
|
th,
|
|
|
|
td {
|
2021-04-19 18:05:48 +08:00
|
|
|
padding-bottom: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include m(medium) {
|
|
|
|
&.is-bordered {
|
2021-07-14 09:27:52 +08:00
|
|
|
th,
|
|
|
|
td {
|
2021-04-19 18:05:48 +08:00
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.is-bordered) {
|
2021-07-14 09:27:52 +08:00
|
|
|
th,
|
|
|
|
td {
|
2021-04-19 18:05:48 +08:00
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include m(small) {
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
|
|
&.is-bordered {
|
2021-07-14 09:27:52 +08:00
|
|
|
th,
|
|
|
|
td {
|
2021-04-19 18:05:48 +08:00
|
|
|
padding: 8px 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.is-bordered) {
|
2021-07-14 09:27:52 +08:00
|
|
|
th,
|
|
|
|
td {
|
2021-04-19 18:05:48 +08:00
|
|
|
padding-bottom: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include m(mini) {
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
|
|
&.is-bordered {
|
2021-07-14 09:27:52 +08:00
|
|
|
th,
|
|
|
|
td {
|
2021-04-19 18:05:48 +08:00
|
|
|
padding: 6px 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.is-bordered) {
|
2021-07-14 09:27:52 +08:00
|
|
|
th,
|
|
|
|
td {
|
2021-04-19 18:05:48 +08:00
|
|
|
padding-bottom: 6px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|