1
0
Fork 0
oldhaven/public/css/player.css

213 lines
7.0 KiB
CSS

#player .now-playing {
position: relative;
height: 30px;
color: #FFF;
text-align: center;
line-height: 30px;
overflow: hidden;
}
#player .now-playing .fade {
position: absolute;
top: 0px;
right: 0px;
width: 80px;
height: 30px;
z-index: 10;
background: -moz-linear-gradient(left, rgba(34,34,34,0) 0%, rgba(34,34,34,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(34,34,34,0)), color-stop(100%,rgba(34,34,34,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left, rgba(34,34,34,0) 0%,rgba(34,34,34,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left, rgba(34,34,34,0) 0%,rgba(34,34,34,1) 100%); /* Opera11.10+ */
background: -ms-linear-gradient(left, rgba(34,34,34,0) 0%,rgba(34,34,34,1) 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00222222', endColorstr='#222222',GradientType=1 ); /* IE6-9 */
background: linear-gradient(left, rgba(34,34,34,0) 0%,rgba(34,34,34,1) 100%); /* W3C */
}
#player .progress {
width: 330px;
height: 5px;
background-color: #333;
margin: 0 10px;
cursor: pointer;
}
#player .progress .loaded {
width: 0;
height: 5px;
background-color: #405050;
}
#player .progress .played {
width: 0;
height: 5px;
background-color: #09A;
}
#player .controls {
width: 290px;
margin: 20px 95px;
}
#player .controls > div {
width: 40px;
height: 40px;
float: left;
margin-right: 20px;
cursor: pointer;
}
#player .controls .prev {
background-image: url('/images/icns/prev.png');
}
#player .controls .play {
background-image: url('/images/icns/play.png');
}
#player .controls .pause {
background-image: url('/images/icns/pause.png');
display: none;
}
#player .controls .next {
background-image: url('/images/icns/next.png');
}
#player-container .additional-controls {
width: 350px;
height: 27px;
background-color: #333;
border-top: #444 1px solid;
}
#player-container .additional-controls .item {
float: left;
margin-left: 10px;
font-size: 14px;
line-height: 26px;
color: #FFF;
-moz-opacity: 0.4;
-ms-filter:alpha(opacity=40);
filter:alpha(opacity=40);
opacity: 0.4;
}
#player-container .additional-controls .item:hover {
-moz-opacity: 1;
-ms-filter:alpha(opacity=100);
filter:alpha(opacity=100);
opacity: 1;
cursor: pointer;
}
#player-container .additional-controls .item.active {
-moz-opacity: 0.9;
-ms-filter:alpha(opacity=90);
filter:alpha(opacity=90);
opacity: 0.9;
cursor: pointer;
}
#player-container .additional-controls .item img {
float: left;
margin-top: 1px;
}
#player-container .additional-controls .item .annotation {
float: left;
margin-left: 2px;
}
#player-container .additional-controls .item#empty-playlist {
float: right;
margin-right: 10px;
}
#player-container .additional-controls .item#empty-playlist img {
margin-top: 3px;
}
.playlist-tracks {
width: 343px;
}
.playlist-tracks li {
display: block;
height: 26px;
}
.playlist-tracks li .item {
position: relative;
overflow: hidden;
height: 26px;
color: #FFF;
}
.playlist-tracks li .item .title {
position: absolute;
top: 0;
left: 5px;
z-index: 10;
width: 330px;
height: 26px;
line-height: 26px;
display: block;
float: left;
overflow: hidden;
}
.playlist-tracks li .item .duration {
display: block;
position: absolute;
top: 0;
right: 5px;
z-index: 30;
height: 26px;
line-height: 26px;
}
.playlist-tracks li .item .remove {
display: none;
position: absolute;
top: 4px;
right: 5px;
z-index: 30;
height: 15px;
font-size: 11px;
background-color: #622;
color: #FFF;
border: #822 1px solid;
padding: 1px 2px 0 2px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
cursor: pointer;
}
.playlist-tracks li .item:hover {
background-color: #444;
cursor: default;
}
.playlist-tracks li:nth-child(odd) {
background-color: #2A2A2A;
cursor: default;
}
.playlist-tracks li.now .item {
color: #09A;
cursor: default;
}
/* Gradients */
.playlist-tracks li .item .fade {
position: absolute;
top: 0;
right: 0;
z-index: 20;
width: 100px;
height: 26px;
background: -moz-linear-gradient(left, rgba(32,32,32,0) 0%, rgba(32,32,32,1) 50%, rgba(32,32,32,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(32,32,32,0)), color-stop(50%,rgba(32,32,32,1)), color-stop(100%,rgba(32,32,32,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left, rgba(32,32,32,0) 0%,rgba(32,32,32,1) 50%,rgba(32,32,32,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left, rgba(32,32,32,0) 0%,rgba(32,32,32,1) 50%,rgba(32,32,32,1) 100%); /* Opera11.10+ */
background: -ms-linear-gradient(left, rgba(32,32,32,0) 0%,rgba(32,32,32,1) 50%,rgba(32,32,32,1) 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00202020', endColorstr='#202020',GradientType=1 ); /* IE6-9 */
background: linear-gradient(left, rgba(32,32,32,0) 0%,rgba(32,32,32,1) 50%,rgba(32,32,32,1) 100%); /* W3C */
}
.playlist-tracks li:nth-child(odd) .item .fade {
background: -moz-linear-gradient(left, rgba(42,42,42,0) 0%, rgba(42,42,42,1) 50%, rgba(42,42,42,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(42,42,42,0)), color-stop(50%,rgba(42,42,42,1)), color-stop(100%,rgba(42,42,42,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left, rgba(42,42,42,0) 0%,rgba(42,42,42,1) 50%,rgba(42,42,42,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left, rgba(42,42,42,0) 0%,rgba(42,42,42,1) 50%,rgba(42,42,42,1) 100%); /* Opera11.10+ */
background: -ms-linear-gradient(left, rgba(42,42,42,0) 0%,rgba(42,42,42,1) 50%,rgba(42,42,42,1) 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#002a2a2a', endColorstr='#2a2a2a',GradientType=1 ); /* IE6-9 */
background: linear-gradient(left, rgba(42,42,42,0) 0%,rgba(42,42,42,1) 50%,rgba(42,42,42,1) 100%); /* W3C */
}
.playlist-tracks li .item:hover .fade {
background: -moz-linear-gradient(left, rgba(64,64,64,0) 0%, rgba(64,64,64,1) 50%, rgba(64,64,64,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(64,64,64,0)), color-stop(50%,rgba(64,64,64,1)), color-stop(100%,rgba(64,64,64,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left, rgba(64,64,64,0) 0%,rgba(64,64,64,1) 50%,rgba(64,64,64,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left, rgba(64,64,64,0) 0%,rgba(64,64,64,1) 50%,rgba(64,64,64,1) 100%); /* Opera11.10+ */
background: -ms-linear-gradient(left, rgba(64,64,64,0) 0%,rgba(64,64,64,1) 50%,rgba(64,64,64,1) 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00404040', endColorstr='#404040',GradientType=1 ); /* IE6-9 */
background: linear-gradient(left, rgba(64,64,64,0) 0%,rgba(64,64,64,1) 50%,rgba(64,64,64,1) 100%); /* W3C */
}