mediawiki-skins-Vector/resources/skins.vector.styles/components/ClientPreferences.less
bwang d2b413a721 Make client prefs fully pinnable
Bug: T351141
Change-Id: Ic4a166fb3234b27dbf3d37891abfdf15781c8867
2023-11-22 14:39:28 -06:00

21 lines
560 B
Plaintext

// Ensure there is only 1 client prefs landmark at anytime
&.vector-feature-client-prefs-pinned-enabled .vector-user-links .vector-client-prefs-landmark,
&.vector-feature-client-prefs-pinned-disabled .vector-column-end .vector-client-prefs-landmark {
display: none;
}
#vector-client-prefs-dropdown {
.vector-dropdown-content {
.mixin-vector-dropdown-content-flip();
.mw-list-item {
.mixin-vector-dropdown-menu-item();
}
}
}
/* If JS is disabled the menu should not render at all */
.client-nojs .vector-client-prefs-landmark {
display: none;
}