From 17f904d114c6b91ff35d09de0c1996483783bd64 Mon Sep 17 00:00:00 2001 From: Eric Larson Date: Thu, 26 Sep 2024 09:35:45 -0500 Subject: [PATCH] Bug fix: header logo should not underline/border on hover --- app/assets/stylesheets/geoportal/_footer.scss | 2 +- app/assets/stylesheets/geoportal/_navbar.scss | 9 ++++++++- app/views/shared/_header_navbar.html.erb | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/geoportal/_footer.scss b/app/assets/stylesheets/geoportal/_footer.scss index 597c25f85..46ff74cb7 100644 --- a/app/assets/stylesheets/geoportal/_footer.scss +++ b/app/assets/stylesheets/geoportal/_footer.scss @@ -17,7 +17,7 @@ section#footer-app { background-color: $btaa-blue; border-top: 1rem solid $btaa-blue-dark; border-bottom: 0.5rem solid $btaa-blue-dark; - background-image: asset_url('footer/elevation_map_mpls_blueish_8.png'); + background-image: asset_url('footer/elevation_map_mpls_blueish.png'); background-repeat: no-repeat; background-attachment: fixed; background-position: center; diff --git a/app/assets/stylesheets/geoportal/_navbar.scss b/app/assets/stylesheets/geoportal/_navbar.scss index 280f7d1ec..20e5381f0 100644 --- a/app/assets/stylesheets/geoportal/_navbar.scss +++ b/app/assets/stylesheets/geoportal/_navbar.scss @@ -10,11 +10,18 @@ $link-color: $white; $hover-color: darken($link-color, 20%); $visited-color: lighten($link-color, 20%); -div#cic-header-navbar { +div#b1g-header-navbar { margin-bottom:0; background-color: darken($btaa-blue, 10%); padding-left:0.5rem; padding-right:0.5rem; + + a#btaa-logo { + &:hover { + border-bottom: none !important; + text-decoration: none !important; + } + } } #header-navbar { diff --git a/app/views/shared/_header_navbar.html.erb b/app/views/shared/_header_navbar.html.erb index f7517e159..076f4118d 100644 --- a/app/views/shared/_header_navbar.html.erb +++ b/app/views/shared/_header_navbar.html.erb @@ -2,8 +2,8 @@