blob: 66d56318e5a297872af0e49c413cb7b8fd45da55 [file] [log] [blame]
Timoney, Daniel (dt5972)324ee362017-02-15 10:37:53 -05001/**
2 * @author zhixin wen <wenzhixin2010@gmail.com>
3 * version: 1.8.1
4 * https://github.com/wenzhixin/bootstrap-table/
5 */
6
7.bootstrap-table .table {
8 margin-bottom: 0 !important;
9 border-bottom: 1px solid #dddddd;
10 border-collapse: collapse !important;
11 border-radius: 1px;
12}
13
14.bootstrap-table .table:not(.table-condensed),
15.bootstrap-table .table:not(.table-condensed) > tbody > tr > th,
16.bootstrap-table .table:not(.table-condensed) > tfoot > tr > th,
17.bootstrap-table .table:not(.table-condensed) > thead > tr > td,
18.bootstrap-table .table:not(.table-condensed) > tbody > tr > td,
19.bootstrap-table .table:not(.table-condensed) > tfoot > tr > td {
20 padding: 8px !important;
21}
22
23.bootstrap-table .table.table-no-bordered > thead > tr > th,
24.bootstrap-table .table.table-no-bordered > tbody > tr > td {
25 border-right: 2px solid transparent;
26}
27
28.fixed-table-container {
29 position: relative;
30 clear: both;
31 border: 1px solid #dddddd;
32 border-radius: 4px;
33 -webkit-border-radius: 4px;
34 -moz-border-radius: 4px;
35}
36
37.fixed-table-container.table-no-bordered {
38 border: 1px solid transparent;
39}
40
41.fixed-table-footer,
42.fixed-table-header {
43 overflow: hidden;
44}
45
46.fixed-table-footer {
47 border-top: 1px solid #dddddd;
48}
49
50.fixed-table-body {
51 overflow-x: auto;
52 overflow-y: auto;
53 height: 100%;
54}
55
56.fixed-table-container table {
57 width: 100%;
58}
59
60.fixed-table-container thead th {
61 height: 0;
62 padding: 0;
63 margin: 0;
64 border-left: 1px solid #dddddd;
65}
66
67.fixed-table-container thead th:first-child {
68 border-left: none;
69 border-top-left-radius: 4px;
70 -webkit-border-top-left-radius: 4px;
71 -moz-border-radius-topleft: 4px;
72}
73
74.fixed-table-container thead th .th-inner,
75.fixed-table-container tbody td .th-inner {
76 padding: 8px;
77 line-height: 24px;
78 vertical-align: top;
79 overflow: hidden;
80 text-overflow: ellipsis;
81 white-space: nowrap;
82}
83
84.fixed-table-container thead th .sortable {
85 cursor: pointer;
86 background-position: right;
87 background-repeat: no-repeat;
88 padding-right: 30px;
89}
90
91.fixed-table-container thead th .both {
92 background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAQAAADYWf5HAAAAkElEQVQoz7X QMQ5AQBCF4dWQSJxC5wwax1Cq1e7BAdxD5SL+Tq/QCM1oNiJidwox0355mXnG/DrEtIQ6azioNZQxI0ykPhTQIwhCR+BmBYtlK7kLJYwWCcJA9M4qdrZrd8pPjZWPtOqdRQy320YSV17OatFC4euts6z39GYMKRPCTKY9UnPQ6P+GtMRfGtPnBCiqhAeJPmkqAAAAAElFTkSuQmCC');
93}
94
95.fixed-table-container thead th .asc {
96 background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZ0lEQVQ4y2NgGLKgquEuFxBPAGI2ahhWCsS/gDibUoO0gPgxEP8H4ttArEyuQYxAPBdqEAxPBImTY5gjEL9DM+wTENuQahAvEO9DMwiGdwAxOymGJQLxTyD+jgWDxCMZRsEoGAVoAADeemwtPcZI2wAAAABJRU5ErkJggg==');
97}
98
99.fixed-table-container thead th .desc {
100 background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAAZUlEQVQ4y2NgGAWjYBSggaqGu5FA/BOIv2PBIPFEUgxjB+IdQPwfC94HxLykus4GiD+hGfQOiB3J8SojEE9EM2wuSJzcsFMG4ttQgx4DsRalkZENxL+AuJQaMcsGxBOAmGvopk8AVz1sLZgg0bsAAAAASUVORK5CYII= ');
101}
102
103.fixed-table-container th.detail {
104 width: 30px;
105}
106
107.fixed-table-container tbody td {
108 border-left: 1px solid #dddddd;
109}
110
111.fixed-table-container tbody tr:first-child td {
112 border-top: none;
113}
114
115.fixed-table-container tbody td:first-child {
116 border-left: none;
117}
118
119/* the same color with .active */
120.fixed-table-container tbody .selected td {
121 background-color: #f5f5f5;
122}
123
124.fixed-table-container .bs-checkbox {
125 text-align: center;
126}
127
128.fixed-table-container .bs-checkbox .th-inner {
129 padding: 8px 0;
130}
131
132.fixed-table-container input[type="radio"],
133.fixed-table-container input[type="checkbox"] {
134 margin: 0 auto !important;
135}
136
137.fixed-table-container .no-records-found {
138 text-align: center;
139}
140
141.fixed-table-pagination div.pagination,
142.fixed-table-pagination .pagination-detail {
143 margin-top: 10px;
144 margin-bottom: 10px;
145}
146
147.fixed-table-pagination div.pagination .pagination {
148 margin: 0;
149}
150
151.fixed-table-pagination .pagination a {
152 padding: 6px 12px;
153 line-height: 1.428571429;
154}
155
156.fixed-table-pagination .pagination-info {
157 line-height: 34px;
158 margin-right: 5px;
159}
160
161.fixed-table-pagination .btn-group {
162 position: relative;
163 display: inline-block;
164 vertical-align: middle;
165}
166
167.fixed-table-pagination .dropup .dropdown-menu {
168 margin-bottom: 0;
169}
170
171.fixed-table-pagination .page-list {
172 display: inline-block;
173}
174
175.fixed-table-toolbar .columns-left {
176 margin-right: 5px;
177}
178
179.fixed-table-toolbar .columns-right {
180 margin-left: 5px;
181}
182
183.fixed-table-toolbar .columns label {
184 display: block;
185 padding: 3px 20px;
186 clear: both;
187 font-weight: normal;
188 line-height: 1.428571429;
189}
190
191.fixed-table-toolbar .bars,
192.fixed-table-toolbar .search,
193.fixed-table-toolbar .columns {
194 position: relative;
195 margin-top: 10px;
196 margin-bottom: 10px;
197 line-height: 34px;
198}
199
200.fixed-table-pagination li.disabled a {
201 pointer-events: none;
202 cursor: default;
203}
204
205.fixed-table-loading {
206 display: none;
207 position: absolute;
208 top: 42px;
209 right: 0;
210 bottom: 0;
211 left: 0;
212 z-index: 99;
213 background-color: #fff;
214 text-align: center;
215}
216
217.fixed-table-body .card-view .title {
218 font-weight: bold;
219 display: inline-block;
220 min-width: 30%;
221 text-align: left !important;
222}
223
224/* support bootstrap 2 */
225.fixed-table-body thead th .th-inner {
226 box-sizing: border-box;
227}
228
229.table th, .table td {
230 vertical-align: middle;
231 box-sizing: border-box;
232}
233
234.fixed-table-toolbar .dropdown-menu {
235 text-align: left;
236 max-height: 300px;
237 overflow: auto;
238}
239
240.fixed-table-toolbar .btn-group > .btn-group {
241 display: inline-block;
242 margin-left: -1px !important;
243}
244
245.fixed-table-toolbar .btn-group > .btn-group > .btn {
246 border-radius: 0;
247}
248
249.fixed-table-toolbar .btn-group > .btn-group:first-child > .btn {
250 border-top-left-radius: 4px;
251 border-bottom-left-radius: 4px;
252}
253
254.fixed-table-toolbar .btn-group > .btn-group:last-child > .btn {
255 border-top-right-radius: 4px;
256 border-bottom-right-radius: 4px;
257}
258
259.bootstrap-table .table > thead > tr > th {
260 vertical-align: bottom;
261 border-bottom: 1px solid #ddd;
262}
263
264/* support bootstrap 3 */
265.bootstrap-table .table thead > tr > th {
266 padding: 0;
267 margin: 0;
268}
269
270.bootstrap-table .fixed-table-footer tbody > tr > td {
271 padding: 0 !important;
272}
273
274.bootstrap-table .fixed-table-footer .table {
275 border-bottom: none;
276 border-radius: 0;
277}
278
279.pull-right .dropdown-menu {
280 right: 0;
281 left: auto;
282}
283
284/* calculate scrollbar width */
285p.fixed-table-scroll-inner {
286 width: 100%;
287 height: 200px;
288}
289
290div.fixed-table-scroll-outer {
291 top: 0;
292 left: 0;
293 visibility: hidden;
294 width: 200px;
295 height: 150px;
296 overflow: hidden;
297}