mediawiki-skins-Vector/resources/common
Nicholas Ray 326e11dfbf Scope styles that should only apply to the main header to Header.less
We have many styles related to the layout and visibility of search that
are only useful in the context of the main header. Since many of these
elements have classes that will also be in the sticky header, we should
scope these rules to the main header so that we avoid an uphill battle
of styles trying to override eachother.

Additional changes:

* We previously had a mix of #p-search and .vector-search-box selectors
for the same element in the CSS. Header.less now only uses
.vector-searchbox to avoid specificity wars.

* Removed nearly all of the #p-search rules previously found on L147 -
L167 in screen.less after observing nothing relatively bad happening
when they were removed.

Bug: T289724
Change-Id: I2e6c269e29717cd20d8acfaddc3631ea1b8fedfa
2021-09-14 15:34:05 +00:00
..
components Merge "[refactor] Remove common UserLinks code" 2021-09-07 16:31:18 +00:00
images [refactor] Remove common UserLinks code 2021-09-07 15:37:13 +00:00
common.less [refactor] Remove common UserLinks code 2021-09-07 15:37:13 +00:00
normalize.less Reorganize LESS files to match ResourceLoader conventions 2021-04-08 15:47:56 +01:00
print.less Restore print, links, table and message box styles 2021-07-27 21:18:03 +00:00
typography.less Remove caching FIXMEs 2021-07-15 20:28:48 +00:00
variables.less Scope styles that should only apply to the main header to Header.less 2021-09-14 15:34:05 +00:00