mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-30 18:35:44 +00:00
b55d95c70c
Replacing the legacy Vector breakpoint tokens with the Codex standard ones. All names have been unified, only some legacy values remain for backwards compatibility. Also - replacing a wrongly applied min-width with the correct max-width token, - replacing a width with an equal value min-width one and - removing the now equal value mobile min-width one. Note that we can't do some reference magic here alike `@max-width-breakpoint-mobile: @min-width-breakpoint-tablet - 1px;` as this would take the Codex value from skin variables and not the legacy value. Also note, that we could move all those Vector legacy definitions into Vector's 'mediawiki.skin.variables.less' file(s), but that would mean that extensions don't rely on the Codex default values, but on Vector's and we want latter to move to the standard, also in foresight of further standardization to build for all feature teams like a shared Grid. Bug: T331403 Change-Id: Ifb968b1977001edb1a79e20df387c61f27043542
16 lines
430 B
Plaintext
16 lines
430 B
Plaintext
/**
|
|
* Adjusts column ratio of the search page when sidebar is closed
|
|
*/
|
|
@import 'mediawiki.skin.variables.less';
|
|
|
|
.vector-feature-main-menu-pinned-disabled .mw-searchresults-has-iw {
|
|
@media only screen and ( min-width: @min-width-breakpoint-desktop ) {
|
|
#mw-interwiki-results {
|
|
display: inline-block;
|
|
width: ~'calc( 100% / 12 * 3 )';
|
|
margin-left: ~'calc( 100% / 12 )';
|
|
margin-right: ~'calc( 100% / 12 )';
|
|
}
|
|
}
|
|
}
|