mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-14 19:26:42 +00:00
cb64e8f7ba
[Visual Changes in this patch] This patch introduces changes to whitespace inside the Mustache template which corresponds to an HTML change, resulting 33 minor changes in pixel, the spacing of the ToC label shifts by 1 pixel - Remove page tools feature flag from TOC - Remove usage of .vector-toc-collapsed and .vector-toc-not-collapsed - Remove now unused `moveToc()` - Update jest tests to use PinnableHeader Bug: T318013 Change-Id: I82f23e69b0249c844af9e45fec342217a0755893
52 lines
1.1 KiB
Plaintext
52 lines
1.1 KiB
Plaintext
.vector-pinnable-header {
|
|
border-bottom: @border-width-base @border-style-base @colorGray14;
|
|
}
|
|
|
|
.vector-menu-dropdown .vector-pinnable-header {
|
|
// Match dropdown item styles
|
|
// Line height needed for vertically centering pinnable header
|
|
line-height: @height-dropdown-menu-item;
|
|
padding: @padding-dropdown-menu-item;
|
|
}
|
|
|
|
.vector-pinnable-header-label {
|
|
display: inline-block;
|
|
color: @color-base--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-primary;
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
color: @color-primary--hover;
|
|
}
|
|
|
|
&:before {
|
|
content: '@{msg-brackets-start}';
|
|
color: @color-base--subtle;
|
|
}
|
|
|
|
&:after {
|
|
content: '@{msg-brackets-end}';
|
|
color: @color-base--subtle;
|
|
}
|
|
}
|
|
|
|
.client-js {
|
|
// Pinnable behavior is only enabled when JS is on
|
|
.vector-pinnable-header-unpinned .vector-pinnable-header-pin-button,
|
|
.vector-pinnable-header-pinned .vector-pinnable-header-unpin-button {
|
|
display: inline-block;
|
|
}
|
|
}
|