Skip to content

Commit

Permalink
🚧 [#2245] Changed checkbox template and added multiple
Browse files Browse the repository at this point in the history
  • Loading branch information
jiromaykin committed Mar 24, 2024
1 parent a7aca0b commit e41eab2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/open_inwoner/scss/components/Form/ChoiceList.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
margin: 0;
padding: 0;
background-color: var(--card-color-background);
border: var(--border-width-thin) solid var(--color-gray);
border: var(--border-width) solid var(--color-gray);
border-radius: var(--border-radius);
box-sizing: border-box;
display: flex;
Expand Down Expand Up @@ -54,6 +54,7 @@
/// Single selection radiobutton

input[type='radio'] {
/// Display for accessibility
appearance: none;
opacity: 0;
padding: 0;
Expand All @@ -69,13 +70,13 @@
box-sizing: border-box;
width: var(--font-line-height-body-small);
height: var(--font-line-height-body-small);
border: 1px solid var(--color-gray-dark);
border: var(--border-width) solid var(--color-gray-dark);
border-radius: 100%;
background-color: var(--color-white);
}

&__item.selected {
border: 1px solid var(--color-accent-lighter);
border: var(--border-width-thin) solid var(--color-accent-lighter);
}

&__item.selected &__label:before {
Expand Down Expand Up @@ -197,7 +198,7 @@

&-multiple__item.selected {
// Parent styling
border: 1px solid var(--color-accent);
border: var(--border-width-thin) solid var(--color-accent);
border-radius: var(--border-radius);
}
}

0 comments on commit e41eab2

Please sign in to comment.