public-health-ch/publichealth/static/css/modules/_forms.scss

52 lines
862 B
SCSS
Raw Normal View History

2017-05-05 12:54:42 +00:00
// Contact page form
2017-04-08 13:47:10 +00:00
#contact-page {
form {
label {
width: 15em;
2017-05-03 14:28:17 +00:00
border-bottom: 1px dashed $gray-light;
2017-04-12 11:17:33 +00:00
line-height: 166%;
vertical-align: top;
}
label:only-child {
width: auto;
border: none;
2017-04-12 11:27:48 +00:00
}
&> p label {
2017-04-12 11:17:33 +00:00
font-weight: bold;
}
ul {
list-style: none;
label { width: auto; }
2017-04-08 13:47:10 +00:00
}
2017-04-12 11:32:07 +00:00
.helptext {
margin-bottom: 1em;
display: block;
font-size: 90%;
}
2017-05-03 14:25:22 +00:00
input[type='text'], textarea {
2017-05-03 14:28:17 +00:00
border: 1px solid $gray-light;
2017-05-03 14:25:22 +00:00
padding: 3px;
}
2017-05-11 07:43:10 +00:00
// Full width comment on mobile screens
@include max-screen($screen-xs-max) {
textarea { width: 100%; }
}
2017-04-08 13:47:10 +00:00
}
}
2017-04-08 14:01:08 +00:00
// Search result form
2017-05-03 22:07:07 +00:00
#search-page {
input[type='text'] {
font-size: 110%;
}
h4 {
margin-bottom: 0px;
}
.container > center {
margin-bottom: 3em;
}
}