@nothing-textColor: #5f5f5f;
@large-fontSize: 20px;


.sm-system {
    width: 100%;
    height: 100%;
    color: white;
}
.sm {
    &-school-header {
        height: 50px;
        border-bottom: 1px solid #353535;
        padding: 0px 20px;
        .school-tools {
            font-size: var(--font-size-normal);
            // margin-right: 30px;
            margin-top: 8px;
            float: right;
        }

        .school-tools .ivu-icon {
            font-size: @font-size-large;
            margin-right: 5px;
            vertical-align: text-top;
        }
    }
}
.tab-box {
    display: inline-block;
    width: 30%;
    min-width: 303px;
    .pane{
        font-weight: bold;
        margin-right: 50px;
        color: #777777;
        line-height: 50px;
        padding: 5px 0;
        cursor: pointer;
        vertical-align: middle;
        &.active{
            color: #e2e2e2;
            border-bottom: 1px #777777 solid;
        }
    }
}
.base-info-item{
    width: 766px;
    margin: 0px auto;
    padding: 15px 50px;
    display: flex;
    .setting-label{
        color: #cdcdcd;
        width: 150px;
        font-weight: 600;
        display: inline-block;
    }
    .base-value-wrap{
        flex: 1;
    }
}
.base-info-wrap{
    padding-top: 4%;
    display: flex;
    flex-direction: column;
}
.badge-wrap{
    position: relative;
    width: 100px;
    &:hover{
        .upd-mask{
            opacity: 1;
        }
    }
    .upd-mask{
        position: absolute;
        left: 0px;
        top: 0px;
        bottom: 0px;
        width: 100px;
        border-radius: 4px;
        display: flex;
        background: rgba(68, 68, 68, 0.8);
        justify-content: center;
        align-items: center;
        opacity: 0;
        .upd-badge{
            cursor: pointer;
            text-align: center;
            font-size: 20px;
        }
    }
}

.sm-system {
    &-body {
        height:~"calc(100% - 50px)";
        width: 100%;
        user-select: none !important;
    }
    .col-title {
        
        height: 40px;
        line-height:40px;
        width: 100%;
        padding: 0 10px 0 0px;
        font-size: var(--font-size-normal);
        color: var(--label-text-color);
        border-bottom: 1px solid var(--border-color);

        .ivu-icon {
            color: var(--primary-text-color);
            cursor: pointer;
            margin-right: 10px;
        }
    }
}

.editable {
    display:inline-block;
    &:hover {
        .edit-btn {
            display: inline-block;
        }
    }

    .edit-btn {
        display: none;
        font-size: var(--font-size-normal);
        margin-left: 10px;
        margin-bottom: 5px;
    }

    .ivu-icon{
        cursor:pointer;
        color:white;
    }
}
.time-zone-label{
    width:300px;
}
.time-zone-label:hover + .edit-time-btn{
    display:inline-block;
}
.school-badge{
    vertical-align: middle;
    width: 100px;
    border-radius: 5px;
}
.campus-modal {
    text-align: center;
    color: #DDDDDD;
    .campus-name-item {
        margin-top: 10px;
        position: relative;

        &:hover .campus-btn-edit {
            display: inline-block;
        }

        &:hover {
            color: white;
            font-weight: 500;
        }

        .campus-name {
            font-size: 16px;
            cursor: pointer;
        }

        .campus-btn-edit {
            margin-left: 15px;
            display: none;
            cursor: pointer;
            position: absolute;
            right: 15px;
        }
    }
}
.semester-name-label {
    display: inline-block;
    vertical-align: super;
}
.period-wrap {
    height: 100%;
    padding-left: 15px;
}

.period-wrap {

    .period-list {
        width: 100%;
        overflow: auto;

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

        &::-webkit-scrollbar-thumb { /*滚动条里面小方块*/
            background: rgb(124,124,124);
        }

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

        .campus-label {
            color: aqua;
            border: 1px solid aqua;
            width: fit-content;
            padding: 0px 5px;
            border-radius: 4px;
            font-size: 10px;
            float: right;
            margin-right:5px;
            margin-top: 5px;
        }
    }

    .period-item {
        position: relative;
        padding: 10px 10px 10px 0px;
        border-bottom: 1px solid var(--border-color);
        cursor: pointer;

        &-name {
            font-size: @large-fontSize;
            color: var(--primary-text-color);
            font-weight: bold;
            margin: 2px 0px;
            width:100%;
            .period-btn-edit {
                font-size: var(--font-size-normal);
                margin-left: 10px;
                margin-bottom: 5px;
                display: none;
            }
        }

        &-num {
            padding-left: 5px;
            color: var(--label-text-color);
            font-size: var(--font-size-normal);

            span {
                display: inline-block;
                width: 3px;
                height: 10px;
                margin-right: 5px;
                background: var(--label-text-color);
            }
        }
    }
}

.setting-scroll{
    height: 100%;
    .block-title {
        margin-bottom: 20px;
        margin-left: 10px;
        color: #aeaeae;
        position: relative;
        &::before{
            content: '';
            display: block;
            position: absolute;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #aeaeae;
            left: -12px;
            top: 7px;
        }
    }
    .bf-color1{
        &::before{
            background: #F16C6A;
        }
    }
    .bf-color2{
        &::before{
            background: #68CDF1;
        }
    }
    .bf-color3{
        &::before{
            background: #7C4DFF;
        }
    }
    .bf-color4{
        &::before{
            background: #00796B;
        }
    }
    .bf-color5{
        &::before{
            background: #D32F2F;
        }
    }
    .bf-color6{
        &::before{
            background: #0288D1;
        }
    }
    .setting-content {
        padding: 12px 16px 16px 16px;
        min-height: 150px;
        border-radius: 5px;
        margin-right: 12px;
        margin: 0px 20px 20px 0px;
        box-shadow: 0 0px 8px 1px #1e1f21;
        overflow: hidden;
        display: inline-block;
        background: #2b2a2f;
        border: 1px solid #393939;
        &:hover{
            background: #333237;
        }
        &:hover .block-action-box{
            display: inline-block;
        }
    }
}
.semster-item{
    border-bottom: 1px solid #393939;
    padding: 5px 10px 5px 5px;

    &:last-child{
        border: none;
    }

    &:hover{
        background: #404042;
        .hover-show-icon{
            display: inline-block;;
        }
    }
}
.action-btx-box{
    float: right;
    height: 38px;
    line-height: 38px;
}
.action-btn-icon{
    color:white;
    margin-left:8px;
    font-size:16px;
    cursor: pointer;
    &:hover{
        color:aqua;
    }
}
.hover-show-icon{
    display: none;
}
.grade-content{
    width: ~"calc(100% - 20px)";
    height: 280px;
}
@media screen and (max-width: 1600px) {
    .grade-content{
        width: 100%;
    }
}
.subject-content{
    width: 100%;
    height: 280px;
}

.tag-item {
    display: inline-block;
    background: #5d5d5d;
    color: #9b9b9b;
    padding: 0px 5px 0px 10px;
    font-size: 16px;
    border-radius: 3px;
    margin-right: 10px;
    margin-bottom:10px;
    position: relative;
    overflow: hidden;
    &-icon {
        display: inline-block;
        width: 10px;
        height: 10px;
        background: #404040;
        border-radius: 50%;
        margin-right: 2px;
    }
}
.attr-box-item {
    color: white;
    margin-bottom: 10px;
    display: flex;


    .add-type-iocn {
        cursor: pointer;
        font-size: 16px;
        margin-top: 8px;
    }

    p {
        min-width: 80px;
        line-height: 32px;
    }
}
.block-action-box{
    float: right;
    display: none;
}

.time-content{
    width: 100%;
    height: 800px;
}
.analysis-content{
    width: 100%;
}
.setting-right-side{
    width: 400px;
    padding-top: 15px;
}
.time-setting-wrap{
    height: 100%;
    padding-left: 15px;
}
.time-setting-body{
    height: ~"calc(100% - 40px)";
}
.label-box{
    width: 150px;
    height: 30px;
    border-radius: 4px;
    background: #808080;
    overflow: hidden;
}

.subject-label-conmon{
    font-size: 16px;
    display: block;
    width: fit-content;
    position: absolute;
    left: -12px;
    top: -3px;
    border-left: 13px solid transparent;
    border-right: 13px solid transparent;
    transform: rotate(-45deg);
}
.profession-label{
    border-bottom: 13px solid #ff9900;
}
.subject-label{
    border-bottom: 13px solid #1cc0f3;
}
.general-label{
    border-bottom: 13px solid #19be6b;
}
.subject-item{
    padding-left: 25px;
    &:hover .subject-action-iocn{
        // display: inline-block;
        opacity: 1;
    }
}

.add-subject-form{
    color: white;
}
.grade-item{
    border-bottom: 1px solid #323232;
    padding:0px 10px;
    &:hover .grade-action-icon{
        display: inline-block;
    }
    &:hover{
        background: #404042;
        border-color: transparent;
    }
}
.grade-order{
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #a5a5a5;
    text-align: center;
    font-size: 12px;
    line-height: 20px;
    margin-right: 20px;
    
}
.semester-content{
    width: 100%;
    margin-top: 8px !important;
}
.term-item-time-line {
    position: relative;
    width: 100%;
    height: ~"calc(100% - 50px)";
    color: var(--label-text-color);
    ul {
        list-style: none;
        width: fit-content;
        margin: auto;
        width: 100%;
        margin-top: 20px;
    }

    li {
        margin: 27px 0;
        font-size: @font-size-large;
        font-weight: bold;
        justify-content: flex-start;
        display: inline-block;
        width: 8.3%;
        &:last-child .time-line-tail {
            display: none;
        }
    }

    .time-label {
        width: fit-content;
        text-align: center;
        font-size: 12px;
        margin-top: 5px;
        margin-left: -1px;
    }
    .arrow-box{
        position: absolute;
        top: 2px;
        margin-left: 1px;
    }
    .line-box{
        display: flex;
        width: 100%;
    }
    .time-dot {
        position: relative;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        padding: 5px;
        border: 2px solid #959595;
        z-index: 2;
        display: inline-block;
    }

    .time-inner-dot {
        display: inline-block;
        width: 6px;
        height: 6px;
        background: #959595;
        border-radius: 50%;
        position: absolute;
        top: 4px;
        left: 4px;
    }
    .second-arrow{
        margin-top: -10px;
    }

    .time-line-tail {
        width: 35px;
        margin-top: 9px;
        border-top: 2px solid #606060;
        width: ~"calc(100% - 18px)";
    }
    .arrow-item{
        display: block;
        transform: rotate(180deg);
    }
}
.cur-semester-name{
    font-size: 12px;
    color: #a5a5a5;
    padding-left: 10px;
    margin-top: -20px;
}
.grade-action-icon{
    cursor:pointer;
    flex:0.1;
    display: none;
    float: right;
    margin-left: 10px;
    margin-top: 8px;
}
.subject-action-iocn{
    color: white;
    margin-left: 2px;
    font-size: 12px;
    cursor: pointer;
    opacity: 0;
    z-index: 999;
    position: relative;
}
.profession-content{
    width: 100%;
    
}
.semester-start-warning{
    color: #ed4014;
    margin-left: 15px;
}
.year-start-tag{
    font-size: 12px;
    color: #1cc0f3;
    border: 1px solid #1cc0f3;
    padding: 1px 2px;
    border-radius: 2px;
    margin-left: 15px;
    display: inline-block;
    transform: scale(0.8);
}