﻿/* base-dataTable-panel */
.base-dataTable-panel .dataTables_wrapper > table.dataTable,
.base-dataTable-panel .dataTables_wrapper > div.dataTables_scroll {
    border: 1px solid #f9f9f9;
}

.base-dataTable-panel .dataTables_wrapper table.dataTable thead th {
    padding: 0;
    color: #7e7e7e;
    font-size: 15px;
    background: #eff1f6;
    height: 38px;
    border-width: 0;
    text-align: left;
}

.base-dataTable-panel .dataTables_wrapper table.dataTable tbody tr {
    height: 50px;
}

.base-dataTable-panel .dataTables_wrapper table.dataTable tbody tr.even {
    background: #f3f3f3;
}

.base-dataTable-panel .dataTables_wrapper table.dataTable tbody tr:hover {
    background: #e2e2e2;
}

.base-dataTable-panel .dataTables_wrapper table.dataTable tbody tr td {
    padding: 0;
}

.base-dataTable-panel .dataTables_wrapper .dataTables_scrollBody {
    border-width: 0;
}

/*loading动画*/
.base-dataTable-panel .dataTables_wrapper .dataTables_processing {
    height: 100%;
    background: rgba(129, 129, 129, 0.5);
    padding: 0;
    top: 0;
    margin: 0;
    left: 0;
    text-align: center;
}

.base-dataTable-panel .dataTables_wrapper .dataTables_processing .processing-info {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.base-dataTable-panel .dataTables_wrapper .dataTables_processing .processing-info img {
    width: 48px;
    height: 48px;
}

/*分页控件*/
/*dataTables_length*/
.base-dataTable-panel .dataTables_wrapper .bottom {
    margin-top: 15px;
    overflow: hidden;
}

.base-dataTable-panel .dataTables_wrapper .bottom .dataTables_length label {
    height: 28px;
    display: flex;
    color: #7e7e7e;
    font-size: 15px;
    align-items: center;
}

.base-dataTable-panel .dataTables_wrapper .bottom .dataTables_length label select {
    height: 28px;
    padding: 0 5px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    margin: 0 5px;
    outline-style: none;
}

/*dataTables_info*/
.base-dataTable-panel .dataTables_wrapper .bottom .dataTables_info {
    color: #7e7e7e;
    font-size: 15px;
    padding: 0;
    margin-left: 20px;
    line-height: 28px;
    height: 28px;
    clear: none;
}

/*change-page-panel*/
.base-dataTable-panel .dataTables_wrapper .bottom .change-page-panel {
    float: right;
    margin: 0 0 0 10px;
    display: flex;
    align-items: center;
    color: #7e7e7e;
}

.base-dataTable-panel .dataTables_wrapper .bottom .change-page-panel .change-page-input {
    width: 50px;
    margin: 0 5px;
    text-align: center;

    outline-style: none;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 14px;
    line-height: 14px;
    background: white;
    padding: 2px 0;
    -moz-appearance: textfield;
}

.base-dataTable-panel .dataTables_wrapper .bottom .change-page-panel .change-page-input::-webkit-outer-spin-button,
.base-dataTable-panel .dataTables_wrapper .bottom .change-page-panel .change-page-input::-webkit-inner-spin-button {
    /*去掉加减箭头*/
    -webkit-appearance: none;
}

/*dataTables_paginate*/
.base-dataTable-panel .dataTables_wrapper .bottom .dataTables_paginate {
    padding: 0;
}

.base-dataTable-panel .dataTables_wrapper .bottom .dataTables_paginate .paginate_button {
    border: 1px solid #cccccc;
    border-radius: 4px;
    padding: 6px 15px;
    font-size: 14px;
    line-height: 14px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-left: 6px;
    background: white;
}

.base-dataTable-panel .dataTables_wrapper .bottom .dataTables_paginate .paginate_button:hover {
    background: #eee;
    color: #333 !important;
}

.base-dataTable-panel .dataTables_wrapper .bottom .dataTables_paginate .paginate_button.disabled {
    color: #cccccc;
    background: #eee;
    cursor: not-allowed;
}

.base-dataTable-panel .dataTables_wrapper .bottom .dataTables_paginate .paginate_button.current {
    color: white !important;
    background: #3598dc;
    cursor: not-allowed;
    border-color: #3598dc;
}

/*修改select2*/
.select2-dropdown-open.select2-drop-above .select2-choice,
.select2-dropdown-open.select2-drop-above .select2-choices {
    background-image: none;
    background: #fff;
}

.select2-container .select2-choice {
    height: 30px;
    line-height: 30px;
    background-image: none;
    background: #fff;
}

.select2-container .select2-choice .select2-arrow {
    background: #fff;
    border-left-width: 0;
}

.select2-container .select2-choice .select2-arrow b {
    background-position: 0 0;
}

.select2-dropdown-open .select2-choice .select2-arrow b {
    background-position: -18px 0;
}

.select2-search input {
    height: 26px !important;
}

.select2-highlighted .select2-result-label,
.select2-highlighted .select2-result-label .select2-match {
    color: white;
}

.select2-default .select2-chosen {
    color: #999;
}
