1
0
Fork 0
mirror of https://github.com/GuerillaHQ/now-playing synced 2024-07-10 23:37:57 +00:00
now-playing/assets/scss/8-rwd/_rwd-reduced-motion.scss
2020-03-23 12:20:29 +01:00

30 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;
}
}