openvibers/openvibe.wiki Commits

Motion: Calm reduces, only Off removes (Shared 4.184.0) (#274)

OP OpenVibers committed 3 days ago · b4d7235c9f · 2 files, +0 −2

Calm (the Motion setting, or a device that asks for less motion) used to stop
every effect here. Pin openvibe-shared 4.183.0 and drop the rules that stopped an
effect under prefers-reduced-motion or html[data-ov-motion=reduced]: Calm plays
every effect, smaller and slower, and only html[data-ov-motion=off] stops it.

Changes

ddiff --git a/public/css/vibe.css b/public/css/vibe.css
iindex f2aa69f..5733752 100644
---- a/public/css/vibe.css
++++ b/public/css/vibe.css
@@@ -47,4 +47,3 @@
.wk-vp-dot:nth-child(3) { animation-delay: .4s; }
@keyframes wk-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
--@media (prefers-reduced-motion: reduce) { .wk-vp-steps .wk-vp-step-now, .wk-vp-pages .wk-vp-writing small::before { animation: none; } .wk-vp-dot { animation: none; } }
ddiff --git a/public/css/wiki.css b/public/css/wiki.css
iindex 10457e4..e87a5c8 100644
---- a/public/css/wiki.css
++++ b/public/css/wiki.css
@@@ -86,7 +86,6 @@ table { border-collapse: collapse; }
.wk-infobox { float: none; margin: 0 0 16px; width: 100%; }
h1 { font-size: 1.5rem; }
}
--@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
/* The home's showcase sections (openvibe-shared/showcase.css) inside the page column, which has its own gutter. */
.wk-main .sc-hero, .wk-main .sc-sec, main .sc-hero, main .sc-sec { padding-left: 0; padding-right: 0; }