2022-07-25 20:41:39 +00:00
|
|
|
.vector-page-titlebar {
|
2023-05-01 18:02:56 +00:00
|
|
|
position: relative;
|
2022-07-25 20:41:39 +00:00
|
|
|
display: flex;
|
2023-05-01 18:02:56 +00:00
|
|
|
// T335633 - Although nowrap is default, setting it explicitly to prevent layout issues with ToC & languages button.
|
|
|
|
flex-wrap: nowrap;
|
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;
|
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;
|
2024-01-11 16:30:33 +00:00
|
|
|
padding: 0;
|
2022-07-25 20:41:39 +00:00
|
|
|
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
|
|
|
|
2023-04-27 20:39:40 +00:00
|
|
|
> .cdx-button {
|
2024-09-23 19:34:28 +00:00
|
|
|
font-size: @font-size-small;
|
2023-01-30 14:55:10 +00:00
|
|
|
// 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;
|
|
|
|
}
|
2023-03-06 18:29:26 +00:00
|
|
|
|
2023-04-27 20:39:40 +00:00
|
|
|
> .cdx-button,
|
2023-03-06 18:29:26 +00:00
|
|
|
> .mw-portlet-lang {
|
|
|
|
&:last-child {
|
2023-04-27 20:39:40 +00:00
|
|
|
.cdx-mixin-button-layout-flush( 'end' );
|
2023-03-06 18:29:26 +00:00
|
|
|
}
|
|
|
|
}
|
2023-04-27 20:39:40 +00:00
|
|
|
|
|
|
|
// The language button sometimes appears as an icon only button, in which
|
|
|
|
// case we need to flush differently. See an empty user page for an example of
|
|
|
|
// where this is used.
|
2024-01-24 20:26:21 +00:00
|
|
|
// FIXME: This should be scoped to on desktop viewports only
|
|
|
|
// Currently the icon only language button is misaligned on smaller viewports
|
2023-04-27 20:39:40 +00:00
|
|
|
> .mw-portlet-lang-icon-only:last-child {
|
|
|
|
.cdx-mixin-button-layout-flush( 'end', true );
|
|
|
|
}
|
2022-07-25 20:41:39 +00:00
|
|
|
}
|