diff --git a/docs/THIRDPARTY b/docs/THIRDPARTY index b12735c21a..6308010fa3 100644 --- a/docs/THIRDPARTY +++ b/docs/THIRDPARTY @@ -114,6 +114,10 @@ Source: https://github.com/ionic-team/ionicons/blob/v5.5.2/src/svg/earth.svg, mo Copyright: 2015-present Ionic (http://ionic.io/) License: Expat +Files: web/images/icons/search.svg +Copyright: 2015-present Ionic (http://ionic.io/) +License: Expat + Files: tools/check-thirdparty Copyright: 2020 Kandra Labs, Inc. License: GPL-2.0+ diff --git a/web/images/icons/search.svg b/web/images/icons/search.svg new file mode 100644 index 0000000000..bc560b89f8 Binary files /dev/null and b/web/images/icons/search.svg differ diff --git a/web/styles/search.css b/web/styles/search.css index 1dca04dce3..b4daaf039f 100644 --- a/web/styles/search.css +++ b/web/styles/search.css @@ -37,7 +37,7 @@ width: max-content; min-width: 100%; - .fa-search { + .zulip-icon-search { padding: 0; font-size: 20px; position: absolute; @@ -50,7 +50,7 @@ } } - .fa-search:not(.deactivated) { + .zulip-icon-search:not(.deactivated) { cursor: pointer; } } diff --git a/web/styles/zulip.css b/web/styles/zulip.css index 2f32788237..4bef1733a7 100644 --- a/web/styles/zulip.css +++ b/web/styles/zulip.css @@ -2652,7 +2652,7 @@ select.invite-as { width: calc(100% - 84px); } - .search_closed .fa-search { + .search_closed .zulip-icon-search { right: 115px; } } @@ -2725,7 +2725,7 @@ select.invite-as { width: calc(100% - 108px); } - .search_closed .fa-search { + .search_closed .zulip-icon-search { right: 115px; } } @@ -2750,8 +2750,10 @@ select.invite-as { } } - .search_closed .fa-search { - top: 5px; + /* Usually the styling is applied directly to the icon, but here + the icon is `position: static`, so we can't. */ + .search_closed { + top: 4px; } #streamlist-toggle, diff --git a/web/templates/message_view_header.hbs b/web/templates/message_view_header.hbs index 5bcfd6601e..dfa82a658c 100644 --- a/web/templates/message_view_header.hbs +++ b/web/templates/message_view_header.hbs @@ -18,4 +18,4 @@ {{> navbar_icon_and_title }} {{/if}} - + diff --git a/web/templates/navbar.hbs b/web/templates/navbar.hbs index dfcd765c0a..30753c2480 100644 --- a/web/templates/navbar.hbs +++ b/web/templates/navbar.hbs @@ -19,7 +19,7 @@