mirror of
https://code.lenaisten.de/Lenaisten/advent22.git
synced 2024-11-22 15:53:01 +00:00
make subtle glow static
This commit is contained in:
parent
d396c2a8c3
commit
41889d9160
1 changed files with 6 additions and 21 deletions
|
@ -4,30 +4,15 @@
|
|||
:visible="store.is_touch_device || force_visible"
|
||||
:rectangle="door.position"
|
||||
>
|
||||
<div class="has-text-danger glow">{{ door.day }}</div>
|
||||
<div
|
||||
class="has-text-danger"
|
||||
style="text-shadow: 0 0 10px white, 0 0 20px white"
|
||||
>
|
||||
{{ door.day }}
|
||||
</div>
|
||||
</SVGRect>
|
||||
</template>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@import "@/bulma-scheme";
|
||||
|
||||
.glow {
|
||||
-webkit-animation: glow 2s ease-in-out infinite alternate;
|
||||
-moz-animation: glow 2s ease-in-out infinite alternate;
|
||||
animation: glow 2s ease-in-out infinite alternate;
|
||||
}
|
||||
|
||||
@keyframes glow {
|
||||
from {
|
||||
text-shadow: 0 0 10px white, 0 0 20px white, 0 0 30px $primary,
|
||||
0 0 40px $primary, 0 0 50px $primary, 0 0 60px $primary, 0 0 70px $primary;
|
||||
}
|
||||
to {
|
||||
text-shadow: 0 0 10px white;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<script lang="ts">
|
||||
import { Door } from "@/lib/door";
|
||||
import { advent22Store } from "@/plugins/store";
|
||||
|
|
Loading…
Reference in a new issue