mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-04 20:18:57 +00:00
24d69726f3
Performance: This reclaims 1.3kb of CSS. Bug: T336526 Change-Id: I6c1ed1523df8cc9e2f2ca09506f12a595b8b013d
34 lines
860 B
Plaintext
34 lines
860 B
Plaintext
/**
|
|
* Targets all dropdown labels.
|
|
* - language variants, Actions menus
|
|
* - more menu, user menu
|
|
* - ULS button in sticky header
|
|
*/
|
|
.vector-dropdown > .vector-menu-heading:not( .cdx-button--icon-only ) {
|
|
.mixin-vector-arrowed-dropdown-toggle();
|
|
}
|
|
|
|
/**
|
|
* Dropdown container
|
|
*/
|
|
.vector-dropdown .vector-dropdown-content {
|
|
.mixin-vector-dropdown-menu();
|
|
.mixin-vector-scrollable-with-fade();
|
|
max-height: 75vh;
|
|
}
|
|
|
|
.vector-pinnable-element .vector-menu-heading {
|
|
color: @color-subtle;
|
|
font-weight: normal;
|
|
cursor: default;
|
|
padding: @padding-vertical-dropdown-menu-item 0;
|
|
margin: @padding-vertical-dropdown-menu-item 0;
|
|
border-bottom: @border-width-base @border-style-base @border-color-content-box;
|
|
}
|
|
|
|
.vector-pinnable-element .mw-list-item a,
|
|
.vector-dropdown-content .mw-list-item a {
|
|
.mixin-vector-dropdown-menu-item();
|
|
color: @color-link;
|
|
}
|