mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-16 10:50:52 +00:00
64134bd8a6
Use local imports instead given all relevant files are within the same repository, and don't vary by configuraion. Bug: T140807 Depends-On: If3edac9a35b346af0320c12f70c0d978a6346201 Change-Id: Ife3cc345a63aff452e93accbe0a593fbaa358732
56 lines
1.1 KiB
Plaintext
56 lines
1.1 KiB
Plaintext
@import '../../minerva.less/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;
|
|
}
|
|
}
|
|
|
|
@media all and ( min-width: @width-breakpoint-tablet ) {
|
|
.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;
|
|
}
|
|
}
|
|
}
|
|
|
|
@media all and ( min-width: @width-breakpoint-desktop ) {
|
|
.search-overlay {
|
|
.overlay-content {
|
|
// align with the search form
|
|
max-width: @contentMaxWidthTablet + ( 2 * @iconGutterWidth );
|
|
}
|
|
}
|
|
}
|