[legacy] Merge 'background-gradient.less' into 'layout.less'

Bug: T249073
Change-Id: Icb4ef65fbc72b5793061d97194ef4b88836c0fe2
This commit is contained in:
AronDemian 2020-05-08 03:39:22 +02:00 committed by Aron Manning
parent 015bfa74d9
commit c42739a200
3 changed files with 7 additions and 22 deletions

View File

@ -5,7 +5,6 @@
@media screen {
@import 'legacy/layout.less';
@import 'legacy/background-gradient.less';
@import 'common/content.less';
@import 'common/typography.less';

View File

@ -1,20 +0,0 @@
// 'background-gradient.less' will be removed and its rules moved to
// legacy/layout.less as soon as new header is in place.
@import '../../../variables.less';
body {
background-color: @background-color-secondary;
}
/* Head */
#mw-page-base {
background-position: bottom left;
.vertical-gradient( @background-color-base, @background-color-secondary, 50%, 100% );
}
.mw-body {
/* Border on top, left, and bottom side */
border: @border-width-base @border-style-base @border-color-content;
border-right-width: 0;
}

View File

@ -12,6 +12,7 @@ body {
}
body {
background-color: @background-color-secondary;
overflow-y: scroll;
}
@ -30,8 +31,11 @@ body {
}
.mw-body {
/* Merge the border with tabs' one (in their background image) */
// Merge the border below with tabs' one (in their background image).
margin-top: -@border-width-base;
// Border on top, left, and bottom side.
border: @border-width-base @border-style-base @border-color-content;
border-right-width: 0;
.firstHeading {
/* Change the default from mediawiki.skinning CSS to let indicators float into heading area */
@ -51,6 +55,8 @@ body {
/* Head */
#mw-page-base {
.vertical-gradient( @background-color-base, @background-color-secondary, 50%, 100% );
background-position: bottom left;
height: 5em;
}