search: Redesign search box.

Fixes #21798.
This commit is contained in:
YashRE42
2022-05-16 22:54:49 +05:30
committed by Tim Abbott
parent ea619ff75f
commit cb04ae1f95
10 changed files with 381 additions and 225 deletions

View File

@@ -6,7 +6,7 @@
<a class="sub_count no-style tippy-zulip-tooltip hidden-for-spectators" data-tippy-content="{{sub_count_tooltip_text}}" data-tippy-placement="bottom" href="{{stream_settings_link}}">
<i class="fa fa-user-o"></i>{{formatted_sub_count}}
</a>
<span class="narrow_description navbar-click-opens-search rendered_markdown">
<span class="narrow_description rendered_markdown">
{{#if rendered_narrow_description}}
{{rendered_markdown rendered_narrow_description}}
{{else}}
@@ -14,8 +14,7 @@
{{/if}}
</span>
{{else}}
<span class="navbar-click-opens-search">
<span class="navbar_title">
{{> navbar_icon_and_title }}
</span>
{{/if}}
<span class="search_icon search_closed" role="button"><i class="zulip-icon zulip-icon-search tippy-zulip-delayed-tooltip" data-tooltip-template-id="search-query-tooltip-template" aria-hidden="true"></i></span>