2019-08-08 20:01:03 +00:00
|
|
|
@import '../../minerva.less/minerva.variables.less';
|
|
|
|
@import '../../minerva.less/minerva.mixins.less';
|
2017-07-12 15:12:40 +00:00
|
|
|
|
|
|
|
.overlay {
|
2024-02-02 05:04:50 +00:00
|
|
|
// Needed for MultimediaViewer.
|
|
|
|
button {
|
|
|
|
background: none;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
2018-07-05 22:25:35 +00:00
|
|
|
textarea {
|
|
|
|
.editor-textarea();
|
|
|
|
}
|
|
|
|
|
2017-07-12 15:12:40 +00:00
|
|
|
.license {
|
|
|
|
.secondary-text();
|
2024-09-28 00:03:22 +00:00
|
|
|
|
|
|
|
a {
|
|
|
|
.cdx-mixin-link-base();
|
|
|
|
}
|
2017-07-12 15:12:40 +00:00
|
|
|
}
|
2019-08-08 20:01:03 +00:00
|
|
|
}
|
2017-07-12 15:12:40 +00:00
|
|
|
|
2019-09-11 12:19:47 +00:00
|
|
|
.overlay-header-container {
|
2021-10-28 21:48:05 +00:00
|
|
|
// Overrides padding added by .header-container
|
2019-09-11 12:19:47 +00:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2019-09-11 12:19:47 +00:00
|
|
|
.overlay-header {
|
2024-01-31 15:06:56 +00:00
|
|
|
height: @height-overlay-header;
|
2019-02-06 13:48:03 +00:00
|
|
|
|
2019-09-16 19:28:06 +00:00
|
|
|
.header-chrome & {
|
2024-01-31 15:06:56 +00:00
|
|
|
height: @height-site-header;
|
2019-09-16 19:28:06 +00:00
|
|
|
}
|
|
|
|
|
2023-08-09 21:49:19 +00:00
|
|
|
.mw-ui-anchor {
|
2024-01-31 15:06:56 +00:00
|
|
|
height: @height-overlay-header;
|
2019-09-16 19:28:06 +00:00
|
|
|
|
|
|
|
.header-chrome & {
|
2024-01-31 15:06:56 +00:00
|
|
|
height: @height-site-header;
|
2019-09-16 19:28:06 +00:00
|
|
|
}
|
2017-07-12 15:12:40 +00:00
|
|
|
}
|
|
|
|
|
2023-08-09 13:10:14 +00:00
|
|
|
.cdx-button {
|
2024-01-31 15:06:56 +00:00
|
|
|
height: @height-overlay-header;
|
2023-08-09 13:10:14 +00:00
|
|
|
}
|
|
|
|
|
2019-09-11 12:19:47 +00:00
|
|
|
.overlay-title {
|
2024-01-31 15:06:56 +00:00
|
|
|
padding: @padding-vertical-header 0;
|
2018-07-05 23:03:04 +00:00
|
|
|
|
2019-09-11 12:19:47 +00:00
|
|
|
&:last-child {
|
|
|
|
// Reserve space to the right in case the search form in the header or
|
2023-04-09 13:49:29 +00:00
|
|
|
// overlay title in the overlay header is the last element. Use @width-icon-gutter
|
2019-09-11 12:19:47 +00:00
|
|
|
// because there is a hamburger or close/back icon next to this element and
|
|
|
|
// the space between them is exactly that.
|
2023-04-09 13:49:29 +00:00
|
|
|
padding-right: @width-icon-gutter;
|
2019-09-11 12:19:47 +00:00
|
|
|
}
|
2018-07-05 23:03:04 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-16 18:22:21 +00:00
|
|
|
.overlay-header-container + .overlay-content {
|
2024-01-31 15:06:56 +00:00
|
|
|
padding-top: @height-overlay-header;
|
2019-09-16 19:28:06 +00:00
|
|
|
|
|
|
|
.header-chrome& {
|
2024-01-31 15:06:56 +00:00
|
|
|
padding-top: @height-site-header;
|
2019-09-16 19:28:06 +00:00
|
|
|
}
|
2019-09-16 18:22:21 +00:00
|
|
|
}
|
|
|
|
|
2023-11-07 09:03:29 +00:00
|
|
|
@media all and ( min-width: @min-width-breakpoint-desktop ) {
|
2017-07-12 15:12:40 +00:00
|
|
|
.overlay-header {
|
|
|
|
// Make sure the close button and secondary button icon images are aligned
|
|
|
|
// with the content.
|
2023-11-07 09:03:29 +00:00
|
|
|
max-width: calc( @max-width-content-tablet + ( 2 * @width-icon-gutter ) );
|
2017-07-12 15:12:40 +00:00
|
|
|
}
|
|
|
|
}
|