diff --git a/client/src/assets/styles/components/Alert.scss b/client/src/assets/styles/components/Alert.scss index 62c53daf..9d02e15b 100644 --- a/client/src/assets/styles/components/Alert.scss +++ b/client/src/assets/styles/components/Alert.scss @@ -4,17 +4,18 @@ display: flex; flex-direction: column; - width: 340px; + width: 100%; height: fit-content; flex-shrink: 0; border-radius: 15px; background: $--grey-800; padding: 15px 15px; + margin-block: 1rem; justify-content: center; - align-items: end; + direction: rtl; - gap: 10px; + gap: 20px; } .top-bar { @@ -62,13 +63,6 @@ } .title { - text-align: right; - font-family: Noto Kufi Arabic; - font-size: 19.2px; - font-style: normal; - font-weight: 500; - line-height: normal; - &.main { color: $--grey-300; } @@ -88,17 +82,6 @@ } } -.alert-info { - height: 65%; - text-align: right; - color: $--grey-300; - font-family: Noto Kufi Arabic; - font-size: 13.33px; - font-style: normal; - font-weight: 400; - line-height: normal; -} - .alert-btn { display: flex; width: 100px; @@ -113,12 +96,6 @@ color: $--grey-800; - font-family: Noto Kufi Arabic; - font-size: 13.33px; - font-style: normal; - font-weight: 400; - line-height: normal; - &.red { background: var(--Red-700, #C81E1E); } diff --git a/client/src/assets/styles/components/Inputs.scss b/client/src/assets/styles/components/Inputs.scss index 49241bdc..cde26fad 100644 --- a/client/src/assets/styles/components/Inputs.scss +++ b/client/src/assets/styles/components/Inputs.scss @@ -7,6 +7,12 @@ direction: rtl; width: 100%; + textarea { + resize: vertical; + width: 100%; + min-height: 8rem; + } + .radio-buttons { display: flex; flex-direction: row; @@ -33,6 +39,20 @@ color: var(--grey-100); } + input[type="radio"] { + appearance: none; + width: 1rem; + height: 1rem; + border: 4px solid var(--grey-600); + border-radius: 50%; + outline: none; + margin-inline: 0.5rem; +} + + input[type="radio"]:checked { + border: 6px solid var(--primary-500); + } + select { direction: rtl; } diff --git a/client/src/assets/styles/components/NotificationBox.scss b/client/src/assets/styles/components/NotificationBox.scss index 7bb34a54..86cc5fa7 100644 --- a/client/src/assets/styles/components/NotificationBox.scss +++ b/client/src/assets/styles/components/NotificationBox.scss @@ -1,2 +1,3 @@ .notificationBox { + margin-bottom: 8rem; } diff --git a/client/src/components/common/Alerts.jsx b/client/src/components/common/Alerts.jsx index df3e87cf..b0b4886d 100644 --- a/client/src/components/common/Alerts.jsx +++ b/client/src/components/common/Alerts.jsx @@ -5,6 +5,14 @@ const Alert = ({ title, info, buttontext, Onclick, showRightBox, color }) => { return (
+
+
+
{title}
+
{ fill="#D1D5DB" /> - -
- {title} -
-
- {info} +

{info}

diff --git a/client/src/components/common/Inputs.jsx b/client/src/components/common/Inputs.jsx index bee38ed4..8e28c269 100644 --- a/client/src/components/common/Inputs.jsx +++ b/client/src/components/common/Inputs.jsx @@ -34,6 +34,40 @@ TextInput.propTypes = { placeholder: PropTypes.string, required: PropTypes.bool, }; + +function TextArea({ + label, + type, + name, + value, + onChange, + placeholder, + required, +}) { + return ( +