@primaryColor: #1CC0F3;
@borderColor: #424242;
@second-textColor: #a5a5a5; //文本副级颜色

.school-container {
    display: flex;
    height: 100%;

    .school-container-header {
        display: flex;
        justify-content: space-between;
        padding-right: 20px;
        font-weight: bold;
        color: #fff;
    }

    &-left {
        width: 15%;
        height: 100%;
        border-right: 1px solid @borderColor;

        .school-list-wrap {
            height: 100%;
            overflow: hidden;

            .list-wrap {
                width: 100%;
                display: flex;
                flex-direction: column;
                padding-left: 10px;
                padding-bottom: 50px;
                overflow: hidden;

                .school-item {
                    position: relative;
                    width: 100%;
                    padding: 15px;
                    border-bottom: 1px solid @borderColor;
                    display: flex;
                    flex-direction: column;

                    &:last-child {
                        border-bottom: none;
                    }

                    &-name {
                        font-size: 18px;
                        font-weight: bold;
                        color: #fff;
                    }

                    &-status {
                        font-size: 12px;
                        background: @primaryColor;
                        padding: 2px 8px;
                        margin-left: 10px;
                        border-radius: 5px;
                    }

                    &-code {
                        margin: 5px 0;
                        color: @second-textColor;
                        letter-spacing: .6px;
                    }

                    &-nums {
                        color: @primaryColor;
                        margin-top: 5px;

                        .ivu-icon {
                            font-size: 18px;
                            margin-right: 5px;
                        }
                    }

                    &-role {
                        position: absolute;
                        right: 20px;
                        top: 20px;
                        color: @second-textColor;
                    }

                    &-btn {
                        position: absolute;
                        right: 20px;
                        bottom: 20px;
                        width: 100px;
                        height: 30px;
                        line-height: 30px;
                        border-radius: 5px;
                        color: #fff;
                        background: @primaryColor;
                        text-align: center;
                        visibility: hidden;
                        cursor: pointer;

                        .ivu-icon {
                            font-size: 16px;
                            margin-right: 2px;
                        }
                    }

                    &:hover {
                        .item-active;

                        .school-item-btn {
                            visibility: visible;
                        }
                    }
                }
            }
        }
    }

    &-right {
        // width: 60%;
        flex: 1;
        height: 100%;

        .school-container-header {
            width: 100%;
            height: 50px;
            border-bottom: 1px solid @borderColor;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 20px;
        }

        .table-wrap {
            // padding: 0 20px;
        }
    }



    &-header {
        width: 100%;
        height: 50px;
        line-height: 50px;
        padding-left: 20px;
        color: @second-textColor;
        border-bottom: 1px solid @borderColor;
    }

    .item-active {
        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%);
    }
}
