@first-bgColor: #141414;
@second-bgColor: #1b1b1b;
@third-bgColor: #222222;
@borderColor: #424242;
@primary-textColor: #fff; //文本主颜色
@second-textColor: #a5a5a5; //文本副级颜色
@primary-fontSize: 14px;
@second-fontSize: 16px;

.common-header {
    height: 45px;
    width: 100%;
    border-bottom: 1px solid @borderColor;
    color: @second-textColor;
    line-height: 45px;
    padding-left: 10px;
}

.course-detail-content {
    width: 100%;
    height: ~"calc(100% - 49px)";
    display: flex;
    flex-direction: row;

    .course-base-info {
        height: 100%;
        width: 100%;
        border-right: 1px solid @borderColor;
        display: inline-block;

        .course-base-info-header {
            .common-header
        }

        .course-base-info-content {
            width: 100%;
            height: ~"calc(100% - 45px)";
            overflow-y: auto;
            padding: 30px 20px 0px 10px;

            &::-webkit-scrollbar { /*滚动条整体样式*/
                width: 5px; /*高宽分别对应横竖滚动条的尺寸*/
                height: 1px;
            }

            &::-webkit-scrollbar-thumb { /*滚动条里面小方块*/
                -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
                background: rgb(124,124,124);
            }

            &::-webkit-scrollbar-track { /*滚动条里面轨道*/
                -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
                background: rgba(68,68,68,.5);
            }
        }
    }

    .course-teacher-info {
        padding-left: 15px;
        height: 100%;
        width: 33%;
        border-right: 1px solid @borderColor;
        display: inline-block;

        .course-teacher-info-header {
            .common-header
        }

        .course-teacher-info-content {
            width: 100%;
            height: ~"calc(100% - 45px)";
            overflow-y: auto;

            &::-webkit-scrollbar { /*滚动条整体样式*/
                width: 5px; /*高宽分别对应横竖滚动条的尺寸*/
                height: 1px;
            }

            &::-webkit-scrollbar-thumb { /*滚动条里面小方块*/
                -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
                background: rgb(124,124,124);
            }

            &::-webkit-scrollbar-track { /*滚动条里面轨道*/
                -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
                background: rgba(68,68,68,.5);
            }

            .course-teacher-item {
                display: block;
                padding: 10px 0px 10px 10px;
                color: @second-textColor;
                width: 100%;
                border-bottom: 1px solid @borderColor;
                font-size: 16px;
            }

            .course-teacher-search-box {
                width: 100%;
                height: 40px;
                border-bottom: 1px solid @borderColor;
                padding-left: 10px;
                line-height: 40px;
                color: white;

                .search-course-teacher {
                    float: right;
                    width: 150px;
                    margin-right: 28px;
                    line-height: 40px;
                }
            }
        }
    }

    .course-time-info {
        height: 100%;
        width: 34%;
        display: inline-block;
        padding-left: 15px;

        .course-time-info-header {
            .common-header
        }

        .course-time-info-content {
            width: 100%;
            height: ~"calc(100% - 45px)";
            overflow-y: auto;

            &::-webkit-scrollbar { /*滚动条整体样式*/
                width: 5px; /*高宽分别对应横竖滚动条的尺寸*/
                height: 1px;
            }

            &::-webkit-scrollbar-thumb { /*滚动条里面小方块*/
                -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
                background: rgb(124,124,124);
            }

            &::-webkit-scrollbar-track { /*滚动条里面轨道*/
                -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
                background: rgba(68,68,68,.5);
            }

            .course-time-item {
                width: 100%;
                padding: 15px 0px 15px 15px;
                border-bottom: 1px solid @borderColor;
                display: flex;
                flex-direction: row;
                cursor: pointer;

                .item-order {
                    font-size: 60px;
                    font-weight: 600;
                    width: 75px;
                    padding: 0 30px 0 10px;
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    justify-content: center;

                    .edit-time {
                        display: none;
                    }
                }

                &:hover .item-order .edit-time {
                    display: inline-block;
                }

                &:hover .item-order .item-order-index {
                    display: none;
                }

                .course-time-detail {
                    width: ~"calc(100% - 75px)";

                    .course-frequently {
                        /*position: relative;*/
                        width: 100%;
                        overflow: auto;

                        .course-date {
                            float: right;
                            margin-right: 50px;
                            width: 127px;
                            /*margin-left: 15px;*/
                        }

                        .course-week {
                            width: 180px;
                        }
                    }

                    .course-time {
                        margin-top: 10px;
                        position: relative;
                        text-align: center;
                        width: 100%;
                        height: 40px;

                        .course-time-start {
                            position: absolute;
                            left: 0;
                        }

                        .course-time-end {
                            position: absolute;
                            right: 50px;
                        }
                    }

                    .course-classroom {
                        margin-top: 10px;
                    }

                    .course-time-action {
                        width: ~"calc(100% - 50px)";
                        display: flex;
                        flex-direction: row;
                        justify-content: space-between;
                        margin-top: 10px;

                        .smarll-confirm-btn {
                            width: 45%;
                            text-align: center;
                            background-color: #4f4f4f;
                            color: #A1A1A1;
                            font-weight: 600;
                            letter-spacing: 2px;
                            cursor: pointer;
                            user-select: none;
                            border-radius: 5px;
                            padding: 2px 0px;
                        }

                        .smarll-confirm-btn-active {
                            background-color: #6DE2C4;
                            color: white;
                        }
                    }
                }
            }
        }
    }
}

.confirm-btn {
    width: 100%;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #4f4f4f;
    margin: auto;
    color: #A1A1A1;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    user-select: none;
}

.confirm-btn-active {
    background-color: #6DE2C4;
    color: white;
}

.search-btn-icon {
    float: right;
    margin-right: 30px;
    margin-top: 10px;
    cursor:pointer;
}