mediawiki-skins-MinervaNeue/resources/skins.minerva.amc.styles/pageactions.less
Volker E c9461c9dd8 Replace skins.minerva.mainMenu.advanced.icons with OOUI icons
Additional changes:
* Address a fixme relating to the overflow icon and move some AMC styles
out of the critical path for non-AMC pages

Note about ellipsis:
The class mf-mw-ui-icon-rotate-clockwise cannot be used as it's part of
MobileFrontend and loaded via JS. Minerva must work without MobileFrontend
and this rotation is needed without JS.

Bug: T244444
Change-Id: Ifd02c50305cf036dd6df640d778678668507e5eb
2020-05-01 12:18:35 -07:00

24 lines
484 B
Plaintext

@import 'mediawiki.ui/variables';
.minerva--history-page-action-enabled {
.page-actions-menu__list-item {
flex-basis: auto;
// When AMC is enabled, space all items equally.
&:first-child {
flex-grow: 0;
}
}
}
.page-actions-overflow-list {
// The top of the menu is flush with the bottom of the page actions toolbar.
top: 100%;
right: -@icon-padding-md;
border-radius: @border-radius-base;
}
.mw-ui-icon-minerva-ellipsis:before {
.transform( rotate( 90deg ) );
}