style(next)/toolbar: animate the sync status icon

This commit is contained in:
Adorian Doran 2025-03-04 11:55:37 +02:00
parent b03c75c09b
commit ce2961ebd6

View File

@ -201,6 +201,22 @@ body.layout-horizontal > .horizontal {
top: 3px; top: 3px;
} }
@keyframes sync-icon-animation {
from {
transform: rotate(360deg);
} to {
transform: rotate(0deg);
}
}
/* Sync in progres / unknown sync status icon */
#launcher-pane .sync-status-icon.sync-status-in-progress::before,
#launcher-pane .sync-status-icon.sync-status-unknown::before {
display: block;
content: "\ec37";
animation: sync-icon-animation 2s linear infinite;
}
#launcher-pane .sync-status-icon:not(.sync-status-in-progress):hover { #launcher-pane .sync-status-icon:not(.sync-status-in-progress):hover {
background: unset; background: unset;
} }