290 lines
5.3 KiB
CSS
290 lines
5.3 KiB
CSS
@font-face {
|
|
font-family: 'aplayer-fontello';
|
|
src: url('font/aplayer-fontello.eot?72550380');
|
|
src: url('font/aplayer-fontello.eot?72550380#iefix') format('embedded-opentype'),
|
|
url('font/aplayer-fontello.woff?72550380') format('woff'),
|
|
url('font/aplayer-fontello.ttf?72550380') format('truetype'),
|
|
url('font/aplayer-fontello.svg?72550380#fontello') format('svg');
|
|
font-weight: normal;
|
|
font-style: normal;
|
|
}
|
|
|
|
.aplayer [class^="aplayer-icon-"]:before, [class*=" aplayer-icon-"]:before {
|
|
font-family: "aplayer-fontello";
|
|
font-style: normal;
|
|
font-weight: normal;
|
|
speak: none;
|
|
display: inline-block;
|
|
text-decoration: inherit;
|
|
width: 1em;
|
|
text-align: center;
|
|
font-variant: normal;
|
|
text-transform: none;
|
|
line-height: 1em;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
.aplayer .aplayer-icon-weibo:before {
|
|
content: '\e805';
|
|
}
|
|
|
|
.aplayer .aplayer-icon-play:before {
|
|
content: '\e806';
|
|
}
|
|
|
|
.aplayer .aplayer-icon-pause:before {
|
|
content: '\e807';
|
|
}
|
|
|
|
.aplayer .aplayer-icon-to-start:before {
|
|
content: '\e808';
|
|
}
|
|
|
|
.aplayer .aplayer-icon-to-end:before {
|
|
content: '\e809';
|
|
}
|
|
|
|
.aplayer .aplayer-icon-list:before {
|
|
content: '\e80a';
|
|
}
|
|
|
|
.aplayer .aplayer-icon-menu:before {
|
|
content: '\e80b';
|
|
}
|
|
|
|
.aplayer .aplayer-icon-volume-off:before {
|
|
content: '\e800';
|
|
}
|
|
|
|
.aplayer .aplayer-icon-volume-down:before {
|
|
content: '\e801';
|
|
}
|
|
|
|
.aplayer .aplayer-icon-volume-up:before {
|
|
content: '\e802';
|
|
}
|
|
|
|
.aplayer {
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
margin: 5px;
|
|
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
|
|
border-radius: 2px;
|
|
height: 66px;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.aplayer span {
|
|
cursor: default !important;
|
|
}
|
|
|
|
.aplayer .aplayer-pic {
|
|
position: relative;
|
|
float: left;
|
|
height: 100%;
|
|
width: 66px;
|
|
}
|
|
|
|
.aplayer .aplayer-pic img {
|
|
height: 100%;
|
|
width: 100%;
|
|
border-radius: 2px 0 0 2px;
|
|
}
|
|
|
|
.aplayer .aplayer-mask {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.aplayer .aplayer-button {
|
|
position: absolute;
|
|
color: #fff;
|
|
border-radius: 50%;
|
|
opacity: 0.8;
|
|
cursor: pointer;
|
|
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
|
|
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
|
|
background: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.aplayer .aplayer-button:hover {
|
|
opacity: 1;
|
|
}
|
|
|
|
.aplayer .aplayer-hide {
|
|
display: none;
|
|
}
|
|
|
|
.aplayer .aplayer-play {
|
|
width: 26px;
|
|
height: 26px;
|
|
border: 2px solid #fff;
|
|
top: 50%;
|
|
left: 50%;
|
|
margin: -15px 0 0 -15px;
|
|
}
|
|
|
|
.aplayer .aplayer-play .aplayer-icon-play {
|
|
position: absolute;
|
|
top: 2px;
|
|
left: 4px;
|
|
font-size: 20px;
|
|
line-height: 23px;
|
|
}
|
|
|
|
.aplayer .aplayer-pause {
|
|
width: 16px;
|
|
height: 16px;
|
|
border: 2px solid #fff;
|
|
bottom: 4px;
|
|
right: 4px;
|
|
}
|
|
|
|
.aplayer .aplayer-pause .aplayer-icon-pause {
|
|
position: absolute;
|
|
top: 1px;
|
|
left: 2px;
|
|
font-size: 12px;
|
|
line-height: 14px;
|
|
}
|
|
|
|
.aplayer .aplayer-info {
|
|
margin-left: 66px;
|
|
padding: 17px 7px 0 10px;
|
|
}
|
|
|
|
.aplayer .aplayer-music {
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
margin-bottom: 17px;
|
|
}
|
|
|
|
.aplayer .aplayer-title {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.aplayer .aplayer-author {
|
|
font-size: 12px;
|
|
color: #666;
|
|
}
|
|
|
|
.aplayer .aplayer-music a {
|
|
margin-right: 7px;
|
|
font-size: 14px;
|
|
color: #000;
|
|
}
|
|
|
|
.aplayer .aplayer-music a:hover {
|
|
color: #E90F24;
|
|
}
|
|
|
|
.aplayer .aplayer-controller {
|
|
position: relative;
|
|
}
|
|
|
|
.aplayer .aplayer-bar-wrap {
|
|
margin-right: 120px;
|
|
}
|
|
|
|
.aplayer .aplayer-bar {
|
|
position: relative;
|
|
height: 2px;
|
|
width: 100%;
|
|
background: #cdcdcd;
|
|
cursor: pointer !important;
|
|
}
|
|
|
|
.aplayer .aplayer-loaded {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
background: #aaa;
|
|
height: 2px;
|
|
transition: all 0.5s ease;
|
|
}
|
|
|
|
.aplayer .aplayer-played {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
background: #b7daff;
|
|
height: 2px;
|
|
}
|
|
|
|
.aplayer .aplayer-thumb {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
margin-top: -4px;
|
|
margin-right: -10px;
|
|
height: 8px;
|
|
width: 8px;
|
|
border: 1px solid #b7daff;
|
|
border-radius: 50%;
|
|
background: #fff;
|
|
cursor: pointer !important;
|
|
}
|
|
|
|
.aplayer .aplayer-thumb:hover {
|
|
background: #b7daff;
|
|
}
|
|
|
|
.aplayer .aplayer-time {
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: -5px;
|
|
height: 17px;
|
|
color: #999;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.aplayer .aplayer-time i {
|
|
color: #666;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.aplayer .aplayer-volume-wrap {
|
|
display: inline-block;
|
|
margin-left: 7px;
|
|
cursor: pointer !important;
|
|
}
|
|
|
|
.aplayer .aplayer-volume-wrap:hover .aplayer-volume-bar-wrap {
|
|
display: block;
|
|
}
|
|
|
|
.aplayer .aplayer-volume-bar-wrap {
|
|
display: none;
|
|
position: absolute;
|
|
bottom: 17px;
|
|
right: -5px;
|
|
width: 25px;
|
|
height: 40px;
|
|
}
|
|
|
|
.aplayer .aplayer-volume-bar {
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: 10px;
|
|
width: 5px;
|
|
height: 35px;
|
|
background: #aaa;
|
|
}
|
|
|
|
.aplayer .aplayer-volume {
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: 0;
|
|
width: 5px;
|
|
background: #b7daff;
|
|
} |