diff --git a/src/app/admin/layout.tsx b/src/app/admin/layout.tsx index e4e34ec..b0e69b3 100644 --- a/src/app/admin/layout.tsx +++ b/src/app/admin/layout.tsx @@ -33,26 +33,3 @@ export default function Dashboard({ children }: { children: ReactNode }) { ) } - -/* - -
-
- -
-
- - - - - - - - - -
-
-
- -
-*/ \ No newline at end of file diff --git a/src/app/globals.css b/src/app/globals.css index 7f3dbe2..627de23 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -25,9 +25,11 @@ @media (prefers-color-scheme: dark) { :root { - --foreground: #04060F; + --foreground: #2a2a2a; --background: #ffffff; - } + --cinder: #999; + --bluegray: --primary; +} } body { diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 7e86cee..ba57bb2 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -25,7 +25,7 @@ export default function RootLayout({ - + {children} diff --git a/src/assets/css/admin.css b/src/assets/css/admin.css index e08f76e..bfe8d39 100644 --- a/src/assets/css/admin.css +++ b/src/assets/css/admin.css @@ -95,14 +95,50 @@ width: 284px; } +.header-desktop{ + display: flex!important; +} +.mobile{ + display: none!important; +} +@media (max-width: 640px) { -@media (max-width: 1024px) { - .admin-infos { - /* justify-content: space-between; */ - /* gap: 30px; */ + .header, .main{ + padding-left: 22px; + padding-right: 22px; } - .admin-card { - /* max-width: 100%; */ + .header-desktop{ + display: none!important; + } + .mobile{ + display: flex!important; + } + .mobile-flex{ + display: flex; + } + .mobile-none{ + display: none; + } + + .header .name{ + padding-left: 44px; + } + + .sidebar{ + transition: all ease-in-out .4s; + } + .hamburger{ + position: absolute; + top: 43px; + left: 22px; + transform: scale(2); + } + .hamburger.shifted{ + left: 100px; + } + .hamburger-icon{ + color: var(--primary); + border-radius: 4px; } } \ No newline at end of file diff --git a/src/components/admin/adminHeader.tsx b/src/components/admin/adminHeader.tsx index c6a4faf..1a61bc1 100644 --- a/src/components/admin/adminHeader.tsx +++ b/src/components/admin/adminHeader.tsx @@ -12,22 +12,27 @@ export default function AdminHeader() { return ( <> -