UNPKG

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