Skip to content

Commit

Permalink
Fix: Icons - Hourglass icon for reduce animation at sync black7375#909
Browse files Browse the repository at this point in the history
  • Loading branch information
black7375 authored and Hou-Rui committed Jul 4, 2024
1 parent 0022929 commit 09ea008
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions css/leptonChrome.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions css/leptonChromeESR.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions src/icons/_panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,13 @@
#PanelUI-fxa-menu-setup-sync-button {
list-style-image: url("chrome://browser/skin/sync.svg");
}
@media (prefers-reduced-motion: reduce) {
#PanelUI-fxa-menu-syncnow-button[syncstatus="active"] > .toolbarbutton-icon,
#PanelUI-remotetabs-syncnow[syncstatus="active"] > .toolbarbutton-icon,
.syncNowBtn[syncstatus="active"] {
list-style-image: url("chrome://browser/skin/tabbrowser/hourglass.svg") !important;
}
}

#PanelUI-fxa-menu-connect-device-button {
list-style-image: url("../icons/add-device.svg");
Expand Down

0 comments on commit 09ea008

Please sign in to comment.