mediawiki-skins-MinervaNeue/skinStyles/mobile.startup/Overlay.less
Kosta Harlan 9fac869b8e Revert "Search header should be vertically centered, not top aligned."
This reverts commit d6d26e45bb.

Reason for revert: T292030

Bug: T292030
Change-Id: Ie564139ae0ae5e79389fd9b2beca4e69f36e3e5e
2021-09-29 08:30:03 +00:00

66 lines
1.3 KiB
Plaintext

@import '../../minerva.less/minerva.variables.less';
@import '../../minerva.less/minerva.mixins.less';
.overlay {
textarea {
.editor-textarea();
}
.header-cancel {
padding-left: 4px;
}
.license {
.secondary-text();
}
}
.overlay-header-container {
padding: 0;
}
.overlay-header {
height: @overlayHeaderHeight;
.header-chrome & {
height: @siteHeaderHeight;
}
.mw-ui-anchor,
.mw-ui-button {
height: @overlayHeaderHeight;
.header-chrome & {
height: @siteHeaderHeight;
}
}
.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;
}
}
}
.overlay-header-container + .overlay-content {
padding-top: @overlayHeaderHeight;
.header-chrome& {
padding-top: @siteHeaderHeight;
}
}
@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 );
}
}