UNPKG

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