2021-10-22 13:01:54 +00:00
|
|
|
@import "effects";
|
|
|
|
@import "variables";
|
|
|
|
|
2021-10-23 12:26:42 +00:00
|
|
|
smart-table {
|
2021-10-25 12:20:17 +00:00
|
|
|
th[field] {
|
|
|
|
overflow: visible;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&.asc > :after, &.desc > :after {
|
|
|
|
color: $color-font;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.asc > :after {
|
|
|
|
content: 'arrow_drop_up';
|
|
|
|
}
|
|
|
|
|
|
|
|
&.desc > :after {
|
|
|
|
content: 'arrow_drop_down';
|
|
|
|
}
|
|
|
|
|
|
|
|
& > :after {
|
|
|
|
font-family: 'Material Icons';
|
|
|
|
content: 'arrow_drop_down';
|
|
|
|
position: absolute;
|
|
|
|
color: $color-spacer;
|
|
|
|
font-size: 1.5em;
|
|
|
|
margin-top: -2px;
|
|
|
|
opacity: 0
|
|
|
|
|
|
|
|
}
|
|
|
|
&:hover > :after {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-25 15:18:57 +00:00
|
|
|
tr[vn-anchor] {
|
|
|
|
@extend %clickable;
|
2021-10-22 13:01:54 +00:00
|
|
|
}
|
|
|
|
|
2021-10-25 15:18:57 +00:00
|
|
|
.actions-left,
|
|
|
|
.actions-right {
|
2021-10-22 13:01:54 +00:00
|
|
|
display: flex;
|
|
|
|
|
|
|
|
.button-group {
|
|
|
|
display: flex;
|
|
|
|
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .3);
|
|
|
|
|
|
|
|
& > vn-button {
|
|
|
|
box-shadow: 0 0 0 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-10-23 12:26:42 +00:00
|
|
|
|
2021-10-25 15:18:57 +00:00
|
|
|
.actions-left {
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
|
|
|
slot-actions > vn-button,
|
|
|
|
& > vn-button,
|
|
|
|
.button-group {
|
|
|
|
margin-right: 10px
|
|
|
|
}
|
|
|
|
|
|
|
|
slot-actions {
|
|
|
|
display: flex
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.actions-right {
|
|
|
|
justify-content: flex-end;
|
|
|
|
& > vn-button,
|
|
|
|
.button-group {
|
|
|
|
margin-left: 10px
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-23 12:26:42 +00:00
|
|
|
vn-tbody a[ng-repeat].vn-tr:focus {
|
|
|
|
background-color: $color-primary-light
|
|
|
|
}
|
|
|
|
|
|
|
|
.new-row {
|
|
|
|
background-color: $color-success-light
|
|
|
|
}
|
|
|
|
|
|
|
|
.changed-row {
|
|
|
|
background-color: $color-primary-light
|
|
|
|
}
|
2021-10-22 13:01:54 +00:00
|
|
|
}
|