zulip/static
Shubham Padia 1f553a41d0 search: Higlight `#searchbox` on focus.
Adds box-shadow to `#searchbox` when either `#search_query` or any
of the pills have focus. Uses jquery instead of pure css as the
`:focus` event occurs on `#search_query`, while we want to add
box-shadow to `#searchbox`. This could have been done with
`:focus-within` CSS selector, but it is not supported in IE or Opera.

`#search_query` already had an onfocus/focusout listener, adding
listeners to `#searchbox.pills` for those events wouldn't have worked
as you don't want the focusout event to fire when the focus shifts
from input to pill.

Also adds `focusin`, `focusout` and `css()` to zjquery. `css` is
same as `val`, except it returns an empty object in case of no value
instead of an empty string. I don't think `css()` is valid syntax
in actual jquery.
2018-07-23 11:29:10 -07:00
..
assets Fix favicon generator script. 2018-01-30 10:32:55 -08:00
audio
generated
html HTML validation: Remove xmlns:svg attribute. 2018-07-09 09:45:42 +05:30
icons/fonts Generate custom-icon-webfont on each provision or update-prod-static. 2017-11-20 16:36:49 -08:00
images webhooks: Add Clubhouse integration. 2018-07-01 04:01:17 -07:00
js search: Higlight `#searchbox` on focus. 2018-07-23 11:29:10 -07:00
locale i18n: Update translations. 2018-04-17 12:41:06 -07:00
styles search: Higlight `#searchbox` on focus. 2018-07-23 11:29:10 -07:00
templates subs: Replace tr block with t in subs handlebars template. 2018-07-23 10:55:16 -07:00
third jquery-form: Remove jquery-form plugin dependency. 2018-05-29 15:44:40 -07:00
ts webpack: Upgrade webpack version 4.5.0. 2018-04-23 15:49:33 -07:00
.gitignore i18n: Make Git ignore mobile.json resources. 2018-01-29 12:49:51 -08:00
favicon.ico
node_modules