mediawiki-skins-Vector/resources
Nicholas Ray 0fdd4a99ac Sync location/other styles of #mw-searchButton with #searchButton
`#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] 465e9492bb/includes/templates/SearchBox.mustache (L12-L21)

Bug: T270202
Change-Id: Ie1bb8c68b713b3a18f90ee11b44c78b436a6d0ba
2020-12-18 11:14:19 -07:00
..
mediawiki.less Implement mediawiki.skin.variables.less for Vector 2020-09-16 08:39:13 -07:00
skins.vector.js Development: Allow us to test search with different API hosts 2020-12-08 15:22:45 -08:00
skins.vector.legacy.js Fix logic in collapsibleTabs code 2020-10-23 09:59:29 -07:00
skins.vector.search Merge "Development: Allow us to test search with different API hosts" 2020-12-09 00:14:43 +00:00
skins.vector.styles Sync location/other styles of #mw-searchButton with #searchButton 2020-12-18 11:14:19 -07:00
CheckboxHack.d.ts Add enter/spacebar keyboard support to sidebar. 2020-07-09 22:38:15 +02:00
CollapsibleTabsPlugin.d.ts
mediawiki.d.ts Merge "Development: Allow us to test search with different API hosts" 2020-12-09 00:14:43 +00:00
MediaWikiPageReady.d.ts Vector manages search functionality and provides config flag 2020-08-04 00:06:31 +00:00
skins.vector.styles.responsive.less Replace deprecated classes with modern ones 2020-06-11 14:05:15 -07:00
VectorResourceLoaderVirtualConfig.d.ts Vector manages search functionality and provides config flag 2020-08-04 00:06:31 +00:00
vue.d.ts Integrate WVUI search into Vector 2020-12-08 13:27:12 -08:00