* {
    box-sizing: border-box;
}

/* 滚动条背景 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 0 1px 0 rgba(0, 0, 0, 0.15);
    padding: 0;
    border: none;
    overflow-x: visible;
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.25);
    padding: 0;
    border: none;
    width: 20px;
}
/*分页固定*/
.fixed-pagination {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 1000;
}
body {
    font-size: 14px
}

[text-sm] {
    font-size: 12px;
}

[text-success] {
    color: #67C23A;
}

[text-warning] {
    color: #E6A23C;
}

[text-danger] {
    color: #F56C6C;
}

[text-info] {
    color: #909399;
}

.el-pagination[center] {
    text-align: center;
    padding: 15px 0;
}

.edui-default .edui-colorpicker-nocolor {
    height: 20px !important;
}

/* 文字省略 */
.ellip-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
}
.ellip-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.ellip-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}
.ellip-4 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

@media (max-width: 1440px) {
    .el-dialog__body {
        overflow-y: auto;
        max-height: 460px !important;
    }
    .el-dialog__body .el-table--scrollable-y {
        overflow-y: auto;
        max-height: 330px !important;
    }
    .plTableBox .el-table {
        overflow-y: auto !important;
    }
}

@font-face {
    font-family: 'Kingsoft_Cloud_Font';
    src: url('../font/Kingsoft_Cloud_Font.ttf')
}

@font-face {
    font-family: 'Alimama ShuHeiTi-Bold';
    src: url('../font/AlimamaShuHeiTi-Bold.otf')
}