UNPKG

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