2022-11-08 19:55:23 +00:00
|
|
|
// Ensure there is only 1 page tools landmark at anytime
|
|
|
|
.vector-page-tools-landmark {
|
2022-12-07 22:15:31 +00:00
|
|
|
.vector-feature-page-tools-pinned-enabled .vector-page-toolbar-container &,
|
|
|
|
.vector-feature-page-tools-pinned-disabled #vector-page-tools-pinned-container & {
|
2022-11-08 19:55:23 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2022-11-28 21:08:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.vector-page-tools-pinnable-element {
|
2022-12-01 00:35:04 +00:00
|
|
|
.vector-menu-heading {
|
|
|
|
.mixin-vector-dropdown-menu-item();
|
|
|
|
.mixin-vector-menu-heading();
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-list-item {
|
|
|
|
a {
|
|
|
|
.mixin-vector-dropdown-menu-item();
|
|
|
|
white-space: nowrap;
|
|
|
|
color: @color-link;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-11-28 21:08:40 +00:00
|
|
|
/**
|
|
|
|
* Styles applying to all items in the pinned column.
|
|
|
|
*/
|
|
|
|
#vector-page-tools-pinned-container & {
|
|
|
|
padding-left: 45px;
|
|
|
|
width: 140px;
|
|
|
|
|
|
|
|
// Make the heading border line up with the edge of the text
|
|
|
|
// (Whereas in a dropdown, the border lines up with the edge of the dropdown container).
|
|
|
|
.vector-menu-heading,
|
|
|
|
.mw-list-item a {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
}
|
2022-11-17 04:45:51 +00:00
|
|
|
|
|
|
|
.vector-pinnable-header {
|
|
|
|
padding: @padding-vertical-tabs;
|
|
|
|
}
|
2022-11-08 19:55:23 +00:00
|
|
|
}
|
|
|
|
|
2022-11-28 21:08:40 +00:00
|
|
|
// 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-pinnable-element {
|
|
|
|
// Ensure collapsible items are visible on lower resolutions
|
|
|
|
.vector-more-collapsible-item {
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
@media ( min-width: @min-width-tablet ) {
|
|
|
|
display: none;
|
|
|
|
}
|
2022-11-08 19:55:23 +00:00
|
|
|
}
|
|
|
|
|
2022-11-28 21:08:40 +00:00
|
|
|
// Make sure pcactions is displayed on lower resolutions (even if .emptyPortlet present)
|
|
|
|
.vector-has-collapsible-items {
|
|
|
|
@media ( max-width: @max-width-mobile ) {
|
|
|
|
display: block;
|
|
|
|
}
|
2022-11-08 19:55:23 +00:00
|
|
|
}
|
|
|
|
}
|