mediawiki-skins-Vector/resources/skins.vector.styles/components/PinnableElement.less
bwang 46f17487fd Update main menu templates and classes to be consistent with other pinnable elements
- Rename data-portlets-main-menu to data-main-menu
- Rename MainMenuContents.mustache to MainMenu
- Replace usage of .vector-main-menu-contents in favor of .vector-main-menu
- Add classes to PinnableContainer
- Use PinnableContainer and PinnableElement in main menu
- Remove MainMenuDropdown.less

Bug: T317900
Change-Id: I59b3acd3d56cd5761e5978607634dfb9a88f60e3
2022-12-16 17:34:23 +00:00

14 lines
420 B
Plaintext

.vector-feature-page-tools-enabled .vector-pinnable-element {
.vector-menu {
border-top: @border-width-base @border-style-base @colorGray14;
}
// Remove the border for the first .vector-menu since
// it already exists on the pinnable header, or, when there's no
// pinnable header, a border exists on the dropdown container.
.vector-menu:first-child,
.vector-pinnable-header + .vector-menu {
border: 0;
}
}