Fix: wrong revision on content files / Blinking Icon in regattas list

This commit is contained in:
Timon Ostertun
2020-09-23 22:53:33 +02:00
parent b9a9cf6cf8
commit 062a7336ac
6 changed files with 66 additions and 19 deletions

View File

@@ -1331,7 +1331,6 @@ $(document).ready(function(){
colorsArray.forEach(function (gradientBodyValue) {$('.generated-styles').append('.body-'+gradientBodyValue[0]+'{background-image: linear-gradient(to bottom, '+gradientBodyValue[1]+' 0, '+gradientBodyValue[3]+' 100%)}')});
}
// TODO: Hier den site-specific code ausführen
initRegatten();
hideLoader();

View File

@@ -74,9 +74,9 @@ $(document).ready(function(){
deferredPrompt.userChoice
.then((choiceResult) => {
if (choiceResult.outcome === 'accepted') {
//console.log('User accepted the A2HS prompt');
console.log('User accepted the A2HS prompt');
} else {
//console.log('User dismissed the A2HS prompt');
console.log('User dismissed the A2HS prompt');
}
deferredPrompt = null;
});

View File

@@ -1,3 +1,4 @@
/*** REGATTAS LIST ***/
.regattas-list > div {
padding-top: 1rem;
padding-bottom: 1rem;
@@ -40,4 +41,20 @@
.regattas-list > div > div:nth-child(3) > div:nth-child(2) {
width: 25%;
text-align: right;
}
/*** BLINKING ICONS ***/
@keyframes fa-blink {
0% { opacity: 1; }
25% { opacity: 0.25; }
50% { opacity: 0.5; }
75% { opacity: 0.75; }
100% { opacity: 0; }
}
.fa-blink {
-webkit-animation: fa-blink .75s linear infinite;
-moz-animation: fa-blink .75s linear infinite;
-ms-animation: fa-blink .75s linear infinite;
-o-animation: fa-blink .75s linear infinite;
animation: fa-blink .75s linear infinite;
}