mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Visual fixes for search and fetchsuggestions fixesE
This commit is contained in:
@@ -1632,7 +1632,7 @@ ul #chat-log{
|
|||||||
|
|
||||||
.search_results {
|
.search_results {
|
||||||
|
|
||||||
background: black;
|
background: rgba(0,0,0,0.8);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
top: 64px;
|
top: 64px;
|
||||||
@@ -3388,7 +3388,7 @@ nav ul li:hover, nav ul li.active {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#inner-results {
|
#inner-results {
|
||||||
height: calc(100vh - 54px - 64px - 76px);
|
height: calc(100vh - 54px - 64px - 123px);
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
}
|
}
|
||||||
@@ -3413,10 +3413,32 @@ nav ul li:hover, nav ul li.active {
|
|||||||
margin-top: -16px;
|
margin-top: -16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#results{
|
.search_results {
|
||||||
background-color: #000;
|
margin-top: 45px;
|
||||||
margin-top:47px;
|
background: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.results-tabs .indicator {
|
||||||
|
margin-top: 50px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#results, #results_soundcloud{
|
||||||
|
background-color: #000;
|
||||||
|
margin-top:-8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#results {
|
||||||
|
max-height: calc(100vh - 165px);
|
||||||
|
}
|
||||||
|
|
||||||
|
#results_soundcloud {
|
||||||
|
height: calc(100vh - 64px - 54px);
|
||||||
|
}
|
||||||
|
|
||||||
|
#results_soundcloud #inner-results {
|
||||||
|
height: calc(100vh - 54px - 64px - 47px);
|
||||||
|
}
|
||||||
|
|
||||||
.result{
|
.result{
|
||||||
margin: 0;
|
margin: 0;
|
||||||
width: 99%;
|
width: 99%;
|
||||||
|
|||||||
@@ -318,7 +318,9 @@ var Player = {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
player.seek(seekTo * 1000);
|
try {
|
||||||
|
Player.soundcloud_player.seek(seekTo * 1000);
|
||||||
|
} catch(e) {}
|
||||||
}
|
}
|
||||||
soundcloud_loading = true;
|
soundcloud_loading = true;
|
||||||
if(start == undefined) start = 0;
|
if(start == undefined) start = 0;
|
||||||
@@ -663,8 +665,8 @@ var Player = {
|
|||||||
player_ready = true;
|
player_ready = true;
|
||||||
if(!window.MSStream) {
|
if(!window.MSStream) {
|
||||||
if(Helper.mobilecheck()){
|
if(Helper.mobilecheck()){
|
||||||
Helper.css("#playpause", "visibility", "hidden");
|
/*Helper.css("#playpause", "visibility", "hidden");
|
||||||
Helper.css("#playpause", "pointer-events", "none");
|
Helper.css("#playpause", "pointer-events", "none");*/
|
||||||
Helper.css("#player", "opacity", "1");
|
Helper.css("#player", "opacity", "1");
|
||||||
if(offline) {
|
if(offline) {
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
|
|||||||
@@ -48,6 +48,7 @@ var Suggestions = {
|
|||||||
if(videoSource == "soundcloud") {
|
if(videoSource == "soundcloud") {
|
||||||
Helper.addClass(document.querySelector(".suggest-title-info"), "hide");
|
Helper.addClass(document.querySelector(".suggest-title-info"), "hide");
|
||||||
Helper.addClass("#suggest-song-html", "hide");
|
Helper.addClass("#suggest-song-html", "hide");
|
||||||
|
return;
|
||||||
} else {
|
} else {
|
||||||
Helper.removeClass(document.querySelector(".suggest-title-info"), "hide");
|
Helper.removeClass(document.querySelector(".suggest-title-info"), "hide");
|
||||||
Helper.removeClass("#suggest-song-html", "hide");
|
Helper.removeClass("#suggest-song-html", "hide");
|
||||||
|
|||||||
Reference in New Issue
Block a user