VectorGOLEM/resources/skins.vector.js
Nicholas Ray 91af0e098d Make search toggleable at smaller screen widths
Now that the header collapses at small resolutions
(I89d75843ca7e33e6de93af5d7c22e46b7249c4b7), this commit wires the
search toggle to show the search box when clicked and hides it when the
user clicks outside the search box.

* Adds searchToggle.js to perform handle the toggle behavior of the
searchbox.
* Adds `@padding-horizontal-tabs`, `@size-search-expand` to variables.less
so that these can be used to set the start margin of the search box
(enabling its start edge to match the tab text start edge).
* Modifies screen.less to only apply search max-width when >=
@width-breakpoint-tablet

Bug: T284242
Change-Id: I82563d44967f60aee1cd4d3aa6fb4f405822686b
2021-07-14 00:14:45 +00:00
..
dropdownMenus.js [modern] Usability improvements to dropdown 2021-03-07 18:59:41 +00:00
languageButton.js Allow disabling of the new compact languages button 2021-06-14 15:49:43 +00:00
searchLoader.js Silence eslint compat/compat for search performance instrumentation 2021-05-05 14:37:35 -06:00
searchToggle.js Make search toggleable at smaller screen widths 2021-07-14 00:14:45 +00:00
sidebar.js Add config to disable sidebar state persistence for logged-in users. 2020-07-17 09:32:21 -07:00
skin.js Make search toggleable at smaller screen widths 2021-07-14 00:14:45 +00:00