diff --git a/src/css/style.less b/src/css/style.less index c52302a7..395ab687 100644 --- a/src/css/style.less +++ b/src/css/style.less @@ -388,6 +388,12 @@ div.br { z-index: 2000; } +.magikarp { + .loader{ + background: rgba(255, 255, 255, 0.5) url(../img/magikarp.gif) center 15% no-repeat; + } +} + .with-nyancat { .loader{ background: rgba(255, 255, 255, 0.5) url(../img/nyancat.gif) center 15% no-repeat; diff --git a/src/img/magikarp.gif b/src/img/magikarp.gif new file mode 100644 index 00000000..797ddf93 Binary files /dev/null and b/src/img/magikarp.gif differ diff --git a/src/js/yunohost/main.js b/src/js/yunohost/main.js index 72615a31..f651a412 100644 --- a/src/js/yunohost/main.js +++ b/src/js/yunohost/main.js @@ -238,6 +238,13 @@ $(document).ready(function () { // Run Sammy.js application app.run('#/'); + + // April fools easter egg ;) + var today = new Date(); + if ((today.getDate() == 1) && (today.getMonth()+1 == 4)) + { + $('#main').addClass("magikarp"); + } }); })();