add a way to hide widgets' numeric inputs with a css variable
This commit is contained in:
parent
2e821aff7c
commit
b25f8ae92c
4 changed files with 9 additions and 1 deletions
File diff suppressed because one or more lines are too long
|
|
@ -17,4 +17,10 @@
|
|||
--sidepanel-size:300rem;
|
||||
|
||||
--pixel-scale:1;
|
||||
|
||||
/* Unset variables by default
|
||||
|
||||
--display-input:none; // Hides widgets' numeric inputs
|
||||
|
||||
*/
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@
|
|||
display:block;
|
||||
padding:7rem 5rem;
|
||||
position: relative;
|
||||
display: var(--display-input);
|
||||
|
||||
input {
|
||||
position: absolute;
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@
|
|||
|
||||
.value {
|
||||
width:100%;
|
||||
display:var(--display-input);
|
||||
}
|
||||
.input {
|
||||
width:50%;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue