.layui-table-tool-temp {
    padding-right: 0;
}

.layui-tree-icon {
    box-sizing: content-box;
    border-radius: 7px;
}

.layui-tree-iconClick .layui-icon.layui-icon-file {
    font-size: 14px;
}

.layui-laydate {
    font-size: var(--font-size);
}

.layui-form-radio {
    margin-top: 0;

    * {
        font-size: var(--font-size);
    }
}

//.layui-icon.layui-colorpicker-trigger-i.layui-icon-close {
//    line-height: 12px;
//    vertical-align: top;
//}

.layui-layer-tips {
    i.layui-layer-TipsB, i.layui-layer-TipsT {
        border-right-color: transparent !important;
        left: 2px;
        pointer-event: none;
    }

    i.layui-layer-TipsB {
        border-bottom-color: #333;
        top: -13px;
    }

    i.layui-layer-TipsT {
        border-top-color: #333;
        bottom: -13px;
    }
}

.layui-tree-txt {
    text-decoration: none !important;
}

.layui-table-cell, .layui-table-view .layui-table[lay-size=sm] .layui-table-cell {
    height: auto;
}

.layui-table-cell {
    p {
        margin-bottom: 0;
    }
}

.layui-table, .layui-table-view {
    margin: 0;
}

.layui-table-view .layui-table td {
    padding: 10px 0;
}

.layui-table-body .layui-none {
    background: #FFF;
}

.layui-table-body [data-index] [data-field="0"] [data-checked-order] {
    position: absolute;
    top: 0.1rem;
    left: 0.1rem;
    min-width: 1rem;
    height: 1rem;
    text-align: center;
    color: var(--color-primary);
    border: 0.05rem solid var(--color-primary);
    border-radius: 50%;
    font-size: var(--font-size-small);
    line-height: 0.9rem;
}

.layui-table-tips-c {
    padding: 0;
}

.layui-table-view {
    .layui-table-init {
        .layui-icon {
            top: var(--layui-table-loading-top, 50%);
        }
    }
}

.layui-form-switch {
    box-sizing: content-box;
}

.layui-colorpicker-main-input .layui-btn-container .layui-btn {
    margin: 0;
}

.layui-table td, .layui-table th {
    font-size: inherit;
}

.ub-lister-search {
    .layui-form-select {
        width: 7rem;
    }
}

//.layui-form-select {
//    .layui-select-title {
//        .layui-input {
//            height: 1.6rem;
//            border-radius: 0.15rem;
//            background-color: #FFF;
//        }
//    }
//
//    dl {
//        top: 1.45rem;
//        max-height: 10rem;
//
//        dd {
//            height: 1.45rem;
//            margin-bottom: 0.1rem;
//            line-height: 1.45rem;
//        }
//    }
//}

.layui-table {
    color: var(--color-text);
}

.layui-table th {
    font-weight: bold;
}

.layui-table-header th .layui-table-cell {
    position: relative;
}

.layui-table-header th .layui-table-cell:after {
    content: '';
    display: block;
    position: absolute;
    width: 1px;
    bottom: 0;
    right: 5px;
    top: 0;
    background-image: linear-gradient(to bottom, #FFF, #EEE, #FFF);
}

.layui-table-tool .layui-inline[lay-event] {
    border: none;
    color: #666;
    background-color: #f7f7f7;
    box-shadow: 0 0 1px #ccc;
    border-radius: 0.2rem;

    &:hover {
        border: none;
    }
}

.layui-table-tool {
    .layui-btn-container {
        .btn {
            margin-right: 0.2rem;
        }
    }
}

.layui-layer-dialog.layui-layer-msg {
    background: var(--color-content-bg);
    color: var(--color-text);
    border-radius: 0.5rem;
    box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
    pointer-events: all;
    border: none;
    /*animation: fadeIn 0.5s ease forwards;*/
}

.layui-layer-dialog.layui-layer-msg .layui-layer-content {
    padding: 0.5rem 0.5rem 0.5rem 2rem;
}

.layui-layer-dialog.layui-layer-msg .layui-layer-content .layui-layer-face {
    top: 0.5rem;
    left: 0.5rem;
    font-size: 1rem;
}

.layui-layer-dialog.layui-layer-msg .layui-layer-content .layui-icon-success {
    color: #16b777;
}
