From 3d97bf705e1dbbc6bdc8210aca661d57f2255233 Mon Sep 17 00:00:00 2001 From: Ehsan Date: Sun, 29 Sep 2024 19:16:11 +0330 Subject: [PATCH] design dark mode page working day and special day --- app/globals.css | 8 ++++++ components/layoutPanel/sidebar/index.js | 6 +---- .../addDoctor/listMenu/specialDays/List.js | 26 ++++++++----------- .../addDoctor/listMenu/workingDays/List.js | 4 --- 4 files changed, 20 insertions(+), 24 deletions(-) diff --git a/app/globals.css b/app/globals.css index 6fef6da..56c46d0 100644 --- a/app/globals.css +++ b/app/globals.css @@ -516,6 +516,14 @@ html { transition: 0.1s ease !important; } +.dark .MuiTableContainer-root { + border-radius: 8px !important; +} + +.dark .MuiTableContainer-root { + background: transparent !important; +} + .dark .MuiSvgIcon-root { color: #a1a1a1 !important; } diff --git a/components/layoutPanel/sidebar/index.js b/components/layoutPanel/sidebar/index.js index 4c6d60c..781c5fe 100644 --- a/components/layoutPanel/sidebar/index.js +++ b/components/layoutPanel/sidebar/index.js @@ -10,11 +10,7 @@ function Sidebar({ active, setActive, open, setOpen }) { className={` transition-all duration-500 md:flex fixed md:relative z-30 w-[85%] hover-sidebar ${active ? " right-0" : "right-[-85%]"} - ${ - open - ? "min-w-[243px] md:w-[243px]" - : "min-w-[92px] md:w-[92px] hover:md:min-w-[90px] hover:md:w-[90px]" - } + ${open ? "min-w-[243px] md:w-[243px]" : "min-w-[92px] md:w-[92px]"} `} >