mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
Add spooky easter egg ;)
This commit is contained in:
parent
fade9afe97
commit
2c5062bebe
3 changed files with 19 additions and 0 deletions
|
@ -158,6 +158,11 @@ export default {
|
|||
if (today.getDate() === 1 && today.getMonth() + 1 === 4) {
|
||||
this.$store.commit('SET_SPINNER', 'magikarp')
|
||||
}
|
||||
|
||||
// Halloween easter egg ;)
|
||||
if (today.getDate() === 31 && today.getMonth() + 1 === 10) {
|
||||
this.$store.commit('SET_SPINNER', 'spookycat')
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
BIN
app/src/assets/spinners/spookycat.gif
Normal file
BIN
app/src/assets/spinners/spookycat.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.4 KiB |
|
@ -104,5 +104,19 @@ export default {
|
|||
99% { transform: scale(-1, 1); margin-left: 0;}
|
||||
}
|
||||
}
|
||||
|
||||
&.spookycat {
|
||||
height: 40px;
|
||||
width: 65px;
|
||||
background-image: url('../../assets/spinners/spookycat.gif');
|
||||
animation-name: back-and-forth-spookycat;
|
||||
|
||||
@keyframes back-and-forth-spookycat {
|
||||
0%, 100% { transform: scale(1, 1); margin-left: 0; }
|
||||
49% { transform: scale(1, 1); margin-left: calc(100% - 100px);}
|
||||
50% { transform: scale(-1, 1); margin-left: calc(100% - 100px);}
|
||||
99% { transform: scale(-1, 1); margin-left: 0;}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in a new issue