mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-12 09:21:11 +00:00
1c04c9d227
Makes the columns that contain the ToC and Page Tools menu equal width. Moves these width declarations into the grid.less file and converts them, as well as a few associated width variables, to rems. Widens the content column to maintain the same line-length as pre-zebra, due to the extra side-padding on the content container. Scopes the non-zebra grid.less less file to the zebra-disabled flag. Bug: T335155 Change-Id: Iab9c5a13c90089c1775e6184eb10b7b4fd31a846
22 lines
674 B
Plaintext
22 lines
674 B
Plaintext
// Ensure there is only 1 page tools landmark at anytime
|
|
&.vector-feature-page-tools-pinned-enabled .vector-page-toolbar-container .vector-page-tools-landmark,
|
|
&.vector-feature-page-tools-pinned-disabled .vector-column-end .vector-page-tools-landmark {
|
|
display: none;
|
|
}
|
|
|
|
// Ensure collapsible items are visible on lower resolutions
|
|
.vector-page-tools .vector-more-collapsible-item {
|
|
display: block;
|
|
|
|
@media ( min-width: @min-width-tablet ) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
// Make sure pcactions is displayed on lower resolutions (even if .emptyPortlet present)
|
|
.vector-page-tools .vector-has-collapsible-items {
|
|
@media ( max-width: @max-width-mobile ) {
|
|
display: block;
|
|
}
|
|
}
|