editor: allow folding props categories (#378)

This commit is contained in:
jean-emmanuel 2018-10-08 22:25:20 +02:00
parent cabac1143b
commit c2123d34e1
4 changed files with 61 additions and 7 deletions

View file

@ -228,6 +228,7 @@
display: block;
width:100%;
text-align:center;
pointer-events: none;
&.accent {
color: var(--color-accent);
}
@ -236,6 +237,28 @@
.separator + .input-wrapper .input {
border-top-color:transparent;
}
.category {
.separator {
cursor: pointer;
}
.separator:before {
font-family: FontAwesome;
content: "\f0d7";
line-height: 30rem;
width:30rem;
text-align: center;
position: absolute;
opacity: 0.6;
}
&.folded {
.separator:before {
content: "\f0da";
}
.input-wrapper {
display: none;
}
}
}
}