Skip to content

Commit

Permalink
tweak arrow colours on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
martyn-w committed May 8, 2024
1 parent 19e9621 commit 2893d33
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion app/webpacker/styles/header/navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ body > header {
ol.category-links-list > li > .menu-link {
> .nav-icon {
&__contracted {
background-image: url("../images/navigation/arrow-down-black.svg");
background-image: url("../images/navigation/arrow-down-pink.svg");
}

&__expanded {
Expand All @@ -144,6 +144,20 @@ body > header {
}
}

ol.category-links-list > li.selected > .menu-link {
&:focus {
.nav-icon {
&__contracted {
background-image: url("../images/navigation/arrow-down-pink.svg");
}

&__expanded {
background-image: url("../images/navigation/arrow-up-black.svg");
}
}
}
}

// all mobile menu links
.menu-link {
display: flex;
Expand Down Expand Up @@ -221,6 +235,7 @@ body > header {
} // ol.primary

ol.category-links-list {
// mobile and tablet
@include mq($until: desktop) {
padding-top: 6px;
padding-left: 0;
Expand All @@ -231,6 +246,7 @@ body > header {

> a, button.btn-as-link {
font-weight: bold;
background: transparent;
}
}

Expand Down

0 comments on commit 2893d33

Please sign in to comment.