StarList uses proper inheritance and properly passes initial values and attributes + add empty comment clause

This commit is contained in:
2026-08-21 14:22:46 +02:00
parent 12135b5c22
commit 82e71263dd
7 changed files with 142 additions and 83 deletions
@@ -520,40 +520,4 @@ details.accordion>.accordion-content {
background-color: $white-color;
border-color: $pedagogy-orange;
border-right: none;
}
fieldset.star {
label {
display: inline;
cursor: pointer;
}
.checked {
color: orange;
}
.unchecked {
color: gray;
}
.hovered {
color: #FFD700;
}
.checked.hovered {
color: orange;
}
.removed {
color: red;
}
input[type="radio"] {
display: none;
}
label:first-child {
margin-right: 10px;
}
}
@@ -0,0 +1,42 @@
fieldset.star {
border: none;
label {
display: inline;
cursor: pointer;
}
.checked {
color: orange;
}
.unchecked {
color: gray;
}
.hovered {
color: #FFD700;
}
.checked.hovered {
color: orange;
}
.removed {
color: red;
}
input[type="radio"] {
display: none;
}
label:first-child {
margin-right: 10px;
}
&:has(input:required:invalid) {
border: 1px solid;
border-color: #c00000;
}
}