From 4545b5354dcc1994b28435ccad95d64f9c328ed5 Mon Sep 17 00:00:00 2001 From: Alexandre Vryghem Date: Wed, 6 Dec 2023 02:03:44 +0100 Subject: [PATCH] Fixed Edit Item Bitstream showing empty buttons when css is turned off & replaced authentication dropdown menu link with button - Also fixed box-shadows not working the same way for all footer buttons/links --- src/app/footer/footer.component.html | 6 +++--- src/app/footer/footer.component.scss | 9 +++++++++ .../shared/auth-nav-menu/auth-nav-menu.component.html | 11 +++++++---- .../shared/auth-nav-menu/auth-nav-menu.component.scss | 9 +++++++++ 4 files changed, 28 insertions(+), 7 deletions(-) diff --git a/src/app/footer/footer.component.html b/src/app/footer/footer.component.html index d4c0cd1a377..ac903929f6f 100644 --- a/src/app/footer/footer.component.html +++ b/src/app/footer/footer.component.html @@ -69,15 +69,15 @@
Footer Content
  • - {{ 'footer.link.privacy-policy' | translate}}
  • - {{ 'footer.link.end-user-agreement' | translate}}
  • - {{ 'footer.link.feedback' | translate}}
  • diff --git a/src/app/footer/footer.component.scss b/src/app/footer/footer.component.scss index 4dfdc3267ba..f1a872c0994 100644 --- a/src/app/footer/footer.component.scss +++ b/src/app/footer/footer.component.scss @@ -30,6 +30,15 @@ padding: 0 calc(var(--bs-spacer) / 2); color: inherit; font-size: .875em; + + &:focus { + box-shadow: none; + text-decoration: underline; + } + + &:focus-visible { + box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.5); + } } &:not(:last-child) { diff --git a/src/app/shared/auth-nav-menu/auth-nav-menu.component.html b/src/app/shared/auth-nav-menu/auth-nav-menu.component.html index eba37fa4160..a0623bdd90d 100644 --- a/src/app/shared/auth-nav-menu/auth-nav-menu.component.html +++ b/src/app/shared/auth-nav-menu/auth-nav-menu.component.html @@ -2,9 +2,11 @@