main.scss 6.05 KB
html, body{
    width: 100%;
    height: 100%;
}
.programing{
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    background-color: #999;
}

// 头部菜单
.record-title{
    width: 100%;
    height: 36px;
    background-image: -webkit-linear-gradient(left, #1FB6FF 0%, #62DCF5 100%);
    background-image: linear-gradient(to right, #1FB6FF 0%, #62DCF5 100%);
    position: absolute;
    top: 0;
    z-index: 99;
    padding-left: 28px;

}

// 录制区
.record-wrap{
    width: 100%;
    height: 100%;
    position: absolute;
    box-sizing: border-box;
    padding-top: 36px;
    padding-bottom: 300px;

    #ideDir{
        width: 170px;
        height: 100%;
        padding-top: 24px;
        float: left;
        background-color: #FFF;
        overflow-y: scroll;

        .tree-header{
            text-indent: 14px;
        }
    }

    #ideEditer{
        width: calc(100% - 170px);
        float: left;
        height: 100%;
        background-color: #00F;

        #recordzone, #replayzone, .coding{
            height: 100%;
        }

    }

    #folder{
        height: 100%;
        min-height: 300px;
    }

    .gxb-record{
        position: relative;
        height: 100%;
    }
}

// 展示、控制区
.record-toolbox{
    width: 100%;
    position: absolute;
    bottom: 0;
    z-index: 999;

    .console-wrap{
        width: 100%;
        background-color: #FFF;
        height: 240px;
        border-top: 1px solid #999d9e;

        #toolbar{
            width: 100%;
            height: 36px;
            overflow: hidden;
            background-color: #e3e3e3;
            .result-tabs{
                height: 30px;
                border-radius: 30px;
                background-color: #62DCF5;
                overflow: hidden;
                margin: 3px 16px;
                color: #fff;
            }
            .text{
                color: #fff;
            }
            .result-tabs>li.active>a, .result-tabs>li.active>a:hover, .result-tabs>li>a:hover, .result-tabs>li.active>a:focus{
                color: #1FB6FF;
                background-color: #fff;
                box-shadow: 0px 0px 2px 0px #B3E5FF;
                border: none;
            }
            .result-tabs>li>a, .result-tabs>li.active>a:hover{
                padding: 4px 36px;
                border: none;
                margin: 1px;
                border-radius: 15px;
                font-size: 14px;
                // color: #fff;
                transition: all 0.1s ease;
            }

            .func{
                height: 36px;
                padding-top: 3px;
            }
        }
    }
    
    #full-screen, #back-screen{
        margin: 0;
        background-image: linear-gradient(90deg, #1FB6FF 0%, #62DCF5 100%);
        border-radius: 100px;
        padding: 6px 7px;
        margin: 0 16px;
        color: #fff;
    }

    #resultoutput{
        height: 204px;
        overflow: auto;
    }

    #CompileBtn{
        background-image: -webkit-linear-gradient(left, #1FB6FF 0%, #62DCF5 100%);
        background-image: linear-gradient(to right, #1FB6FF 0%, #62DCF5 100%);
        -webkit-transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) all !important;
        transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) all !important;
        border: none;
        color: #fff;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .record-ctrl{
        height: 60px;
        width: 100%;
        z-index: 999;
        padding: 0 136px;
        background-color: #23383f;

        .btn{
            // background-color: transparent;
            padding: 0;
            height: 60px;
            float: left;
            line-height: 1;

            i{
                font-size: 48px;
                color: #fff;
            }
        }
        .recording-time{
            float: left;
            z-index: 9;
            color: #FFF;
            font-size: 18px;
            height: 60px;
            line-height: 60px;
        }
        .recording-time:before{
            content: '';
            display: inline-block;
            width: 8px;
            height: 8px;
            background-color: red;
            z-index: 99;
            margin: 2px 8px;
            border-radius: 50%;
        }
    }
}
.pause-shodow{
    position: absolute;
    top: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);

    .compile-loading{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 999;
    }

    .compile-reslut{
        .btn{
            margin-right: 8px;
        }
    }

    .btn-success{
        background-color: #1FB6FF;
        border: none;
        box-shadow: 0 1px 5px;
    }
    .btn-danger{
        background-color: #FFFFFF;
        color: #6E787F;
        border: none;
        box-shadow: 0 1px 5px;
    }
}

.compile-reslut, .re-reslut{
    position: absolute;
    height: 200px;
    width: 400px;
    background-color: #FFF;
    top: 15%;
    left: 50%;
    transform: translate(-50%);

    .tip-header, .tip-footer{
        width: 100%;
        padding: 8px 8px;
        background-color: #F5F6FA;
    }
    .tip-content{
        padding: 40px;
        line-height: 1.7;
    }
    .tip-footer{
        position: absolute;
        bottom: 0;
        text-align: right;
    }
}

// 开始录制动画
#countdown{
    display: block;
    z-index: 999;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;

    img{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}
.upload-tip{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 9999;

    img{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

// player
#playFooter{
    height: 60px;
    width: 100%;
    z-index: 999;
    background-color: #23383f;
    padding: 10px 24px;

    #componentWrapper{
        width: 100%;
    }
}