mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-17 03:08:12 +00:00
27525d0bff
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
38 lines
667 B
Plaintext
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;
|
|
}
|
|
}
|
|
}
|
|
}
|