mediawiki-skins-Vector/resources/skins.vector.zebra.styles/components/PinnableHeader.less
Volker E 4efefdc420 styles: Remove 'mediawiki.ui/variables' call
Removing 'mediawiki.ui/variables.less' `@import`, which is now
fully replaced by skin-aware 'mediawiki.skin.variables.less'
standard.
Bumping required MediaWiki core version to >= v1.41.0.

Also
- replacing deprecated keys with new Codex token equivalent keys

Bug: T319381
Bug: T332541
Change-Id: I87bd258a24d8ca8b789f8355fe6495eca4cebb85
2023-04-25 12:58:30 -07:00

44 lines
937 B
Plaintext

.vector-pinnable-header-label {
display: inline-block;
color: @color-subtle;
font-size: unit( 14 / @font-size-browser, rem );
margin: 0;
padding: 0;
border: 0;
}
// Styles for the "move to sidebar/hide" buttons, hidden by default.
.vector-pinnable-header-toggle-button {
display: none;
border: 0;
padding: 0;
background-color: transparent;
color: @color-progressive;
cursor: pointer;
text-align: left;
&:hover {
color: @color-progressive--hover;
}
&::before {
content: '@{msg-brackets-start}';
color: @color-subtle;
}
&::after {
content: '@{msg-brackets-end}';
color: @color-subtle;
}
}
// Pinnable behavior is only enabled when JS is enabled and on larger viewports
@media ( min-width: @min-width-desktop ) {
&.client-js {
.vector-pinnable-header-unpinned .vector-pinnable-header-pin-button,
.vector-pinnable-header-pinned .vector-pinnable-header-unpin-button {
display: inline-block;
}
}
}