UNPKG

11.1 kBCSSView Raw
1/**
2 * @author zhixin wen <wenzhixin2010@gmail.com>
3 * https://github.com/wenzhixin/bootstrap-table/
4 * theme: https://github.com/jgthms/bulma/
5 */
6.bootstrap-table .fixed-table-toolbar::after {
7 content: "";
8 display: block;
9 clear: both;
10}
11
12.bootstrap-table .fixed-table-toolbar .bs-bars,
13.bootstrap-table .fixed-table-toolbar .search,
14.bootstrap-table .fixed-table-toolbar .columns {
15 position: relative;
16 margin-top: 10px;
17 margin-bottom: 10px;
18}
19
20.bootstrap-table .fixed-table-toolbar .columns .btn-group > .btn-group {
21 display: inline-block;
22 margin-left: -1px !important;
23}
24
25.bootstrap-table .fixed-table-toolbar .columns .btn-group > .btn-group > .btn {
26 border-radius: 0;
27}
28
29.bootstrap-table .fixed-table-toolbar .columns .btn-group > .btn-group:first-child > .btn {
30 border-top-left-radius: 4px;
31 border-bottom-left-radius: 4px;
32}
33
34.bootstrap-table .fixed-table-toolbar .columns .btn-group > .btn-group:last-child > .btn {
35 border-top-right-radius: 4px;
36 border-bottom-right-radius: 4px;
37}
38
39.bootstrap-table .fixed-table-toolbar .columns .dropdown-menu {
40 text-align: left;
41 max-height: 300px;
42 overflow: auto;
43 -ms-overflow-style: scrollbar;
44 z-index: 1001;
45}
46
47.bootstrap-table .fixed-table-toolbar .columns label {
48 display: block;
49 padding: 3px 20px;
50 clear: both;
51 font-weight: normal;
52 line-height: 1.4286;
53}
54
55.bootstrap-table .fixed-table-toolbar .columns-left {
56 margin-right: 5px;
57}
58
59.bootstrap-table .fixed-table-toolbar .columns-right {
60 margin-left: 5px;
61}
62
63.bootstrap-table .fixed-table-toolbar .pull-right .dropdown-menu {
64 right: 0;
65 left: auto;
66}
67
68.bootstrap-table .fixed-table-container {
69 position: relative;
70 clear: both;
71}
72
73.bootstrap-table .fixed-table-container .table {
74 width: 100%;
75 margin-bottom: 0 !important;
76}
77
78.bootstrap-table .fixed-table-container .table th,
79.bootstrap-table .fixed-table-container .table td {
80 vertical-align: middle;
81 box-sizing: border-box;
82}
83
84.bootstrap-table .fixed-table-container .table thead th {
85 vertical-align: bottom;
86 padding: 0;
87 margin: 0;
88}
89
90.bootstrap-table .fixed-table-container .table thead th:focus {
91 outline: 0 solid transparent;
92}
93
94.bootstrap-table .fixed-table-container .table thead th.detail {
95 width: 30px;
96}
97
98.bootstrap-table .fixed-table-container .table thead th .th-inner {
99 padding: 0.75rem;
100 vertical-align: bottom;
101 overflow: hidden;
102 text-overflow: ellipsis;
103 white-space: nowrap;
104}
105
106.bootstrap-table .fixed-table-container .table thead th .sortable {
107 cursor: pointer;
108 background-position: right;
109 background-repeat: no-repeat;
110 padding-right: 30px !important;
111}
112
113.bootstrap-table .fixed-table-container .table thead th .both {
114 background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAkElEQVQoz7X QMQ5AQBCF4dWQSJxC5wwax1Cq1e7BAdxD5SL+Tq/QCM1oNiJidwox0355mXnG/DrEtIQ6azioNZQxI0ykPhTQIwhCR+BmBYtlK7kLJYwWCcJA9M4qdrZrd8pPjZWPtOqdRQy320YSV17OatFC4euts6z39GYMKRPCTKY9UnPQ6P+GtMRfGtPnBCiqhAeJPmkqAAAAAElFTkSuQmCC");
115}
116
117.bootstrap-table .fixed-table-container .table thead th .asc {
118 background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZ0lEQVQ4y2NgGLKgquEuFxBPAGI2ahhWCsS/gDibUoO0gPgxEP8H4ttArEyuQYxAPBdqEAxPBImTY5gjEL9DM+wTENuQahAvEO9DMwiGdwAxOymGJQLxTyD+jgWDxCMZRsEoGAVoAADeemwtPcZI2wAAAABJRU5ErkJggg==");
119}
120
121.bootstrap-table .fixed-table-container .table thead th .desc {
122 background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZUlEQVQ4y2NgGAWjYBSggaqGu5FA/BOIv2PBIPFEUgxjB+IdQPwfC94HxLykus4GiD+hGfQOiB3J8SojEE9EM2wuSJzcsFMG4ttQgx4DsRalkZENxL+AuJQaMcsGxBOAmGvopk8AVz1sLZgg0bsAAAAASUVORK5CYII= ");
123}
124
125.bootstrap-table .fixed-table-container .table tbody tr.selected td {
126 background-color: rgba(242, 242, 242, 0.5);
127}
128
129.bootstrap-table .fixed-table-container .table tbody tr.no-records-found td {
130 text-align: center;
131}
132
133.bootstrap-table .fixed-table-container .table tbody tr .card-view {
134 display: flex;
135}
136
137.bootstrap-table .fixed-table-container .table tbody tr .card-view .card-view-title {
138 font-weight: bold;
139 display: inline-block;
140 min-width: 30%;
141 width: auto !important;
142 text-align: left !important;
143}
144
145.bootstrap-table .fixed-table-container .table tbody tr .card-view .card-view-value {
146 width: 100% !important;
147 text-align: left !important;
148}
149
150.bootstrap-table .fixed-table-container .table .bs-checkbox {
151 text-align: center;
152}
153
154.bootstrap-table .fixed-table-container .table .bs-checkbox label {
155 margin-bottom: 0;
156}
157
158.bootstrap-table .fixed-table-container .table .bs-checkbox label input[type="radio"],
159.bootstrap-table .fixed-table-container .table .bs-checkbox label input[type="checkbox"] {
160 margin: 0 auto !important;
161}
162
163.bootstrap-table .fixed-table-container .table.table-sm .th-inner {
164 padding: 0.3rem;
165}
166
167.bootstrap-table .fixed-table-container.fixed-height:not(.has-footer) {
168 border-bottom: 1px solid rgba(0, 0, 0, 0.12);
169}
170
171.bootstrap-table .fixed-table-container.fixed-height.has-card-view {
172 border-top: 1px solid rgba(0, 0, 0, 0.12);
173 border-bottom: 1px solid rgba(0, 0, 0, 0.12);
174}
175
176.bootstrap-table .fixed-table-container.fixed-height .fixed-table-border {
177 border-left: 1px solid rgba(0, 0, 0, 0.12);
178 border-right: 1px solid rgba(0, 0, 0, 0.12);
179}
180
181.bootstrap-table .fixed-table-container.fixed-height .table thead th {
182 border-bottom: 1px solid rgba(0, 0, 0, 0.12);
183}
184
185.bootstrap-table .fixed-table-container.fixed-height .table-dark thead th {
186 border-bottom: 1px solid #32383e;
187}
188
189.bootstrap-table .fixed-table-container .fixed-table-header {
190 overflow: hidden;
191}
192
193.bootstrap-table .fixed-table-container .fixed-table-body {
194 overflow-x: auto;
195 overflow-y: auto;
196 height: 100%;
197}
198
199.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading {
200 align-items: center;
201 background: #fefefe;
202 display: flex;
203 justify-content: center;
204 position: absolute;
205 bottom: 0;
206 width: 100%;
207 max-width: 100%;
208 z-index: 1000;
209 transition: visibility 0s, opacity 0.15s ease-in-out;
210 opacity: 0;
211 visibility: hidden;
212}
213
214.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.open {
215 visibility: visible;
216 opacity: 1;
217}
218
219.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap {
220 align-items: baseline;
221 display: flex;
222 justify-content: center;
223}
224
225.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .loading-text {
226 margin-right: 6px;
227}
228
229.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap {
230 align-items: center;
231 display: flex;
232 justify-content: center;
233}
234
235.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot,
236.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::after,
237.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::before {
238 content: "";
239 animation-duration: 1.5s;
240 animation-iteration-count: infinite;
241 animation-name: loading;
242 background: #0a0a0a;
243 border-radius: 50%;
244 display: block;
245 height: 5px;
246 margin: 0 4px;
247 opacity: 0;
248 width: 5px;
249}
250
251.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot {
252 animation-delay: 0.3s;
253}
254
255.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::after {
256 animation-delay: 0.6s;
257}
258
259.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark {
260 background: #0a0a0a;
261}
262
263.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-dot,
264.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::after,
265.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::before {
266 background: #fefefe;
267}
268
269.bootstrap-table .fixed-table-container .fixed-table-footer {
270 overflow: hidden;
271}
272
273.bootstrap-table .fixed-table-pagination::after {
274 content: "";
275 display: block;
276 clear: both;
277}
278
279.bootstrap-table .fixed-table-pagination > .pagination-detail,
280.bootstrap-table .fixed-table-pagination > .pagination {
281 margin-top: 10px;
282 margin-bottom: 10px;
283}
284
285.bootstrap-table .fixed-table-pagination > .pagination-detail .pagination-info {
286 line-height: 34px;
287 margin-right: 5px;
288}
289
290.bootstrap-table .fixed-table-pagination > .pagination-detail .page-list {
291 display: inline-block;
292}
293
294.bootstrap-table .fixed-table-pagination > .pagination-detail .page-list .btn-group {
295 position: relative;
296 display: inline-block;
297 vertical-align: middle;
298}
299
300.bootstrap-table .fixed-table-pagination > .pagination-detail .page-list .btn-group .dropdown-menu {
301 margin-bottom: 0;
302}
303
304.bootstrap-table .fixed-table-pagination > .pagination ul.pagination {
305 margin: 0;
306}
307
308.bootstrap-table .fixed-table-pagination > .pagination ul.pagination li.page-intermediate a {
309 color: #c8c8c8;
310}
311
312.bootstrap-table .fixed-table-pagination > .pagination ul.pagination li.page-intermediate a::before {
313 content: "\2B05";
314}
315
316.bootstrap-table .fixed-table-pagination > .pagination ul.pagination li.page-intermediate a::after {
317 content: "\27A1";
318}
319
320.bootstrap-table .fixed-table-pagination > .pagination ul.pagination li.disabled a {
321 pointer-events: none;
322 cursor: default;
323}
324
325.bootstrap-table.fullscreen {
326 position: fixed;
327 top: 0;
328 left: 0;
329 z-index: 1050;
330 width: 100% !important;
331 background: #fff;
332 height: calc(100vh);
333 overflow-y: scroll;
334}
335
336.bootstrap-table.bootstrap4 .pagination-lg .page-link, .bootstrap-table.bootstrap5 .pagination-lg .page-link {
337 padding: .5rem 1rem;
338}
339
340.bootstrap-table.bootstrap5 .float-left {
341 float: left;
342}
343
344.bootstrap-table.bootstrap5 .float-right {
345 float: right;
346}
347
348/* calculate scrollbar width */
349div.fixed-table-scroll-inner {
350 width: 100%;
351 height: 200px;
352}
353
354div.fixed-table-scroll-outer {
355 top: 0;
356 left: 0;
357 visibility: hidden;
358 width: 200px;
359 height: 150px;
360 overflow: hidden;
361}
362
363@keyframes loading {
364 0% {
365 opacity: 0;
366 }
367 50% {
368 opacity: 1;
369 }
370 to {
371 opacity: 0;
372 }
373}
374
375.bootstrap-table .float-left {
376 float: left;
377}
378
379.bootstrap-table .float-right {
380 float: right;
381}
382
383.bootstrap-table .fixed-table-toolbar .search .search-input {
384 width: auto;
385 margin: 0;
386 height: 35px;
387 vertical-align: bottom;
388}
389
390.bootstrap-table .fixed-table-toolbar .columns > .btn {
391 margin-left: 3px;
392}
393
394.bootstrap-table .fixed-table-toolbar .columns > div {
395 display: inline;
396}
397
398.bootstrap-table .fixed-table-toolbar .keep-open li label {
399 padding-top: 13px;
400}
401
402.bootstrap-table .fixed-table-footer {
403 border-top: 1px solid rgba(0, 0, 0, 0.12);
404}
405
406.bootstrap-table .fixed-table-pagination .page-list i {
407 vertical-align: middle;
408}
409
410.bootstrap-table .fixed-table-pagination .page-list > div {
411 display: inline;
412}
413
414.bootstrap-table .fixed-table-pagination .pagination li {
415 height: 36px;
416}
417
418.bootstrap-table .fixed-table-pagination .page-item a {
419 padding: 6px 12px;
420 line-height: 1.428571429;
421}