mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-16 18:58:45 +00:00
952789bc17
- Removes 'mw-ui-icon-with-label-desktop' as that is now the default behavior for icon only buttons in Minerva - Removes icon flushing classes, use codex mixins instead 80 Visual changes relating to minor icon/button subpixel changes in the heading, edit section links, and page actions Bug: T319260 Change-Id: I503b643d33e43196483af4b5f9dd312237322ac8
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();
|
|
}
|
|
|
|
.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 {
|
|
height: @overlayHeaderHeight;
|
|
|
|
.header-chrome & {
|
|
height: @siteHeaderHeight;
|
|
}
|
|
}
|
|
|
|
.cdx-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 @width-icon-gutter
|
|
// because there is a hamburger or close/back icon next to this element and
|
|
// the space between them is exactly that.
|
|
padding-right: @width-icon-gutter;
|
|
}
|
|
}
|
|
}
|
|
|
|
.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 * @width-icon-gutter );
|
|
}
|
|
}
|