mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-30 02:15:49 +00:00
22c0e38997
-Addresses this feedback: https://phabricator.wikimedia.org/T324877#8505388 Bug: T319348 Bug: T324877 Change-Id: Ic371716f016309fb105c30b8e02e106c1de8310d
36 lines
1,011 B
Plaintext
36 lines
1,011 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 & {
|
|
width: 140px;
|
|
// Match spacing of TOC and main menu
|
|
padding-left: @padding-horizontal-dropdown-menu-item;
|
|
}
|
|
}
|
|
|
|
// 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;
|
|
}
|
|
}
|
|
}
|