| 1 |
@import '../../minerva.less/minerva.variables.less'; |
| 2 |
@import '../../minerva.less/minerva.mixins.less'; |
| 3 |
|
| 4 |
.overlay { |
| 5 |
// Needed for MultimediaViewer. |
| 6 |
button { |
| 7 |
background: none; |
| 8 |
border: 0; |
| 9 |
} |
| 10 |
|
| 11 |
textarea { |
| 12 |
.editor-textarea(); |
| 13 |
} |
| 14 |
|
| 15 |
.license { |
| 16 |
.secondary-text(); |
| 17 |
|
| 18 |
a { |
| 19 |
.cdx-mixin-link-base(); |
| 20 |
} |
| 21 |
} |
| 22 |
} |
| 23 |
|
| 24 |
.overlay-header-container { |
| 25 |
// Overrides padding added by .header-container |
| 26 |
padding: 0; |
| 27 |
} |
| 28 |
|
| 29 |
.overlay-header { |
| 30 |
height: @height-overlay-header; |
| 31 |
|
| 32 |
.header-chrome & { |
| 33 |
height: @height-site-header; |
| 34 |
} |
| 35 |
|
| 36 |
.mw-ui-anchor { |
| 37 |
height: @height-overlay-header; |
| 38 |
|
| 39 |
.header-chrome & { |
| 40 |
height: @height-site-header; |
| 41 |
} |
| 42 |
} |
| 43 |
|
| 44 |
.cdx-button { |
| 45 |
height: @height-overlay-header; |
| 46 |
} |
| 47 |
|
| 48 |
.overlay-title { |
| 49 |
padding: @padding-vertical-header 0; |
| 50 |
|
| 51 |
&:last-child { |
| 52 |
// Reserve space to the right in case the search form in the header or |
| 53 |
// overlay title in the overlay header is the last element. Use @width-icon-gutter |
| 54 |
// because there is a hamburger or close/back icon next to this element and |
| 55 |
// the space between them is exactly that. |
| 56 |
padding-right: @width-icon-gutter; |
| 57 |
} |
| 58 |
} |
| 59 |
} |
| 60 |
|
| 61 |
.overlay-header-container + .overlay-content { |
| 62 |
padding-top: @height-overlay-header; |
| 63 |
|
| 64 |
.header-chrome& { |
| 65 |
padding-top: @height-site-header; |
| 66 |
} |
| 67 |
} |
| 68 |
|
| 69 |
@media all and ( min-width: @min-width-breakpoint-desktop ) { |
| 70 |
.overlay-header { |
| 71 |
// Make sure the close button and secondary button icon images are aligned |
| 72 |
// with the content. |
| 73 |
max-width: calc( @max-width-content-tablet + ( 2 * @width-icon-gutter ) ); |
| 74 |
} |
| 75 |
} |