recording.scss 5.86 KB
// 2016-11-27 by kira

@import 'mixin';

// 修改 bootstrap 样式
.real-program-content{
    .nav-tabs{
        border-bottom: none;
    }
    .nav-tabs>li>a {
        margin-right: 0;
        line-height: 1.428571429;
        border: none !important;
        background: transparent !important;
        height: 60px;
        line-height: 60px;
        padding: 0;
    }
    .nav-tabs>li.active>a, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus{
        color: #FFF;
    }
    a{
        color: rgba(255, 255, 255, 0.5)
    }
    p{
        margin: 0;
    }
    .panel-body{
        padding: 0;
    }
    .panel-default>.panel-heading{
        background-color: #F0F3F5;
        height: 60px;
        line-height: 36px;
    }
    .panel-heading{
        padding: 12px 15px;
        border: none !important;
    }
    #comprun{
        border-radius: 20px;
        padding: 6px 18px;
        color: #FFF;
        background: -webkit-linear-gradient(left, #1FB6FF, #62DDF5);
        background: -moz-linear-gradient(left, #1FB6FF, #62DDF5);
    }
    
}

.recording-wrap{

    .recording-header{
        width: 100%;
        height: 60px;
        background: -webkit-linear-gradient(left, #1FB6FF, #62DDF5);
        background: -moz-linear-gradient(left, #1FB6FF, #62DDF5);
        
        .line{
            width: 1px;
            height: 16px;
            background: #FFF;
            line-height: 60px;
            margin: 22px 12px;
        }
        
        .lang{
            background: #FFF;
            font-size: 16px;
            color: #1FB6FF;
            padding: 6px 24px;
            margin: 14px 16px;
            border-radius: 20px;
            border: none;
        }
    }

    .recording-audio{
        width: 100%;
        height: 80px;
        background: #FFF;
        display: flex;
        display: inline-flex;
        justify-content: center;
        

        .audio-finish{
            width: 48px;
            height: 48px;
            border: 4px solid #7FDE94;
            border-radius: 50%;
            text-align: center;
            cursor: pointer;
            margin: 16px 0;
            margin-left: 34px;
        }
        .stop{
            width: 16px;
            height: 16px;
            background: #7FDE94;
            margin: 12px;
            display: block;
        }
        .restart{
            width: 32px;
            height: 32px;
            background-color: #7FDE94;
            border-radius: 50%;
            margin: 4px;
            display: block;
        }
        .audio-play{
            width: 48px;
            height: 48px;
            background-color: #F0F3F5;
            border-radius: 50%;
            cursor: pointer;
            margin: 16px 16px;
        }
        .audio-play:after{
            content: '';
            display: block;
            width: 0;
            height: 0;
            border-top: 10px solid transparent;
            border-left: 18px solid #FFFFFF;
            border-bottom: 10px solid transparent;
            margin: 15px 16px;
        }
        .play-recorde{
            background-color: #F0F3F5;
        }
        .play-finish{
            background-color: #7FDE94;
        }

        .audio-title{
            .title-time{
                height: 32px;
                line-height: 32px;
            }
            .title-view{
                height: 48px;
                line-height: 40px;
            }
        }

        .audio-info{
            padding: 11px;

            .info-time{
                height: 10px;
                width: 100%;
                background-color: #E9EBF0;
                border-radius: 5px;
            }
            .info-time:after{
                content: '';
                display: block;
                height: 10px;
                width: 40%;
                background-color: #7FDE94;
                border-radius: 5px;
            }
            .info-view{
                height: 38px;
                width: 100%;
                background-color: #F5F6FA;
                margin-top: 11px;
            }
        }
        // .hidden{
        //     display: none;
        // }
        // .show{
        //     display: block;
        // }

        .huatong{
            width: 120px;

            #imgAudio.microphone{
                background: red;
                background: -webkit-radial-gradient(center, ellipse cover, #ff0000 0%, #FFF 75%, #FFF 100%,#7db9e8 100%);
                background: -moz-radial-gradient(center, ellipse cover, #ff0000 0%, #FFF 75%, #FFF 100%,#7db9e8 100%);
                background: radial-gradient(center, ellipse cover, #ff0000 0%, #FFF 75%, #FFF 100%,#7db9e8 100%);
            }
            img{
                width: 58px;
                height: 58px;
                margin: 11px;
            }
        }

    }
}

#previewpanel{

    #replay{
        color: #1FB6FF;
        font-weight: bold;
        font-size: 20px;
    }
    #cmprun-tabs{
        background: -webkit-linear-gradient(left, #1FB6FF, #62DDF5);
        background: -moz-linear-gradient(left, #1FB6FF, #62DDF5);

        li{
            width: 25%;
            text-align: center;
        }
    }
}

.record-before{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    overflow: hidden;
    z-index: 9999;

    .tip{
        width: 360px;
        height: 340px;
        background: url('../img/start.png') no-repeat;
        position: relative;
        margin: 16px auto;
        z-index: 999
    }
    .start-btn{
        width: 100px;
        height: 62px;
        background: url('../img/start-btn.png') no-repeat;
        background-size: 100%;
        position: absolute;
        left: 50%;
        transform: translate(-50%);
        bottom: 0;
        cursor: pointer;
    }

    #countdown{
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(-50%);
        z-index: 888;
    }
}