mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-05 04:30:22 +00:00
bd05ff4ae5
Implements the zebra design update via the skins.vector.zebra.styles module. Refactors: - Moves common variable and mixin imports from individual files to skin.less file. - Applies font-sizes to menu containers instead of individual menu links. - Adds mixins for dropdown and content-box styles. - Unifies padding for pinned and unpinned menu states (including TOC). Bug: T332600 Change-Id: I3d49095d84fa205cb5dcc889574133f42f1fd4ea
34 lines
856 B
Plaintext
34 lines
856 B
Plaintext
// Ensure there is only 1 main menu landmark at anytime
|
|
&.vector-feature-main-menu-pinned-enabled .vector-header-start .vector-main-menu-landmark,
|
|
&.vector-feature-main-menu-pinned-disabled .vector-main-menu-container .vector-main-menu-landmark {
|
|
display: none;
|
|
}
|
|
|
|
.vector-main-menu {
|
|
|
|
// Hide #p-navigation label
|
|
#p-navigation .vector-menu-heading {
|
|
display: none;
|
|
}
|
|
|
|
// Match styles of .mw-list-item a in PinnableElement.less
|
|
.vector-main-menu-action-opt-out a,
|
|
.vector-main-menu-action-lang-alert .vector-main-menu-action-content {
|
|
.mixin-vector-dropdown-menu-item();
|
|
}
|
|
|
|
.vector-main-menu-action-opt-out a {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.vector-main-menu-action-lang-alert .vector-main-menu-action-content {
|
|
padding-top: 0;
|
|
}
|
|
|
|
.vector-language-sidebar-alert {
|
|
// Override default .mw-message-box styles
|
|
padding: 8px;
|
|
margin: 0;
|
|
}
|
|
}
|