widgets: store disabled properties' names and disable them properly in the editor (#221)

This commit is contained in:
jean-emmanuel 2018-05-05 10:49:56 +02:00
parent bcda3d3a06
commit 7dbc21a12d
7 changed files with 37 additions and 16 deletions

View file

@ -54,6 +54,15 @@
&:last-child {
margin-bottom:0;
}
&.disabled {
label {
color: var(--color-text-fade);
}
label + * {
pointer-events: none;
opacity: .75;
}
}
label {
background: var(--color-fg);
flex-shrink: 0;