[legacy] Merge 'background-gradient.less' into 'layout.less'
Bug: T249073 Change-Id: Icb4ef65fbc72b5793061d97194ef4b88836c0fe2
This commit is contained in:
parent
015bfa74d9
commit
c42739a200
|
@ -5,7 +5,6 @@
|
|||
|
||||
@media screen {
|
||||
@import 'legacy/layout.less';
|
||||
@import 'legacy/background-gradient.less';
|
||||
@import 'common/content.less';
|
||||
@import 'common/typography.less';
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue