mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-15 18:29:50 +00:00
aadd499753
Although in practice, SearchOverlay is the only one. Change-Id: Ibd70fab0ddf0f9513388c76717392871abd8bf26
66 lines
1.3 KiB
Plaintext
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 );
|
|
}
|
|
}
|