2017-07-12 15:12:40 +00:00
|
|
|
@import 'minerva.variables';
|
|
|
|
|
|
|
|
// 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.
|
|
|
|
|
|
|
|
.search-overlay {
|
|
|
|
.spinner-container {
|
|
|
|
top: @headerHeight;
|
|
|
|
}
|
|
|
|
|
|
|
|
.clear {
|
|
|
|
position: absolute;
|
|
|
|
top: ( @headerHeight / 2 ) - ( @iconSize / 2 );
|
|
|
|
right: 0;
|
|
|
|
margin-top: @headerMarginTop;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-02-05 19:17:54 +00:00
|
|
|
@media all and ( min-width: @width-breakpoint-tablet ) {
|
2017-07-12 15:12:40 +00:00
|
|
|
.search-overlay {
|
|
|
|
.search-box {
|
|
|
|
display: table-cell;
|
|
|
|
}
|
|
|
|
.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 ) {
|
2017-07-12 15:12:40 +00:00
|
|
|
.search-overlay {
|
|
|
|
.overlay-content {
|
|
|
|
// align with the search form
|
|
|
|
max-width: @contentMaxWidthTablet + ( 2 * @iconGutterWidth );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|