From 103f7ebcad42bbd30bbf3d469ea31ba7515f24ff Mon Sep 17 00:00:00 2001 From: Udo Walter Date: Sun, 3 Mar 2019 03:46:52 +0000 Subject: [webapp] add option to disable all animations --- webapp/src/assets/styles.css | 5 +++++ webapp/src/components/DashboardPage.vue | 2 +- webapp/src/components/SettingsModule.vue | 9 ++++++--- webapp/src/store/global.js | 3 ++- 4 files changed, 14 insertions(+), 5 deletions(-) (limited to 'webapp') diff --git a/webapp/src/assets/styles.css b/webapp/src/assets/styles.css index 6241649..77222e1 100644 --- a/webapp/src/assets/styles.css +++ b/webapp/src/assets/styles.css @@ -14,6 +14,11 @@ html { user-drag: none; } +.no-animations *, .no-animations :before, .no-animations :after { + transition-property: none !important; + animation: none !important; +} + ::-webkit-scrollbar { width: 6px; height: 6px; diff --git a/webapp/src/components/DashboardPage.vue b/webapp/src/components/DashboardPage.vue index 6c5d267..4fbac78 100644 --- a/webapp/src/components/DashboardPage.vue +++ b/webapp/src/components/DashboardPage.vue @@ -16,7 +16,7 @@