mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-29 09:55:42 +00:00
d90d1d17b1
Bug: T267444 Change-Id: I813908d65640566a61eac51d6f55a3b4d3e9537d
39 lines
1 KiB
Plaintext
39 lines
1 KiB
Plaintext
@import '../../common/variables.less';
|
|
|
|
.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 */
|
|
}
|
|
|
|
> .mw-ui-button {
|
|
font-size: @font-size-base;
|
|
margin-top: 2px;
|
|
// When labels have multiple words e.g. "Add topic" make sure they do not wrap onto
|
|
// new line. This can happen when editing pages with long titles. e.g. F36867314
|
|
white-space: nowrap;
|
|
|
|
// At low resolutions, the rule in core for `.mw-ui-button:not(.mw-ui-icon-element)`
|
|
// interferes with add topic and makes it overlap the language button. e.g. F36867319
|
|
&:not( .mw-ui-icon-element ) {
|
|
min-width: auto;
|
|
}
|
|
}
|
|
}
|