mediawiki-skins-MinervaNeue/resources/skins.minerva.scripts/Toolbar.less
Jon Robson 5170e69d3c Fixes read only mode.
When $wgReadOnly = true; in LocalSettings.php the edit icons
appear locked and when clicked should show a warning.

This also addresses deprecation warnings in the code and
tidies up the ES6 code.

Note to reviewer: Please use git diff HEAD^ -w
when reviewing this diff. Mostly whitespace changes.

Change-Id: I3fa83cc1dc4da62260fd0ef50ac14805c3e1282b
2023-10-31 00:41:29 +00:00

9 lines
210 B
Plaintext

@import 'mediawiki.skin.variables';
.minerva-read-only {
// stylelint-disable-next-line selector-max-id
#page-actions-edit a .minerva-icon {
.cdx-mixin-css-icon( @cdx-icon-edit-lock, @color-subtle );
}
}