Update SCSS
This commit is contained in:
parent
4e92913925
commit
cb1df6f29e
9 changed files with 1136 additions and 274 deletions
34
src/style/_motion.scss
Normal file
34
src/style/_motion.scss
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue