From f1f66af961ceb6027ed8012041842fd0767a1e17 Mon Sep 17 00:00:00 2001 From: leigh-mil Date: Wed, 9 Oct 2019 15:23:13 -0400 Subject: [PATCH] Change style of usa-input__title to normal font weight, remove repetitive css for styling usa-input__title --- styles/components/_forms.scss | 1 - styles/components/_modal.scss | 4 ---- styles/elements/_inputs.scss | 1 + styles/sections/_application_edit.scss | 4 ++++ styles/sections/_task_order.scss | 5 ----- 5 files changed, 5 insertions(+), 10 deletions(-) diff --git a/styles/components/_forms.scss b/styles/components/_forms.scss index 7fce137a..19ca2fb5 100644 --- a/styles/components/_forms.scss +++ b/styles/components/_forms.scss @@ -197,6 +197,5 @@ & > fieldset.usa-input__choices label { display: inline; - font-weight: $font-normal; } } diff --git a/styles/components/_modal.scss b/styles/components/_modal.scss index 19e03461..9e7ff3ed 100644 --- a/styles/components/_modal.scss +++ b/styles/components/_modal.scss @@ -156,10 +156,6 @@ body { .checkbox { margin-left: 3rem; } - - &__title { - font-weight: $font-normal; - } } input[type="checkbox"] { diff --git a/styles/elements/_inputs.scss b/styles/elements/_inputs.scss index c56c57cf..eeef4cc8 100644 --- a/styles/elements/_inputs.scss +++ b/styles/elements/_inputs.scss @@ -88,6 +88,7 @@ &__title { align-items: center; + font-weight: $font-normal; &-inline { display: inline-block; diff --git a/styles/sections/_application_edit.scss b/styles/sections/_application_edit.scss index aa8ed676..1d6de7fd 100644 --- a/styles/sections/_application_edit.scss +++ b/styles/sections/_application_edit.scss @@ -34,6 +34,10 @@ .input__inline-fields { text-align: left; + + .usa-input__choices label { + font-weight: $font-bold; + } } .input__inline-fields { diff --git a/styles/sections/_task_order.scss b/styles/sections/_task_order.scss index b4fff3b9..26bb4c79 100644 --- a/styles/sections/_task_order.scss +++ b/styles/sections/_task_order.scss @@ -137,11 +137,6 @@ } } - .usa-input__title, - .usa-input__title-inline { - font-weight: $font-normal; - } - .panel { @include shadow-panel; }