Added loading icon for mobile, displaynone on desktop version

This commit is contained in:
kasperrt
2014-12-30 18:42:41 +01:00
parent 7339e662d0
commit bfd63f5d9d
3 changed files with 3 additions and 2 deletions

View File

@@ -30,7 +30,7 @@
<div class="result hiddenAdmin" id="adminPanel"><?php include("php/panel.php");?> </div>
<div id="playlist">
<div id="wrapper">
<img src="static/ajax-loader.gif" id="loading" alt="loading">
</div>
</div>
</div>

BIN
static/ajax-loader.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

View File

@@ -89,7 +89,7 @@ input[type="radio"]{display: none;}
.button{background-color: rgba(255,255,255,0.2); border-radius: 4px; border: none;color: white;padding: 5px 15px; margin-top: 15px; transition: all 0.1s ease-in-out;}
.button:hover{background-color: rgba(255,255,255,0.4); }
#loading{display:initial;display: table-cell;vertical-align: bottom;width: 50%;position: absolute;left:25%}
@-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);}
@@ -155,6 +155,7 @@ input[type="radio"]{display: none;}
.bigchan{font-size:150px;}
#channels{font-size:60px;width:99%;}
.channel{font-size:40px;}
#loading{display:block;}
}