MinervaNeue/skinStyles/mobile.search/SearchOverlay.less
jdlrobson 2cc9516cde Minerva is its own skin
This is programmatic output from python3 scripts/migrate.py

This will result in a Minerva skin dependent on MobileFrontend.

Post merge we will rename message keys to have minerva- prefix

Bug: T166748
Change-Id: Iff1f7e63e796cc5d4a6d2ab0370e0c33248d2fce
2017-07-12 08:12:40 -07:00

56 lines
1.1 KiB
Plaintext

@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;
}
}
@media all and ( min-width: @deviceWidthTablet ) {
.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: @wgMFDeviceWidthDesktop ) {
.search-overlay {
.overlay-content {
// align with the search form
max-width: @contentMaxWidthTablet + ( 2 * @iconGutterWidth );
}
}
}