Update SCSS

This commit is contained in:
Andras Schmelczer 2026-05-10 15:16:19 +01:00
commit cb1df6f29e
9 changed files with 1136 additions and 274 deletions

34
src/style/_motion.scss Normal file
View file

@ -0,0 +1,34 @@
@media (prefers-reduced-motion: reduce) {
html > body {
> .canvas-container > .garden-prompt {
.draw-hint-stroke {
stroke-dashoffset: 0;
}
.draw-hint-end {
opacity: 1;
transform: none;
}
}
> aside.control-dock {
&,
&.menu-hidden {
transform: translateX(-50%);
}
> .toolbar-row {
button:hover,
button:active,
> .toolbar-shell > .garden-controls > .swatches > .eraser-size-control:hover,
> .toolbar-shell > .garden-controls > .swatches > .mirror-segment-control:hover {
transform: none;
}
> .toolbar-shell > nav.buttons > button:hover::after {
transform: none;
}
}
}
}
}