Files
SAE-BUT2/src/pages/Profile/components/SettingsModal/SettingsModal.module.css
T
2026-04-02 00:22:04 +02:00

110 lines
1.7 KiB
CSS

.content {
width: 100%;
display: flex;
flex-direction: column;
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;
transition: transform 0.2s ease, opacity 0.2s ease;
}
.modifyIcon:hover {
transform: rotate(15deg);
opacity: 0.8;
}
.section {
display: flex;
flex-direction: column;
gap: 16px;
padding: 18px;
}
.section h3 {
font-size: 1.15rem;
font-weight: 600;
}
.section h4 {
font-size: 1rem;
font-weight: 500;
opacity: 0.85;
}
.section button {
width: 100%;
}
.submitBtn {
align-self: center;
text-align: center;
margin-top: 10px;
}
.alignText {
text-align: center;
line-height: 1.5;
}
.section :global(input) {
width: 100%;
box-sizing: border-box;
}
@media (min-width: 640px) {
.submitBtn {
width: auto;
}
.section button {
width: fit-content;
}
}