mediawiki-skins-Vector/resources/skins.vector.styles/components/Appearance.less
bwang 716aad56af Add width exclusion notice
Bug: T366216
Change-Id: If50e9adcec6f2fa139e793b3a8108f3b4dd689ca
2024-06-05 19:15:11 +00:00

34 lines
889 B
Plaintext

// Ensure there is only 1 client prefs landmark at anytime
.vector-feature-appearance-pinned-clientpref-1 .vector-user-links .vector-appearance-landmark,
.vector-feature-appearance-pinned-clientpref-0 .vector-column-end .vector-appearance-landmark {
display: none;
}
#vector-appearance-dropdown {
.vector-dropdown-content {
.mixin-vector-dropdown-content-flip();
}
}
.exclusion-notice {
color: @color-disabled;
}
/* If JS is disabled the menu should not render at all */
.client-nojs .vector-appearance-landmark {
display: none;
}
.skin-client-pref-exclusion-notice {
display: none;
}
@media ( max-width: 1399px ) {
// By default, limited width client pref should be hidden unless the breakpoint below is reached.
.vector-feature-limited-width-clientpref-0 #skin-client-prefs-vector-feature-limited-width {
.skin-client-pref-exclusion-notice {
display: block;
}
}
}