add a way to hide widgets' numeric inputs with a css variable

This commit is contained in:
bordun 2016-06-08 10:18:01 +02:00
parent 2e821aff7c
commit b25f8ae92c
4 changed files with 9 additions and 1 deletions

File diff suppressed because one or more lines are too long

View file

@ -17,4 +17,10 @@
--sidepanel-size:300rem;
--pixel-scale:1;
/* Unset variables by default
--display-input:none; // Hides widgets' numeric inputs
*/
}

View file

@ -54,6 +54,7 @@
display:block;
padding:7rem 5rem;
position: relative;
display: var(--display-input);
input {
position: absolute;

View file

@ -15,6 +15,7 @@
.value {
width:100%;
display:var(--display-input);
}
.input {
width:50%;