Skip to content

Scheduling infrastructure for absolutely everyone.

added macos styles to global.css (#12981)

Peer Richelsencbee4ff7048e
diff --git a/apps/web/styles/globals.css b/apps/web/styles/globals.css
index cdaf8a8cf60..bcb55da4104 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 a42e43353af..ec9f75dd4a1 100644
--- a/packages/features/shell/Shell.tsx
+++ b/packages/features/shell/Shell.tsx
@@ -421,7 +421,7 @@ function UserDropdown({ small }: UserDropdownProps) {
<DropdownMenuTrigger asChild onClick={() => setMenuOpen((menuOpen) => !menuOpen)}>
<button
className={classNames(
- "hover:bg-emphasis group mx-0 flex cursor-pointer appearance-none items-center rounded-full text-left outline-none transition focus:outline-none focus:ring-0 md:rounded-none lg:rounded",
+ "hover:bg-emphasis group mx-0 flex w-full cursor-pointer appearance-none items-center rounded-full text-left outline-none transition focus:outline-none focus:ring-0 md:rounded-none lg:rounded",
small ? "p-2" : "px-2 py-1.5"
)}>
<span
@@ -913,7 +913,7 @@ function SideBar({ bannersHeight, user }: SideBarProps) {
</span>
</div>
)}
- <div className="flex space-x-0.5 rtl:space-x-reverse">
+ <div className="flex justify-end space-x-0.5 rtl:space-x-reverse">
<button
color="minimal"
onClick={() => window.history.back()}
@@ -935,8 +935,6 @@ function SideBar({ bannersHeight, user }: SideBarProps) {
</div>
</header>
- <hr className="desktop-only border-subtle absolute -left-3 -right-3 mt-4 block w-full" />
-
{/* logo icon for tablet */}
<Link href="/event-types" className="text-center md:inline lg:hidden">
<Logo small icon />