Files
cinny/src/app/atoms/button/RadioButton.scss
T

28 lines
574 B
SCSS
Raw Normal View History

2021-12-23 17:09:09 +05:30
@use '../../partials/flex';
@use './state';
2021-12-23 17:09:09 +05:30
.radio-btn {
@extend .cp-fx__row--c-c;
2021-12-24 15:03:57 +05:30
width: 20px;
height: 20px;
2021-12-23 17:09:09 +05:30
border-radius: 50%;
2021-12-24 15:03:57 +05:30
background-color: var(--bg-surface-border);
border: 2px solid var(--bg-surface-border);
2021-12-23 17:09:09 +05:30
cursor: pointer;
@include state.disabled;
2021-12-23 17:09:09 +05:30
2021-12-24 15:03:57 +05:30
&::before {
content: '';
display: inline-block;
width: 12px;
height: 12px;
background-color: var(--bg-surface-border);
border-radius: 50%;
}
2021-12-23 17:09:09 +05:30
&--active {
2021-12-24 15:03:57 +05:30
border: 2px solid var(--bg-positive);
2021-12-23 17:09:09 +05:30
&::before {
2021-12-24 15:03:57 +05:30
background-color: var(--bg-positive);
2021-12-23 17:09:09 +05:30
}
}
}