mediawiki-skins-MinervaNeue/skinStyles/mobile.startup/Overlay.less
Jan Drewniak 633c48bddf Utilize the mw-ui-icon-flush-left/right classes to align icons
Affected icons:
- hamburger menu
- "search|notifications|user" menu in page header
- notification "circle" icon
- page actions menu
- section edit icon

Bug: T229440
Change-Id: I5587855d0d9ecf2fac20ce16845e6749c26ab7c2
2019-09-13 12:09:43 -07:00

52 lines
1.1 KiB
Plaintext

@import '../../minerva.less/minerva.variables.less';
@import '../../minerva.less/minerva.mixins.less';
.overlay {
padding-top: @overlayHeaderHeight;
textarea {
.editor-textarea();
}
> ul, button {
width: @overlayHeaderHeight;
}
.license {
.secondary-text();
}
}
.overlay-header-container {
padding: 0;
}
.overlay-header {
height: @overlayHeaderHeight;
.mw-ui-anchor,
.mw-ui-button {
height: @overlayHeaderHeight;
}
.overlay-title {
padding: @headerVerticalPadding 0;
&:last-child {
// Reserve space to the right in case the search form in the header or
// overlay title in the overlay header is the last element. Use @iconGutterWidth
// because there is a hamburger or close/back icon next to this element and
// the space between them is exactly that.
padding-right: @iconGutterWidth;
}
}
}
@media all and ( min-width: @width-breakpoint-desktop ) {
.overlay-header {
// Make sure the close button and secondary button icon images are aligned
// with the content.
max-width: @contentMaxWidthTablet + ( 2 * @iconGutterWidth );
}
}