added macos styles to global.css (#12981)

This commit is contained in:
Peer Richelsen 2024-01-02 13:45:31 +00:00 committed by GitHub
parent ffefb3461e
commit cbee4ff704
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 21 deletions

View File

@ -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

View File

@ -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 />