From a4de4b04eb5a249665551b81018486676de3a241 Mon Sep 17 00:00:00 2001 From: leigh-mil Date: Thu, 24 Jan 2019 10:10:10 -0500 Subject: [PATCH 1/4] Fix typos and styling for disabled fields --- styles/sections/_task_order.scss | 9 +++++++++ templates/task_orders/new/funding.html | 24 +++++++++++++----------- translations.yaml | 2 +- 3 files changed, 23 insertions(+), 12 deletions(-) diff --git a/styles/sections/_task_order.scss b/styles/sections/_task_order.scss index b63d064f..01123107 100644 --- a/styles/sections/_task_order.scss +++ b/styles/sections/_task_order.scss @@ -266,6 +266,15 @@ margin: 0; } } + + input[type="text"]:disabled { + color: $color-gray-lighter; + font-style: italic; + } + + .task-order__invite-dod-id { + + } } .task-order-invitations { diff --git a/templates/task_orders/new/funding.html b/templates/task_orders/new/funding.html index 79efa6d6..93bdc1bf 100644 --- a/templates/task_orders/new/funding.html +++ b/templates/task_orders/new/funding.html @@ -29,7 +29,7 @@

{{ "task_orders.new.funding.estimate_usage_title" | translate }}

{{ "task_orders.new.funding.estimate_usage_description" | translate }}

- {{ Icon("link")}} Cloud Service Provider's estimate calculator + {{ Icon("link")}} Go to Cloud Service Provider’s estimate calculator

{{ "task_orders.new.funding.estimate_usage_paragraph" | translate }}

@@ -41,7 +41,7 @@ {{ UserInfo(form.so_first_name, form.so_last_name, form.so_email, form.so_phone_number) }} {{ CheckboxInput(form.so_invite) }} From a2b9526cd44db3cebcb351fdb08afd1a772b7392 Mon Sep 17 00:00:00 2001 From: leigh-mil Date: Thu, 24 Jan 2019 15:06:14 -0500 Subject: [PATCH 3/4] Stying fixes after rebase --- styles/sections/_task_order.scss | 12 +++++++++--- templates/task_orders/new/review.html | 6 ++++-- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/styles/sections/_task_order.scss b/styles/sections/_task_order.scss index a45da134..9e2956a7 100644 --- a/styles/sections/_task_order.scss +++ b/styles/sections/_task_order.scss @@ -258,9 +258,15 @@ } } - input[type="text"]:disabled { - color: $color-gray-lighter; - font-style: italic; + .input--disabled { + label .usa-input__title { + color: $color-gray-light; + } + + input[type="text"]:disabled { + color: $color-gray-lighter; + font-style: italic; + } } .task-order__invite-officer { diff --git a/templates/task_orders/new/review.html b/templates/task_orders/new/review.html index 988a9f65..bfd90827 100644 --- a/templates/task_orders/new/review.html +++ b/templates/task_orders/new/review.html @@ -118,8 +118,10 @@ {{ Icon('download') }} {{ "task_orders.new.review.usage_est_link"| translate }}

{% else %} - {{ Icon('download') }} {{ "task_orders.new.review.usage_est_link"| translate }} - {{ Icon('alert', classes='icon--red') }} {{ "task_orders.new.review.not_uploaded"| translate }} +

+ {{ Icon('download') }} {{ "task_orders.new.review.usage_est_link"| translate }}
+ {{ Icon('alert', classes='icon--red') }} {{ "task_orders.new.review.not_uploaded"| translate }} +

{% endif %} {% endcall %} From 3b2349d554d660706f8ba49729d52181a2e56d61 Mon Sep 17 00:00:00 2001 From: leigh-mil Date: Fri, 25 Jan 2019 11:24:08 -0500 Subject: [PATCH 4/4] Add space in classes and remove unnecessary div --- templates/components/text_input.html | 2 +- templates/task_orders/new/funding.html | 22 ++++++++++------------ 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/templates/components/text_input.html b/templates/components/text_input.html index 3bd95cc4..97797983 100644 --- a/templates/components/text_input.html +++ b/templates/components/text_input.html @@ -27,7 +27,7 @@ inline-template>