mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-01 18:57:04 +00:00
fe105edcdb
- Generalize spacing for pinnable header and menu items under PinnableHeader.less and PinnableElement.less - Impacts main menu, page tools & personal tools Bug: T324877 Change-Id: I4042e5c1957d64797f21146f687ef960721299ce
35 lines
937 B
Plaintext
35 lines
937 B
Plaintext
// Ensure there is only 1 page tools landmark at anytime
|
|
.vector-page-tools-landmark {
|
|
.vector-feature-page-tools-pinned-enabled .vector-page-toolbar-container &,
|
|
.vector-feature-page-tools-pinned-disabled .vector-column-end & {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.vector-page-tools {
|
|
#vector-page-tools-pinned-container & {
|
|
padding-left: 45px;
|
|
width: 140px;
|
|
}
|
|
}
|
|
|
|
// FIXME: Remove the following selector when page tools feature is on by default, needed for LegacyMoreDropdown
|
|
.vector-feature-page-tools-disabled .vector-page-tools-landmark,
|
|
.vector-page-tools {
|
|
// Ensure collapsible items are visible on lower resolutions
|
|
.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-has-collapsible-items {
|
|
@media ( max-width: @max-width-mobile ) {
|
|
display: block;
|
|
}
|
|
}
|
|
}
|