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 {
|
2018-07-05 22:25:35 +00:00
|
|
|
textarea {
|
|
|
|
.editor-textarea();
|
|
|
|
}
|
|
|
|
|
2019-09-13 15:38:39 +00:00
|
|
|
.header-cancel {
|
|
|
|
padding-left: 4px;
|
2017-10-31 21:41:23 +00:00
|
|
|
}
|
|
|
|
|
2017-07-12 15:12:40 +00:00
|
|
|
.license {
|
|
|
|
.secondary-text();
|
|
|
|
}
|
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 {
|
2019-02-06 13:48:03 +00:00
|
|
|
height: @overlayHeaderHeight;
|
|
|
|
|
2019-09-16 19:28:06 +00:00
|
|
|
.header-chrome & {
|
|
|
|
height: @siteHeaderHeight;
|
|
|
|
}
|
|
|
|
|
2019-09-11 12:19:47 +00:00
|
|
|
.mw-ui-anchor,
|
2021-10-22 15:24:12 +00:00
|
|
|
.mw-ui-button:not( .mw-ui-icon ) {
|
2019-02-06 13:48:03 +00:00
|
|
|
height: @overlayHeaderHeight;
|
2019-09-16 19:28:06 +00:00
|
|
|
|
|
|
|
.header-chrome & {
|
|
|
|
height: @siteHeaderHeight;
|
|
|
|
}
|
2017-07-12 15:12:40 +00:00
|
|
|
}
|
|
|
|
|
2019-09-11 12:19:47 +00:00
|
|
|
.overlay-title {
|
|
|
|
padding: @headerVerticalPadding 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
|
|
|
|
// overlay title in the overlay header is the last element. Use @iconGutterWidth
|
|
|
|
// because there is a hamburger or close/back icon next to this element and
|
|
|
|
// the space between them is exactly that.
|
|
|
|
padding-right: @iconGutterWidth;
|
|
|
|
}
|
2018-07-05 23:03:04 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-09-16 18:22:21 +00:00
|
|
|
.overlay-header-container + .overlay-content {
|
|
|
|
padding-top: @overlayHeaderHeight;
|
2019-09-16 19:28:06 +00:00
|
|
|
|
|
|
|
.header-chrome& {
|
|
|
|
padding-top: @siteHeaderHeight;
|
|
|
|
}
|
2019-09-16 18:22:21 +00:00
|
|
|
}
|
|
|
|
|
2017-09-28 14:23:45 +00:00
|
|
|
@media all and ( min-width: @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.
|
|
|
|
max-width: @contentMaxWidthTablet + ( 2 * @iconGutterWidth );
|
|
|
|
}
|
|
|
|
}
|