/*使用colspan属性按比例设定宽度，取代固定width*/
table:not(.table-condensed) {
    table-layout: fixed;
}

/*表格基础样式*/
table:not(.table-condensed),
table:not(.table-condensed) td {
    border: 1px solid #ececec !important;
}

table:not(.table-condensed) tr {
    height: 48px;
}

table:not(.table-condensed) th,
table:not(.table-condensed) td {
    text-align: center;
    vertical-align: middle !important;
}

table:not(.table-condensed) th {
    border-bottom: none !important;
    background-color: #f7faff;
}

table:not(.table-condensed) tbody tr:not(.empty-table-tr):hover {
    background-color: #f7faff;
    transition: all 0.2s linear;
}

table:not(.table-condensed) tbody tr:not(.empty-table-tr):hover td:not(:last-child) {
    border-right: 1px solid #f7faff !important;
    transition: all 0.2s linear;
}

/*右对齐*/
table:not(.table-condensed) td.td-left {
    text-align: left;
}

/*超出部分省略*/
table:not(.table-condensed) td .ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

/*空数据样式*/
table:not(.table-condensed) td.empty-table-td {
    border: 0;
}

table:not(.table-condensed) td.empty-table-td svg {
    width: 18rem;
    height: 18rem;
}

table:not(.table-condensed) td.empty-table-td div {
    text-align: center;
    font-size: 18px;
    color: #ccc;
    margin-top: -30px;
    margin-bottom: 50px;
}

/*分页器样式*/
.paginate {
    margin-top: 60px;
    text-align: center;
}

.paginate * {
    color: #808080;
}

/*分页器按钮样式*/
.a-page {
    display: inline-block;
    text-align: center;
    font-size: 12px;
    height: 25px;
    border: 1px solid #e3e3e3;
    padding: 3px 4px;
    text-decoration: none;
    cursor: pointer;
}

.a-page > span {
    margin: 0 5px;
}

.a-page:hover,
.a-page.active {
    text-decoration: none;
    background: #29c0ff;
}

.a-page:hover > span,
.a-page.active > span {
    color: #fff;
}

.a-page:not(:first-child) {
    margin-left: 10px;
}

/*按钮禁用样式*/
.a-page[disabled] {
    cursor: not-allowed;
}

.a-page[disabled] span {
    color: #e3e3e3;
}

.a-page[disabled]:hover {
    background: #fff;
}

/*翻页组件样式*/
.skipper {
    display: inline-block;
}

.skipper.skipper-input {
    margin: 0 25px;
}

.skipper.skipper-input input {
    display: inline-block;
    width: 40px;
    height: 25px;
    margin: 0 10px;
    border: 1px solid #ccc;
    border-radius: 2px;
}