clean up styles

This commit is contained in:
2025-11-24 09:33:14 -05:00
parent f55d782b02
commit 66dc731396
11 changed files with 86 additions and 81 deletions
+24 -22
View File
@@ -14,18 +14,20 @@ import BrushIcon from "../../assets/svg/paintbrush.svg";
</div>
<style lang="scss">
@use "../styles/variables.scss" as *;
.toggles {
padding: 1rem;
display: flex;
justify-content: center;
align-items: center;
gap: 12px;
}
.toggles > div {
display: flex;
align-items: center;
gap: 4px;
div {
display: flex;
align-items: center;
gap: 4px;
}
}
input {
@@ -36,26 +38,26 @@ import BrushIcon from "../../assets/svg/paintbrush.svg";
padding: 10px;
background-color: var(--orange);
border-radius: 120px;
}
input:checked {
background-color: var(--sky);
}
&:checked {
background-color: var(--sky);
}
input::after {
content: "";
position: absolute;
height: 22px;
width: 22px;
border-radius: 100%;
background-color: var(--background);
left: 1px;
top: 1px;
transition: all 0.1s ease-in-out;
}
&:after {
content: "";
position: absolute;
height: 22px;
width: 22px;
border-radius: 100%;
background-color: var(--background);
left: 1px;
top: 1px;
transition: $quick-transition;
}
input:checked:after {
left: 15px;
&:checked:after {
left: 15px;
}
}
@media (max-width: 516px) {