From 2ddb65749dacaa7db8f4d4d6dfcd3b77eebb7351 Mon Sep 17 00:00:00 2001 From: Joseph John Aas Cooper Date: Thu, 16 Nov 2023 12:51:02 +0100 Subject: [PATCH] feat(header-bar): reduce height and minor design changes --- components/header-bar/src/apps.js | 6 +++--- components/header-bar/src/header-bar.js | 4 ++-- components/header-bar/src/logo-image.js | 8 ++++---- components/header-bar/src/logo.js | 8 ++++---- components/header-bar/src/notification-icon.js | 16 +++++++++------- .../header-bar/src/online-status.styles.js | 16 +++++++++------- components/header-bar/src/profile.js | 9 +++++---- components/header-bar/src/title.js | 4 ++-- 8 files changed, 38 insertions(+), 33 deletions(-) diff --git a/components/header-bar/src/apps.js b/components/header-bar/src/apps.js index ac5046baea..7b9789cb11 100755 --- a/components/header-bar/src/apps.js +++ b/components/header-bar/src/apps.js @@ -237,7 +237,7 @@ const Apps = ({ apps }) => { button { display: block; background: transparent; - padding: ${spacers.dp4} ${spacers.dp12} 0; + padding: ${spacers.dp4} ${spacers.dp8} 0; border: 0; cursor: pointer; height: 100%; @@ -250,10 +250,10 @@ const Apps = ({ apps }) => { outline: none; } button:hover { - background: #1a557f; + background: #104f7e; } button:active { - background: #104067; + background: #0d4168; } div { diff --git a/components/header-bar/src/header-bar.js b/components/header-bar/src/header-bar.js index 7b8051f98a..93def3e3b1 100755 --- a/components/header-bar/src/header-bar.js +++ b/components/header-bar/src/header-bar.js @@ -114,9 +114,9 @@ export const HeaderBar = ({ flex-direction: row; align-items: center; justify-content: space-between; - background-color: #2c6693; + background-color: #165c92; color: ${colors.white}; - height: 48px; + height: 40px; } .right-control-spacer { margin-left: auto; diff --git a/components/header-bar/src/logo-image.js b/components/header-bar/src/logo-image.js index ba6c129a68..7667c6cee5 100644 --- a/components/header-bar/src/logo-image.js +++ b/components/header-bar/src/logo-image.js @@ -5,8 +5,8 @@ import css from 'styled-jsx/css' const logoStyles = css.resolve` svg { - height: 25px; - width: 27px; + height: 20px; + width: 22px; } img { @@ -56,9 +56,9 @@ export const LogoImage = () => { diff --git a/components/header-bar/src/title.js b/components/header-bar/src/title.js index 3757714772..e2bc2e1209 100755 --- a/components/header-bar/src/title.js +++ b/components/header-bar/src/title.js @@ -9,9 +9,9 @@ export const Title = ({ app, instance }) => ( div { overflow: hidden; text-overflow: ellipsis; - font-size: 14px; - font-weight: 500; + font-size: 13px; letter-spacing: 0.01em; + text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5); white-space: nowrap; } `}