fix(webui): restore symmetry of the settings gear (#6298)

* fix(webui): restore symmetry of the settings gear

Fixes NAN-276

* fix(webui): keep settings hub out of hover rotation
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-19 10:43:23 +08:00
1 parent d8714fe664
commit 743d40bbba
4 files changed
+65 -3

No files matched your search

+4 -2
View File
@@ -1487,11 +1487,13 @@
transform-origin: center;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
.icon-action [data-product-icon="settings"] {
.icon-action [data-product-icon="settings"] > path {
transform-box: view-box;
transform-origin: center;
transform: rotate(0deg);
transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.icon-action:not(:disabled):hover [data-product-icon="settings"] {
.icon-action:not(:disabled):hover [data-product-icon="settings"] > path {
transform: rotate(90deg);
}
}