mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-16 18:58:45 +00:00
7280d255c0
* Remove ambiguity in imports - say the file extension 'less' for all instances of variables and mixins. * Separate toast styles from drawer styles so they can be imported separately * associate header-action selector with its parent (.overlay-header) not parent's parent (.overlay) so it can be imported and rendered without the Overlay. Change-Id: Ib7e19a440ba095d6424d35305fb41d643ca9764c
46 lines
1,000 B
Plaintext
46 lines
1,000 B
Plaintext
@import '../../minerva.less/minerva.variables.less';
|
|
@import '../../minerva.less/minerva.mixins.less';
|
|
|
|
.overlay {
|
|
padding-top: @headerHeight;
|
|
|
|
textarea {
|
|
.editor-textarea();
|
|
}
|
|
|
|
> ul, button {
|
|
width: @headerHeight;
|
|
}
|
|
|
|
.license {
|
|
.secondary-text();
|
|
}
|
|
}
|
|
|
|
.overlay-header .header-action {
|
|
> a,
|
|
> button {
|
|
height: @headerHeight;
|
|
}
|
|
}
|
|
|
|
.overlay-header .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 );
|
|
}
|
|
}
|