From d64d1f4029505f48bb86035a557e2f4229e55443 Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Thu, 6 Jul 2017 18:07:43 +0500 Subject: PLT-6905 - Updating channel header design (#6789) * PLT-6905 - Updating channel header design * Updating border-radius * Updating radius for wide icons * Updating trigger for overlay * Updating UI for channel header * Updating channel header sizing * Updating channel header css * Updating sidebar css * Updating status icons * Adjusting border * Updating comment * Removing type from status icon * Fixing UI issues for the channel header/sidebar * make "Add a channel description" open the channel header modal * Updating status and opacity * Updating stauts icon positioning * Updating description and heading size * Updating UI changes * Updating UI changes * add a focused class to the parent div .search__form and then remove when hover away * Fix active state for pinned posts icon * Updating UI changes * Update channel header text --- webapp/components/search_bar.jsx | 154 ++++++++++++++++++++++----------------- 1 file changed, 86 insertions(+), 68 deletions(-) (limited to 'webapp/components/search_bar.jsx') diff --git a/webapp/components/search_bar.jsx b/webapp/components/search_bar.jsx index 94760dfdf..c635c5eb1 100644 --- a/webapp/components/search_bar.jsx +++ b/webapp/components/search_bar.jsx @@ -216,6 +216,9 @@ export default class SearchBar extends React.Component { render() { const flagIcon = Constants.FLAG_ICON_SVG; + const searchIcon = Constants.SEARCH_ICON_SVG; + const mentionsIcon = Constants.MENTIONS_ICON_SVG; + var isSearching = null; if (this.state.isSearching) { isSearching = ; @@ -253,50 +256,49 @@ export default class SearchBar extends React.Component { var mentionBtnClass = SearchStore.isMentionSearch ? 'active' : ''; mentionBtn = ( -
- - - {'@'} - - -
+