2022-07-22 16:11:36 +00:00
|
|
|
@import '../../common/variables.less';
|
|
|
|
@import '../../common/mixins.less';
|
|
|
|
@import 'mediawiki.mixins.less';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Targets all dropdown labels.
|
|
|
|
* - language variants, Actions menus
|
|
|
|
* - more menu, user menu
|
|
|
|
* - ULS button in sticky header
|
|
|
|
*/
|
2022-11-07 23:35:23 +00:00
|
|
|
.vector-menu-dropdown > .vector-menu-heading,
|
2022-07-22 16:11:36 +00:00
|
|
|
.mw-interlanguage-selector {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
&:after {
|
|
|
|
.mixin-vector-menu-heading-arrow();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Dropdown container
|
|
|
|
*/
|
|
|
|
.vector-menu-dropdown {
|
2022-11-04 20:18:22 +00:00
|
|
|
> .vector-menu-content {
|
2022-07-22 16:11:36 +00:00
|
|
|
background-color: @background-color-base;
|
|
|
|
border: @border-width-base @border-style-base @border-color-base;
|
|
|
|
box-shadow: 0 1px 1px 0 rgba( 0, 0, 0, 0.1 );
|
|
|
|
transition-property: opacity;
|
|
|
|
transition-duration: @transition-duration-base;
|
|
|
|
}
|
2022-07-22 19:20:55 +00:00
|
|
|
}
|
2022-07-22 16:11:36 +00:00
|
|
|
|
2022-07-22 19:20:55 +00:00
|
|
|
//non-standard dropdown menu item.
|
|
|
|
.vector-user-menu-logout,
|
|
|
|
.vector-user-menu-create-account,
|
|
|
|
.vector-user-menu-login,
|
|
|
|
.vector-menu-dropdown .mw-list-item {
|
|
|
|
a {
|
|
|
|
.mixin-vector-dropdown-menu-item();
|
|
|
|
white-space: nowrap;
|
|
|
|
color: @color-link;
|
2022-07-22 16:11:36 +00:00
|
|
|
}
|
|
|
|
}
|
2022-11-08 19:55:23 +00:00
|
|
|
|
|
|
|
.vector-menu-content .vector-dropdown-content {
|
|
|
|
.mw-list-item a,
|
|
|
|
.vector-menu-heading {
|
|
|
|
.mixin-vector-dropdown-menu-item();
|
|
|
|
white-space: nowrap;
|
|
|
|
color: @color-link;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vector-menu-heading {
|
|
|
|
color: @color-base--subtle;
|
|
|
|
}
|
|
|
|
}
|