WebPlayer/css/style.css

299 lines
4.3 KiB
CSS

body {
margin: 0;
}
#outter-container{
margin: 8px;
}
#search-song{
outline-style: none;
border: 1px solid #ccc;
border-radius: 5px;
padding: 7px 0px;
font-size: 16px;
width: 80%;
}
#search-song:focus{
border-color: #66afe9;
outline: 0;
box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}
#reslist{
padding: 10px;
margin-top: 0px;
margin-block-end: 0px;
}
#reslist > li{
list-style: none;
padding: 10px;
border-bottom: 1px solid #ccc;
}
#reslist > li:hover{
background-color: #eee;
}
#reslist > li > a{
text-decoration: none;
color: rgb(58, 124, 255);
}
#searchbtn{
background-color: #66afe9;
border: 1px solid #66afe9;
border-radius: 5px;
color: #fff;
padding: 5px 10px;
cursor: pointer;
}
#searchbtn:hover{
background-color: #4da7fe;
border: 1px solid #4da7fe;
}
.btn{
border-radius: 5px;
color: #fff;
padding: 5px 10px;
cursor: pointer;
margin-top: 5px;
}
.orange{
background-color: #ff6e06;
border: 1px solid #ff6e06;
}
.gray{
background-color: #9e9e9e;
border: 1px solid #9e9e9e;
}
.red{
background-color: #ff3d40;
border: 1px solid #ff3d40;
}
#btnorange:hover{
background-color: #ffa632;
border: 1px solid #ffa632;
}
#playbtn{
background-color: #66afe9;
border: 1px solid #66afe9;
border-radius: 5px;
color: #fff;
padding: 5px 10px;
cursor: pointer;
float: right;
}
#disablebtn{
background-color: #b0b0b0;
border: 1px solid #b0b0b0;
border-radius: 5px;
color: #fff;
padding: 5px 10px;
cursor: pointer;
float: right;
}
#Player{
position: fixed;
bottom: 0;
width: 100%;
height: 50px;
background-color: #fff;
border-top: 1px solid #ccc;
z-index: 100;
}
#Player > div{
width: 100%;
height: 100%;
float: left;
}
#nowplaystat{
/*
width: 50%;
height: 100%;
float: left;
text-align: center;
*/
line-height: 50px;
}
#nowplaystat > span{
font-size: 20px;
font-weight: bold;
}
#listitem{
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
width: 97%;
}
#delbtn{
background-color: #ff5050;
border: 1px solid #ff5050;
border-radius: 5px;
color: #fff;
padding: 5px 10px;
cursor: pointer;
float: right;
margin-left: 3px;
}
.btn-series{
position: absolute;
right: 20px;
}
@media screen and (max-width: 768px){
#nowplaystat{
line-height: 30px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
#nowplaystat > span{
font-size: 16px;
}
#Player{
height: 40px;
}
#Player > div{
height: 40px;
}
#playbtn{
right: 0;
font-size: 12px;
}
#delbtn{
right: 0;
font-size: 12px;
}
#search-song{
width: 80%;
}
#reslist > li{
padding: 5px;
}
#reslist > li > a{
font-size: 14px;
}
#searchbtn{
padding: 3px 10px;
}
#listitem{
width: 97%;
}
#listitem > a{
font-size: 14px;
}
#listitem > a:hover{
color: #4da7fe;
}
#listitem > a > span{
font-size: 12px;
}
#searchtext{
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
}
@media screen and (max-width: 480px){
#nowplaystat{
line-height: 30px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
#nowplaystat > span{
font-size: 16px;
}
#Player{
height: 40px;
}
#Player > div{
height: 40px;
}
#delbtn{
right: 0;
font-size: 12px;
}
#playbtn{
right: 0;
font-size: 12px;
}
#search-song{
width: 70%;
}
#reslist > li{
padding: 5px;
}
#reslist > li > a{
font-size: 14px;
}
#searchbtn{
padding: 3px 10px;
}
#listitem{
width: 97%;
}
#nowplay{
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
#searchtext{
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
}
h1{
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}