diff --git a/src/pages/Profile/components/SettingsModal/SettingsModal.module.css b/src/pages/Profile/components/SettingsModal/SettingsModal.module.css index c77a01e..85dffda 100644 --- a/src/pages/Profile/components/SettingsModal/SettingsModal.module.css +++ b/src/pages/Profile/components/SettingsModal/SettingsModal.module.css @@ -5,6 +5,51 @@ gap: 20px; } +.divNotif { + display: flex; + align-items: center; + justify-content: space-between; +} + +.checkboxLabel { + display: flex; + align-items: center; + cursor: pointer; +} + +.checkboxLabel input { + display: none; +} + +.checkmark { + width: 30px; + height: 30px; + border-radius: 6px; + border: 2px solid #019AFF; + background-color: transparent; + transition: all 0.2s ease; + position: relative; +} +.checkboxLabel input:checked + .checkmark { + background-color: #019AFF; +} + +.checkmark::after { + content: ""; + position: absolute; + display: none; +} + +.checkboxLabel input:checked + .checkmark::after { + display: block; + left: 8px; + top: 4px; + width: 6px; + height: 12px; + border: solid white; + border-width: 0 3px 3px 0; + transform: rotate(45deg); +} .modifyIcon { height: 26px; width: 26px; diff --git a/src/pages/Profile/components/SettingsModal/SettingsModal.tsx b/src/pages/Profile/components/SettingsModal/SettingsModal.tsx index 6b0672c..0a341a0 100644 --- a/src/pages/Profile/components/SettingsModal/SettingsModal.tsx +++ b/src/pages/Profile/components/SettingsModal/SettingsModal.tsx @@ -225,22 +225,30 @@ export default function SettingsModal() {