diff --git a/Client/src/Components/ConfigBox/index.css b/Client/src/Components/ConfigBox/index.css index d5d6c96b2..35ea4ba04 100644 --- a/Client/src/Components/ConfigBox/index.css +++ b/Client/src/Components/ConfigBox/index.css @@ -1,24 +1,15 @@ .config-box { display: flex; - padding: 30px 40px; + padding: var(--env-var-spacing-4) 50px; + padding-bottom: 60px; border: 1px solid var(--env-var-color-16); border-radius: var(--env-var-radius-1); justify-content: space-between; - padding-bottom: 50px; } - -.config-box-desc { - width: 35%; -} - -.config-box-desc-title { - color: var(--env-var-color-5); - font-size: var(--env-var-font-size-large); - font-weight: 700; - margin-bottom: var(--env-var-spacing-1); -} - -.config-box-desc-text { - color: var(--env-var-color-5); - font-size: var(--env-var-font-size-medium); +.config-box>.MuiStack-root{ + flex-direction: column; + flex: 1; } +.config-box>.MuiStack-root:first-of-type{ + margin-right: var(--env-var-spacing-3); +} \ No newline at end of file diff --git a/Client/src/Components/RadioButton/index.css b/Client/src/Components/RadioButton/index.css index 8193795eb..dab37dda0 100644 --- a/Client/src/Components/RadioButton/index.css +++ b/Client/src/Components/RadioButton/index.css @@ -1,3 +1,16 @@ -.MuiButtonBase-root.MuiRadio-root.MuiRadio-colorPrimary.PrivateSwitchBase-root.MuiRadio-root.MuiRadio-colorPrimary.MuiRadio-root.MuiRadio-colorPrimary.css-w5ovia-MuiButtonBase-root-MuiRadio-root { - padding-top: 0; +.create-monitor-form .custom-radio-button.MuiFormControlLabel-root { + padding: 5px; + margin: -5px; + border-radius: var(--env-var-radius-1); +} +.create-monitor-form .custom-radio-button.MuiFormControlLabel-root:hover { + background-color: var(--env-var-color-13); +} +.create-monitor-form .custom-radio-button.MuiFormControlLabel-root svg{ + stroke-width: 0; +} + +.custom-radio-button.MuiFormControlLabel-root .MuiButtonBase-root { + margin-right: var(--env-var-spacing-1); + padding: 0; } diff --git a/Client/src/Components/RadioButton/index.jsx b/Client/src/Components/RadioButton/index.jsx index 40f3fc230..acc87c992 100644 --- a/Client/src/Components/RadioButton/index.jsx +++ b/Client/src/Components/RadioButton/index.jsx @@ -18,28 +18,37 @@ * @returns {JSX.Element} - The rendered RadioButton component. */ -import { FormControlLabel, Radio } from "@mui/material"; -import React from "react"; -import "./index.css"; import PropTypes from "prop-types"; +import { FormControlLabel, Radio, Typography } from "@mui/material"; +import { useTheme } from "@emotion/react"; +import "./index.css"; function RadioButton(props) { + const theme = useTheme(); return ( -