mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 04:28:49 +00:00
Fixed positions of the scrollbuttons
This commit is contained in:
@@ -1113,6 +1113,16 @@ nav ul li:hover, nav ul li.active {
|
||||
width:15px;
|
||||
}
|
||||
|
||||
.rounded-bottom{
|
||||
border-bottom-right-radius: 4px;
|
||||
border-bottom-left-radius: 4px;
|
||||
}
|
||||
|
||||
.rounded-top{
|
||||
border-top-right-radius: 4px;
|
||||
border-top-left-radius: 4px;
|
||||
}
|
||||
|
||||
#top-button, #bottom-button{
|
||||
color: white;
|
||||
position: absolute;
|
||||
@@ -1130,7 +1140,7 @@ nav ul li:hover, nav ul li.active {
|
||||
}
|
||||
|
||||
.top-button-with-tabs{
|
||||
top:53px !important;
|
||||
top:48px !important;
|
||||
}
|
||||
|
||||
#bottom-button{
|
||||
|
||||
4
static/dist/main.min.js
vendored
4
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -398,7 +398,8 @@ $(document).on("click", ".brand-logo-navigate", function(e){
|
||||
$(document).on("mousemove", "#playlist", function(e)
|
||||
{
|
||||
var y = e.pageY - this.offsetTop;
|
||||
if(y <= 27){
|
||||
console.log(y);
|
||||
if((y <= 27 && adminpass == "") || (y <= 80 && y >= 48 && adminpass != "")){
|
||||
$("#top-button").removeClass("hide");
|
||||
Helper.addClass("#bottom-button", "hide");
|
||||
}else if(y >= $("#playlist").height() - 18){
|
||||
|
||||
Reference in New Issue
Block a user