Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
wen-2018 committed Dec 12, 2024
1 parent 5d9d8e4 commit ed7446a
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions media/css/m24/components/footer-refresh.scss
Original file line number Diff line number Diff line change
Expand Up @@ -274,20 +274,20 @@ $max-footer-content-width: $content-max;


// language form
.moz24-footer-language {
position: relative;
}

.moz24-c-language-switcher {
position: relative;

&:has(.mzp-js-language-switcher-select:hover)::before {
background: $m24-color-alt-black url('/media/img/icons/m24-small/globe.svg') center center no-repeat;
background-size: 18px 18px;
}

&::before {
@include bidi(((left, 0, auto), (right, auto, 0)));
background: transparent url('/media/img/icons/m24-small/globe-white.svg') center center no-repeat;
@include bidi(((left, 4px, auto), (right, auto, 4px)));
background: $m24-color-alt-white url('/media/img/icons/m24-small/globe-white.svg') center center no-repeat;
background-size: 18px 18px;
top: 50%;
margin-top: -16px;
color: $m24-color-white;
content: "";
display: block;
height: 32px;
Expand Down Expand Up @@ -315,12 +315,12 @@ $max-footer-content-width: $content-max;
}

.mzp-js-language-switcher-select {
background: $m24-color-white url('/media/img/icons/m24-small/down-caret-white.svg') no-repeat;
@include bidi(((background-position, calc(100% - 8px) 0.75em, 8px 0.75em),));
background: $m24-color-alt-white url('/media/img/icons/m24-small/down-caret-white.svg') no-repeat;
background-size: 16px 16px;
border-radius: 0;
border: $border-width solid $m24-color-black;
color: $m24-color-black;
border: $border-width solid $m24-color-alt-black;
color: $m24-color-alt-black;
font-weight: 600;
margin-top: 16px;
padding-left: 36px;
Expand All @@ -331,8 +331,7 @@ $max-footer-content-width: $content-max;
&:focus,
&:focus-visible {
color: $m24-color-white;
background: $m24-color-black url('/media/img/icons/m24-small/up-caret.svg') calc(100% - 8px) 0.75em no-repeat;
background-size: 16px 16px;
background: $m24-color-alt-black url('/media/img/icons/m24-small/up-caret.svg') no-repeat;
}
}
}
Expand Down

0 comments on commit ed7446a

Please sign in to comment.