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;
|
|
|
|
// Use box-shadow instead of border to allow border collapsing between titlebar and toolbar
|
2023-04-20 05:34:45 +00:00
|
|
|
// FIXME: Delete box shadow after VectorZebraDesign flag is removed
|
2022-09-19 18:26:12 +00:00
|
|
|
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
|
|
|
|
2023-04-27 20:39:40 +00:00
|
|
|
> .cdx-button {
|
2023-01-30 14:55:10 +00:00
|
|
|
font-size: @font-size-base;
|
|
|
|
// 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.
|
|
|
|
> .mw-portlet-lang-icon-only:last-child {
|
|
|
|
.cdx-mixin-button-layout-flush( 'end', true );
|
|
|
|
}
|
2022-07-25 20:41:39 +00:00
|
|
|
}
|