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

57 lines
903 B
SCSS
Raw Permalink Normal View History

@import "effects";
2019-01-21 10:45:53 +00:00
2019-10-02 07:54:52 +00:00
vn-treeview-childs {
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
2019-10-08 07:23:29 +00:00
li {
2018-11-12 10:31:58 +00:00
list-style: none;
2019-10-02 12:12:17 +00:00
ul {
2020-04-02 12:52:02 +00:00
padding-left: 35px;
2019-10-02 12:12:17 +00:00
}
2019-10-02 07:54:52 +00:00
}
}
2019-10-04 09:01:47 +00:00
2019-10-02 07:54:52 +00:00
vn-icon-button {
2019-10-08 05:22:38 +00:00
display: table-cell;
vertical-align: middle;
2019-10-02 07:54:52 +00:00
padding: 0;
}
2019-10-04 09:01:47 +00:00
.node > .buttons {
display: none
}
.node:hover > .buttons {
display: block
}
2019-10-16 06:56:13 +00:00
.content {
flex-grow: 1
}
2018-11-12 10:31:58 +00:00
}
2019-10-08 07:23:29 +00:00
2019-10-16 06:56:13 +00:00
vn-treeview-child {
2019-11-15 06:35:51 +00:00
line-height: 38px;
2020-04-02 12:52:02 +00:00
font-size: 1rem;
2019-10-16 06:56:13 +00:00
display: block;
.node {
@extend %clickable;
display: flex;
2019-11-15 06:35:51 +00:00
padding: 2px;
2019-10-16 06:56:13 +00:00
align-items: center;
}
& > div > .arrow {
min-width: 24px;
margin-right: 10px;
transition: transform 200ms;
}
&.expanded > div > .arrow {
transform: rotate(180deg);
}
}