Skip to content

Commit

Permalink
fix: incorrect hover styles for nav links in hamburger menu
Browse files Browse the repository at this point in the history
closes: #805
  • Loading branch information
shauke committed Jul 28, 2021
1 parent c0f037f commit 64a91a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 21 deletions.
7 changes: 5 additions & 2 deletions src/styles/components/header/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,11 @@ header {
background: $color-inverse;
}

a span:hover {
color: $text-color-quarternary;
.user-links,
.header-utility {
a span:hover {
color: $text-color-quarternary;
}
}

.navbar-toggler {
Expand Down
19 changes: 0 additions & 19 deletions src/styles/components/header/language-switch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,6 @@
padding-right: $space-default;
padding-left: $space-default * 0.5;
color: $text-color-quinary !important;

//language selector when dropdown is shown
&.show .language-switch-link {
span:hover {
color: darken($text-color-quinary, 10%);
}
}

//language selector when dropdown is hidden
&:not(.show) .language-switch-link {
span:hover {
color: darken($text-color-quinary, 10%);
}
}
}

.language-switch-menu-container {
Expand Down Expand Up @@ -72,11 +58,6 @@
&.accordion {
margin-left: 0;

.language-switch-link {
padding-left: 0;
color: $CORPORATE-PRIMARY !important;
}

.language-switch-container {
position: relative;
top: 0 !important;
Expand Down

1 comment on commit 64a91a1

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Azure Demo Servers are available:

Please sign in to comment.