From 3ff79b7b99bceb149138f010f1c57c84798dd8c4 Mon Sep 17 00:00:00 2001 From: Amir Meshkin Date: Sun, 7 May 2023 09:34:00 -0400 Subject: [PATCH 1/3] FOIA-183407: Added main stroke color for svg. --- www.foia.gov/_sass/modules/_misc.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/www.foia.gov/_sass/modules/_misc.scss b/www.foia.gov/_sass/modules/_misc.scss index a2e3eaee2..6378cd098 100644 --- a/www.foia.gov/_sass/modules/_misc.scss +++ b/www.foia.gov/_sass/modules/_misc.scss @@ -30,3 +30,9 @@ ul.list-of-exemptions > li > ul{ max-width: 62.4rem; } } + +#main { + .stroke-color { + stroke: #122E51; + } +} From 3da4f49b78283a902acded82a6890a4a2469c2cc Mon Sep 17 00:00:00 2001 From: Amir Meshkin Date: Mon, 8 May 2023 09:29:14 -0400 Subject: [PATCH 2/3] FOIA-183407: moved all stroke color code to proper file. --- www.foia.gov/_sass/base/_typography.scss | 15 ++------------- www.foia.gov/_sass/modules/_exitscript.scss | 20 ++++++++++++++++++++ www.foia.gov/_sass/modules/_misc.scss | 6 ------ www.foia.gov/_sass/theme/_cfoc_page.scss | 3 --- 4 files changed, 22 insertions(+), 22 deletions(-) diff --git a/www.foia.gov/_sass/base/_typography.scss b/www.foia.gov/_sass/base/_typography.scss index 71c68a0cd..a74c0cf73 100644 --- a/www.foia.gov/_sass/base/_typography.scss +++ b/www.foia.gov/_sass/base/_typography.scss @@ -147,13 +147,7 @@ p { } } -.usa-footer { - .ext { - .stroke-color { - stroke: #C6ECFC; - } - } -} + .svg-icon { margin: 0 4px; @@ -161,12 +155,7 @@ p { height: 10px; } -.stroke-color { - fill: none; - stroke-linecap: round; - stroke-linejoin: round; - stroke-miterlimit: 10; -} + .usa-link--external { position: relative; diff --git a/www.foia.gov/_sass/modules/_exitscript.scss b/www.foia.gov/_sass/modules/_exitscript.scss index 7af691d2f..56ba06418 100644 --- a/www.foia.gov/_sass/modules/_exitscript.scss +++ b/www.foia.gov/_sass/modules/_exitscript.scss @@ -6,3 +6,23 @@ } } } + +.stroke-color { + fill: none; + stroke-linecap: round; + stroke-linejoin: round; + stroke-miterlimit: 10; +} + +#main { + .stroke-color { + stroke: #122E51; + } +} +.usa-footer { + .ext { + .stroke-color { + stroke: #C6ECFC; + } + } +} diff --git a/www.foia.gov/_sass/modules/_misc.scss b/www.foia.gov/_sass/modules/_misc.scss index 6378cd098..a2e3eaee2 100644 --- a/www.foia.gov/_sass/modules/_misc.scss +++ b/www.foia.gov/_sass/modules/_misc.scss @@ -30,9 +30,3 @@ ul.list-of-exemptions > li > ul{ max-width: 62.4rem; } } - -#main { - .stroke-color { - stroke: #122E51; - } -} diff --git a/www.foia.gov/_sass/theme/_cfoc_page.scss b/www.foia.gov/_sass/theme/_cfoc_page.scss index a6b7d32fb..e2386af64 100644 --- a/www.foia.gov/_sass/theme/_cfoc_page.scss +++ b/www.foia.gov/_sass/theme/_cfoc_page.scss @@ -140,7 +140,4 @@ } } - .stroke-color { - stroke: #122E51; - } } From f0e5cb42fdce5fa0fc1d111517877c5e44903743 Mon Sep 17 00:00:00 2001 From: Amir Meshkin Date: Mon, 8 May 2023 09:30:13 -0400 Subject: [PATCH 3/3] FOIA-183407: Remove old code. --- www.foia.gov/_sass/modules/_exitscript.scss | 9 --------- 1 file changed, 9 deletions(-) diff --git a/www.foia.gov/_sass/modules/_exitscript.scss b/www.foia.gov/_sass/modules/_exitscript.scss index 56ba06418..8407e4ea4 100644 --- a/www.foia.gov/_sass/modules/_exitscript.scss +++ b/www.foia.gov/_sass/modules/_exitscript.scss @@ -1,12 +1,3 @@ -.simple-modal-body { - .usa-alert { - overflow: auto; - .usa-alert-body { - max-width: 48rem; - } - } -} - .stroke-color { fill: none; stroke-linecap: round;