mediawiki-skins-Vector/resources/skins.vector.styles/layouts/preZebra.less
Jon Robson e5bf8adad7 Limited width uses new client preferences system
* Update classes to use clientpref-1 and clientpref-0 suffix for limited width
I've limited this to the only client preference for now to reduce
risk.
* For cached HTML retain existing CSS rules, and continue saving
a cookie
* Migrate cookie if found for newly generated pages. This will be
to ensure the old cookie and new cookie are in sync (this should be
a one time operation)

Depends-On: I1e635f843ac9b2f248b1f7618134598e80291b38
Bug: T341641
Change-Id: I120f8f7114b33d2cfbd1c3c57ebf41f8b2d7fec4
2023-08-04 21:31:21 +00:00

16 lines
401 B
Plaintext

@import '../../common/mixins.less';
.vector-header-container {
.mixin-page-container();
}
// FIXME: Remove -disabled when cache has cleared.
&.vector-feature-limited-width-clientpref-0 .vector-header-container,
&.vector-feature-limited-width-disabled .vector-header-container {
max-width: none;
}
.vector-sticky-header-container {
border-bottom: @border-width-base @border-style-base #eaecf0;
}