125 lines
3.1 KiB
SCSS
125 lines
3.1 KiB
SCSS
@import "effects";
|
|
@import "variables";
|
|
|
|
smart-table table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
|
|
& > thead {
|
|
border-bottom: $border;
|
|
|
|
& > tr[second-header] {
|
|
& > th
|
|
{
|
|
text-align: center;
|
|
border-bottom-style: groove;
|
|
font-weight: bold;
|
|
text-transform: uppercase;
|
|
}
|
|
}
|
|
|
|
& > * > th {
|
|
font-weight: normal;
|
|
}
|
|
}
|
|
& > tfoot {
|
|
border-top: $border;
|
|
}
|
|
thead, tbody, tfoot {
|
|
& > * {
|
|
& > th {
|
|
color: $color-font-light;
|
|
}
|
|
& > th,
|
|
& > td {
|
|
overflow: hidden;
|
|
}
|
|
& > th,
|
|
& > td {
|
|
text-align: left;
|
|
padding: 5px;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
|
|
&[number] {
|
|
text-align: right;
|
|
}
|
|
&[centered] {
|
|
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;
|
|
}
|
|
&[actions] {
|
|
width: 1px;
|
|
|
|
& > * {
|
|
vertical-align: middle;
|
|
}
|
|
}
|
|
&[separator]{
|
|
border-left-style: groove;
|
|
}
|
|
vn-icon.bright, i.bright {
|
|
color: #f7931e;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
tbody > * {
|
|
border-bottom: $border-thin;
|
|
|
|
&:last-child {
|
|
border-bottom: none;
|
|
}
|
|
& > td {
|
|
.chip {
|
|
padding: 4px;
|
|
border-radius: 4px;
|
|
|
|
&.notice {
|
|
background-color: $color-notice-medium;
|
|
color: $color-font-bg;
|
|
}
|
|
&.success {
|
|
background-color: $color-success-medium;
|
|
color: $color-font-bg;
|
|
}
|
|
&.warning {
|
|
background-color: $color-main-medium;
|
|
color: $color-font-bg;
|
|
}
|
|
&.alert {
|
|
background-color: lighten($color-alert, 5%);
|
|
color: $color-font-bg;
|
|
}
|
|
&.message {
|
|
background-color: $color-font-bg-dark;
|
|
color: $color-font-bg;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.vn-check {
|
|
margin: 0;
|
|
}
|
|
.empty-rows > td {
|
|
color: $color-font-secondary;
|
|
font-size: 1.375rem;
|
|
text-align: center;
|
|
}
|
|
}
|