1 | .bootstrap-table {
|
2 | .fixed-table-toolbar {
|
3 | &::after {
|
4 | content: "";
|
5 | display: block;
|
6 | clear: both;
|
7 | }
|
8 |
|
9 | .bs-bars,
|
10 | .search,
|
11 | .columns {
|
12 | position: relative;
|
13 | margin-top: 10px;
|
14 | margin-bottom: 10px;
|
15 | }
|
16 |
|
17 | .columns {
|
18 | .btn-group > .btn-group {
|
19 | display: inline-block;
|
20 | margin-left: -1px !important;
|
21 |
|
22 | > .btn {
|
23 | border-radius: 0;
|
24 | }
|
25 |
|
26 | &:first-child > .btn {
|
27 | border-top-left-radius: 4px;
|
28 | border-bottom-left-radius: 4px;
|
29 | }
|
30 |
|
31 | &:last-child > .btn {
|
32 | border-top-right-radius: 4px;
|
33 | border-bottom-right-radius: 4px;
|
34 | }
|
35 | }
|
36 |
|
37 | .dropdown-menu {
|
38 | text-align: left;
|
39 | max-height: 300px;
|
40 | overflow: auto;
|
41 | -ms-overflow-style: scrollbar;
|
42 | z-index: 1001;
|
43 | }
|
44 |
|
45 | label {
|
46 | display: block;
|
47 | padding: 3px 20px;
|
48 | clear: both;
|
49 | font-weight: normal;
|
50 | line-height: 1.428571429;
|
51 | }
|
52 | }
|
53 |
|
54 | .columns-left {
|
55 | margin-right: 5px;
|
56 | }
|
57 |
|
58 | .columns-right {
|
59 | margin-left: 5px;
|
60 | }
|
61 |
|
62 | .pull-right .dropdown-menu {
|
63 | right: 0;
|
64 | left: auto;
|
65 | }
|
66 | }
|
67 |
|
68 | .fixed-table-container {
|
69 | position: relative;
|
70 | clear: both;
|
71 |
|
72 | .table {
|
73 | width: 100%;
|
74 | margin-bottom: 0 !important;
|
75 |
|
76 | th,
|
77 | td {
|
78 | vertical-align: middle;
|
79 | box-sizing: border-box;
|
80 | }
|
81 |
|
82 | thead th {
|
83 | vertical-align: bottom;
|
84 | padding: 0;
|
85 | margin: 0;
|
86 |
|
87 | &:focus {
|
88 | outline: 0 solid transparent;
|
89 | }
|
90 |
|
91 | &.detail {
|
92 | width: 30px;
|
93 | }
|
94 |
|
95 | .th-inner {
|
96 | padding: 0.75rem;
|
97 | vertical-align: bottom;
|
98 | overflow: hidden;
|
99 | text-overflow: ellipsis;
|
100 | white-space: nowrap;
|
101 | }
|
102 |
|
103 | .sortable {
|
104 | cursor: pointer;
|
105 | background-position: right;
|
106 | background-repeat: no-repeat;
|
107 | padding-right: 30px !important;
|
108 | }
|
109 |
|
110 | .both {
|
111 | background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAkElEQVQoz7X QMQ5AQBCF4dWQSJxC5wwax1Cq1e7BAdxD5SL+Tq/QCM1oNiJidwox0355mXnG/DrEtIQ6azioNZQxI0ykPhTQIwhCR+BmBYtlK7kLJYwWCcJA9M4qdrZrd8pPjZWPtOqdRQy320YSV17OatFC4euts6z39GYMKRPCTKY9UnPQ6P+GtMRfGtPnBCiqhAeJPmkqAAAAAElFTkSuQmCC');
|
112 | }
|
113 |
|
114 | .asc {
|
115 | background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZ0lEQVQ4y2NgGLKgquEuFxBPAGI2ahhWCsS/gDibUoO0gPgxEP8H4ttArEyuQYxAPBdqEAxPBImTY5gjEL9DM+wTENuQahAvEO9DMwiGdwAxOymGJQLxTyD+jgWDxCMZRsEoGAVoAADeemwtPcZI2wAAAABJRU5ErkJggg==');
|
116 | }
|
117 |
|
118 | .desc {
|
119 | background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZUlEQVQ4y2NgGAWjYBSggaqGu5FA/BOIv2PBIPFEUgxjB+IdQPwfC94HxLykus4GiD+hGfQOiB3J8SojEE9EM2wuSJzcsFMG4ttQgx4DsRalkZENxL+AuJQaMcsGxBOAmGvopk8AVz1sLZgg0bsAAAAASUVORK5CYII= ');
|
120 | }
|
121 | }
|
122 |
|
123 | tbody tr {
|
124 | &.selected td {
|
125 | background-color: $hover-bg;
|
126 | }
|
127 |
|
128 | &.no-records-found td {
|
129 | text-align: center;
|
130 | }
|
131 |
|
132 | .card-view {
|
133 | display: flex;
|
134 |
|
135 | .card-view-title {
|
136 | font-weight: bold;
|
137 | display: inline-block;
|
138 | min-width: 30%;
|
139 | text-align: left !important;
|
140 | }
|
141 |
|
142 | .card-view-value {
|
143 | width: 100%;
|
144 | }
|
145 | }
|
146 | }
|
147 |
|
148 | .bs-checkbox {
|
149 | text-align: center;
|
150 |
|
151 | label {
|
152 | margin-bottom: 0;
|
153 |
|
154 | input[type="radio"],
|
155 | input[type="checkbox"] {
|
156 | margin: 0 auto !important;
|
157 | }
|
158 | }
|
159 | }
|
160 |
|
161 | &.table-sm .th-inner {
|
162 | padding: 0.3rem;
|
163 | }
|
164 | }
|
165 |
|
166 | &.fixed-height {
|
167 | &:not(.has-footer) {
|
168 | border-bottom: 1px solid $border-color;
|
169 | }
|
170 |
|
171 | &.has-card-view {
|
172 | border-top: 1px solid $border-color;
|
173 | border-bottom: 1px solid $border-color;
|
174 | }
|
175 |
|
176 | .fixed-table-border {
|
177 | border-left: 1px solid $border-color;
|
178 | border-right: 1px solid $border-color;
|
179 | }
|
180 |
|
181 | .table {
|
182 | thead th {
|
183 | border-bottom: 1px solid $border-color;
|
184 | }
|
185 | }
|
186 |
|
187 | .table-dark {
|
188 | thead th {
|
189 | border-bottom: 1px solid $dark-border-color;
|
190 | }
|
191 | }
|
192 | }
|
193 |
|
194 | .fixed-table-header {
|
195 | overflow: hidden;
|
196 | }
|
197 |
|
198 | .fixed-table-body {
|
199 | overflow-x: auto;
|
200 | overflow-y: auto;
|
201 | height: 100%;
|
202 |
|
203 | .fixed-table-loading {
|
204 | align-items: center;
|
205 | background: $background;
|
206 | display: flex;
|
207 | justify-content: center;
|
208 | position: absolute;
|
209 | bottom: 0;
|
210 | width: 100%;
|
211 | z-index: 1000;
|
212 | transition: visibility 0s, opacity 0.15s ease-in-out;
|
213 | opacity: 0;
|
214 | visibility: hidden;
|
215 |
|
216 | &.open {
|
217 | visibility: visible;
|
218 | opacity: 1;
|
219 | }
|
220 |
|
221 | .loading-wrap {
|
222 | align-items: baseline;
|
223 | display: flex;
|
224 | justify-content: center;
|
225 |
|
226 | .loading-text {
|
227 | margin-right: 6px;
|
228 | }
|
229 |
|
230 | .animation-wrap {
|
231 | align-items: center;
|
232 | display: flex;
|
233 | justify-content: center;
|
234 | }
|
235 |
|
236 | .animation-dot,
|
237 | .animation-wrap::after,
|
238 | .animation-wrap::before {
|
239 | content: "";
|
240 | animation-duration: 1.5s;
|
241 | animation-iteration-count: infinite;
|
242 | animation-name: LOADING;
|
243 | background: $color;
|
244 | border-radius: 50%;
|
245 | display: block;
|
246 | height: 5px;
|
247 | margin: 0 4px;
|
248 | opacity: 0;
|
249 | width: 5px;
|
250 | }
|
251 |
|
252 | .animation-dot {
|
253 | animation-delay: 0.3s;
|
254 | }
|
255 |
|
256 | .animation-wrap::after {
|
257 | animation-delay: 0.6s;
|
258 | }
|
259 | }
|
260 |
|
261 | &.table-dark {
|
262 | background: $color;
|
263 |
|
264 | .animation-dot,
|
265 | .animation-wrap::after,
|
266 | .animation-wrap::before {
|
267 | background: $background;
|
268 | }
|
269 | }
|
270 | }
|
271 | }
|
272 |
|
273 | .fixed-table-footer {
|
274 | overflow: hidden;
|
275 | }
|
276 | }
|
277 |
|
278 | .fixed-table-pagination {
|
279 | &::after {
|
280 | content: "";
|
281 | display: block;
|
282 | clear: both;
|
283 | }
|
284 |
|
285 | > .pagination-detail,
|
286 | > .pagination {
|
287 | margin-top: 10px;
|
288 | margin-bottom: 10px;
|
289 | }
|
290 |
|
291 | > .pagination-detail {
|
292 | .pagination-info {
|
293 | line-height: 34px;
|
294 | margin-right: 5px;
|
295 | }
|
296 |
|
297 | .page-list {
|
298 | display: inline-block;
|
299 |
|
300 | .btn-group {
|
301 | position: relative;
|
302 | display: inline-block;
|
303 | vertical-align: middle;
|
304 |
|
305 | .dropdown-menu {
|
306 | margin-bottom: 0;
|
307 | }
|
308 | }
|
309 | }
|
310 | }
|
311 |
|
312 | > .pagination {
|
313 |
|
314 | ul.pagination {
|
315 | margin: 0;
|
316 |
|
317 | li.page-intermediate {
|
318 | a {
|
319 | &::before {
|
320 | content: '\2B05';
|
321 | }
|
322 |
|
323 | &::after {
|
324 | content: '\27A1';
|
325 | }
|
326 |
|
327 | color: #c8c8c8;
|
328 | }
|
329 | }
|
330 |
|
331 | li.disabled a {
|
332 | pointer-events: none;
|
333 | cursor: default;
|
334 | }
|
335 | }
|
336 | }
|
337 | }
|
338 |
|
339 | &.fullscreen {
|
340 | position: fixed;
|
341 | top: 0;
|
342 | left: 0;
|
343 | z-index: 1050;
|
344 | width: 100% !important;
|
345 | background: #fff;
|
346 | height: calc(100vh);
|
347 | overflow-y: scroll;
|
348 | }
|
349 |
|
350 | &.bootstrap4,
|
351 | &.bootstrap5 {
|
352 | .pagination-lg .page-link {
|
353 | padding: .5rem 1rem;
|
354 | }
|
355 | }
|
356 | }
|
357 |
|
358 |
|
359 | div.fixed-table-scroll-inner {
|
360 | width: 100%;
|
361 | height: 200px;
|
362 | }
|
363 |
|
364 | div.fixed-table-scroll-outer {
|
365 | top: 0;
|
366 | left: 0;
|
367 | visibility: hidden;
|
368 | width: 200px;
|
369 | height: 150px;
|
370 | overflow: hidden;
|
371 | }
|
372 |
|
373 | @keyframes LOADING {
|
374 | 0% { opacity: 0; }
|
375 | 50% { opacity: 1; }
|
376 | to { opacity: 0; }
|
377 | }
|