From 69dcd29115768decc268fc429ade71aad27a8e2d Mon Sep 17 00:00:00 2001 From: Pat Mellon <16585245+patmellon@users.noreply.github.com> Date: Tue, 4 Aug 2020 16:20:20 -0400 Subject: [PATCH 1/9] Update homepage nav opacity (#61) --- _includes/footer_scripts.html | 4 ++-- _sass/homepage.scss | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/_includes/footer_scripts.html b/_includes/footer_scripts.html index e494d4b1f4ab..742669b60ccd 100644 --- a/_includes/footer_scripts.html +++ b/_includes/footer_scripts.html @@ -24,8 +24,8 @@ var top = $(this).scrollTop(); var fullPosition = $(".main-background").height() - $(".header-holder").height(); - if (top === 0) { - $(".header-holder").css({"backgroundColor": "transparent"}); + if (top <= 40) { + $(".header-holder").css({"backgroundColor": "rgba(0, 0, 0, 0.165)"}); } else if (top >= fullPosition) { $(".header-holder").css({"backgroundColor": "#000000"}); } else { diff --git a/_sass/homepage.scss b/_sass/homepage.scss index 35c96c3311d2..6144b2746071 100644 --- a/_sass/homepage.scss +++ b/_sass/homepage.scss @@ -53,6 +53,10 @@ background-color: $light_grey; } } + + .homepage-header { + background-color: rgba(0, 0, 0, 0.165); + } } .homepage-feature-module { @@ -368,7 +372,7 @@ &:hover { color: $orange; } - } + } } .no-banner { From 1c7fe51735432294c11d4ef134769b3d2eaa7f44 Mon Sep 17 00:00:00 2001 From: Brandon Green <31549535+Bgreen23@users.noreply.github.com> Date: Tue, 4 Aug 2020 16:56:32 -0400 Subject: [PATCH 2/9] Increase main nav font and search icon size * Increase main nav font and search icon size --- _sass/navigation.scss | 2 +- _sass/search.scss | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_sass/navigation.scss b/_sass/navigation.scss index 61eb26cf33bf..1c378b462577 100644 --- a/_sass/navigation.scss +++ b/_sass/navigation.scss @@ -118,7 +118,7 @@ ul li a { color: $white; - font-size: rem(18px); + font-size: 1.3rem; letter-spacing: 0; line-height: rem(34px); text-align: center; diff --git a/_sass/search.scss b/_sass/search.scss index 87496739441f..b3a2a09b23e9 100644 --- a/_sass/search.scss +++ b/_sass/search.scss @@ -321,9 +321,9 @@ input::placeholder { color: transparent; width: 25px; height: 25px; - background-size: 12px 15px; + background-size: 14px 16px; background-repeat: no-repeat; - background-position: 7px 5px; + background-position: 6px 5px; border-radius: 25px; cursor: pointer; &:hover { From f54860666572462b5ce0814d6ce69c43bc7e8560 Mon Sep 17 00:00:00 2001 From: Brandon Green <31549535+Bgreen23@users.noreply.github.com> Date: Tue, 4 Aug 2020 16:57:58 -0400 Subject: [PATCH 3/9] Add arrow for main nav ecosystem and resources dropdown (#59) * Add arrows for main nav ecosystem and resources dropdown --- _includes/main_menu.html | 8 ++++---- _sass/navigation.scss | 26 ++++++++++++++++++++++++++ assets/images/chevron-down-white.svg | 17 +++++++++++++++++ assets/main-menu-dropdown.js | 6 ++++++ 4 files changed, 53 insertions(+), 4 deletions(-) create mode 100644 assets/images/chevron-down-white.svg diff --git a/_includes/main_menu.html b/_includes/main_menu.html index cbd9f7934114..67454d862b7d 100644 --- a/_includes/main_menu.html +++ b/_includes/main_menu.html @@ -6,8 +6,8 @@