salix/front/core/components/treeview/style.scss

48 lines
1.0 KiB
SCSS
Raw Normal View History

@import "effects";
2019-01-21 10:45:53 +00:00
2018-11-12 10:31:58 +00:00
vn-treeview {
vn-treeview-child {
display: block
}
2018-11-12 10:31:58 +00:00
ul {
padding: 0;
2019-02-18 07:37:26 +00:00
margin: 0;
2018-11-12 10:31:58 +00:00
li {
list-style: none;
2019-01-21 10:45:53 +00:00
& > div > .arrow {
2019-02-18 07:37:26 +00:00
min-width: 24px;
margin-right: 10px;
transition: transform 200ms;
2019-01-21 10:45:53 +00:00
}
&.expanded > div > .arrow {
transform: rotate(180deg);
2019-04-29 09:49:43 +00:00
}
& > .node {
@extend %clickable;
display: flex;
padding: 5px;
align-items: center;
& > vn-check:not(.indeterminate) {
color: $color-main;
& > .check {
border-color: $color-main;
}
}
& > vn-check.checked {
color: $color-main;
}
2019-04-29 09:49:43 +00:00
}
ul {
padding-left: 2.2em;
2019-02-18 07:37:26 +00:00
}
2019-01-21 10:45:53 +00:00
}
2018-11-12 10:31:58 +00:00
}
2019-03-12 14:04:09 +00:00
vn-icon-button {
padding: 0
}
2018-11-12 10:31:58 +00:00
}