mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-26 16:40:33 +00:00
c298d5d1ea
- Address feedback in https://gerrit.wikimedia.org/r/c/mediawiki/skins/Vector/+/870996/10/resources/skins.vector.styles/components/TableOfContentsPinned.less#28 - Avoid handling MainMenuAction styles in PinnableElement.less, move to MainMenu.less - Reduce top spacing of the language alert - Allow labels in menus to wrap - Update TOC line height to match prototype Bug: T324877 Change-Id: Ic5dc456d6e6126d3ff6cee854e6023cf5cf2595d
30 lines
843 B
Plaintext
30 lines
843 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();
|
|
color: @color-link;
|
|
}
|
|
}
|
|
|
|
// 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 {
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
}
|
|
}
|