mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-12-20 17:42:59 +00:00
354e00a3b5
At least for wikis that have AdvancedSearch installed it does not seem to make sense to hide the interface. It should be usefull in any case. Also there's a huge gap that should be avoided I guess. I'm not to sure for cases where AdvancedSearch is not installed. There this patch will lead to a situation where there are two search fields visible. The one at the top and the one in the main content. - Although the latter has the advantage to show the current search term. IMO this is overall still an improvement and further streamlining could be done in a follow up ( like hiding the header search field generally on the Special:Search page ). Bug: T308845 Change-Id: I477825e9d738e9934f6c6845a1ff8962f12987a9
32 lines
833 B
Plaintext
32 lines
833 B
Plaintext
@import '../../minerva.less/minerva.variables.less';
|
|
@import '../../minerva.less/minerva.mixins.less';
|
|
|
|
.mw-search-createlink,
|
|
.mw-search-profile-tabs {
|
|
display: none;
|
|
}
|
|
|
|
.mw-search-results-container,
|
|
.mw-search-results-info {
|
|
width: 100%;
|
|
}
|
|
|
|
// hide non-NS_FILE thumbnails until further notice
|
|
// @see https://phabricator.wikimedia.org/T306883#8205230
|
|
.mw-search-result:not( .mw-search-result-ns-6 ) .searchResultImage-thumbnail {
|
|
display: none;
|
|
}
|
|
|
|
// some of the content is extremely long and trying to keep
|
|
// as much as possible on 1 line causes breaking other
|
|
// parts (notably: thumbnails end up being squished)
|
|
.searchResultImage-text {
|
|
word-break: break-word;
|
|
}
|
|
|
|
// override ul padding-left defined in lists.less, which isn't
|
|
// meant to affect the search results list
|
|
.content ul.mw-search-results {
|
|
padding-left: 0;
|
|
}
|