From bfc6ffdaa7d4bc5f0e304f28ae6a62f34da1f976 Mon Sep 17 00:00:00 2001 From: Johannes Millan Date: Thu, 5 Apr 2018 01:20:15 +0200 Subject: [PATCH] feat: very politely animate current task on work view --- app-src/scripts/work-view/_work-view-d.scss | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/app-src/scripts/work-view/_work-view-d.scss b/app-src/scripts/work-view/_work-view-d.scss index 7afab2c862..9032db8023 100644 --- a/app-src/scripts/work-view/_work-view-d.scss +++ b/app-src/scripts/work-view/_work-view-d.scss @@ -7,6 +7,12 @@ work-view { .hide-controls-icon { transform: rotate(90deg); } + + .task { + &.is-current { + animation: $transition-duration-s attention-for-current-task; + } + } } .work-view-header { @@ -35,4 +41,16 @@ work-view { display: inline-block; white-space: nowrap; } -} \ No newline at end of file +} + +@keyframes attention-for-current-task { + 0% { + transform: scale(1); + } + 70% { + transform: scale(1.01, 1.1); + } + 100% { + transform: scale(1); + } +}