Skip to content

Commit

Permalink
added macos styles to global.css
Browse files Browse the repository at this point in the history
  • Loading branch information
PeerRich committed Jan 2, 2024
1 parent ffefb34 commit 188a1d7
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 21 deletions.
40 changes: 23 additions & 17 deletions apps/web/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,6 @@ html.todesktop .desktop-hidden {
display: none;
}

html.todesktop header {
margin-top: -14px;
}

html.todesktop header nav {
margin-top: 8px;
}
Expand All @@ -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
Expand Down
6 changes: 2 additions & 4 deletions packages/features/shell/Shell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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()}
Expand All @@ -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 />
Expand Down

0 comments on commit 188a1d7

Please sign in to comment.