mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 07:43:47 +00:00
Merge "styles: Replace deprecated Less .box-sizing()
mixin with standard CSS"
This commit is contained in:
commit
2cbb390edd
|
@ -13,7 +13,7 @@
|
|||
color: @color-base--subtle;
|
||||
position: relative;
|
||||
display: block;
|
||||
.box-sizing( border-box );
|
||||
box-sizing: border-box;
|
||||
|
||||
&:after {
|
||||
content: '';
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
// Tab separator: Border between tabs and outer right border.
|
||||
background-position: right bottom;
|
||||
color: @color-link;
|
||||
.box-sizing( border-box );
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
float: left;
|
||||
height: unit( 40 / @font-size-tabs / @font-size-browser, em );
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
width: 100%;
|
||||
// Reduce height slightly from standard to match legacy Vector tabs.
|
||||
height: unit( 28 / @font-size-browser / @font-size-search-input, em ); // Equals `2.15384615em`.
|
||||
.box-sizing( border-box );
|
||||
box-sizing: border-box;
|
||||
border: @border-base;
|
||||
border-radius: @border-radius-base;
|
||||
// `padding-right` equals to `#searchbutton` width below.
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
.vector-language-in-header-enabled .mw-portlet-lang {
|
||||
// FIXME [review whether margin-top is needed] center vertically in heading.
|
||||
margin-top: 2px;
|
||||
.box-sizing( border-box );
|
||||
box-sizing: border-box;
|
||||
height: @height-lang-button;
|
||||
|
||||
.mw-ui-icon:before {
|
||||
|
@ -67,7 +67,7 @@
|
|||
left: -@border-width-base;
|
||||
right: -@border-width-base;
|
||||
// align borders of open menu align with button
|
||||
.box-sizing( border-box );
|
||||
box-sizing: border-box;
|
||||
max-height: 65vh;
|
||||
overflow: auto;
|
||||
border-top-width: 1px;
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
// we apply top and bottom padding.
|
||||
padding: 8px 0 40px @padding-left-sidebar;
|
||||
background-image: linear-gradient( to bottom, @background-color-base 0%, @background-color-secondary--modern 10%, @background-color-secondary--modern 90%, @background-color-base 100% );
|
||||
.box-sizing( border-box );
|
||||
box-sizing: border-box;
|
||||
|
||||
// Hide #p-navigation label
|
||||
#p-navigation .vector-menu-heading {
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
width: @width-sidebar;
|
||||
max-height: 75vh;
|
||||
padding: @vertical-padding 12px @vertical-padding 32px;
|
||||
.box-sizing( border-box );
|
||||
box-sizing: border-box;
|
||||
overflow: auto;
|
||||
background-color: @border-color-sidebar;
|
||||
|
||||
|
|
Loading…
Reference in a new issue