UNPKG

19.1 kBCSSView Raw
1/**
2 * @author Dustin Utecht
3 * https://github.com/wenzhixin/bootstrap-table/
4 */
5.bootstrap-table .fixed-table-toolbar::after {
6 content: "";
7 display: block;
8 clear: both;
9}
10
11.bootstrap-table .fixed-table-toolbar .bs-bars,
12.bootstrap-table .fixed-table-toolbar .search,
13.bootstrap-table .fixed-table-toolbar .columns {
14 position: relative;
15 margin-top: 10px;
16 margin-bottom: 10px;
17}
18
19.bootstrap-table .fixed-table-toolbar .columns .btn-group > .btn-group {
20 display: inline-block;
21 margin-left: -1px !important;
22}
23
24.bootstrap-table .fixed-table-toolbar .columns .btn-group > .btn-group > .btn {
25 border-radius: 0;
26}
27
28.bootstrap-table .fixed-table-toolbar .columns .btn-group > .btn-group:first-child > .btn {
29 border-top-left-radius: 4px;
30 border-bottom-left-radius: 4px;
31}
32
33.bootstrap-table .fixed-table-toolbar .columns .btn-group > .btn-group:last-child > .btn {
34 border-top-right-radius: 4px;
35 border-bottom-right-radius: 4px;
36}
37
38.bootstrap-table .fixed-table-toolbar .columns .dropdown-menu {
39 text-align: left;
40 max-height: 300px;
41 overflow: auto;
42 -ms-overflow-style: scrollbar;
43 z-index: 1001;
44}
45
46.bootstrap-table .fixed-table-toolbar .columns label {
47 display: block;
48 padding: 3px 20px;
49 clear: both;
50 font-weight: normal;
51 line-height: 1.428571429;
52}
53
54.bootstrap-table .fixed-table-toolbar .columns-left {
55 margin-right: 5px;
56}
57
58.bootstrap-table .fixed-table-toolbar .columns-right {
59 margin-left: 5px;
60}
61
62.bootstrap-table .fixed-table-toolbar .pull-right .dropdown-menu {
63 right: 0;
64 left: auto;
65}
66
67.bootstrap-table .fixed-table-container {
68 position: relative;
69 clear: both;
70}
71
72.bootstrap-table .fixed-table-container .table {
73 width: 100%;
74 margin-bottom: 0 !important;
75}
76
77.bootstrap-table .fixed-table-container .table th,
78.bootstrap-table .fixed-table-container .table td {
79 vertical-align: middle;
80 box-sizing: border-box;
81}
82
83.bootstrap-table .fixed-table-container .table thead th {
84 vertical-align: bottom;
85 padding: 0;
86 margin: 0;
87}
88
89.bootstrap-table .fixed-table-container .table thead th:focus {
90 outline: 0 solid transparent;
91}
92
93.bootstrap-table .fixed-table-container .table thead th.detail {
94 width: 30px;
95}
96
97.bootstrap-table .fixed-table-container .table thead th .th-inner {
98 padding: 0.75rem;
99 vertical-align: bottom;
100 overflow: hidden;
101 text-overflow: ellipsis;
102 white-space: nowrap;
103}
104
105.bootstrap-table .fixed-table-container .table thead th .sortable {
106 cursor: pointer;
107 background-position: right;
108 background-repeat: no-repeat;
109 padding-right: 30px !important;
110}
111
112.bootstrap-table .fixed-table-container .table thead th .both {
113 background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAkElEQVQoz7X QMQ5AQBCF4dWQSJxC5wwax1Cq1e7BAdxD5SL+Tq/QCM1oNiJidwox0355mXnG/DrEtIQ6azioNZQxI0ykPhTQIwhCR+BmBYtlK7kLJYwWCcJA9M4qdrZrd8pPjZWPtOqdRQy320YSV17OatFC4euts6z39GYMKRPCTKY9UnPQ6P+GtMRfGtPnBCiqhAeJPmkqAAAAAElFTkSuQmCC");
114}
115
116.bootstrap-table .fixed-table-container .table thead th .asc {
117 background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZ0lEQVQ4y2NgGLKgquEuFxBPAGI2ahhWCsS/gDibUoO0gPgxEP8H4ttArEyuQYxAPBdqEAxPBImTY5gjEL9DM+wTENuQahAvEO9DMwiGdwAxOymGJQLxTyD+jgWDxCMZRsEoGAVoAADeemwtPcZI2wAAAABJRU5ErkJggg==");
118}
119
120.bootstrap-table .fixed-table-container .table thead th .desc {
121 background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZUlEQVQ4y2NgGAWjYBSggaqGu5FA/BOIv2PBIPFEUgxjB+IdQPwfC94HxLykus4GiD+hGfQOiB3J8SojEE9EM2wuSJzcsFMG4ttQgx4DsRalkZENxL+AuJQaMcsGxBOAmGvopk8AVz1sLZgg0bsAAAAASUVORK5CYII= ");
122}
123
124.bootstrap-table .fixed-table-container .table tbody tr.selected td {
125 background-color: #fafafa;
126}
127
128.bootstrap-table .fixed-table-container .table tbody tr.no-records-found td {
129 text-align: center;
130}
131
132.bootstrap-table .fixed-table-container .table tbody tr .card-view {
133 display: flex;
134}
135
136.bootstrap-table .fixed-table-container .table tbody tr .card-view .card-view-title {
137 font-weight: bold;
138 display: inline-block;
139 min-width: 30%;
140 text-align: left !important;
141}
142
143.bootstrap-table .fixed-table-container .table tbody tr .card-view .card-view-value {
144 width: 100%;
145}
146
147.bootstrap-table .fixed-table-container .table .bs-checkbox {
148 text-align: center;
149}
150
151.bootstrap-table .fixed-table-container .table .bs-checkbox label {
152 margin-bottom: 0;
153}
154
155.bootstrap-table .fixed-table-container .table .bs-checkbox label input[type="radio"],
156.bootstrap-table .fixed-table-container .table .bs-checkbox label input[type="checkbox"] {
157 margin: 0 auto !important;
158}
159
160.bootstrap-table .fixed-table-container .table.table-sm .th-inner {
161 padding: 0.3rem;
162}
163
164.bootstrap-table .fixed-table-container.fixed-height:not(.has-footer) {
165 border-bottom: 1px solid #dbdbdb;
166}
167
168.bootstrap-table .fixed-table-container.fixed-height.has-card-view {
169 border-top: 1px solid #dbdbdb;
170 border-bottom: 1px solid #dbdbdb;
171}
172
173.bootstrap-table .fixed-table-container.fixed-height .fixed-table-border {
174 border-left: 1px solid #dbdbdb;
175 border-right: 1px solid #dbdbdb;
176}
177
178.bootstrap-table .fixed-table-container.fixed-height .table thead th {
179 border-bottom: 1px solid #dbdbdb;
180}
181
182.bootstrap-table .fixed-table-container.fixed-height .table-dark thead th {
183 border-bottom: 1px solid #32383e;
184}
185
186.bootstrap-table .fixed-table-container .fixed-table-header {
187 overflow: hidden;
188}
189
190.bootstrap-table .fixed-table-container .fixed-table-body {
191 overflow-x: auto;
192 overflow-y: auto;
193 height: 100%;
194}
195
196.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading {
197 align-items: center;
198 background: #fff;
199 display: flex;
200 justify-content: center;
201 position: absolute;
202 bottom: 0;
203 width: 100%;
204 z-index: 1000;
205 transition: visibility 0s, opacity 0.15s ease-in-out;
206 opacity: 0;
207 visibility: hidden;
208}
209
210.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.open {
211 visibility: visible;
212 opacity: 1;
213}
214
215.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap {
216 align-items: baseline;
217 display: flex;
218 justify-content: center;
219}
220
221.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .loading-text {
222 margin-right: 6px;
223}
224
225.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap {
226 align-items: center;
227 display: flex;
228 justify-content: center;
229}
230
231.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot,
232.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::after,
233.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::before {
234 content: "";
235 animation-duration: 1.5s;
236 animation-iteration-count: infinite;
237 animation-name: LOADING;
238 background: #363636;
239 border-radius: 50%;
240 display: block;
241 height: 5px;
242 margin: 0 4px;
243 opacity: 0;
244 width: 5px;
245}
246
247.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot {
248 animation-delay: 0.3s;
249}
250
251.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::after {
252 animation-delay: 0.6s;
253}
254
255.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark {
256 background: #363636;
257}
258
259.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-dot,
260.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::after,
261.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::before {
262 background: #fff;
263}
264
265.bootstrap-table .fixed-table-container .fixed-table-footer {
266 overflow: hidden;
267}
268
269.bootstrap-table .fixed-table-pagination::after {
270 content: "";
271 display: block;
272 clear: both;
273}
274
275.bootstrap-table .fixed-table-pagination > .pagination-detail,
276.bootstrap-table .fixed-table-pagination > .pagination {
277 margin-top: 10px;
278 margin-bottom: 10px;
279}
280
281.bootstrap-table .fixed-table-pagination > .pagination-detail .pagination-info {
282 line-height: 34px;
283 margin-right: 5px;
284}
285
286.bootstrap-table .fixed-table-pagination > .pagination-detail .page-list {
287 display: inline-block;
288}
289
290.bootstrap-table .fixed-table-pagination > .pagination-detail .page-list .btn-group {
291 position: relative;
292 display: inline-block;
293 vertical-align: middle;
294}
295
296.bootstrap-table .fixed-table-pagination > .pagination-detail .page-list .btn-group .dropdown-menu {
297 margin-bottom: 0;
298}
299
300.bootstrap-table .fixed-table-pagination > .pagination ul.pagination {
301 margin: 0;
302}
303
304.bootstrap-table .fixed-table-pagination > .pagination ul.pagination li.page-intermediate a {
305 color: #c8c8c8;
306}
307
308.bootstrap-table .fixed-table-pagination > .pagination ul.pagination li.page-intermediate a::before {
309 content: '\2B05';
310}
311
312.bootstrap-table .fixed-table-pagination > .pagination ul.pagination li.page-intermediate a::after {
313 content: '\27A1';
314}
315
316.bootstrap-table .fixed-table-pagination > .pagination ul.pagination li.disabled a {
317 pointer-events: none;
318 cursor: default;
319}
320
321.bootstrap-table.fullscreen {
322 position: fixed;
323 top: 0;
324 left: 0;
325 z-index: 1050;
326 width: 100% !important;
327 background: #fff;
328 height: calc(100vh);
329 overflow-y: scroll;
330}
331
332.bootstrap-table.bootstrap4 .pagination-lg .page-link, .bootstrap-table.bootstrap5 .pagination-lg .page-link {
333 padding: .5rem 1rem;
334}
335
336/* calculate scrollbar width */
337div.fixed-table-scroll-inner {
338 width: 100%;
339 height: 200px;
340}
341
342div.fixed-table-scroll-outer {
343 top: 0;
344 left: 0;
345 visibility: hidden;
346 width: 200px;
347 height: 150px;
348 overflow: hidden;
349}
350
351@keyframes LOADING {
352 0% {
353 opacity: 0;
354 }
355 50% {
356 opacity: 1;
357 }
358 to {
359 opacity: 0;
360 }
361}
362
363@font-face {
364 font-family: 'bootstrap-table';
365 src: url("fonts/bootstrap-table.eot?gmdfsp");
366 src: url("fonts/bootstrap-table.eot") format("embedded-opentype"), url("fonts/bootstrap-table.ttf") format("truetype"), url("fonts/bootstrap-table.woff") format("woff"), url("fonts/bootstrap-table.svg") format("svg");
367 font-weight: normal;
368 font-style: normal;
369 font-display: block;
370}
371
372[class^="icon-"],
373[class*=" icon-"] {
374 /* use !important to prevent issues with browser extensions that change fonts */
375 font-family: 'bootstrap-table', sans-serif !important;
376 speak: none;
377 font-style: normal;
378 font-weight: normal;
379 font-variant: normal;
380 text-transform: none;
381 line-height: 1;
382 /* Better Font Rendering =========== */
383 -webkit-font-smoothing: antialiased;
384 -moz-osx-font-smoothing: grayscale;
385}
386
387.icon-arrow-down-circle:before {
388 content: "\e907";
389}
390
391.icon-arrow-up-circle:before {
392 content: "\e908";
393}
394
395.icon-chevron-left:before {
396 content: "\e900";
397}
398
399.icon-chevron-right:before {
400 content: "\e901";
401}
402
403.icon-clock:before {
404 content: "\e90c";
405}
406
407.icon-copy:before {
408 content: "\e909";
409}
410
411.icon-download:before {
412 content: "\e90d";
413}
414
415.icon-list:before {
416 content: "\e902";
417}
418
419.icon-maximize:before {
420 content: "\1f5ce";
421}
422
423.icon-minus:before {
424 content: "\e90f";
425}
426
427.icon-move:before {
428 content: "\e903";
429}
430
431.icon-plus:before {
432 content: "\e90e";
433}
434
435.icon-printer:before {
436 content: "\e90b";
437}
438
439.icon-refresh-cw:before {
440 content: "\e904";
441}
442
443.icon-search:before {
444 content: "\e90a";
445}
446
447.icon-toggle-right:before {
448 content: "\e905";
449}
450
451.icon-trash-2:before {
452 content: "\e906";
453}
454
455.icon-sort-amount-asc:before {
456 content: "\ea4c";
457}
458
459.bootstrap-table * {
460 box-sizing: border-box;
461}
462
463.bootstrap-table input.form-control,
464.bootstrap-table select.form-control,
465.bootstrap-table .btn {
466 border-radius: 4px;
467 background-color: #fff;
468 border: 1px solid #ccc;
469 padding: 9px 12px;
470}
471
472.bootstrap-table select.form-control {
473 height: 35px;
474}
475
476.bootstrap-table .btn {
477 outline: none;
478 cursor: pointer;
479}
480
481.bootstrap-table .btn.active {
482 background-color: #ebebeb;
483}
484
485.bootstrap-table .btn:focus, .bootstrap-table .btn:hover {
486 background-color: whitesmoke;
487}
488
489.bootstrap-table .caret {
490 display: inline-block;
491 width: 0;
492 height: 0;
493 margin-left: 2px;
494 vertical-align: middle;
495 border-top: 4px dashed;
496 border-top: 4px solid;
497 border-right: 4px solid transparent;
498 border-left: 4px solid transparent;
499}
500
501.bootstrap-table .detail-icon {
502 text-decoration: none;
503 color: #3679e4;
504}
505
506.bootstrap-table .detail-icon:hover {
507 color: #154a9f;
508}
509
510.bootstrap-table .fixed-table-toolbar .columns,
511.bootstrap-table .fixed-table-toolbar .columns .btn-group {
512 display: inline-block;
513}
514
515.bootstrap-table .fixed-table-toolbar .columns > .btn:not(:first-child):not(:last-child),
516.bootstrap-table .fixed-table-toolbar .columns > .btn:not(:first-child):not(:last-child) > .btn,
517.bootstrap-table .fixed-table-toolbar .columns > .btn-group:not(:first-child):not(:last-child),
518.bootstrap-table .fixed-table-toolbar .columns > .btn-group:not(:first-child):not(:last-child) > .btn {
519 border-radius: 0;
520}
521
522.bootstrap-table .fixed-table-toolbar .columns > .btn:not(:last-child):not(.dropdown-toggle),
523.bootstrap-table .fixed-table-toolbar .columns > .btn:not(:last-child) > .btn,
524.bootstrap-table .fixed-table-toolbar .columns > .btn-group:not(:last-child):not(.dropdown-toggle),
525.bootstrap-table .fixed-table-toolbar .columns > .btn-group:not(:last-child) > .btn {
526 border-top-right-radius: 0;
527 border-bottom-right-radius: 0;
528 border-right: none;
529}
530
531.bootstrap-table .fixed-table-toolbar .columns > .btn:not(:first-child):not(.dropdown-toggle),
532.bootstrap-table .fixed-table-toolbar .columns > .btn:not(:first-child) > .btn,
533.bootstrap-table .fixed-table-toolbar .columns > .btn-group:not(:first-child):not(.dropdown-toggle),
534.bootstrap-table .fixed-table-toolbar .columns > .btn-group:not(:first-child) > .btn {
535 border-top-left-radius: 0;
536 border-bottom-left-radius: 0;
537}
538
539.bootstrap-table .fixed-table-toolbar .columns label {
540 padding: 5px 12px;
541}
542
543.bootstrap-table .fixed-table-toolbar .columns input[type="checkbox"] {
544 vertical-align: middle;
545}
546
547.bootstrap-table .fixed-table-toolbar .columns .dropdown-divider {
548 border-bottom: 1px solid #dbdbdb;
549}
550
551.bootstrap-table .fixed-table-toolbar .search .input-group .search-input {
552 border-top-right-radius: 0;
553 border-bottom-right-radius: 0;
554 border-right: none;
555}
556
557.bootstrap-table .fixed-table-toolbar .search .input-group button[name="search"],
558.bootstrap-table .fixed-table-toolbar .search .input-group button[name="clearSearch"] {
559 border-top-left-radius: 0;
560 border-bottom-left-radius: 0;
561}
562
563.bootstrap-table .fixed-table-toolbar .search .input-group button[name="search"]:not(:last-child),
564.bootstrap-table .fixed-table-toolbar .search .input-group button[name="clearSearch"]:not(:last-child) {
565 border-top-right-radius: 0;
566 border-bottom-right-radius: 0;
567 border-right: none;
568}
569
570.bootstrap-table .open.dropdown-menu {
571 display: block;
572}
573
574.bootstrap-table .dropdown-menu-up .dropdown-menu {
575 top: auto;
576 bottom: 100%;
577}
578
579.bootstrap-table .dropdown-menu {
580 display: none;
581 background-color: #fff;
582 position: absolute;
583 right: 0;
584 min-width: 120px;
585 margin-top: 2px;
586 border: 1px solid #ccc;
587 border-radius: 4px;
588 -webkit-box-shadow: 0 3px 12px rgba(0, 0, 0, 0.175);
589 box-shadow: 0 3px 12px rgba(0, 0, 0, 0.175);
590}
591
592.bootstrap-table .dropdown-menu .dropdown-item {
593 color: #363636;
594 text-decoration: none;
595 display: block;
596 padding: 5px 12px;
597 white-space: nowrap;
598}
599
600.bootstrap-table .dropdown-menu .dropdown-item:hover {
601 background-color: whitesmoke;
602}
603
604.bootstrap-table .dropdown-menu .dropdown-item.active {
605 background-color: #3679e4;
606 color: #fff;
607}
608
609.bootstrap-table .dropdown-menu .dropdown-item.active:hover {
610 background-color: #1b5fcc;
611}
612
613.bootstrap-table .columns-left .dropdown-menu {
614 left: 0;
615 right: auto;
616}
617
618.bootstrap-table .pagination-detail {
619 float: left;
620}
621
622.bootstrap-table .pagination-detail .dropdown-item {
623 min-width: 45px;
624 text-align: center;
625}
626
627.bootstrap-table table {
628 border-collapse: collapse;
629}
630
631.bootstrap-table table th {
632 text-align: inherit;
633}
634
635.bootstrap-table table.table-bordered thead tr th,
636.bootstrap-table table.table-bordered tbody tr td {
637 border: 1px solid #dbdbdb;
638}
639
640.bootstrap-table table.table-bordered tbody tr td {
641 padding: 0.75rem;
642}
643
644.bootstrap-table table.table-hover tbody tr:hover {
645 background: #fafafa;
646}
647
648.bootstrap-table .float-left {
649 float: left;
650}
651
652.bootstrap-table .float-right {
653 float: right;
654}
655
656.bootstrap-table .pagination {
657 padding: 0;
658 align-items: center;
659 display: flex;
660 justify-content: center;
661 text-align: center;
662 list-style: none;
663}
664
665.bootstrap-table .pagination .page-item {
666 border: 1px solid #dbdbdb;
667 background-color: #fff;
668 border-radius: 4px;
669 margin: 2px;
670 padding: 5px 2px 5px 2px;
671}
672
673.bootstrap-table .pagination .page-item:hover {
674 background-color: whitesmoke;
675}
676
677.bootstrap-table .pagination .page-item .page-link {
678 padding: 6px 12px;
679 line-height: 1.428571429;
680 color: #363636;
681 text-decoration: none;
682 outline: none;
683}
684
685.bootstrap-table .pagination .page-item.active {
686 background-color: #3679e4;
687 border: 1px solid #206ae1;
688}
689
690.bootstrap-table .pagination .page-item.active .page-link {
691 color: #fff;
692}
693
694.bootstrap-table .pagination .page-item.active:hover {
695 background-color: #1b5fcc;
696}
697
698.bootstrap-table .pagination .btn-group {
699 display: inline-block;
700}
701
702.bootstrap-table .pagination .btn-group .btn:not(:first-child):not(:last-child),
703.bootstrap-table .pagination .btn-group input:not(:first-child):not(:last-child) {
704 border-radius: 0;
705}
706
707.bootstrap-table .pagination .btn-group .btn:first-child:not(:last-child):not(.dropdown-toggle),
708.bootstrap-table .pagination .btn-group input:first-child:not(:last-child):not(.dropdown-toggle) {
709 border-top-right-radius: 0;
710 border-bottom-right-radius: 0;
711}
712
713.bootstrap-table .pagination .btn-group .btn:last-child:not(:first-child),
714.bootstrap-table .pagination .btn-group input:last-child:not(:first-child) {
715 border-top-left-radius: 0;
716 border-bottom-left-radius: 0;
717}
718
719.bootstrap-table .pagination .btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child {
720 border-top-left-radius: 0;
721 border-bottom-left-radius: 0;
722}
723
724.bootstrap-table .filter-control {
725 display: flex;
726}
727
728.bootstrap-table .page-jump-to input,
729.bootstrap-table .page-jump-to .btn {
730 padding: 8px 12px;
731}
732
733.modal {
734 position: fixed;
735 display: none;
736 top: 0;
737 left: 0;
738 bottom: 0;
739 right: 0;
740}
741
742.modal.show {
743 display: flex;
744}
745
746.modal .btn {
747 border-radius: 4px;
748 background-color: #fff;
749 border: 1px solid #ccc;
750 padding: 6px 12px;
751 outline: none;
752 cursor: pointer;
753}
754
755.modal .btn.active {
756 border-color: black;
757}
758
759.modal .modal-background {
760 position: fixed;
761 top: 0;
762 left: 0;
763 bottom: 0;
764 right: 0;
765 z-index: 998;
766 background-color: rgba(10, 10, 10, 0.86);
767}
768
769.modal .modal-content {
770 position: relative;
771 width: 600px;
772 margin: 30px auto;
773 z-index: 999;
774}
775
776.modal .modal-content .box {
777 background-color: #fff;
778 border-radius: 6px;
779 display: block;
780 padding: 1.25rem;
781}