@main-bgColor: rgb(40,40,40); //主背景颜色
@borderColor: #424242; //边框颜色
@primary-textColor: #fff; //文本主颜色
@second-textColor: #a5a5a5; //文本副级颜色
@third-textColor: #dddddd;//其他颜色
@fourth-textColor: #6BDFC3;
@primary-fontSize: 14px;
@second-fontSize: 16px;
@large-fontSize: 20px;
.container-box{
    height:100%;
}
.position-full-height(@top:80px) {
    position: absolute;
    top: @top;
    bottom: 0px;
}
.border(right) {
    border-right: 1px solid @borderColor;
}
.border(top) {
    border-top: 1px solid @borderColor;
}
.border(left) {
    border-left: 1px solid @borderColor;
}
.border(bottom) {
    border-bottom: 1px solid @borderColor;
}
.container-left {
    width: 59%;
    .border(right);
    .position-full-height;

    &-title {
        -moz-width: ~"calc(100%-30px)";
        -webkit-width: ~"calc(100%-30px)";
        width: ~"calc(100%-30px)";
        margin-left: 30px;
        height: 50px;
        .border(bottom);
        line-height: 50px;
        padding-right: 35px;
    }
}
.container-right {
    width: 41%;
    .position-full-height;
    left: 59%;

    &-title {
        -moz-width: ~"calc(100%-30px)";
        -webkit-width: ~"calc(100%-30px)";
        width: ~"calc(100%-30px)";
        margin-left: 30px;
        height: 50px;
        line-height: 50px;
        .border(bottom);
    }
}
.first-title {
    font-size: @primary-fontSize + 1;
    color: @second-textColor;
    font-weight:900;
}
.label-style {
    font-size: @primary-fontSize - 1;
    color: @second-textColor;
    float: right;
    margin-left:50px;
    cursor:pointer;
}
.label-style .label-icon{
    margin-right:15px;
}

.school-plan-wrap {
    position: absolute;
    top: 50px;
    bottom: 0px;
    width: 100%;
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: center;
}
.school-plan-wrap p{
    position:absolute;
    top:0px;
    right:0px;
    padding:8px 35px 6px 20px;
    .border(bottom);
    color:white;
    cursor:pointer;
}
.school-plan-wrap .label-icon {
    margin-right: 15px;

}
.container-left-wrap{
    width:100%;
}
.container-left-box {
    width: 38%;
    .border(right);
    .position-full-height(50px);

    .list-order {
        padding: 5px 0px 5px 40px;
        color: white;
        .label-icon{
            margin-right:10px;
        }
    }
}
.container-right-box {
    width: 62%;
    position: absolute;
    left: 38%;
    top: 50px;
    height: ~"calc(100% - 50px)";
    -moz-height: ~"calc(100% - 50px)";
    -webkit-height: ~"calc(100% - 50px)";
}
.class-search-input{
    width:~"calc(100% - 40px)";
    -moz-width:~"calc(100% - 40px)";
    -webkit-width:~"calc(100% - 40px)";
    height:30px;
    margin-left:40px;
    .border(bottom);
}
.class-list {
    width: 100%;
    .border(top);
    padding-left: 40px;
    overflow: auto;
    position:absolute;
    top:68px;
    bottom:0px;
    &::-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);
    }
}
.active-item-bg {
    background-image: -webkit-linear-gradient(90deg, rgba(30,30,30,0) 0%, rgba(110,110,110,.2) 50%, rgba(110,110,110,.4) 100%);
    background-image: -o-linear-gradient(90deg, rgba(30,30,30,0) 0%, rgba(110,110,110,.2) 50%, rgba(110,110,110,.4) 100%);
    background-image: -moz-linear-gradient(90deg, rgba(30,30,30,0) 0%, rgba(110,110,110,.2) 50%, rgba(110,110,110,.4) 100%);
    background-image: linear-gradient(90deg, rgba(30,30,30,0) 0%, rgba(110,110,110,.2) 50%, rgba(110,110,110,.4) 100%);
}
.class-list-item {
    padding: 8px 0px;
    position: relative;
    .border(bottom);
    cursor:pointer;
    &:hover {
        .active-item-bg;
        .period-btn-edit {
            display: inline-block;
        }

        .class-list-item-tool {
            display: unset;
        }
    }
}
.class-name {
    font-size: @large-fontSize;
    color: white;
    font-weight: 900;
}
.second-text-color {
    color: @second-textColor;
}
.third-text-color{
    color:@third-textColor;
}
.fourth-text-color {
    color: #6BDFC3 !important;
    /*text-shadow:1px 1px 1px white;*/
}
.class-hiteach-code {
    margin-top:5px;
}
.class-type {
    margin-top:6px;
    margin-bottom:4px;
    color:#6BDFC3;
    margin-left:-4px;
}
.primary-text-color{
    color:@primary-textColor;
}
.class-list-item-tool {
    position: absolute;
    right: 30px;
    top: 30px;
    font-size: 24px;
    color: @primary-textColor;
    display: none;

    .ivu-icon {
        margin-left: 5px;
        cursor:pointer;
    }
}
.class-attr-wrap{
    width:47%;
    position:absolute;
    top:50px;
    bottom:0px;
    left:0px;
    .border(right);
    padding-left:30px;
    &-label{
        display:block;
        color:@second-textColor;
        font-size:@second-fontSize - 4px;
        margin-top:30px;
        margin-bottom:10px;
    }
}
.hiteach-code-wrap {
    width: 53%;
    position: absolute;
    top: 50px;
    bottom: 0px;
    left: 47%;

    &-header {
        width: ~"calc(100% - 30px)";
        -moz-width: ~"calc(100% - 30px)";
        -webkit-width: ~"calc(100% - 30px)";
        margin-left: 20px;

        p {
            padding: 10px 0px;
            color: @second-textColor;
            .border(bottom);
        }
    }

    &-list {
        .border(top);
        position: absolute;
        left: 0px;
        top: 70px;
        bottom: 0px;
        width: 100%;
        /*display:flex;
        justify-content:center;
        align-items:center;*/
        h1 {
            margin-top: -120px;
        }

        ul {
            list-style: none;
            padding-left: 20px;
            margin-top: 15px;

            li {
                span {
                    text-overflow: ellipsis;
                    overflow: hidden;
                    white-space: nowrap;
                    display: inline-block;
                    width: -moz-calc(100% - 50px);
                    width: -webkit-calc(100% - 50px);
                    width: calc(100% - 50px);
                }

                &:hover {
                    background: @borderColor;
                    color: white;
                }

                height: 40px;
                line-height: 40px;
                color: @second-textColor;
                font-size: @second-fontSize - 1;
                padding-left: 5px;
                cursor: pointer;
                .border(bottom);

                .ivu-icon {
                    margin-top: -4px;
                }

                .ivu-tag {
                    float: right;
                    margin-top: 8px;
                }
            }
        }
    }
}
#school-plan {
    background: none;
    /*max-width: 100%;*/
    /*border: 1px solid white;*/
}
.school-plan-zoom {
    position: absolute;
    right: 150px;
    top: 10px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    .ivu-icon {
        margin-right: 10px;
        cursor: pointer;
    }

    span {
        color: white;
        font-size: 16px;
        margin-right: 15px;
        display: inline-block;
        letter-spacing: 3px;
        cursor: pointer;
    }
}
.school-plan-box {
    /*position: absolute;
    top: 50px;
    left: 30px;*/
    width: -moz-calc(100% - 60px);
    width: -webkit-calc(100% - 60px);
    width: calc(100% - 60px);
    max-height: 90%;
    overflow: scroll;
    text-align:center;
    &::-webkit-scrollbar { /*滚动条整体样式*/
        width: 5px; /*高宽分别对应横竖滚动条的尺寸*/
        height: 8px;
    }

    &::-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);
    }
}
