scratch-www/src/components/forms/radio-group.scss

47 lines
1.1 KiB
SCSS
Raw Normal View History

2016-06-23 07:27:43 -04:00
@import "../../colors";
.row {
.radio {
label {
font-weight: 300;
}
}
.col-sm-9 {
display: flex;
flex-flow: row wrap;
2016-06-23 07:27:43 -04:00
input {
&[type="radio"] {
margin-top: 1px;
border: 1px solid $active-gray;
border-radius: 50%;
width: .875rem;
height: .875rem;
appearance: none;
2016-06-23 07:27:43 -04:00
&:checked,
&:focus {
outline: none;
}
2016-06-23 07:27:43 -04:00
&:checked {
transition: all .25s ease;
box-shadow: 0 0 0 .25rem $active-gray;
background-color: $ui-blue;
2016-06-23 07:27:43 -04:00
&:after {
display: block;
transform: translate(.25rem, .25rem);
border-radius: 50%;
background-color: $ui-white;
width: .25rem;
height: .25rem;
content: "";
}
2016-06-23 07:27:43 -04:00
}
}
}
}
}