forked from StudioInfinity/dyna3
Generalize constraints to observables
This commit is contained in:
parent
46324fecc6
commit
fb8e391587
4 changed files with 77 additions and 35 deletions
|
|
@ -131,10 +131,6 @@ details[open]:has(li) .element-switch::after {
|
|||
color: var(--text-invalid);
|
||||
}
|
||||
|
||||
.constraint > input[type=checkbox] {
|
||||
margin: 0px 8px 0px 0px;
|
||||
}
|
||||
|
||||
.constraint > input[type=text] {
|
||||
color: inherit;
|
||||
background-color: inherit;
|
||||
|
|
@ -154,6 +150,10 @@ details[open]:has(li) .element-switch::after {
|
|||
font-style: normal;
|
||||
}
|
||||
|
||||
.constrained > .status::after, details:has(.constrained):not([open]) .status::after {
|
||||
content: '🔗';
|
||||
}
|
||||
|
||||
.invalid > .status::after, details:has(.invalid):not([open]) .status::after {
|
||||
content: '⚠';
|
||||
color: var(--text-invalid);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue