@mixin text-ellipsis{
      text-overflow: ellipsis;
      word-break: break-all;
      white-space:nowrap;
      overflow: hidden;
}

.department-scope{
    &-setting {
        position: relative;
    }
    &-card {
        &-item {
            position: relative;
            float: left;
            width:160px;
            height:100px;
            padding: 10px 5px;
            margin: 8px 8px 0 0;
            background:#ffffff;
            border:1px solid #e4ebf0;
            border-radius:2px;
            text-align: center;
            line-height:20px;
            font-size:12px;
            overflow: hidden;
            &:hover {
                box-shadow:0 1px 15px 0 rgba(0,0,0,0.10);
                transition: all .3s;
                .department-scope-card-item-edit {
                    top: 0;
                    transition: all .3s;
                }
            }
            &.add {
                background:rgba(22,135,217,0.05);
                border:1px dashed rgba(22,135,217,0.50);
                border-radius:2px;
                font-size: 100px;
                color: #1587d9;
                line-height: 100px;
                &:hover {
                    background:rgba(22,135,217,0.15);
                    border:1px dashed rgba(22,135,217,0.50);
                    cursor:pointer;
                }
            }
            &-name {
                font-size:16px;
                color:#0a1319;
                line-height:30px;
                text-align:center;
                margin-top: 5px;
                @include text-ellipsis;
            }
            &-dep-scope {
                color:#66757f;
            }
            &-view-scope {
                margin-top: 5px;
            }
            &-specified-dep {
                color:#66757f;
                @include text-ellipsis;
            }
            &-edit {
                position: absolute;
                top: 120px;
                left: 0;
                width: 170px;
                height: 120px;
                background:rgba(255,255,255,0.90);
            }
            .scope-card-btn {
                position: absolute;
                top: 48px;
                display: inline-block;
                width: 24px;
                height: 24px;
                border-radius: 24px;
                background: #1587d9;
                line-height: 24px;
                text-align: center;
                color:#fff;
                font-size: 14px;
                cursor: pointer;
                &.edit-btn {
                    left: 50px;

                }
                &.delete-btn {
                    right: 50px;
                }
            }
        }
    }
}
.department-scope-setting-pop {
    font-size: 12px;
    &-item {
        padding-top: 15px;
        box-sizing: initial;
    }
    // common-pop 0.2.24 修复了 自动撑高的问题
    // &-cont {
    //     &.set-scope-cont {
    //         height: 100px;
    //         overflow-y: scroll;
    //     }
    // }
    &-title {
        font-size:12px;
        color:#0a1319;
        line-height:20px;
    }
    &-input {
        position: relative;
        background:#ffffff;
        border:1px solid #e4ebf0;
        border-radius:6px;
        min-height:20px;
        line-height: 20px;
        padding: 5px 10px;
        margin-top: 5px;
        cursor: pointer;
        &-placeholder {
            font-size:12px;
            color:#c3cbd1;
        }
        &.focus {
            border:1px solid #1687d9;
            box-shadow:0 0 2px 1px #96d0fa;
        }
        &.disabled {
            color:#c3cbd1;
            cursor: default;
            .more-icon {
                display: none;
            }
        }
        .more-icon {
            position: absolute;
            top:5px;
            right: 10px;
            transform:rotate(180deg);
            margin-top: 3px;
            color: #8f9ca6;
        }
    }
    &-tag-list {
        max-height: 140px;
        overflow: auto;
    }
    &-radio-list {
        &-item {
            padding: 5px 0;
            height: 20px;
            color:#0a1319;
            font-size: 0px;
            cursor: pointer;
            .raido-text,.radio-icon {
                display: inline-block;
                line-height: 20px;
                vertical-align: top;
            }
            .radio-icon {
                font-size: 20px;
                color: #96d1fa;
                margin-right: 5px;
                &.active {
                    color: #1587d9;
                }
            }
            .raido-text {
                font-size: 12px;
            }
        }
    }
    &-sepecified {
        padding-top: 10px;
        padding-left: 25px;
        padding-bottom: 10px;
        &-title {
            color:#3e4e59;
        }
    }
    &-footer {
        padding: 10px 20px;
        height: 34px;
        margin: 0 -20px 0;
        text-align: right;
        border-top: 1px solid #e4ebf0;
        &-btn {
            margin-left: 10px;
            .base-bg-ripple {
                margin: 0;
            }
            &-inner {
                &.disabled {
                    opacity:0.6;
                    box-shadow: none;
                    &:hover {
                        box-shadow: none;
                    }
                }
            }
        }
    }
}

.ux-department-select {
    background:#ffffff;
    border: 1px solid #fff;
    box-shadow:0 3px 10px 0 rgba(0,0,0,0.30);
    border-radius:5px;
    max-height: 370px;
    &-footer {
        height: 51px;
        text-align: right;
        border-top:1px solid #e4ebf0;
        &-btn {
            margin-right: 10px;
            margin-bottom: 5px;
        }
        &-extend {
            float: left;
            line-height: 26px;
            margin: 10px 0 10px 20px;
            font-size:14px;
            color:#020f19;
            cursor: pointer;
            &-icon {
                font-size: 18px;
                color: #96d1fa;
                margin-right: 6px;
                vertical-align: middle;
                &.active {
                    color: #1587d9;
                }
            }
        }
    }
}
.select-department-mount-box-loading {
    background: #ffffff;
    border: 1px solid #fff;
    box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    height: 110px;
    .loading__wrap {
        top: 40%;
    }
}