&[dragchildren] {

    >thead,
    >tbody,
    & {
        >tr {

            >th,
            >td {
                &:not(.y-ing) {
                    box-shadow: 1px 0 0 0 #00000033, -1px 0 0 0 #00000033;
                }
            }

        }
    }

}

thead,
tbody,
th,
td,
tr,
table,
& {
    box-sizing: border-box;
}

* {
    vertical-align: top;
}


tr {
    position: relative;
    white-space: nowrap;
    width: 100%;
}

th,
td {
    white-space: normal;
    height: 100%;
    padding: 2px 10px;

    >* {
        position: relative;
    }
}

.y-ing,
.x-ing {
    >mask {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        pointer-events: none;
        background-color: rgba(0, 60, 69, .06);
    }
}

[draggable="false"]>mask {
    display: none;
}

thead {

    th,
    td {
        z-index: 1;
    }

    .y-ing,
    .x-ing {
        >mask {
            background-color: rgba(0, 60, 69, .3);
        }
    }
}

& {
    // text-align: center;
    outline: 1px solid #0006;
    max-width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    white-space: nowrap;
    height: auto;
    border-radius: 3px;
}

[row-index] {
    user-select: none;
    width: 56px;
    padding-right: 10px;
    text-align: right;
}

>tbody {
    [row-index] {
        background: #fff;
    }
}

[fixed] {
    z-index: 2;
    border-left: 1px solid transparent;
    border-right: 1px solid transparent;
}

.fade {
    color: #bbb;
}

>tfoot {
    width: 100%;
    display: block;
    position: relative;

    >tr {
        width: 100%;
        display: block;

        >td {
            display: block;
            width: 100%;
        }
    }

    pagination {
        width: 100%;
    }
}

>thead {
    user-select: none;
    line-height: 36px;
    min-width: 100%;

    >tr {

        >td,
        >th {
            position: relative;
            color: #fff;
            background-color: #395268;
            clear: both;

            &:before {
                content: '';
                display: block;
                position: absolute;
                left: 0;
                height: 0;
                bottom: 0;
                right: 0;
                background: #426;
                transition: height .3s ease-in;
                transition-delay: .7s;
            }

            &[swapped]:before {
                height: 100%;
            }
        }
    }


}

>tbody {
    line-height: 32px;
    height: 100%;
    min-height: 30px;
    user-select: auto;

    >tr {

        >td,
        >th {
            position: relative;
            overflow: hidden;
        }

        &:nth-of-type(odd) {

            >td,
            >th {
                background-color: #fff;
            }
        }

        &:nth-of-type(even) {

            >td,
            th {
                background-color: #f8fbfd;
            }
        }


    }

    >tr[thead] {
        position: sticky;
        top: 0;
        z-index: 1;

        >td {
            z-index: 1;
            background: #999;
            color: #fff;
            clear: both;
        }
    }

}


[inline-block] {

    >th,
    >td {
        white-space: nowrap;
        overflow: hidden;
        display: inline-block;
    }
}

[thead] {
    user-select: none;
}

.button {
    margin-right: 10px;
    vertical-align: middle;
    display: inline-block;
}

[type=money],
[type=number],
[type=price] {
    float: right;
}

tbody,
[tbody] {

    [type=jscode] {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        text-overflow: ellipsis;
        line-height: 16px;
        font-size: 14px;
        white-space: pre;
        font-family: Consolas, "Courier New", monospace;
        color: #666;
        overflow: hidden;
    }
}

tfoot,
[tfoot] {
    pointer-events: none;
    z-index: 1;
}

scrollbar[y] {
    height: 100%;
    width: 12px;
}

scrollbar[x] {
    height: 30px;

    >.thumb {
        border-radius: 0 0 3px 3px;
        background-color: #29c3;
    }

    width: 100%;
}
b[fullmatch]{
    color:#824;
}