diff --git a/web/sidebar/left-layout-aside.css b/web/sidebar/left-layout-aside.css --- a/web/sidebar/left-layout-aside.css +++ b/web/sidebar/left-layout-aside.css @@ -17,21 +17,12 @@ cursor: pointer; } -.navigationPanelTab svg { - padding-right: 12px; - color: var(--color-disabled); - stroke: var(--color-disabled); - fill: var(--color-disabled); -} - .navigationPanelTab p { color: var(--color-disabled); } .navigationPanelTab:hover p, -.navigationPanelTab:hover svg, -div.current_tab p, -div.current_tab svg { +div.current_tab p { color: var(--fg); stroke: var(--fg); fill: var(--fg); @@ -41,24 +32,3 @@ display: flex; align-content: center; } - -.chatIconWrapper { - position: relative; -} - -span.chatBadge { - position: absolute; - top: -4px; - left: 13px; - box-sizing: border-box; - display: flex; - align-items: center; - justify-content: center; - width: 16px; - height: 16px; - color: var(--fg); - background: var(--unread-bg); - border-radius: 13px; - font-size: 8px; - line-height: 1.25; -} diff --git a/web/topbar/app-switcher.react.js b/web/topbar/app-switcher.react.js --- a/web/topbar/app-switcher.react.js +++ b/web/topbar/app-switcher.react.js @@ -9,10 +9,10 @@ unreadCount, } from 'lib/selectors/thread-selectors.js'; +import css from './topbar.css'; import { updateNavInfoActionType } from '../redux/action-types.js'; import { useSelector } from '../redux/redux-utils.js'; import { navTabSelector } from '../selectors/nav-selectors.js'; -import css from '../sidebar/left-layout-aside.css'; import NavigationPanel from '../sidebar/navigation-panel.react.js'; function AppSwitcher(): React.Node { @@ -123,7 +123,7 @@ ); return ( - + {chatNavigationItem} {calendarNavigationItem} {appNavigationItem} diff --git a/web/topbar/topbar.react.js b/web/topbar/topbar.react.js --- a/web/topbar/topbar.react.js +++ b/web/topbar/topbar.react.js @@ -2,10 +2,15 @@ import * as React from 'react'; +import AppSwitcher from './app-switcher.react.js'; import css from './topbar.css'; function Topbar(): React.Node { - return
dummy
; + return ( +
+ +
+ ); } const MemoizedTopbar: React.ComponentType<{}> = React.memo<{}>(Topbar);