diff --git a/client/src/components/Playground.vue b/client/src/components/Playground.vue index b0d1f43..588d515 100644 --- a/client/src/components/Playground.vue +++ b/client/src/components/Playground.vue @@ -4,7 +4,7 @@
+ :disabled="disabledMap[source.id]" :index="index" :animation-delay="3" />
@@ -111,15 +111,19 @@ const disabledMap = computed(() => { &__show { visibility: visible; + animation: quote-show 1s linear; } } &__skip { visibility: hidden; align-self: flex-end; + opacity: 0; &__show { visibility: visible; + animation: quote-show 0.5s linear 5s; + animation-fill-mode: forwards; } } @@ -128,4 +132,13 @@ const disabledMap = computed(() => { margin: 16px 16px 0 64px; } } + +@keyframes quote-show { + from { + opacity: 0%; + } + to { + opacity: 100%; + } +} \ No newline at end of file diff --git a/client/src/components/SourceCard.vue b/client/src/components/SourceCard.vue index 80bec9a..db0715d 100644 --- a/client/src/components/SourceCard.vue +++ b/client/src/components/SourceCard.vue @@ -1,6 +1,8 @@