mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-17 20:52:14 +00:00
0fdd4a99ac
`#mw-searchButton` is apparently used with no-js clients or if the
js-search is broken [1]. Its position and dimensions should be kept in
sync with #searchButton.
This commit:
* Ensures that the same styles, including position, applied to #searchButton
are applied to "#mw-searchButton" so the dimensions are identical. This
should also address a critique in T270202 by removing the "invisible
button".
* Applies a `client-js` selector to ensure these buttons are
only positioned to the left of the search input if js is enabled. If js
is not enabled, having these positioned to the left is confusing as the
input has no obvious "submit" button.
* Syncs the input's end padding to match WVUI's input's end padding if
JS is enabled.
[1]
|
||
---|---|---|
.. | ||
common | ||
images | ||
legacy | ||
checkboxHack.less | ||
Footer.less | ||
Indicators.less | ||
layout-default.less | ||
layout-print.less | ||
layout.less | ||
Logo.less | ||
Menu.less | ||
MenuDropdown.less | ||
MenuPortal.less | ||
MenuTabs.less | ||
SearchBox.less | ||
SearchBoxLoader.less | ||
Sidebar.less | ||
SidebarLogo.less | ||
SiteNotice.less | ||
skin-legacy.less | ||
skin.less | ||
TabWatchstarLink.less | ||
VueEnhancedSearchBox.less |