2023-01-30 14:55:10 +00:00
|
|
|
@import '../../common/variables.less';
|
|
|
|
|
2022-07-25 20:41:39 +00:00
|
|
|
.vector-page-titlebar {
|
|
|
|
display: flex;
|
2022-10-28 21:50:42 +00:00
|
|
|
|
2022-09-19 18:26:12 +00:00
|
|
|
// 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;
|
2022-11-07 22:57:31 +00:00
|
|
|
align-items: center;
|
2022-09-19 18:26:12 +00:00
|
|
|
|
|
|
|
&-blank {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2022-07-25 20:41:39 +00:00
|
|
|
|
|
|
|
.firstHeading {
|
|
|
|
flex-grow: 1;
|
|
|
|
border: 0;
|
|
|
|
}
|
2023-01-09 18:48:02 +00:00
|
|
|
|
2023-02-14 18:01:14 +00:00
|
|
|
.vector-page-titlebar-toc.ve-active {
|
|
|
|
display: none !important; /* stylelint-disable-line declaration-no-important */
|
2023-01-09 18:48:02 +00:00
|
|
|
}
|
2023-01-30 14:55:10 +00:00
|
|
|
|
|
|
|
> .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;
|
|
|
|
}
|
|
|
|
}
|
2022-07-25 20:41:39 +00:00
|
|
|
}
|