Debian Codegraph @

skins/Vector/resources/skins.vector.styles/components/Watchstar.less

raw
1 @import 'mediawiki.mixins.rotation.less';
2
3 /* Watch/Unwatch Icon Styling */
4 /* Only use icon if the menu item is not collapsed into the "More" dropdown
5 * (in which case it is inside `.vector-dropdown` instead of `.vector-menu-tabs`). */
6 // Note: there's no watchstar for anon users so no need to worry about cached HTML when changing this class
7 // Loading watchstar link class.
8 .mw-watchlink {
9 .vector-animations-ready & .vector-icon {
10 transition: transform 500ms;
11 }
12
13 .mw-ui-icon-wikimedia-unStar {
14 [ dir='ltr' ] & {
15 transform: rotate( 72deg );
16 }
17
18 [ dir='rtl' ] & {
19 transform: rotate( -72deg );
20 }
21 }
22 }