From 131346b1fd6d6c706958d30d6d700dde468e77d3 Mon Sep 17 00:00:00 2001 From: SamiraMSadat <108487505+SamiraMSadat@users.noreply.github.com> Date: Mon, 26 Feb 2024 11:53:04 -0700 Subject: [PATCH 1/2] VOTE-784 style footer secondary section (#577) --- web/themes/custom/votegov/img/eac-logo.webp | Bin 0 -> 12576 bytes web/themes/custom/votegov/img/gsa-logo.svg | 19 +++++ web/themes/custom/votegov/img/x-logo.svg | 7 ++ .../votegov/src/sass/components/_index.scss | 1 + .../src/sass/components/footer-secondary.scss | 78 ++++++++++++++++++ .../src/sass/uswds-overrides/_index.scss | 1 + .../src/sass/uswds-overrides/usa-footer.scss | 45 ++++++++++ .../footer--secondary-section.html.twig | 40 +++++---- .../votegov/templates/layout/page.html.twig | 2 +- 9 files changed, 175 insertions(+), 18 deletions(-) create mode 100644 web/themes/custom/votegov/img/eac-logo.webp create mode 100644 web/themes/custom/votegov/img/gsa-logo.svg create mode 100644 web/themes/custom/votegov/img/x-logo.svg create mode 100644 web/themes/custom/votegov/src/sass/components/footer-secondary.scss create mode 100644 web/themes/custom/votegov/src/sass/uswds-overrides/usa-footer.scss diff --git a/web/themes/custom/votegov/img/eac-logo.webp b/web/themes/custom/votegov/img/eac-logo.webp new file mode 100644 index 0000000000000000000000000000000000000000..fe7f36d97dd4e8d85155ec48c902f28c58ab205e GIT binary patch literal 12576 zcmV+*G2hNoNk&E(F#rHpMM6+kP&il$0000G0000Z0RUeB06|PpNNExP00HoZ|Nr_Y z{r}z8$wp5`H`3h=7Tw4j8DUF{QZ^xtU{Xpq!my=BW6&YposJwEyPkMHp3hhCd^1l* z#01Ds0}4L-$|p1CA4pG5PCqeo%7?EtEv)|-i*#Rc4KH3>^+tuD{|cU&eHtHLU)t_J zfIJ_b!si#iD4(%=dLDk7R4e0FcpH9vqHe}4ehGfQseA_P&2;>KqF-gs8!RbPe1Ii$ z4oNZD9TjL)DaIRdF%BXEp8&FL=drw2-jC{kyM5Q%{YgD#ZL;LA^?$D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2;`bO92zb|O14GY1OcVE=}CG!H-fIa0}5tN zxLicCy|%hTBhU{?fPv7axk0*XoZHhWNs0`R*VQ)Yn$fnuMhLZ}jcENzx9LWRk&g-_ z6V?Y3W3cT8XUDdft(BgPb{psJ40VrmMLrsO;ip6OK0U!hvs+hbCh)`U@qjg2){YT? zTwd;vKBSI0jw3MaKvG6YZ67-{UV3a3B}$yuMN0HB75k?Q<-SAk^BE7VX;39a>D0Ph z&&OA{G%R217wDgqVdT#ne{d4znf{N^^X!|d_xbC)UMT}TwSpARi_P%ToK|tnP|Et3 z5sBnzwKg~NIF>m)%u5{w)8-=oJ~w35_Hpu%#nONUp>QmKI8d27c{t;RPDq=YQ)0s~ z#n${Znk*lxj9xOYv`IBau7ZWEAC0UsL?>NPrfo4HRTg);DcWHo#s<8( + + + + + + + diff --git a/web/themes/custom/votegov/img/x-logo.svg b/web/themes/custom/votegov/img/x-logo.svg new file mode 100644 index 000000000..9daf1abaa --- /dev/null +++ b/web/themes/custom/votegov/img/x-logo.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/web/themes/custom/votegov/src/sass/components/_index.scss b/web/themes/custom/votegov/src/sass/components/_index.scss index 5fe50ff67..9f1fa0e02 100644 --- a/web/themes/custom/votegov/src/sass/components/_index.scss +++ b/web/themes/custom/votegov/src/sass/components/_index.scss @@ -9,4 +9,5 @@ @forward "field"; @forward "basics-block"; @forward "heading"; +@forward "footer-secondary"; diff --git a/web/themes/custom/votegov/src/sass/components/footer-secondary.scss b/web/themes/custom/votegov/src/sass/components/footer-secondary.scss new file mode 100644 index 000000000..89df4fcf0 --- /dev/null +++ b/web/themes/custom/votegov/src/sass/components/footer-secondary.scss @@ -0,0 +1,78 @@ +@use "uswds-core" as *; +@use "variables" as *; + +.gsa-container { + @include u-display('flex'); + @include u-flex('align-center'); +} + +.gsa-container__img { + @include u-padding-right(2); + @include grid-col(auto); +} + +.gsa-container__text { + font-size: 14px; + @include at-media('tablet') { + @include grid-col(10); + } + @include at-media-max('tablet') { + @include grid-col(9); + } +} + +.eac-logo-container { + @include u-display('flex'); + @include u-position('relative'); + + @include at-media('tablet') { + @include u-padding-left(6); + &:before { + content: ''; + background-color: $bg-light-medium; + @include u-display('block'); + @include u-position('absolute'); + @include u-width('2px'); + @include u-height(6); + @include u-margin-y('auto'); + @include u-left(0); + @include u-top(0); + @include u-bottom(0); + + } + } + + @include at-media-max('tablet') { + @include u-flex('justify-center'); + @include u-margin-bottom(2); + @include u-margin-top(4); + + &:before { + content: ''; + background-color: $bg-light-medium; + @include u-display('block'); + @include u-position('absolute'); + @include u-width('2px'); + @include u-height(10); + @include u-margin-y('auto'); + bottom: 32px; + rotate: 90deg; + } + } +} + +.vote-social-link { + @include u-display('flex'); + @include u-flex('align-center'); + @include u-radius-top('pill'); + @include u-radius-bottom('pill'); + @include u-width(4); + @include u-height(4); + @include u-margin(0.5); + background-color: $bg-light-cool; +} + +.vote-social-link__icon { + @include u-width(4); + @include u-height(4); +} diff --git a/web/themes/custom/votegov/src/sass/uswds-overrides/_index.scss b/web/themes/custom/votegov/src/sass/uswds-overrides/_index.scss index 336fb6054..3c3de32e8 100644 --- a/web/themes/custom/votegov/src/sass/uswds-overrides/_index.scss +++ b/web/themes/custom/votegov/src/sass/uswds-overrides/_index.scss @@ -6,6 +6,7 @@ @forward "usa-label"; @forward "usa-language-selector"; @forward "usa-header"; +@forward "usa-footer"; @forward "usa-button"; @forward "usa-button-group"; @forward "usa-select"; diff --git a/web/themes/custom/votegov/src/sass/uswds-overrides/usa-footer.scss b/web/themes/custom/votegov/src/sass/uswds-overrides/usa-footer.scss new file mode 100644 index 000000000..5ba79d5fe --- /dev/null +++ b/web/themes/custom/votegov/src/sass/uswds-overrides/usa-footer.scss @@ -0,0 +1,45 @@ +@use "uswds-core" as *; +@use "variables" as *; + +.usa-footer__secondary-section { + @include u-border-top(1px); + @include u-border-top('solid'); + border-color: $bg-light-medium; + background-color: #f0f0f0; + font-family: $theme-font-type-sans; + + @include at-media('tablet') { + @include u-padding-y(6); + } + + @include at-media-max('tablet') { + @include u-padding-bottom(0); + } +} + +.usa-footer__logo { + color: $base-dark; + @include at-media('tablet') { + @include u-display('flex'); + @include grid-col(6); + } +} + +.usa-footer__social-links { + @include u-display('flex'); + @include u-flex('align-center'); + font-size: 18px; + font-weight: 500; + + @include at-media('tablet') { + @include grid-col(3); + } + @include at-media-max('tablet') { + @include u-flex('justify-center'); + @include u-padding-bottom(0); + @include u-border-y(1px); + border-color: $bg-light-medium ; + @include u-padding-y('105'); + @include u-margin-x(-2); + } +} diff --git a/web/themes/custom/votegov/templates/component/footer--secondary-section.html.twig b/web/themes/custom/votegov/templates/component/footer--secondary-section.html.twig index cc07b4c43..80c2b923d 100644 --- a/web/themes/custom/votegov/templates/component/footer--secondary-section.html.twig +++ b/web/themes/custom/votegov/templates/component/footer--secondary-section.html.twig @@ -1,24 +1,30 @@ +{% set GSAlink = link('General Services Administration' | t, 'https://www.gsa.gov/') %} +