313 lines
8.2 KiB
Plaintext
313 lines
8.2 KiB
Plaintext
.gridjs-footer button,
|
|
.gridjs-head button {
|
|
cursor: pointer;
|
|
background-color: transparent;
|
|
background-image: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
border: none;
|
|
outline: none;
|
|
}
|
|
table.gridjs-shadowTable * {
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
border: 0 !important;
|
|
outline: 0 !important;
|
|
}
|
|
.gridjs-head {
|
|
margin-bottom: 5px;
|
|
padding: 5px 1px;
|
|
}
|
|
.gridjs-head:after {
|
|
content: '';
|
|
display: block;
|
|
clear: both;
|
|
}
|
|
.gridjs-head:empty {
|
|
padding: 0;
|
|
border: none;
|
|
}
|
|
.gridjs-container {
|
|
overflow: hidden;
|
|
display: inline-block;
|
|
padding: 2px;
|
|
color: #000;
|
|
position: relative;
|
|
z-index: 0;
|
|
}
|
|
.gridjs-footer {
|
|
display: block;
|
|
position: relative;
|
|
z-index: 5;
|
|
padding: 12px 24px;
|
|
background-color: #fff;
|
|
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.26);
|
|
border-radius: 0 0 8px 8px;
|
|
border-bottom-width: 1px;
|
|
border-color: #e5e7eb;
|
|
border-top: 1px solid #e5e7eb;
|
|
}
|
|
.gridjs-footer:empty {
|
|
padding: 0;
|
|
border: none;
|
|
}
|
|
input.gridjs-input {
|
|
outline: none;
|
|
background-color: #fff;
|
|
border: 1px solid #d2d6dc;
|
|
border-radius: 5px;
|
|
padding: 10px 13px;
|
|
font-size: 14px;
|
|
line-height: 1.45;
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
appearance: none;
|
|
}
|
|
input.gridjs-input:focus {
|
|
box-shadow: 0 0 0 3px rgba(149, 189, 243, 0.5);
|
|
border-color: #9bc2f7;
|
|
}
|
|
.gridjs-pagination {
|
|
color: #3d4044;
|
|
}
|
|
.gridjs-pagination:after {
|
|
content: '';
|
|
display: block;
|
|
clear: both;
|
|
}
|
|
.gridjs-pagination .gridjs-summary {
|
|
float: left;
|
|
margin-top: 5px;
|
|
}
|
|
.gridjs-pagination .gridjs-pages {
|
|
float: right;
|
|
}
|
|
.gridjs-pagination .gridjs-pages button {
|
|
padding: 5px 14px;
|
|
background-color: #fff;
|
|
border: 1px solid #d2d6dc;
|
|
border-right: none;
|
|
outline: none;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
.gridjs-pagination .gridjs-pages button:focus {
|
|
box-shadow: 0 0 0 2px rgba(149, 189, 243, 0.5);
|
|
}
|
|
.gridjs-pagination .gridjs-pages button:hover {
|
|
background-color: #f7f7f7;
|
|
color: #3c4257;
|
|
outline: none;
|
|
}
|
|
.gridjs-pagination .gridjs-pages button:disabled,
|
|
.gridjs-pagination .gridjs-pages button:hover:disabled,
|
|
.gridjs-pagination .gridjs-pages button[disabled] {
|
|
cursor: default;
|
|
background-color: #fff;
|
|
color: #6b7280;
|
|
}
|
|
.gridjs-pagination .gridjs-pages button.gridjs-spread {
|
|
cursor: default;
|
|
box-shadow: none;
|
|
background-color: #fff;
|
|
}
|
|
.gridjs-pagination .gridjs-pages button.gridjs-currentPage {
|
|
background-color: #f7f7f7;
|
|
font-weight: 700;
|
|
}
|
|
.gridjs-pagination .gridjs-pages button:last-child {
|
|
border-bottom-right-radius: 6px;
|
|
border-top-right-radius: 6px;
|
|
border-right: 1px solid #d2d6dc;
|
|
}
|
|
.gridjs-pagination .gridjs-pages button:first-child {
|
|
border-bottom-left-radius: 6px;
|
|
border-top-left-radius: 6px;
|
|
}
|
|
button.gridjs-sort {
|
|
float: right;
|
|
height: 24px;
|
|
width: 13px;
|
|
background-color: transparent;
|
|
background-repeat: no-repeat;
|
|
background-position-x: center;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
margin: 0;
|
|
border: none;
|
|
outline: none;
|
|
background-size: contain;
|
|
}
|
|
button.gridjs-sort-neutral {
|
|
opacity: 0.3;
|
|
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MDEuOTk4IiBoZWlnaHQ9IjQwMS45OTgiPjxwYXRoIGQ9Ik03My4wOTIgMTY0LjQ1MmgyNTUuODEzYzQuOTQ5IDAgOS4yMzMtMS44MDcgMTIuODQ4LTUuNDI0IDMuNjEzLTMuNjE2IDUuNDI3LTcuODk4IDUuNDI3LTEyLjg0N3MtMS44MTMtOS4yMjktNS40MjctMTIuODVMMjEzLjg0NiA1LjQyNEMyMTAuMjMyIDEuODEyIDIwNS45NTEgMCAyMDAuOTk5IDBzLTkuMjMzIDEuODEyLTEyLjg1IDUuNDI0TDYwLjI0MiAxMzMuMzMxYy0zLjYxNyAzLjYxNy01LjQyNCA3LjkwMS01LjQyNCAxMi44NSAwIDQuOTQ4IDEuODA3IDkuMjMxIDUuNDI0IDEyLjg0NyAzLjYyMSAzLjYxNyA3LjkwMiA1LjQyNCAxMi44NSA1LjQyNHpNMzI4LjkwNSAyMzcuNTQ5SDczLjA5MmMtNC45NTIgMC05LjIzMyAxLjgwOC0xMi44NSA1LjQyMS0zLjYxNyAzLjYxNy01LjQyNCA3Ljg5OC01LjQyNCAxMi44NDdzMS44MDcgOS4yMzMgNS40MjQgMTIuODQ4TDE4OC4xNDkgMzk2LjU3YzMuNjIxIDMuNjE3IDcuOTAyIDUuNDI4IDEyLjg1IDUuNDI4czkuMjMzLTEuODExIDEyLjg0Ny01LjQyOGwxMjcuOTA3LTEyNy45MDZjMy42MTMtMy42MTQgNS40MjctNy44OTggNS40MjctMTIuODQ4IDAtNC45NDgtMS44MTMtOS4yMjktNS40MjctMTIuODQ3LTMuNjE0LTMuNjE2LTcuODk5LTUuNDItMTIuODQ4LTUuNDJ6Ii8+PC9zdmc+');
|
|
background-position-y: center;
|
|
}
|
|
button.gridjs-sort-asc {
|
|
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyOTIuMzYyIiBoZWlnaHQ9IjI5Mi4zNjEiPjxwYXRoIGQ9Ik0yODYuOTM1IDE5Ny4yODdMMTU5LjAyOCA2OS4zODFjLTMuNjEzLTMuNjE3LTcuODk1LTUuNDI0LTEyLjg0Ny01LjQyNHMtOS4yMzMgMS44MDctMTIuODUgNS40MjRMNS40MjQgMTk3LjI4N0MxLjgwNyAyMDAuOTA0IDAgMjA1LjE4NiAwIDIxMC4xMzRzMS44MDcgOS4yMzMgNS40MjQgMTIuODQ3YzMuNjIxIDMuNjE3IDcuOTAyIDUuNDI1IDEyLjg1IDUuNDI1aDI1NS44MTNjNC45NDkgMCA5LjIzMy0xLjgwOCAxMi44NDgtNS40MjUgMy42MTMtMy42MTMgNS40MjctNy44OTggNS40MjctMTIuODQ3cy0xLjgxNC05LjIzLTUuNDI3LTEyLjg0N3oiLz48L3N2Zz4=');
|
|
background-position-y: 35%;
|
|
background-size: 10px;
|
|
}
|
|
button.gridjs-sort-desc {
|
|
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyOTIuMzYyIiBoZWlnaHQ9IjI5Mi4zNjIiPjxwYXRoIGQ9Ik0yODYuOTM1IDY5LjM3N2MtMy42MTQtMy42MTctNy44OTgtNS40MjQtMTIuODQ4LTUuNDI0SDE4LjI3NGMtNC45NTIgMC05LjIzMyAxLjgwNy0xMi44NSA1LjQyNEMxLjgwNyA3Mi45OTggMCA3Ny4yNzkgMCA4Mi4yMjhjMCA0Ljk0OCAxLjgwNyA5LjIyOSA1LjQyNCAxMi44NDdsMTI3LjkwNyAxMjcuOTA3YzMuNjIxIDMuNjE3IDcuOTAyIDUuNDI4IDEyLjg1IDUuNDI4czkuMjMzLTEuODExIDEyLjg0Ny01LjQyOEwyODYuOTM1IDk1LjA3NGMzLjYxMy0zLjYxNyA1LjQyNy03Ljg5OCA1LjQyNy0xMi44NDcgMC00Ljk0OC0xLjgxNC05LjIyOS01LjQyNy0xMi44NXoiLz48L3N2Zz4=');
|
|
background-position-y: 65%;
|
|
background-size: 10px;
|
|
}
|
|
button.gridjs-sort:focus {
|
|
outline: none;
|
|
}
|
|
table.gridjs-table {
|
|
max-width: 100%;
|
|
border-collapse: collapse;
|
|
text-align: left;
|
|
display: table;
|
|
margin: 0;
|
|
padding: 0;
|
|
overflow: auto;
|
|
table-layout: fixed;
|
|
}
|
|
.gridjs-tbody,
|
|
td.gridjs-td {
|
|
background-color: #fff;
|
|
}
|
|
td.gridjs-td {
|
|
border: 1px solid #e5e7eb;
|
|
padding: 12px 24px;
|
|
box-sizing: content-box;
|
|
}
|
|
td.gridjs-td:first-child {
|
|
border-left: none;
|
|
}
|
|
td.gridjs-td:last-child {
|
|
border-right: none;
|
|
}
|
|
td.gridjs-message {
|
|
text-align: center;
|
|
}
|
|
th.gridjs-th {
|
|
color: #6b7280;
|
|
background-color: #f9fafb;
|
|
border: 1px solid #e5e7eb;
|
|
border-top: none;
|
|
padding: 14px 24px;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
box-sizing: content-box;
|
|
white-space: nowrap;
|
|
outline: none;
|
|
vertical-align: middle;
|
|
}
|
|
th.gridjs-th .gridjs-th-content {
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
width: 100%;
|
|
float: left;
|
|
}
|
|
th.gridjs-th-sort {
|
|
cursor: pointer;
|
|
}
|
|
th.gridjs-th-sort .gridjs-th-content {
|
|
width: calc(100% - 15px);
|
|
}
|
|
th.gridjs-th-sort:focus,
|
|
th.gridjs-th-sort:hover {
|
|
background-color: #e5e7eb;
|
|
}
|
|
th.gridjs-th-fixed {
|
|
position: -webkit-sticky;
|
|
position: sticky;
|
|
box-shadow: 0 1px 0 0 #e5e7eb;
|
|
}
|
|
@supports (-moz-appearance: none) {
|
|
th.gridjs-th-fixed {
|
|
box-shadow: 0 0 0 1px #e5e7eb;
|
|
}
|
|
}
|
|
th.gridjs-th:first-child {
|
|
border-left: none;
|
|
}
|
|
th.gridjs-th:last-child {
|
|
border-right: none;
|
|
}
|
|
.gridjs-tr {
|
|
border: none;
|
|
}
|
|
.gridjs-tr-selected td {
|
|
background-color: #ebf5ff;
|
|
}
|
|
.gridjs-tr:last-child td {
|
|
border-bottom: 0;
|
|
}
|
|
.gridjs *,
|
|
.gridjs :after,
|
|
.gridjs :before {
|
|
box-sizing: border-box;
|
|
}
|
|
.gridjs-wrapper {
|
|
position: relative;
|
|
z-index: 1;
|
|
overflow: auto;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.26);
|
|
border-radius: 8px 8px 0 0;
|
|
display: block;
|
|
border-top-width: 1px;
|
|
border-color: #e5e7eb;
|
|
}
|
|
.gridjs-wrapper:last-of-type {
|
|
border-radius: 8px;
|
|
border-bottom-width: 1px;
|
|
}
|
|
.gridjs-search {
|
|
float: left;
|
|
}
|
|
.gridjs-search-input {
|
|
width: 250px;
|
|
}
|
|
.gridjs-loading-bar {
|
|
z-index: 10;
|
|
background-color: #fff;
|
|
opacity: 0.5;
|
|
}
|
|
.gridjs-loading-bar,
|
|
.gridjs-loading-bar:after {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
}
|
|
.gridjs-loading-bar:after {
|
|
transform: translateX(-100%);
|
|
background-image: linear-gradient(
|
|
90deg,
|
|
hsla(0, 0%, 80%, 0),
|
|
hsla(0, 0%, 80%, 0.2) 20%,
|
|
hsla(0, 0%, 80%, 0.5) 60%,
|
|
hsla(0, 0%, 80%, 0)
|
|
);
|
|
-webkit-animation: shimmer 2s infinite;
|
|
animation: shimmer 2s infinite;
|
|
content: '';
|
|
}
|
|
@-webkit-keyframes shimmer {
|
|
to {
|
|
transform: translateX(100%);
|
|
}
|
|
}
|
|
@keyframes shimmer {
|
|
to {
|
|
transform: translateX(100%);
|
|
}
|
|
}
|
|
.gridjs-td .gridjs-checkbox {
|
|
display: block;
|
|
margin: auto;
|
|
cursor: pointer;
|
|
}
|