Files
grecia/app/assets/stylesheets/polls/form.scss

66 lines
1.1 KiB
SCSS

.poll-form {
fieldset,
.poll-question-open-ended {
border: 1px solid $border;
border-radius: $global-radius;
padding: $line-height;
+ * {
margin-top: calc($line-height / 2);
}
}
fieldset {
legend {
@include header-font-size(h3);
float: $global-left;
margin-bottom: 0;
+ * {
clear: $global-left;
}
}
label {
@include radio-or-checkbox-and-label-alignment;
font-weight: normal;
&:first-of-type::before {
content: "\A";
margin-top: calc($line-height / 2);
white-space: pre;
}
}
}
.poll-question-open-ended {
label {
@include header-font-size(h3);
line-height: 1.5;
}
}
.help-text {
display: block;
font-size: 1em;
font-style: normal;
font-weight: bold;
}
.read-more-links {
margin-top: calc($line-height / 2);
* {
margin-bottom: 0;
}
* + * {
margin-top: calc($line-height / 4);
}
}
[type=submit] {
margin-top: calc($line-height * 3 / 4);
}
}