mediawiki-skins-Vector/resources/skins.vector.styles/components/Appearance.less
Jan Drewniak ff5a61e9c6 Add exclusion behaviour for "width" option in Appearance menu
- Adds the notice "This page is always wide" and disables
  the inputs for the "width" options in the Appearance menu
  when pages are excluded via configuration ( `$wgVectorMaxWidthOptions`).
- Changes layout behaviour so that pages in the
  $wgVectorMaxWidthOptions['exlcude'] configuration
  stretch the entire viewport width.
- Stops the width settings in the Appearance menu from
  being hidden on smaller resolutions.

Bug: T364015
Change-Id: Idee294adf3b309e03834276ea75e4ae43b0cffcb
2024-05-17 17:58:19 +00:00

21 lines
541 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;
}