2018-06-28 12:43:59 +00:00
|
|
|
@import "effects";
|
|
|
|
|
|
|
|
vn-table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
display: table;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
& > div {
|
|
|
|
width: 100%;
|
|
|
|
display: table;
|
|
|
|
|
|
|
|
vn-thead {
|
|
|
|
display: table-header-group;
|
|
|
|
|
|
|
|
vn-th[field] {
|
2018-07-03 12:57:08 +00:00
|
|
|
position: relative;
|
2018-06-28 12:43:59 +00:00
|
|
|
cursor: pointer
|
|
|
|
}
|
|
|
|
|
|
|
|
vn-th[field] > * {
|
|
|
|
padding-right: 20px
|
|
|
|
}
|
|
|
|
|
|
|
|
vn-th[field] > :after {
|
|
|
|
font-family: 'Material Icons';
|
|
|
|
content: 'arrow_drop_down';
|
|
|
|
position: absolute;
|
|
|
|
padding-left: 2px;
|
|
|
|
color: $lines;
|
|
|
|
opacity: 0
|
|
|
|
}
|
|
|
|
|
|
|
|
vn-th[field] > :hover:after {
|
|
|
|
opacity: 1
|
|
|
|
}
|
|
|
|
|
|
|
|
vn-th[field].active > :after {
|
|
|
|
color: $main-font-color;
|
|
|
|
opacity: 1
|
|
|
|
}
|
|
|
|
|
|
|
|
vn-th[field].desc > :after {
|
|
|
|
content: 'arrow_drop_down';
|
|
|
|
}
|
|
|
|
|
|
|
|
vn-th[field].asc > :after {
|
|
|
|
content: 'arrow_drop_up';
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
vn-tbody {
|
|
|
|
display: table-row-group
|
|
|
|
}
|
|
|
|
|
|
|
|
vn-tfoot {
|
|
|
|
display: table-footer-group
|
|
|
|
}
|
|
|
|
|
|
|
|
vn-tr {
|
|
|
|
display: table-row
|
|
|
|
}
|
|
|
|
|
|
|
|
vn-empty-rows {
|
|
|
|
display: table-caption;
|
|
|
|
caption-side: bottom;
|
|
|
|
text-align: center;
|
|
|
|
padding: 10px
|
|
|
|
}
|
|
|
|
|
|
|
|
vn-thead,
|
|
|
|
vn-tbody,
|
|
|
|
vn-tfoot {
|
|
|
|
vn-tr {
|
|
|
|
display: table-row;
|
|
|
|
|
|
|
|
vn-th {
|
|
|
|
font-weight: bold
|
|
|
|
}
|
|
|
|
|
|
|
|
vn-td, vn-th {
|
2018-07-16 06:00:04 +00:00
|
|
|
vertical-align: middle;
|
2018-06-28 12:43:59 +00:00
|
|
|
display: table-cell;
|
|
|
|
text-align: left;
|
|
|
|
padding: 10px;
|
|
|
|
|
|
|
|
&[number]{
|
|
|
|
text-align: right;
|
|
|
|
}
|
2018-07-03 12:57:08 +00:00
|
|
|
|
|
|
|
vn-icon.bright, i.bright {
|
|
|
|
color: #f7931e;
|
|
|
|
}
|
2018-06-28 12:43:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
vn-thead, vn-tbody, vn-empty-rows {
|
|
|
|
border-bottom: 3px solid $lines;
|
|
|
|
}
|
|
|
|
vn-tbody > vn-tr {
|
|
|
|
border-bottom: 1px solid $lines;
|
|
|
|
transition: background-color 200ms ease-in-out;
|
|
|
|
|
|
|
|
&.clickable {
|
|
|
|
@extend %clickable;
|
|
|
|
}
|
|
|
|
&.success {
|
|
|
|
background-color: rgba(163, 209, 49, 0.3);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: rgba(163, 209, 49, 0.5);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.warning {
|
|
|
|
background-color: rgba(247, 147, 30, 0.3);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: rgba(247, 147, 30, 0.5);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|