mediawiki-skins-Vector/resources/skins.vector.styles/components/Watchstar.less
Ebrahim Byagowi efa32f293c Disable initial animation of watch star
Bug: T376559
Change-Id: I6a23dbfc6cae125db5ef0e83739593795b7f467c
2024-10-07 00:06:24 +03:30

17 lines
540 B
Plaintext

@import 'mediawiki.mixins.rotation.less';
/* Watch/Unwatch Icon Styling */
/* Only use icon if the menu item is not collapsed into the "More" dropdown
* (in which case it is inside `.vector-dropdown` instead of `.vector-menu-tabs`). */
// Note: there's no watchstar for anon users so no need to worry about cached HTML when changing this class
// Loading watchstar link class.
.mw-watchlink {
.vector-animations-ready & .vector-icon {
transition: transform 500ms;
}
.mw-ui-icon-wikimedia-unStar {
transform: rotate( 72deg );
}
}