Add RadioButton component
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
5e89675c9c
commit
ea5b63af18
2 changed files with 49 additions and 0 deletions
24
src/app/atoms/button/RadioButton.scss
Normal file
24
src/app/atoms/button/RadioButton.scss
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
@use '../../partials/flex';
|
||||
|
||||
.radio-btn {
|
||||
@extend .cp-fx__row--c-c;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border-radius: 50%;
|
||||
background-color: var(--bg-surface-low);
|
||||
box-shadow: var(--bs-surface-border);
|
||||
cursor: pointer;
|
||||
|
||||
&--active {
|
||||
background-color: var(--bg-positive);
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-color: white;
|
||||
border-radius: 50%;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue