UNPKG

10.4 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.428571429;
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 text-align: left !important;
142}
143
144.bootstrap-table .fixed-table-container .table .bs-checkbox {
145 text-align: center;
146}
147
148.bootstrap-table .fixed-table-container .table .bs-checkbox label {
149 margin-bottom: 0;
150}
151
152.bootstrap-table .fixed-table-container .table .bs-checkbox label input[type="radio"],
153.bootstrap-table .fixed-table-container .table .bs-checkbox label input[type="checkbox"] {
154 margin: 0 auto !important;
155}
156
157.bootstrap-table .fixed-table-container .table.table-sm .th-inner {
158 padding: 0.3rem;
159}
160
161.bootstrap-table .fixed-table-container.fixed-height:not(.has-footer) {
162 border-bottom: 1px solid rgba(0, 0, 0, 0.12);
163}
164
165.bootstrap-table .fixed-table-container.fixed-height.has-card-view {
166 border-top: 1px solid rgba(0, 0, 0, 0.12);
167 border-bottom: 1px solid rgba(0, 0, 0, 0.12);
168}
169
170.bootstrap-table .fixed-table-container.fixed-height .fixed-table-border {
171 border-left: 1px solid rgba(0, 0, 0, 0.12);
172 border-right: 1px solid rgba(0, 0, 0, 0.12);
173}
174
175.bootstrap-table .fixed-table-container.fixed-height .table thead th {
176 border-bottom: 1px solid rgba(0, 0, 0, 0.12);
177}
178
179.bootstrap-table .fixed-table-container.fixed-height .table-dark thead th {
180 border-bottom: 1px solid #32383e;
181}
182
183.bootstrap-table .fixed-table-container .fixed-table-header {
184 overflow: hidden;
185}
186
187.bootstrap-table .fixed-table-container .fixed-table-body {
188 overflow-x: auto;
189 overflow-y: auto;
190 height: 100%;
191}
192
193.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading {
194 align-items: center;
195 background: #fefefe;
196 display: none;
197 justify-content: center;
198 position: absolute;
199 bottom: 0;
200 width: 100%;
201 z-index: 1000;
202}
203
204.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap {
205 align-items: baseline;
206 display: flex;
207 justify-content: center;
208}
209
210.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .loading-text {
211 font-size: 2rem;
212 margin-right: 6px;
213}
214
215.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap {
216 align-items: center;
217 display: flex;
218 justify-content: center;
219}
220
221.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot,
222.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::after,
223.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::before {
224 content: "";
225 animation-duration: 1.5s;
226 animation-iteration-count: infinite;
227 animation-name: LOADING;
228 background: #0a0a0a;
229 border-radius: 50%;
230 display: block;
231 height: 5px;
232 margin: 0 4px;
233 opacity: 0;
234 width: 5px;
235}
236
237.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-dot {
238 animation-delay: 0.3s;
239}
240
241.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading .loading-wrap .animation-wrap::after {
242 animation-delay: 0.6s;
243}
244
245.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark {
246 background: #0a0a0a;
247}
248
249.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-dot,
250.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::after,
251.bootstrap-table .fixed-table-container .fixed-table-body .fixed-table-loading.table-dark .animation-wrap::before {
252 background: #fefefe;
253}
254
255.bootstrap-table .fixed-table-container .fixed-table-footer {
256 overflow: hidden;
257}
258
259.bootstrap-table .fixed-table-pagination::after {
260 content: "";
261 display: block;
262 clear: both;
263}
264
265.bootstrap-table .fixed-table-pagination > .pagination-detail,
266.bootstrap-table .fixed-table-pagination > .pagination {
267 margin-top: 10px;
268 margin-bottom: 10px;
269}
270
271.bootstrap-table .fixed-table-pagination > .pagination-detail .pagination-info {
272 line-height: 34px;
273 margin-right: 5px;
274}
275
276.bootstrap-table .fixed-table-pagination > .pagination-detail .page-list {
277 display: inline-block;
278}
279
280.bootstrap-table .fixed-table-pagination > .pagination-detail .page-list .btn-group {
281 position: relative;
282 display: inline-block;
283 vertical-align: middle;
284}
285
286.bootstrap-table .fixed-table-pagination > .pagination-detail .page-list .btn-group .dropdown-menu {
287 margin-bottom: 0;
288}
289
290.bootstrap-table .fixed-table-pagination > .pagination ul.pagination {
291 margin: 0;
292}
293
294.bootstrap-table .fixed-table-pagination > .pagination ul.pagination a {
295 padding: 6px 12px;
296 line-height: 1.428571429;
297}
298
299.bootstrap-table .fixed-table-pagination > .pagination ul.pagination li.page-intermediate a {
300 color: #c8c8c8;
301}
302
303.bootstrap-table .fixed-table-pagination > .pagination ul.pagination li.page-intermediate a::before {
304 content: '\2B05';
305}
306
307.bootstrap-table .fixed-table-pagination > .pagination ul.pagination li.page-intermediate a::after {
308 content: '\27A1';
309}
310
311.bootstrap-table .fixed-table-pagination > .pagination ul.pagination li.disabled a {
312 pointer-events: none;
313 cursor: default;
314}
315
316.bootstrap-table.fullscreen {
317 position: fixed;
318 top: 0;
319 left: 0;
320 z-index: 1050;
321 width: 100% !important;
322 background: #fff;
323 height: calc(100vh);
324 overflow-y: scroll;
325}
326
327/* calculate scrollbar width */
328div.fixed-table-scroll-inner {
329 width: 100%;
330 height: 200px;
331}
332
333div.fixed-table-scroll-outer {
334 top: 0;
335 left: 0;
336 visibility: hidden;
337 width: 200px;
338 height: 150px;
339 overflow: hidden;
340}
341
342@keyframes LOADING {
343 0% {
344 opacity: 0;
345 }
346 50% {
347 opacity: 1;
348 }
349 to {
350 opacity: 0;
351 }
352}
353
354.bootstrap-table .float-left {
355 float: left;
356}
357
358.bootstrap-table .float-right {
359 float: right;
360}
361
362.bootstrap-table .fixed-table-toolbar .search .search-input {
363 width: auto;
364 margin: 0;
365 height: 35px;
366 vertical-align: bottom;
367}
368
369.bootstrap-table .fixed-table-toolbar .columns > .btn {
370 margin-left: 3px;
371}
372
373.bootstrap-table .fixed-table-toolbar .columns > div {
374 display: inline;
375}
376
377.bootstrap-table .fixed-table-toolbar .keep-open li label {
378 padding-top: 13px;
379}
380
381.bootstrap-table .fixed-table-footer {
382 border-top: 1px solid rgba(0, 0, 0, 0.12);
383}
384
385.bootstrap-table .fixed-table-pagination .page-list i {
386 vertical-align: middle;
387}
388
389.bootstrap-table .fixed-table-pagination .pagination li {
390 height: 36px;
391}