[BS5] add gridjs lib

This commit is contained in:
FreddleSpl0it 2022-04-13 12:32:48 +02:00
parent 45dd0611d9
commit f6a51f6b6f
No known key found for this signature in database
GPG Key ID: 6315227FF33D2425
2 changed files with 293 additions and 0 deletions

View File

@ -0,0 +1,291 @@
.gridjs-head button, .gridjs-footer button {
cursor: pointer;
background-color: transparent;
background-image: none;
padding: 0;
margin: 0;
border: none;
outline: none; }
.gridjs-temp {
position: relative; }
.gridjs-head {
width: 100%;
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;
width: 100%;
z-index: 5;
padding: 12px 24px;
border-top: 1px solid #e5e7eb;
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; }
.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;
border: 1px solid #d2d6dc;
background-color: #fff;
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[disabled],
.gridjs-pagination .gridjs-pages button:hover: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: bold; }
.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,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHdpZHRoPSI0MDEuOTk4cHgiIGhlaWdodD0iNDAxLjk5OHB4IiB2aWV3Qm94PSIwIDAgNDAxLjk5OCA0MDEuOTk4IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0MDEuOTk4IDQwMS45OTg7IgoJIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8Zz4KCTxnPgoJCTxwYXRoIGQ9Ik03My4wOTIsMTY0LjQ1MmgyNTUuODEzYzQuOTQ5LDAsOS4yMzMtMS44MDcsMTIuODQ4LTUuNDI0YzMuNjEzLTMuNjE2LDUuNDI3LT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asc {
background-image: url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHdpZHRoPSIyOTIuMzYycHgiIGhlaWdodD0iMjkyLjM2MXB4IiB2aWV3Qm94PSIwIDAgMjkyLjM2MiAyOTIuMzYxIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAyOTIuMzYyIDI5Mi4zNjE7IgoJIHhtbDpzcGFjZT0icHJlc2VydmUiPgo8Zz4KCTxwYXRoIGQ9Ik0yODYuOTM1LDE5Ny4yODdMMTU5LjAyOCw2OS4zODFjLTMuNjEzLTMuNjE3LTcuODk1LTUuNDI0LTEyLjg0Ny01LjQyNHMtOS4yMzMsMS44MDctMTIuODUsNS40MjRMNS40MjQsMTk3LjI4NwoJCUMxLjgwNywyMDAuOTA0LDAsMjA1LjE4NiwwLDIxMC4xMzRzMS44MDcsOS4yMzMsNS40MjQsMTIuODQ3YzMuNjIxLDMuNjE3LDcuOTAyLDUuNDI1LDEyLjg1LDUuNDI1aDI1NS44MTMKCQljNC45NDksMCw5LjIzMy0xLjgwOCwxMi44NDgtNS40MjVjMy42MTMtMy42MTMsNS40MjctNy44OTgsNS40MjctMTIuODQ3UzI5MC41NDgsMjAwLjkwNCwyODYuOTM1LDE5Ny4yODd6Ii8+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+");
background-position-y: 35%;
background-size: 10px; }
button.grid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wvZz4KPC9zdmc+");
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 {
background-color: #fff; }
td.gridjs-td {
border: 1px solid #e5e7eb;
padding: 12px 24px;
background-color: #fff;
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 {
position: relative;
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: border-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:hover {
background-color: #e5e7eb; }
th.gridjs-th-sort:focus {
background-color: #e5e7eb; }
th.gridjs-th-fixed {
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;
width: 100%;
-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:nth-last-of-type(2) {
border-radius: 8px;
border-bottom-width: 1px; }
.gridjs-search {
float: left; }
.gridjs-search-input {
width: 250px; }
.gridjs-loading-bar {
z-index: 10;
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
background-color: #fff;
opacity: 0.5; }
.gridjs-loading-bar::after {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
transform: translateX(-100%);
background-image: linear-gradient(90deg, rgba(204, 204, 204, 0) 0, rgba(204, 204, 204, 0.2) 20%, rgba(204, 204, 204, 0.5) 60%, rgba(204, 204, 204, 0));
-webkit-animation: shimmer 2s infinite;
animation: shimmer 2s infinite;
content: ''; }
@-webkit-keyframes shimmer {
100% {
transform: translateX(100%); } }
@keyframes shimmer {
100% {
transform: translateX(100%); } }
.gridjs-td .gridjs-checkbox {
display: block;
margin: auto;
cursor: pointer; }
.gridjs-resizable {
position: absolute;
top: 0;
bottom: 0;
right: 0;
width: 5px; }
.gridjs-resizable:hover {
cursor: ew-resize;
background-color: #9bc2f7; }
/*# sourceMappingURL=mermaid.css.map */

File diff suppressed because one or more lines are too long