118 lines
1.8 KiB
SCSS
118 lines
1.8 KiB
SCSS
.new-ballot {
|
|
@extend %item;
|
|
padding: 10px 20px;
|
|
margin-bottom: 30px;
|
|
text-align: left;
|
|
box-sizing: border-box;
|
|
|
|
&-inputs {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.left,
|
|
.right {
|
|
width: 48%;
|
|
}
|
|
|
|
label {
|
|
&:not(.radio) {
|
|
display: block;
|
|
margin-bottom: 15px;
|
|
margin-top: 20px;
|
|
text-transform: uppercase;
|
|
font-size: 12px;
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
|
|
button,
|
|
input,
|
|
textarea {
|
|
outline: none;
|
|
font-family: 'Open Sans', sans-serif;
|
|
}
|
|
|
|
input,
|
|
textarea {
|
|
transition: 0.3s border-color;
|
|
width: 100%;
|
|
border-radius: 3px;
|
|
box-sizing: border-box;
|
|
border: 1px solid #eee;
|
|
|
|
&:focus {
|
|
border-color: #08b3f2;
|
|
}
|
|
}
|
|
|
|
textarea {
|
|
padding: 15px;
|
|
height: 110px;
|
|
resize: none;
|
|
}
|
|
|
|
input {
|
|
padding: 0 15px;
|
|
height: 36px;
|
|
}
|
|
|
|
input[type="radio"] {
|
|
display: none;
|
|
|
|
&:checked + .radio:after {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.radio {
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
position: relative;
|
|
padding-left: 30px;
|
|
margin-top: 20px;
|
|
margin-right: 40px;
|
|
font-size: 12px;
|
|
|
|
&:before,
|
|
&:after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 50%;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
&:before {
|
|
left: 0;
|
|
width: 20px;
|
|
height: 20px;
|
|
margin-top: -10px;
|
|
box-sizing: border-box;
|
|
border: 1px solid #d8d9db;
|
|
}
|
|
|
|
&:after {
|
|
transition: 0.3s opacity;
|
|
opacity: 0;
|
|
left: 5px;
|
|
width: 10px;
|
|
height: 10px;
|
|
margin-top: -5px;
|
|
background-color: #08b3f2;
|
|
}
|
|
}
|
|
|
|
&-description {
|
|
margin-top: 10px;
|
|
color: #8197a2;
|
|
font-size: 12px;
|
|
line-height: 18px;
|
|
}
|
|
|
|
&-add {
|
|
@extend %btn;
|
|
@extend %btn-vote;
|
|
margin-top: 20px;
|
|
}
|
|
}
|