💄 remove nesting in radio-button scss

This commit is contained in:
Belén Albeza 2024-02-28 15:46:46 +01:00 committed by Andrey Antukh
parent 85ac766bf9
commit e6d4a56901

View file

@ -37,8 +37,9 @@
stroke: var(--radio-btn-foreground-color-selected); stroke: var(--radio-btn-foreground-color-selected);
} }
} }
}
&.checked { .checked {
background-color: var(--radio-btn-background-color-selected); background-color: var(--radio-btn-background-color-selected);
border-color: var(--radio-btn-border-color-selected); border-color: var(--radio-btn-border-color-selected);
svg { svg {
@ -49,7 +50,7 @@
} }
} }
&.disabled { .disabled {
cursor: default; cursor: default;
background-color: transparent; background-color: transparent;
border: $s-2 solid transparent; border: $s-2 solid transparent;
@ -70,4 +71,3 @@
} }
} }
} }
}