Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion media/css/m24/components/navigation-refresh.scss
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,18 @@ $margin-top: 54px; // top margin offset for mobile navigation menu
width: 100px;
}



// Mobile navigation menu with JS enabled.
.js .m24-c-navigation-items {
display: none;


a {
&:hover {
color: $color-black !important;
}
}
Comment on lines +167 to +171
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just quickly looking at the impact: (not diving into formatting and linting as this would fail the checks, starting with important not being allowed generally etc.…)

  1. It's not always black, current item uses dark green so there are perhaps more combinations to check for.
  2. I might have missed the idea why this is only applied in the js enhanced block, and not universally?
  3. There are existing specificity overrides, so this might be worth exploring if such nesting helps with the order:

// extra specificity to override link colors on some Firefox pages
&:link,
&:visited {
color: $color-black;
text-decoration: none;
}


@media (max-width: $screen-md) {
&.mzp-is-open {
display: flex;
Expand Down