mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-08-01 12:10:33 +00:00
feat: very politely animate current task on work view
This commit is contained in:
parent
52e2d70d3d
commit
bfc6ffdaa7
1 changed files with 19 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes attention-for-current-task {
|
||||
0% {
|
||||
transform: scale(1);
|
||||
}
|
||||
70% {
|
||||
transform: scale(1.01, 1.1);
|
||||
}
|
||||
100% {
|
||||
transform: scale(1);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue