mediawiki-skins-Vector/resources/skins.vector.styles/components/PageTitlebar.less
bwang 8539ab3bd8 Ensure TOC in sticky header has correct margin, refactor TOC styles to be more consistent
Results in 16 visual progressions

- Simplify/remove mixins in TableOfContentsUnpinned.less

Bug: T325554
Change-Id: I8246b6ebbf91deac7896fd46834f090e259d75ca
2023-01-11 15:47:09 -06:00

32 lines
762 B
Plaintext

.vector-page-titlebar {
display: flex;
// Ensure language button or indicators are positioned to the right even when the title is hidden
justify-content: flex-end;
// Use box-shadow instead of border to allow border collapsing between titlebar and toolbar
box-shadow: 0 1px @border-color-base;
align-items: center;
&-blank {
box-shadow: none;
}
.firstHeading {
flex-grow: 1;
border: 0;
}
.vector-page-titlebar-toc {
&.ve-active {
display: none !important; /* stylelint-disable-line declaration-no-important */
}
.vector-menu-heading {
// Override the default button styles so the ToC button is slightly shorter when collapsed into the page title
@media ( max-width: @max-width-tablet ) {
padding: 7px 12px;
}
}
}
}