1
0
Fork 0
mirror of https://github.com/GuerillaStudio/now-playing synced 2024-11-09 18:11:51 +00:00
now-playing/assets/scss/8-rwd/_rwd-reduced-motion.scss
2020-03-23 12:20:29 +01:00

29 lines
768 B
SCSS

/* ----------------------------------------------------------- */
/* == rwd -> reduced motion */
/* ----------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
/* Glitch text
-------------------------------------------------------------- */
.glitch::before,
.glitch::after,
.glitch--hover:hover::before,
.glitch--hover:hover::after {
animation: none;
}
/* Catalog
-------------------------------------------------------------- */
.catalog-item__content:hover .catalog-item__visual,
.catalog-item__content:active .catalog-item__visual,
.catalog-item__content:focus .catalog-item__visual {
transform: none;
}
.coverGlitch,
.coverGlitchSimpleHover:hover {
animation: none;
}
}