2021-11-10 16:07:16 +00:00
|
|
|
@import "effects";
|
|
|
|
@import "variables";
|
|
|
|
|
|
|
|
smart-table table {
|
|
|
|
width: 100%;
|
|
|
|
border-collapse: collapse;
|
|
|
|
|
|
|
|
& > thead {
|
2021-11-18 15:02:47 +00:00
|
|
|
border-bottom: $border;
|
2021-11-10 16:07:16 +00:00
|
|
|
|
|
|
|
& > * > th {
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
& > tfoot {
|
2021-11-18 15:02:47 +00:00
|
|
|
border-top: $border;
|
2021-11-10 16:07:16 +00:00
|
|
|
}
|
|
|
|
thead, tbody, tfoot {
|
|
|
|
& > * {
|
|
|
|
& > th {
|
|
|
|
color: $color-font-light;
|
|
|
|
}
|
|
|
|
& > th,
|
|
|
|
& > td {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
& > th,
|
|
|
|
& > td {
|
|
|
|
text-align: left;
|
2021-11-18 09:12:21 +00:00
|
|
|
padding: 5px;
|
2021-11-10 16:07:16 +00:00
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
|
|
&[number] {
|
|
|
|
text-align: right;
|
|
|
|
}
|
2021-11-11 16:18:44 +00:00
|
|
|
&[centered] {
|
2021-11-10 16:07:16 +00:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
&[shrink] {
|
|
|
|
width: 1px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
&[shrink-date] {
|
|
|
|
width: 100px;
|
|
|
|
max-width: 100px;
|
|
|
|
}
|
|
|
|
&[shrink-datetime] {
|
|
|
|
width: 150px;
|
|
|
|
max-width: 150px;
|
|
|
|
}
|
|
|
|
&[expand] {
|
|
|
|
max-width: 400px;
|
|
|
|
min-width: 0;
|
|
|
|
}
|
2021-11-11 16:18:44 +00:00
|
|
|
&[actions] {
|
|
|
|
width: 1px;
|
|
|
|
|
|
|
|
& > * {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
2021-11-10 16:07:16 +00:00
|
|
|
vn-icon.bright, i.bright {
|
|
|
|
color: #f7931e;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
tbody > * {
|
2021-11-18 15:02:47 +00:00
|
|
|
border-bottom: $border-thin;
|
2021-11-10 16:07:16 +00:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
& > td {
|
|
|
|
.chip {
|
|
|
|
padding: 4px;
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
|
|
&.notice {
|
2021-11-18 09:12:21 +00:00
|
|
|
background-color: $color-notice-medium;
|
|
|
|
color: $color-font-bg;
|
2021-11-10 16:07:16 +00:00
|
|
|
}
|
|
|
|
&.success {
|
|
|
|
background-color: $color-success-medium;
|
2021-11-18 09:12:21 +00:00
|
|
|
color: $color-font-bg;
|
2021-11-10 16:07:16 +00:00
|
|
|
}
|
|
|
|
&.warning {
|
|
|
|
background-color: $color-main-medium;
|
2021-11-18 09:12:21 +00:00
|
|
|
color: $color-font-bg;
|
2021-11-10 16:07:16 +00:00
|
|
|
}
|
|
|
|
&.alert {
|
2021-11-18 13:00:45 +00:00
|
|
|
background-color: lighten($color-alert, 5%);
|
2021-11-18 09:12:21 +00:00
|
|
|
color: $color-font-bg;
|
2021-11-10 16:07:16 +00:00
|
|
|
}
|
|
|
|
&.message {
|
2021-12-15 08:03:44 +00:00
|
|
|
background-color: $color-font-bg-dark;
|
|
|
|
color: $color-font-bg;
|
2021-11-10 16:07:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.vn-check {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2021-11-12 14:54:07 +00:00
|
|
|
.empty-rows > td {
|
2021-11-10 16:07:16 +00:00
|
|
|
color: $color-font-secondary;
|
|
|
|
font-size: 1.375rem;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|