﻿.audio-wrapper {
    background-color: #fdfdfd;
    margin: 10px auto;
    max-width: 670px;
    height: 80px;
    border: 0.5px solid #dddddd;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
}

.audio-left {
    float: left;
    text-align: center;
    width: 26%;
    height: 100%;
}

.audio-wrapper>.audio-left > img {
    width: 50px !important;
    position: relative;
    top: 15px;
    margin: auto;
    display: block; /* 解除与app的样式冲突 */
    cursor: pointer;
}

.audio-right {
    margin-right: 4%;
    float: right;
    width: 70%;
    height: 100%;
}

    .audio-right p {
        font-size: 15px;
        height: 35%;
        margin: 8px 0;
        /* 歌曲名称只显示在一行，超出部分显示为省略号 */
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        max-width: 243px; /* 要适配小屏幕手机，所以最大宽度先设小一点，后面js根据屏幕大小重新设置 */
    }

.progress-bar-bg {
    background-color: #d5d5d5;
    position: relative;
    height: 2px;
    top: 39px;
    cursor: pointer;
}

.progress-bar {
    background-color: #303030;
    width: 0;
    height: 2px;
}

.progress-bar-bg span {
    content: " ";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    background-color: #303030;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -5px;
    margin-left: -5px;
    cursor: pointer;
}

.audio-time {
    overflow: hidden;
    margin-top: 43px;
    color: #c0c0c0;
}

.audio-length-total {
    float: right;
    font-size: 12px;
    text-indent: 0;
    text-align:right;
}

.audio-length-current {
    float: left;
    font-size: 12px;
    text-indent:0;
}
