mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-26 08:35:42 +00:00
a7f008b9bc
This is an incomplete styling of the menu. This should be enough to start an initial design review and unblock other work on the dropdown. Out of scope for this patch: - Pinning (being done in T317900) - Design (will be done in follow up) This should cause no visual regressions in Pixel. Bug: T317899 Change-Id: Id7b47cc16fc8cf93d406687198ba37acf7a9cf24
32 lines
570 B
Plaintext
32 lines
570 B
Plaintext
@import '../../common/variables.less';
|
|
|
|
.vector-main-menu.vector-dropdown {
|
|
.vector-main-menu-contents {
|
|
width: 250px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.vector-menu-heading,
|
|
.vector-main-menu-group {
|
|
margin: 0;
|
|
}
|
|
|
|
.vector-menu-content {
|
|
margin-left: 0;
|
|
}
|
|
|
|
// The language alert doesn't make sense here as it has never been in a dropdown
|
|
// so is hidden.
|
|
.vector-main-menu-action-lang-alert {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
// For anons the menu is not pinnable.
|
|
.vector-main-menu-btn-dropdown-anon {
|
|
.vector-pinnable-header {
|
|
display: none;
|
|
}
|
|
}
|