mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-29 18:05:19 +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
36 lines
979 B
Plaintext
36 lines
979 B
Plaintext
.vector-feature-page-tools-enabled .vector-pinnable-element {
|
|
& > * + * {
|
|
// Apply top border to every children of pinnable elements except the first
|
|
border-top: @border-width-base @border-style-base @colorGray14;
|
|
}
|
|
|
|
.vector-menu-heading {
|
|
.mixin-vector-dropdown-menu-item();
|
|
.mixin-vector-menu-heading();
|
|
}
|
|
|
|
.mw-list-item a {
|
|
// Mirror styles from Dropdown.less
|
|
.mixin-vector-dropdown-menu-item();
|
|
white-space: nowrap;
|
|
color: @color-link;
|
|
}
|
|
|
|
.vector-main-menu-action-content {
|
|
.mixin-vector-dropdown-menu-item();
|
|
}
|
|
}
|
|
|
|
// TODO: merge this into the selector above after page tools is enabled everywhere
|
|
.vector-pinned-container .vector-pinnable-element {
|
|
// 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-pinnable-header,
|
|
.vector-menu-heading,
|
|
.mw-list-item a,
|
|
.vector-main-menu-action-content {
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
}
|
|
}
|