2019-06-26 20:16:11 +08:00
|
|
|
@import "./mixins/mixins.scss";
|
2019-09-17 19:21:07 +08:00
|
|
|
@import "./themes/vars.scss";
|
2019-06-06 16:44:10 +08:00
|
|
|
|
|
|
|
@include b(table) {
|
|
|
|
width: 100%;
|
|
|
|
border-radius: 12px;
|
2019-06-25 16:54:51 +08:00
|
|
|
font-size: $table-font-size;
|
2019-06-06 16:44:10 +08:00
|
|
|
overflow: hidden;
|
2019-06-13 14:53:30 +08:00
|
|
|
box-shadow: $table-box-shadow;
|
2019-06-06 16:44:10 +08:00
|
|
|
padding-bottom: 8px;
|
2019-06-13 14:53:30 +08:00
|
|
|
background-color: $table-body-background-color;
|
2019-06-06 16:44:10 +08:00
|
|
|
table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
width: 100%;
|
|
|
|
thead {
|
2019-06-13 14:53:30 +08:00
|
|
|
background-color: $table-header-background-color;
|
|
|
|
color: $primary-text-color;
|
2019-06-06 16:44:10 +08:00
|
|
|
tr {
|
|
|
|
th {
|
|
|
|
padding: 16px 6px 16px 6px;
|
|
|
|
text-align: left;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
th:nth-child(1) {
|
|
|
|
padding-left: 32px;
|
|
|
|
border-radius: 12px 0 0 0;
|
|
|
|
}
|
|
|
|
th:nth-last-child(1) {
|
|
|
|
padding-left: 32px;
|
|
|
|
border-radius: 0 12px 0 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
tbody {
|
2019-06-13 14:53:30 +08:00
|
|
|
background-color: $table-body-background-color;
|
|
|
|
color: $regular-text-color;
|
2019-06-06 16:44:10 +08:00
|
|
|
tr {
|
|
|
|
td {
|
|
|
|
padding: 16px 6px 12px 6px;
|
|
|
|
text-align: left;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
td:nth-child(1) {
|
|
|
|
padding-left: 32px;
|
|
|
|
}
|
|
|
|
td:nth-last-child(1) {
|
|
|
|
padding-left: 32px;
|
|
|
|
}
|
|
|
|
}
|
2019-06-26 20:16:11 +08:00
|
|
|
tr:hover {
|
|
|
|
background-color: #2b3147;
|
|
|
|
}
|
2019-06-06 16:44:10 +08:00
|
|
|
}
|
|
|
|
}
|
2019-06-26 20:16:11 +08:00
|
|
|
}
|