mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-02 03:07:13 +00:00
0eb8811e7a
* Introduce a generalized feature toggle system that uses user preferences or localStorage for anons (right now the latter is out of scope but will be explored in a follow up) * Feature flagged to VisualEnhancementNext for now, given the dependency on icon size Bug: T319449 Change-Id: I7343a3f38b720411d5ef5f3414f25f475b0bb84a
26 lines
727 B
Plaintext
26 lines
727 B
Plaintext
.vector-limited-width-toggle {
|
|
display: none;
|
|
}
|
|
|
|
// Note on certain pages the control will have no effect e.g. Special:RecentChanges
|
|
// Defining this at 1600px was a product decision so do not change it
|
|
// (more context at https://phabricator.wikimedia.org/T319449#8346630)
|
|
@media ( min-width: 1600px ) {
|
|
.vector-feature-visual-enhancement-next-enabled .vector-limited-width-toggle {
|
|
display: block;
|
|
position: fixed;
|
|
bottom: 8px;
|
|
right: 8px;
|
|
|
|
&:before {
|
|
background-image: url( images/fullscreen.svg );
|
|
}
|
|
}
|
|
|
|
.vector-feature-visual-enhancement-next-enabled.vector-feature-limited-width-content-disable {
|
|
.vector-limited-width-toggle:before {
|
|
background-image: url( images/fullscreen-close.svg );
|
|
}
|
|
}
|
|
}
|