Fixed playlist transition on height and box shadow on search

This commit is contained in:
Kasper Rynning-Tønnesen
2015-01-31 13:37:14 +01:00
parent eb9d328865
commit 027afd15b1
2 changed files with 3 additions and 3 deletions

View File

@@ -5,8 +5,8 @@ function admin()
{
adminTogg = !adminTogg;
if(adminTogg) $("#playlist").height($("#playlist").height()-210); //opening
if(!adminTogg)$("#playlist").height($("#playlist").height()+210);; //closing
if(adminTogg) $("#playlist").height($("#player").height()-210+30); //opening
if(!adminTogg)$("#playlist").height($("#player").height()+30);; //closing
$("#adminPanel").toggleClass("hiddenAdmin");
}

View File

@@ -100,7 +100,7 @@ input[type="radio"]{display: none;}
#loading{display:none;}
#search{padding-left:50px;background: url(search2.png)no-repeat 10px 50%;background-color: rgba(255,255,255,0.2);background-size:2%;transition: box-shadow 0.5s;}
#search:focus{ box-shadow: 0px 0px 5px 2px #000;}
#search:focus{ box-shadow: 0px 0px 10px 0.5px #000;}
@-webkit-keyframes fadein{from {opacity:0;}to{opacity:1;}}@keyframes fadein{from{opacity:0;}to{opacity:1;}}@-moz-keyframes fadein{from{opacity:0;}to{opacity:1;}}@-o-keyframes fadein{from{opacity:0;}to{opacity:1;}}
@-webkit-keyframes fadecol{from {background-color:rgba(0,255,0,0.4);}to{background-color: rgba(255,255,255,0);}}@keyframes fadecol{background-color: rgba(0,255,0,0.4);}to{background-color: rgba(255,255,255,0);}}@-moz-keyframes fadecol{from{background-color: rgba(0,255,0,0.4);}to{background-color: rgba(255,255,255,0);}}@-o-keyframes fadecol{background-color: rgba(0,255,0,0.4);}to{background-color: rgba(255,255,255,0);}