mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2025-01-05 19:34:14 +00:00
1b58f87493
Improve dropdown heading styles in accordance with new designs. Bug: T335155 Change-Id: I3665c25bfe2aa3a14178f57714ce466fb2a0f6d6
38 lines
885 B
Plaintext
38 lines
885 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( .mw-ui-icon-element ) {
|
|
display: flex;
|
|
|
|
&::after {
|
|
.mixin-vector-menu-heading-arrow();
|
|
}
|
|
}
|
|
|
|
/**
|
|
* 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;
|
|
}
|