Skip to content

Commit

Permalink
Add newsletter dropdown caret hover (#15719)
Browse files Browse the repository at this point in the history
* Fixup icons

* Update footer-newsletter dropdown carets

* Add black caret for focused dropdowns

* Fixup background color inherit

* Simplify background-position
  • Loading branch information
janbrasna authored Dec 12, 2024
1 parent a623a2c commit d667a96
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
13 changes: 10 additions & 3 deletions media/css/m24/components/footer-newsletter.scss
Original file line number Diff line number Diff line change
Expand Up @@ -179,14 +179,21 @@ $max-footer-content-width: $content-max;
select {
font-family: $primary-font;
width: 100%;
background-position-x: 100%;
background-position-y: 9px;
background-image: url('/media/img/logos/mozilla/footer-refresh/icon-arrow-down.svg');
background-image: url('/media/img/icons/m24-small/down-caret-white.svg');
background-repeat: no-repeat;
background-size: 16px 16px;
@include bidi(((background-position, right 8px center, 8px center),));

@media #{$mq-lg} {
min-width: 100%;
}

&:hover,
&:focus,
&:focus-visible,
&:focus-within {
background-image: url('/media/img/icons/m24-small/down-caret.svg');
}
}
}

Expand Down
1 change: 0 additions & 1 deletion media/img/logos/mozilla/footer-refresh/icon-arrow-down.svg

This file was deleted.

1 change: 0 additions & 1 deletion media/img/logos/mozilla/footer-refresh/icon-globe.svg

This file was deleted.

1 change: 0 additions & 1 deletion media/img/logos/mozilla/wordmark-dark.svg

This file was deleted.

0 comments on commit d667a96

Please sign in to comment.