release v1.0.0 #14

Merged
thefeli73 merged 63 commits from develop into master 2019-11-12 18:53:53 +01:00
3 changed files with 0 additions and 34 deletions
Showing only changes of commit 3594ca0fac - Show all commits

View File

@ -8001,18 +8001,6 @@ body {
height: 0
}
#popup {
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
cursor: pointer;
background-color: #fff;
position: fixed;
z-index: 9;
transform: translate(-50%, -50%);
top: 50%;
left: 50%;
min-width: 340px;
}
@media screen and (max-width:450px) {
.marginAuto {
margin-bottom: 0!important;

View File

@ -1,29 +1,8 @@
<?php
echo "
<div id='hider' style='display:none;height: 100vh;position: fixed;width: 100vw;top: 0;background-color: rgba(85, 85, 85, 0.74);z-index: 4;'></div>
<div id='popup' style='display:none;'>
<div style='margin:30px;'>
<h1>Tips</h1><br>
<h5>Glömt bort vilken kurs som innehåller vad? Håll muspekaren över en icke standard kurs för att se mer info.</h5><br><br>
<img src='/img/tips.jpg' width='100%' height='auto' alt='Tips' style='max-width:450px; margin:auto; display:block;'/>
</div>
</div>
<!--popup-->
<script>
$(document).ready(function() {
laddaBetyg();
if(localStorage.getItem('popupInfo') != 'sett'){
$('#popup').delay(1000).fadeIn();
$('#hider').delay(300).fadeIn();
}
$('body').click(function(e)
{
$('#popup').fadeOut();
$('#hider').fadeOut();
localStorage.setItem('popupInfo','sett')
});
});
</script>
";

View File

@ -14,7 +14,6 @@ self.addEventListener('install', function(e) {
'/Teknik',
'/Kontakt',
'/css/main.css',
'/img/tips.jpg',
'/img/background.jpg',
'/img/background85.webp',
'/img/favicon/manifest.json',