From 25785a91ec20ecaebb7d00a5aab819cda9008eea Mon Sep 17 00:00:00 2001 From: Mohammad Khalilzadeh Date: Tue, 23 Jul 2024 20:20:18 +0330 Subject: [PATCH] applying changes --- Client/src/Components/Charts/Servers/serverStatus.css | 4 ++-- Client/src/Components/NavBar/index.jsx | 5 +++-- Client/src/Layouts/HomeLayout/index.css | 2 +- Client/src/Pages/Monitors/Configure/index.jsx | 1 + Client/src/Pages/Monitors/CreateMonitor/index.jsx | 1 + Client/src/Pages/Monitors/Details/index.jsx | 1 + Client/src/Pages/Monitors/index.css | 2 ++ Client/src/Pages/Monitors/index.jsx | 1 + Client/src/Pages/Settings/index.jsx | 1 + Client/src/index.css | 1 + 10 files changed, 14 insertions(+), 5 deletions(-) diff --git a/Client/src/Components/Charts/Servers/serverStatus.css b/Client/src/Components/Charts/Servers/serverStatus.css index 97a4fec3f..b3cad9429 100644 --- a/Client/src/Components/Charts/Servers/serverStatus.css +++ b/Client/src/Components/Charts/Servers/serverStatus.css @@ -14,7 +14,7 @@ .server-status-tile { min-width: 250px; width: calc(100% - 310px); - padding: var(--spacing-general-1); + padding: var(--spacing-general-0); border: 1px solid var(--color-border-0); border-radius: var(--border-radius-0); } @@ -22,7 +22,7 @@ .server-status-tile-title { font-size: var(--font-size-0); font-weight: bold; - margin-bottom: 25px; + margin-bottom: calc(var(--spacing-general-1) / 2); } .server-status-tile-value { diff --git a/Client/src/Components/NavBar/index.jsx b/Client/src/Components/NavBar/index.jsx index 1b3dd8c6a..f99ad14b6 100644 --- a/Client/src/Components/NavBar/index.jsx +++ b/Client/src/Components/NavBar/index.jsx @@ -99,8 +99,9 @@ function NavBar() { position="sticky" sx={{ width: "100%", - backgroundColor: "white", - boxShadow: "var(--env-var-shadow-1)", + backgroundColor: "transparent", + boxShadow: "none", + borderBottom: "1px solid var(--color-border-0)", }} > diff --git a/Client/src/Layouts/HomeLayout/index.css b/Client/src/Layouts/HomeLayout/index.css index 76065015b..607e0b34d 100644 --- a/Client/src/Layouts/HomeLayout/index.css +++ b/Client/src/Layouts/HomeLayout/index.css @@ -6,7 +6,7 @@ justify-content: flex-start; } -.main-content>div:nth-child(2){ +.main-content > div:nth-child(2) { position: relative; /* overflow-y: auto; */ flex: 1; diff --git a/Client/src/Pages/Monitors/Configure/index.jsx b/Client/src/Pages/Monitors/Configure/index.jsx index c6ce13f89..8c5fa4f20 100644 --- a/Client/src/Pages/Monitors/Configure/index.jsx +++ b/Client/src/Pages/Monitors/Configure/index.jsx @@ -127,6 +127,7 @@ const Configure = () => { style={{ maxWidth: "1200px", padding: `${theme.content.pY} ${theme.content.pX}`, + backgroundColor: "var(--env-var-color-30)", }} >