From cbee4ff7048e38ab6beed61c9dfae8fc3cf2997d Mon Sep 17 00:00:00 2001 From: Peer Richelsen Date: Tue, 2 Jan 2024 13:45:31 +0000 Subject: [PATCH] added macos styles to global.css (#12981) --- apps/web/styles/globals.css | 40 ++++++++++++++++++------------- packages/features/shell/Shell.tsx | 6 ++--- 2 files changed, 25 insertions(+), 21 deletions(-) diff --git a/apps/web/styles/globals.css b/apps/web/styles/globals.css index cdaf8a8cf6..bcb55da410 100644 --- a/apps/web/styles/globals.css +++ b/apps/web/styles/globals.css @@ -162,10 +162,6 @@ html.todesktop .desktop-hidden { display: none; } -html.todesktop header { - margin-top: -14px; -} - html.todesktop header nav { margin-top: 8px; } @@ -184,28 +180,38 @@ html.todesktop-platform-darwin.dark main.bg-default { } html.todesktop-platform-darwin.light main.bg-default { - background: rgba(255, 255, 255, 0.8) !important; + background: rgba(255, 255, 255, 0.6) !important; } -/* -html.todesktop aside a { - height: 28px; - padding: 0px 8px; - font-size: 12px; - color: #383438 !important +html.todesktop.light nav a[aria-current="page"]{ + background: #CFD0D0 !important; } -html.todesktop nav a:hover{ - background-color: inherit !important + +html.todesktop.dark nav a[aria-current="page"]{ + background: #3D3D3D !important; } -html.todesktop nav a[aria-current="page"]{ - background: rgba(0, 0, 0, 0.1) !important; +html.todesktop aside header { + margin-top: -12px; + flex-direction: column-reverse; +} + +html.todesktop aside header > div { + width: 100%; +} + +html.todesktop.dark nav a:hover{ + background: inherit; +} + +html.todesktop.light nav a:hover{ + background: none; } html.todesktop nav a svg{ - color: #0272F7 !important -} */ + color: #229CFF !important +} /* Adds Utility to hide scrollbar to tailwind diff --git a/packages/features/shell/Shell.tsx b/packages/features/shell/Shell.tsx index a42e43353a..ec9f75dd4a 100644 --- a/packages/features/shell/Shell.tsx +++ b/packages/features/shell/Shell.tsx @@ -421,7 +421,7 @@ function UserDropdown({ small }: UserDropdownProps) { setMenuOpen((menuOpen) => !menuOpen)}>