From 31bc576b4d8ea1be857849b4a76a497e4e24c76a Mon Sep 17 00:00:00 2001 From: "Ernest W. Durbin III" Date: Wed, 25 Nov 2020 08:40:22 -0500 Subject: [PATCH] fully handle css for active/package_only labels handle the css class on the same tag to avoid conflicts --- static/sass/style.css | 6 +++--- static/sass/style.scss | 5 ++++- templates/sponsors/sponsorship_benefits_form.html | 4 ++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/static/sass/style.css b/static/sass/style.css index b4775810c..3ca913fc7 100644 --- a/static/sass/style.css +++ b/static/sass/style.css @@ -3628,9 +3628,9 @@ span.highlighted { text-align: center; } #sponsorship_application_container form { margin-bottom: 0; } - #sponsorship_application_container form { - .package_only_label { color: #666666; } - .active { color: #3776ab; } } + #sponsorship_application_container form .package_only { color: #666666; } + #sponsorship_application_container form .package_only.active { color: #3776ab; } + #sponsorship_application_container form .active { color: #3776ab; } #sponsorship_application_container #package_selection { display: inline-block; } #sponsorship_application_container #package_selection li { diff --git a/static/sass/style.scss b/static/sass/style.scss index a837ff17d..0923fe3ba 100644 --- a/static/sass/style.scss +++ b/static/sass/style.scss @@ -2407,9 +2407,12 @@ span.highlighted { form { margin-bottom: 0; - .package_only_label { + .package_only { color: $grey; } + .package_only.active { + color: $blue; + } .active { color: $blue; } diff --git a/templates/sponsors/sponsorship_benefits_form.html b/templates/sponsors/sponsorship_benefits_form.html index cc4530ad4..f03cb585d 100644 --- a/templates/sponsors/sponsorship_benefits_form.html +++ b/templates/sponsors/sponsorship_benefits_form.html @@ -53,9 +53,9 @@

{{ field.label }}