From 34d810038f9fc27b3f74e4cff7676db110b303a7 Mon Sep 17 00:00:00 2001 From: Oleg Lavrovsky Date: Wed, 12 Apr 2017 13:17:33 +0200 Subject: [PATCH] Form styling --- publichealth/static/css/modules/_forms.scss | 12 +++++++++++- publichealth/static/mockup/assets/css/main.css | 14 +++++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/publichealth/static/css/modules/_forms.scss b/publichealth/static/css/modules/_forms.scss index 9cd432c..ef992f9 100644 --- a/publichealth/static/css/modules/_forms.scss +++ b/publichealth/static/css/modules/_forms.scss @@ -5,7 +5,17 @@ label { width: 15em; border-bottom: 1px dashed #ccc; - line-height: 155%; + line-height: 166%; + vertical-align: top; + } + label:only-child { + width: auto; + border: none; + font-weight: bold; + } + ul { + list-style: none; + label { width: auto; } } } diff --git a/publichealth/static/mockup/assets/css/main.css b/publichealth/static/mockup/assets/css/main.css index 06b0741..71c32e5 100755 --- a/publichealth/static/mockup/assets/css/main.css +++ b/publichealth/static/mockup/assets/css/main.css @@ -8526,7 +8526,19 @@ footer#footer a { #contact-page form label { width: 15em; border-bottom: 1px dashed #ccc; - line-height: 155%; + line-height: 166%; + vertical-align: top; +} +#contact-page form label:only-child { + width: auto; + border: none; + font-weight: bold; +} +#contact-page form ul { + list-style: none; +} +#contact-page form ul label { + width: auto; } #search-form input {