2019-08-08 20:01:03 +00:00
|
|
|
@import '../../../minerva.less/minerva.variables.less';
|
2017-07-12 15:12:40 +00:00
|
|
|
|
|
|
|
// These styles transform the SearchOverlay appearance in the Minerva skin.
|
|
|
|
// Since SearchOverlay can be used by other skins, these styles are kept separate from
|
|
|
|
// the others.
|
|
|
|
|
2018-12-06 22:46:46 +00:00
|
|
|
.overlay.search-overlay {
|
2017-07-12 15:12:40 +00:00
|
|
|
.spinner-container {
|
2019-02-06 13:48:03 +00:00
|
|
|
top: @siteHeaderHeight;
|
|
|
|
}
|
|
|
|
|
2017-07-12 15:12:40 +00:00
|
|
|
.clear {
|
2020-02-20 16:10:55 +00:00
|
|
|
background: none;
|
2017-07-12 15:12:40 +00:00
|
|
|
position: absolute;
|
2019-09-30 20:33:20 +00:00
|
|
|
top: 50%;
|
2017-07-12 15:12:40 +00:00
|
|
|
right: 0;
|
2019-09-30 20:33:20 +00:00
|
|
|
transform: translateY( -50% );
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-box {
|
|
|
|
position: relative;
|
2017-07-12 15:12:40 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-05 19:17:54 +00:00
|
|
|
@media all and ( min-width: @width-breakpoint-tablet ) {
|
2018-12-06 22:46:46 +00:00
|
|
|
.overlay.search-overlay {
|
2017-07-12 15:12:40 +00:00
|
|
|
.search-box {
|
|
|
|
display: table-cell;
|
|
|
|
}
|
2018-12-12 23:20:10 +00:00
|
|
|
|
2017-07-12 15:12:40 +00:00
|
|
|
.spinner-container,
|
|
|
|
.search-content,
|
|
|
|
.results {
|
|
|
|
width: @searchBoxWidth;
|
|
|
|
margin-left: (@iconSize + 2 * @iconGutterWidth) + @brandingBoxWidth;
|
|
|
|
}
|
|
|
|
|
|
|
|
.overlay-title {
|
|
|
|
width: @searchBoxWidth;
|
|
|
|
padding-left: (@iconSize + 2 * @iconGutterWidth) + @brandingBoxWidth;
|
|
|
|
}
|
|
|
|
|
|
|
|
.spinner-container {
|
|
|
|
left: auto;
|
|
|
|
right: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-28 14:23:45 +00:00
|
|
|
@media all and ( min-width: @width-breakpoint-desktop ) {
|
2018-12-06 22:46:46 +00:00
|
|
|
.overlay.search-overlay {
|
2017-07-12 15:12:40 +00:00
|
|
|
.overlay-content {
|
|
|
|
// align with the search form
|
|
|
|
max-width: @contentMaxWidthTablet + ( 2 * @iconGutterWidth );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|