mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-24 13:43:16 +00:00
c8c1833e16
And just to make it more similar with https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/skins/MinervaNeue/+/3d1cbeb8/resources/skins.minerva.base.styles/watchStar.less#11 Change-Id: Iefd4ce2982e76c3c34eb4af39b0b9d544ea4d94d
23 lines
622 B
Plaintext
23 lines
622 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 {
|
|
[ dir='ltr' ] & {
|
|
transform: rotate( 72deg );
|
|
}
|
|
|
|
[ dir='rtl' ] & {
|
|
transform: rotate( -72deg );
|
|
}
|
|
}
|
|
}
|