mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-29 01:45:00 +00:00
f3dfc9df1e
* stylelint-config-wikimedia: 0.13.0 → 0.14.0 Run stylelint fix to fix the new stylelint rule Change-Id: I3f9e528ca9f8292a9e3630356f0e8bf5df5f6609
26 lines
811 B
Plaintext
26 lines
811 B
Plaintext
@import '../../common/variables.less';
|
|
@import 'mediawiki.mixins.less';
|
|
@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-menu-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 a::before {
|
|
transition: transform 500ms;
|
|
}
|
|
|
|
.mw-watchlink .loading::before {
|
|
/* Suppress the hilarious rotating focus outline on Firefox */
|
|
outline: 0;
|
|
cursor: default;
|
|
pointer-events: none;
|
|
transform-origin: 50% 50%;
|
|
}
|
|
|
|
.mw-ui-icon-wikimedia-unStar::before,
|
|
.mw-ui-icon-wikimedia-star.loading::before {
|
|
transform: rotate( 72deg );
|
|
}
|