UNPKG

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