diff --git a/Client/src/Components/Fallback/index.jsx b/Client/src/Components/Fallback/index.jsx index 22ac837b0..26d818bdf 100644 --- a/Client/src/Components/Fallback/index.jsx +++ b/Client/src/Components/Fallback/index.jsx @@ -2,10 +2,12 @@ import PropTypes from "prop-types"; import { useTheme } from "@emotion/react"; import { Box, Stack, Typography } from "@mui/material"; import Skeleton from "../../assets/Images/create-placeholder.svg?react"; +import SkeletonDark from "../../assets/Images/create-placeholder-dark.svg?react"; import Background from "../../assets/Images/background-grid.svg?react"; import Button from "../Button"; import Check from "../Check/Check"; import { useNavigate } from "react-router-dom"; +import { useSelector } from "react-redux"; import "./index.css"; /** @@ -22,6 +24,7 @@ import "./index.css"; const Fallback = ({ title, checks, link = "/", isAdmin }) => { const theme = useTheme(); const navigate = useNavigate(); + const mode = useSelector((state) => state.ui.mode); return ( { alignItems="center" gap={theme.spacing(20)} > - + {mode === "light" ? ( + + ) : ( + + )} { A {title} is used to: diff --git a/Client/src/Components/Inputs/Select/index.jsx b/Client/src/Components/Inputs/Select/index.jsx index b7146f27a..e30b5d951 100644 --- a/Client/src/Components/Inputs/Select/index.jsx +++ b/Client/src/Components/Inputs/Select/index.jsx @@ -67,6 +67,7 @@ const Select = ({ component="h3" color={theme.palette.text.secondary} fontWeight={500} + fontSize={13} > {label} diff --git a/Client/src/Pages/Monitors/Configure/index.jsx b/Client/src/Pages/Monitors/Configure/index.jsx index 9a90c5512..61d7d155c 100644 --- a/Client/src/Pages/Monitors/Configure/index.jsx +++ b/Client/src/Pages/Monitors/Configure/index.jsx @@ -252,16 +252,11 @@ const Configure = () => { isLoading={isLoading} level="tertiary" label={monitor?.isActive ? "Pause" : "Resume"} - animate="rotate180" img={} sx={{ backgroundColor: theme.palette.background.main, - pl: theme.spacing(4), - pr: theme.spacing(6), + px: theme.spacing(6), mr: theme.spacing(6), - "& svg": { - mr: theme.spacing(2), - }, }} onClick={handlePause} /> @@ -270,7 +265,6 @@ const Configure = () => { level="error" label="Remove" sx={{ - boxShadow: "none", px: theme.spacing(8), }} onClick={() => setIsOpen(true)} diff --git a/Client/src/Pages/Monitors/Home/StatusBox.jsx b/Client/src/Pages/Monitors/Home/StatusBox.jsx index a7c56d75a..08b2e88d9 100644 --- a/Client/src/Pages/Monitors/Home/StatusBox.jsx +++ b/Client/src/Pages/Monitors/Home/StatusBox.jsx @@ -2,7 +2,7 @@ import PropTypes from "prop-types"; import { useTheme } from "@emotion/react"; import { Box, Stack, Typography } from "@mui/material"; import Arrow from "../../../assets/icons/top-right-arrow.svg?react"; -import background from "../../../assets/Images/background-grid.svg"; +import Background from "../../../assets/Images/background-grid.svg?react"; import ClockSnooze from "../../../assets/icons/clock-snooze.svg?react"; const StatusBox = ({ title, value }) => { @@ -55,19 +55,21 @@ const StatusBox = ({ title, value }) => { "&:hover": { backgroundColor: theme.palette.background.accent, }, - "&:after": { - position: "absolute", - content: `""`, - backgroundImage: `url(${background})`, - width: "400px", - height: "200px", - top: "-10%", - left: "5%", - zIndex: 10000, - pointerEvents: "none", - }, }} > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +