mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-30 18:35:44 +00:00
Merge "Include @padding-horizontal-page-container in header adjustment calculations"
This commit is contained in:
commit
8b70eec55d
|
@ -9,7 +9,6 @@
|
|||
.skin-vector-max-width {
|
||||
@background-color-secondary--modern: #f8f9fa;
|
||||
@max-width-page-container: 1650px;
|
||||
@padding-horizontal-page-container: 30px;
|
||||
@min-width-page-container--padded: @max-width-page-container + ( 2 * @padding-horizontal-page-container );
|
||||
@background-color-page-container: @background-color-base;
|
||||
@max-width-workspace-container: 1440px;
|
||||
|
|
|
@ -15,9 +15,10 @@
|
|||
@padding-horizontal-page-container: 30px;
|
||||
@padding-horizontal-page-container-ems: unit( @padding-horizontal-page-container / @font-size-browser, em );
|
||||
@margin-horizontal-sidebar-button-icon-ems: unit( @margin-horizontal-sidebar-button-icon / @font-size-browser, em );
|
||||
@padding-horizontal-page-container-ems: unit( @padding-horizontal-page-container / @font-size-browser, em );
|
||||
|
||||
// the width of the container if you exclude consideration for search
|
||||
@min-width-container-base: @size-sidebar-button + @margin-horizontal-sidebar-button-icon-ems + @min-width-logo + @min-width-personal-tools;
|
||||
@min-width-container-base: @padding-horizontal-page-container-ems + @size-sidebar-button + @margin-horizontal-sidebar-button-icon-ems + @min-width-logo + @min-width-personal-tools + @padding-horizontal-page-container-ems;
|
||||
|
||||
@min-width-supported: @min-width-container-base + @min-width-search;
|
||||
@width-comfortable: @min-width-container-base + @margin-horizontal-search + @max-width-search + @margin-horizontal-search;
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
@margin-top-header + @margin-bottom-header +
|
||||
2 * @padding-vertical-header;
|
||||
@width-grid-column-one: 11em;
|
||||
@padding-horizontal-page-container: 30px;
|
||||
|
||||
// Default layout.
|
||||
@import 'layout-default.less';
|
||||
|
|
Loading…
Reference in a new issue