UNPKG

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