mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
More improvements to moving video-container
This commit is contained in:
@@ -1465,10 +1465,10 @@ ul #chat-log{
|
|||||||
position: relative;
|
position: relative;
|
||||||
transform: translate(0%, 0%);
|
transform: translate(0%, 0%);
|
||||||
z-index: 99;
|
z-index: 99;
|
||||||
-webkit-transition: transform .5s ease-out;
|
-webkit-transition: transform .5s ease-out, width .5s ease-out, height .5s ease-out;
|
||||||
transition: transform .5s ease-out;
|
transition: transform .5s ease-out, width .5s ease-out, height .5s ease-out;
|
||||||
-moz-transition: transform .5s ease-out;
|
-moz-transition: transform .5s ease-out, width .5s ease-out, height .5s ease-out;
|
||||||
-o-transition: transform .5s ease-out;
|
-o-transition: transform .5s ease-out, width .5s ease-out, height .5s ease-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
#fireplace_player{
|
#fireplace_player{
|
||||||
@@ -1986,7 +1986,7 @@ nav ul li:hover, nav ul li.active {
|
|||||||
|
|
||||||
#main_components {
|
#main_components {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
/* top: 96.3%; */
|
top: calc(100% - 26px);
|
||||||
width: calc(100% - .75em);
|
width: calc(100% - .75em);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
6
public/dist/main.min.js
vendored
6
public/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -97,7 +97,7 @@ var Frontpage = {
|
|||||||
card.find(".chan-views").text(viewers);
|
card.find(".chan-views").text(viewers);
|
||||||
card.find(".chan-songs").text(song_count);
|
card.find(".chan-songs").text(song_count);
|
||||||
card.find(".chan-bg").attr("style", img);
|
card.find(".chan-bg").attr("style", img);
|
||||||
card.find(".chan-link").attr("href", chan);
|
card.find(".chan-link").attr("href", chan + "/");
|
||||||
|
|
||||||
if(description != "" && !Helper.mobilecheck()){
|
if(description != "" && !Helper.mobilecheck()){
|
||||||
card.find(".card-title").text(chan);
|
card.find(".card-title").text(chan);
|
||||||
|
|||||||
@@ -87,6 +87,7 @@ var fromFront = false;
|
|||||||
var fromChannel = false;
|
var fromChannel = false;
|
||||||
|
|
||||||
try{
|
try{
|
||||||
|
/*
|
||||||
if (navigator.serviceWorker && window.location.host != "zoff.dev") {
|
if (navigator.serviceWorker && window.location.host != "zoff.dev") {
|
||||||
navigator.serviceWorker.register('/service-worker.js', {scope: '/'})
|
navigator.serviceWorker.register('/service-worker.js', {scope: '/'})
|
||||||
.then(function (registration) {
|
.then(function (registration) {
|
||||||
@@ -97,7 +98,10 @@ try{
|
|||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
Helper.log('Service Worker is not supported in this browser.');
|
Helper.log('Service Worker is not supported in this browser.');
|
||||||
}
|
}*/
|
||||||
|
navigator.serviceWorker.getRegistration('/').then(function(registration) {
|
||||||
|
registration.unregister();
|
||||||
|
});
|
||||||
} catch(e) {}
|
} catch(e) {}
|
||||||
|
|
||||||
$().ready(function(){
|
$().ready(function(){
|
||||||
|
|||||||
Reference in New Issue
Block a user