78 lines
1.2 KiB
SCSS
78 lines
1.2 KiB
SCSS
form .poll {
|
|
grid-row: 1/3;
|
|
grid-column: 2;
|
|
padding: 0 0 0 2rem;
|
|
|
|
input,
|
|
label {
|
|
display: inline-block;
|
|
}
|
|
|
|
.check{
|
|
display: block;
|
|
position: absolute;
|
|
border: .15rem solid #AAAAAA;
|
|
border-radius: 100%;
|
|
height: 1rem;
|
|
width: 1rem;
|
|
top: .5rem;
|
|
left: .5rem;
|
|
}
|
|
|
|
.group {
|
|
display: block;
|
|
position: relative;
|
|
margin: .5rem 0;
|
|
|
|
.check::before {
|
|
display: block;
|
|
position: absolute;
|
|
content: '';
|
|
border-radius: 100%;
|
|
height: .40rem;
|
|
width: .40rem;
|
|
top: .18rem;
|
|
left: .2rem;
|
|
}
|
|
|
|
@-moz-document url-prefix() {
|
|
.check::before {
|
|
height: .35rem;
|
|
width: .35rem;
|
|
top: .2rem;
|
|
left: .2rem;
|
|
}
|
|
}
|
|
|
|
label {
|
|
font-size: .9rem;
|
|
padding: .25rem 0 0 2rem;
|
|
margin: 0;
|
|
text-transform: none;
|
|
vertical-align: middle;
|
|
}
|
|
}
|
|
|
|
input[type=radio] {
|
|
position: absolute;
|
|
visibility: hidden;
|
|
|
|
&:checked ~ .check {
|
|
border: .15rem solid $s-color;
|
|
}
|
|
|
|
&:checked ~ .check::before{
|
|
background: $s-color;
|
|
}
|
|
|
|
&:checked ~ label{
|
|
color: $s-color;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 600px) {
|
|
form .poll {
|
|
padding: 1rem 0;
|
|
}
|
|
} |