mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-11 22:06:07 +00:00
dd154b4ea7
The values have slightly changed: - Tablet breakpoint is decreased by 80px, pushing lesser devices into a mobile only experience but should make barely a difference to vast majority of our users. - Biggest difference is in `min-width-breakpoint-desktop`, which is increased by 120px in comparison to `@width-breakpoint-desktop: 1000px` Also removing one out-dated feature phone clause. TECHNICAL CHANGES: * The previous breakpoint was tied to the maximum content width. The previous maximum content width is preserved, and several media queries are adjusted to make use of it. * The header (logo) is not optimized for 640px-720px. For now a temporary fix is but in place which will be investigated as part of T366859 VISUAL CHANGES: * 6 visual changes which improve alignment in language and visual editor overlay and diffs (where wikidiff2 is not installed) Bug: T349793 Depends-On: I3afba8c51f60de9271054499bfa3ffbcc1a9d779 Change-Id: I9552d8ad7509aae90e15edda26e786465773d3ac
72 lines
1.4 KiB
Plaintext
72 lines
1.4 KiB
Plaintext
@import '../../minerva.less/minerva.variables.less';
|
|
@import '../../minerva.less/minerva.mixins.less';
|
|
|
|
.overlay {
|
|
// Needed for MultimediaViewer.
|
|
button {
|
|
background: none;
|
|
border: 0;
|
|
}
|
|
|
|
textarea {
|
|
.editor-textarea();
|
|
}
|
|
|
|
.license {
|
|
.secondary-text();
|
|
}
|
|
}
|
|
|
|
.overlay-header-container {
|
|
// Overrides padding added by .header-container
|
|
padding: 0;
|
|
}
|
|
|
|
.overlay-header {
|
|
height: @height-overlay-header;
|
|
|
|
.header-chrome & {
|
|
height: @height-site-header;
|
|
}
|
|
|
|
.mw-ui-anchor {
|
|
height: @height-overlay-header;
|
|
|
|
.header-chrome & {
|
|
height: @height-site-header;
|
|
}
|
|
}
|
|
|
|
.cdx-button {
|
|
height: @height-overlay-header;
|
|
}
|
|
|
|
.overlay-title {
|
|
padding: @padding-vertical-header 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: @height-overlay-header;
|
|
|
|
.header-chrome& {
|
|
padding-top: @height-site-header;
|
|
}
|
|
}
|
|
|
|
@media all and ( min-width: @min-width-breakpoint-desktop ) {
|
|
.overlay-header {
|
|
// Make sure the close button and secondary button icon images are aligned
|
|
// with the content.
|
|
max-width: calc( @max-width-content-tablet + ( 2 * @width-icon-gutter ) );
|
|
}
|
|
}
|