wikimedia/mediawiki-extensions-MobileFrontend

View on GitHub
resources/mobile.startup/watchstar/watchstar.less

Summary

Maintainability
Test Coverage
@import 'mediawiki.skin.variables.less';
@import 'mediawiki.mixins.less';

.watch-this-article {
    .mf-icon {
        transition: transform 0.5s;
    }

    &.watched .mf-icon {
        transform: rotate( 72deg );
    }
}

.mf-icon-star-subtle {
    .cdx-mixin-css-icon( @cdx-icon-star, @param-fill-color: @color-subtle );
}

.mf-icon-unStar-progressive {
    .cdx-mixin-css-icon( @cdx-icon-un-star, @param-fill-color: @color-progressive );
}