mediawiki-skins-MinervaNeue/skinStyles/mediawiki.searchSuggest/index.less
ExE Boss 27525d0bff Fix style conflict with content using class="header"
Content using `header` as a CSS class was affected by skin styles
in Minerva being insufficiently specific to the skin‑specific elements.

This changes Minerva to use `class="minerva‑header"`, thus avoiding
the conflict and matching what Vector does.

Bug: T172626
Change-Id: Id8fbe61b2d1d4a89ec11ddfdf7837be797b3bd20
2021-07-16 20:39:24 +00:00

38 lines
667 B
Plaintext

@import '../../minerva.less/minerva.variables.less';
@media screen and ( max-width: @width-breakpoint-tablet ) {
.suggestions-results {
display: table;
width: 100%;
a {
height: 70px;
width: 100%;
display: table;
box-sizing: border-box;
}
.suggestions-result {
display: table-cell;
vertical-align: middle;
width: 100%;
}
}
.search-enabled {
.header, /* FIXME: Remove once <form class="header"> is no longer in the cache (~1 week) */
.minerva-header {
position: relative;
.search-box {
display: block;
position: absolute;
left: 30px;
top: 10px;
right: 0;
z-index: @z-indexDrawer;
}
}
}
}