mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-28 16:10:55 +00:00
f1c828e19d
- Move new header styles to header.less - Remove unnecessary styles - Update search overlay to be aligned with the heading searchbox on all screen sizes - Add temporary skin style to ensure no regressions in mobile VE Bug: T294033 Change-Id: Ib9867d1b76b602f3355e9f2689f137bc84b0c929
67 lines
1.3 KiB
Plaintext
67 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 {
|
|
// Overrides padding added by .header-container
|
|
padding: 0;
|
|
}
|
|
|
|
.overlay-header {
|
|
height: @overlayHeaderHeight;
|
|
|
|
.header-chrome & {
|
|
height: @siteHeaderHeight;
|
|
}
|
|
|
|
.mw-ui-anchor,
|
|
.mw-ui-button:not( .mw-ui-icon ) {
|
|
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 );
|
|
}
|
|
}
|