main.scss 7.36 KB
html, body{
    width: 100%;
    height: 100%;
}

.tooltip-inner{
    background-color: transparent;
    color: #1FB6FF;
    padding: 3px 6px;
}
.tooltip.top{
    background: url('../img/toptip.png') no-repeat;
}
.tooltip.top .tooltip-arrow{
    // border-top-color: #1FB6FF;
}
.tooltip.top .tooltip-arrow{
    border-top-color: transparent;
}

.record-title i{
    margin-right: 4px;
}
.programing{
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    background-color: #FFF;
}
.text-success{
    white-space: pre;
}

// 头部菜单
.record-title{
    width: 100%;
    height: 48px;
    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;

}

#recordertab{
    padding-top: 12px;
}
#recordertab li:first-child{
    border-right: 2px solid #FFF;
}


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

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

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

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

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

    }

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

    .gxb-record{
        position: relative;
        height: 100%;
    }
}
#recordzone{
    padding-bottom: 260px;
}

.console-wrap{
    width: 100%;
    background-color: #FFF;
    height: 200px;
    position: absolute;
    bottom: 60px;
    padding-left: 204px;
    .CodeMirror-gutter{
        margin-left: 170px;
    }

    #toolbar{
        width: 100%;
        height: 36px;
        overflow: hidden;
        background-color: #FAFBFC;
        padding: 0 36px;
        .result-tabs{
            height: 30px;
            border-radius: 30px;
            // background-color: #62DCF5;
            overflow: hidden;
            margin: 3px 10px;
            color: #fff;
        }
        .text{
            color: #1FB6FF;
        }
        .result-tabs>li.active>a, .result-tabs>li.active>a:hover, .result-tabs>li>a:hover, .result-tabs>li.active>a:focus{
            color: #FFF;
            // background-color: #fff;
            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;
            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;
        }
    }
}

.btn{
    padding: 3px 18px;
}
.compile-btn{
    // 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;
    background: #FFF;
    border: 2px solid #3ad5f5;
    color: #1FB6FF;
    border-radius: 24px;
}

#full-screen, #back-screen{
}

#resultoutput{
    height: 164px;
    overflow-y: scroll;
}

.fb{
    float: right;
    margin: 0 16px;
    cursor: pointer;
    img{
        width: 32px;
    }
}


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

    .record-ctrl{
        height: 60px;
        width: 100%;
        z-index: 999;
        padding: 0 136px;
        background-color: rgba(0,0,0,0.6);

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

            i{
                font-size: 48px;
                color: #fff;
            }
        }
    }
}
.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: 30%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 999;
    }

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

.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;
    }
}
.re-reslut{
    top: 40% !important;
    transform: translate(-50%, -50%) !important;
}

// 开始录制动画
#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%;
    }
}

.re-tips, .pause-shodow{
    .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;
    }
}

// ti
.re-tips{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
}

.contrl-shodow{
    width: 100%;
    height: 60px;
    position: absolute;
    bottom: 0;
    background-color: rgba(0,0,0,0.4);
    z-index: 999;
}

.play-code{
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    margin-left: 48px;
}
.play-code img{
    width: 100%;
}

.confirm-tip{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
}

.before, .after{
    position: absolute;
    left: 208px;
    width: 50%;
    height: 36px;
    top: 12px;
}

.recording-time{
    float: left;
    z-index: 9;
    color: #FFF;
    font-size: 18px;
}
.recording-time:before{
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: red;
    z-index: 99;
    margin: 2px 8px;
    border-radius: 50%;
}
.before .recording-time{
    height: 36px;
    line-height: 36px;
}