Checkbox item visualizes error

This commit is contained in:
Magnus Åhall 2024-01-10 23:28:00 +01:00
parent f98a6ab863
commit dc2b6dac8b
4 changed files with 21 additions and 2 deletions

View file

@ -383,6 +383,12 @@ header .menu {
#checklist .checklist-item input[type="checkbox"].ok::before {
box-shadow: inset 1em 1em #54b356;
}
#checklist .checklist-item input[type="checkbox"].error {
border: 0.15em solid #d13636;
}
#checklist .checklist-item input[type="checkbox"].error::before {
box-shadow: inset 1em 1em #d13636;
}
#checklist .checklist-item input[type="checkbox"]::before {
content: "";
width: 0.7em;