2018-06-28 12:43:59 +00:00
|
|
|
@import "effects";
|
2019-02-10 21:52:35 +00:00
|
|
|
@import "variables";
|
2018-06-28 12:43:59 +00:00
|
|
|
|
|
|
|
vn-table {
|
2019-01-27 23:26:01 +00:00
|
|
|
display: block;
|
|
|
|
overflow: auto;
|
2018-06-28 12:43:59 +00:00
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
& > div {
|
2019-01-27 23:26:01 +00:00
|
|
|
width: inherit;
|
2018-06-28 12:43:59 +00:00
|
|
|
display: table;
|
2019-01-27 23:26:01 +00:00
|
|
|
border-collapse: collapse;
|
2018-06-28 12:43:59 +00:00
|
|
|
|
2019-02-10 21:52:35 +00:00
|
|
|
& > vn-thead {
|
2018-06-28 12:43:59 +00:00
|
|
|
display: table-header-group;
|
2019-02-10 21:52:35 +00:00
|
|
|
border-bottom: .15em solid $color-spacer;
|
2018-06-28 12:43:59 +00:00
|
|
|
|
2019-02-13 13:01:37 +00:00
|
|
|
& > * > vn-th[field] {
|
2018-07-03 12:57:08 +00:00
|
|
|
position: relative;
|
2019-02-10 21:52:35 +00:00
|
|
|
overflow: visible;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&.active > :after {
|
|
|
|
color: $color-font;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
&.desc > :after {
|
|
|
|
content: 'arrow_drop_down';
|
|
|
|
}
|
|
|
|
&.asc > :after {
|
|
|
|
content: 'arrow_drop_up';
|
|
|
|
}
|
|
|
|
& > :after {
|
|
|
|
font-family: 'Material Icons';
|
|
|
|
content: 'arrow_drop_down';
|
|
|
|
position: absolute;
|
|
|
|
color: $color-spacer;
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
&:hover > :after {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2018-06-28 12:43:59 +00:00
|
|
|
}
|
|
|
|
}
|
2019-02-10 21:52:35 +00:00
|
|
|
& > vn-tbody {
|
|
|
|
display: table-row-group;
|
2018-06-28 12:43:59 +00:00
|
|
|
}
|
2019-02-10 21:52:35 +00:00
|
|
|
& > vn-tfoot {
|
|
|
|
border-top: .15em solid $color-spacer;
|
2018-06-28 12:43:59 +00:00
|
|
|
display: table-footer-group
|
|
|
|
}
|
2019-02-13 13:01:37 +00:00
|
|
|
& > * > vn-tr,
|
|
|
|
& > * > a.vn-tr {
|
2018-06-28 12:43:59 +00:00
|
|
|
display: table-row
|
|
|
|
}
|
2018-09-12 08:08:19 +00:00
|
|
|
vn-thead, vn-tbody, vn-tfoot {
|
2019-02-10 21:52:35 +00:00
|
|
|
& > * {
|
2018-06-28 12:43:59 +00:00
|
|
|
display: table-row;
|
2019-02-13 13:01:37 +00:00
|
|
|
|
|
|
|
& > vn-th {
|
|
|
|
font-weight: bold;
|
|
|
|
padding-top: 1em;
|
|
|
|
padding-bottom: .8em;
|
2018-06-28 12:43:59 +00:00
|
|
|
}
|
2019-02-13 13:01:37 +00:00
|
|
|
& > vn-th,
|
2019-07-02 10:12:15 +00:00
|
|
|
& > vn-td {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
& > vn-th,
|
2019-02-13 13:01:37 +00:00
|
|
|
& > vn-td,
|
|
|
|
& > vn-td-editable {
|
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;
|
2019-02-10 21:52:35 +00:00
|
|
|
padding: .6em .5em;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
2019-02-20 13:34:16 +00:00
|
|
|
max-width: 5em;
|
2018-06-28 12:43:59 +00:00
|
|
|
|
2018-07-17 06:44:31 +00:00
|
|
|
&[number] {
|
2018-06-28 12:43:59 +00:00
|
|
|
text-align: right;
|
2019-02-20 13:34:16 +00:00
|
|
|
width: 6em;
|
2018-06-28 12:43:59 +00:00
|
|
|
}
|
2018-07-17 06:44:31 +00:00
|
|
|
&[center] {
|
|
|
|
text-align: center;
|
|
|
|
}
|
2019-02-10 21:52:35 +00:00
|
|
|
&[shrink] {
|
|
|
|
width: 1px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
&[expand] {
|
2019-02-20 13:34:16 +00:00
|
|
|
max-width: 10em;
|
2019-02-10 21:52:35 +00:00
|
|
|
min-width: 0;
|
|
|
|
}
|
2018-07-03 12:57:08 +00:00
|
|
|
vn-icon.bright, i.bright {
|
|
|
|
color: #f7931e;
|
|
|
|
}
|
2018-06-28 12:43:59 +00:00
|
|
|
}
|
2019-02-10 21:52:35 +00:00
|
|
|
& > :last-child {
|
|
|
|
padding-right: 1em;
|
|
|
|
}
|
|
|
|
& > :first-child {
|
|
|
|
padding-left: 1em;
|
|
|
|
}
|
2018-06-28 12:43:59 +00:00
|
|
|
}
|
2019-02-13 13:01:37 +00:00
|
|
|
& > a.vn-tr {
|
2019-02-08 16:49:51 +00:00
|
|
|
color: inherit;
|
|
|
|
}
|
2018-06-28 12:43:59 +00:00
|
|
|
}
|
2019-02-10 21:52:35 +00:00
|
|
|
vn-tbody > * {
|
|
|
|
border-bottom: .1em solid $color-spacer-light;
|
2018-06-28 12:43:59 +00:00
|
|
|
|
2019-02-10 21:52:35 +00:00
|
|
|
&:last-child {
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
2018-06-28 12:43:59 +00:00
|
|
|
&.clickable {
|
|
|
|
@extend %clickable;
|
|
|
|
}
|
2019-05-21 10:56:29 +00:00
|
|
|
& > vn-td .chip {
|
2019-02-10 21:52:35 +00:00
|
|
|
padding: .3em;
|
|
|
|
border-radius: .3em;
|
2018-06-28 12:43:59 +00:00
|
|
|
}
|
2019-05-21 10:56:29 +00:00
|
|
|
|
|
|
|
& > vn-td .chip.notice {
|
2019-02-13 13:01:37 +00:00
|
|
|
color: $color-font-bg;
|
2019-05-21 10:56:29 +00:00
|
|
|
background-color: $color-notice-medium
|
2019-02-10 21:52:35 +00:00
|
|
|
}
|
2019-05-21 10:56:29 +00:00
|
|
|
|
|
|
|
& > vn-td .chip.success {
|
2019-02-13 13:01:37 +00:00
|
|
|
color: $color-font-bg;
|
2019-05-21 10:56:29 +00:00
|
|
|
background-color: $color-success-medium
|
2019-02-10 21:52:35 +00:00
|
|
|
}
|
2019-05-21 10:56:29 +00:00
|
|
|
|
|
|
|
& > vn-td .chip.warning {
|
2019-02-13 13:01:37 +00:00
|
|
|
color: $color-font-bg;
|
|
|
|
background-color: $color-main-medium;
|
2019-02-10 21:52:35 +00:00
|
|
|
}
|
2019-05-21 10:56:29 +00:00
|
|
|
|
|
|
|
& > vn-td .chip.alert {
|
2019-02-13 13:01:37 +00:00
|
|
|
color: $color-font-bg;
|
|
|
|
background-color: $color-alert-medium;
|
|
|
|
}
|
2019-05-21 10:56:29 +00:00
|
|
|
|
2019-07-15 09:40:11 +00:00
|
|
|
& > vn-td vn-icon-menu {
|
|
|
|
display: inline-block;
|
|
|
|
color: $color-main;
|
|
|
|
padding: .25em
|
|
|
|
}
|
|
|
|
|
2019-02-13 13:01:37 +00:00
|
|
|
& > [actions] {
|
|
|
|
width: 1px;
|
|
|
|
|
|
|
|
& > * {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2018-06-28 12:43:59 +00:00
|
|
|
}
|
|
|
|
}
|
2019-02-13 13:01:37 +00:00
|
|
|
& > vn-empty-rows {
|
|
|
|
display: table-caption;
|
|
|
|
caption-side: bottom;
|
|
|
|
text-align: center;
|
|
|
|
padding: 1.5em;
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
2019-02-10 21:52:35 +00:00
|
|
|
}
|
2018-12-20 08:22:07 +00:00
|
|
|
vn-autocomplete {
|
|
|
|
div.mdl-textfield {
|
2019-07-02 10:12:15 +00:00
|
|
|
padding: 0 !important;
|
2018-12-20 08:22:07 +00:00
|
|
|
}
|
|
|
|
label.mdl-textfield__label:after {
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
div.icons {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
vn-textfield {
|
|
|
|
float: right;
|
|
|
|
margin: 0!important;
|
|
|
|
}
|
2019-02-22 07:52:30 +00:00
|
|
|
md-checkbox {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2018-06-28 12:43:59 +00:00
|
|
|
}
|