datatables.net-bm 1.11.3 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/css/dataTables.bulma.css
CHANGED
|
@@ -1,13 +1,166 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
|
-
td.dt-control {
|
|
3
|
-
|
|
2
|
+
table.dataTable td.dt-control {
|
|
3
|
+
text-align: center;
|
|
4
4
|
cursor: pointer;
|
|
5
5
|
}
|
|
6
|
+
table.dataTable td.dt-control:before {
|
|
7
|
+
height: 1em;
|
|
8
|
+
width: 1em;
|
|
9
|
+
margin-top: -9px;
|
|
10
|
+
display: inline-block;
|
|
11
|
+
color: white;
|
|
12
|
+
border: 0.15em solid white;
|
|
13
|
+
border-radius: 1em;
|
|
14
|
+
box-shadow: 0 0 0.2em #444;
|
|
15
|
+
box-sizing: content-box;
|
|
16
|
+
text-align: center;
|
|
17
|
+
text-indent: 0 !important;
|
|
18
|
+
font-family: "Courier New", Courier, monospace;
|
|
19
|
+
line-height: 1em;
|
|
20
|
+
content: "+";
|
|
21
|
+
background-color: #31b131;
|
|
22
|
+
}
|
|
23
|
+
table.dataTable tr.dt-hasChild td.dt-control:before {
|
|
24
|
+
content: "-";
|
|
25
|
+
background-color: #d33333;
|
|
26
|
+
}
|
|
6
27
|
|
|
7
|
-
tr.
|
|
8
|
-
|
|
28
|
+
table.dataTable thead > tr > th.sorting, table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting_asc_disabled, table.dataTable thead > tr > th.sorting_desc_disabled,
|
|
29
|
+
table.dataTable thead > tr > td.sorting,
|
|
30
|
+
table.dataTable thead > tr > td.sorting_asc,
|
|
31
|
+
table.dataTable thead > tr > td.sorting_desc,
|
|
32
|
+
table.dataTable thead > tr > td.sorting_asc_disabled,
|
|
33
|
+
table.dataTable thead > tr > td.sorting_desc_disabled {
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
position: relative;
|
|
36
|
+
padding-right: 26px;
|
|
37
|
+
}
|
|
38
|
+
table.dataTable thead > tr > th.sorting:before, table.dataTable thead > tr > th.sorting:after, table.dataTable thead > tr > th.sorting_asc:before, table.dataTable thead > tr > th.sorting_asc:after, table.dataTable thead > tr > th.sorting_desc:before, table.dataTable thead > tr > th.sorting_desc:after, table.dataTable thead > tr > th.sorting_asc_disabled:before, table.dataTable thead > tr > th.sorting_asc_disabled:after, table.dataTable thead > tr > th.sorting_desc_disabled:before, table.dataTable thead > tr > th.sorting_desc_disabled:after,
|
|
39
|
+
table.dataTable thead > tr > td.sorting:before,
|
|
40
|
+
table.dataTable thead > tr > td.sorting:after,
|
|
41
|
+
table.dataTable thead > tr > td.sorting_asc:before,
|
|
42
|
+
table.dataTable thead > tr > td.sorting_asc:after,
|
|
43
|
+
table.dataTable thead > tr > td.sorting_desc:before,
|
|
44
|
+
table.dataTable thead > tr > td.sorting_desc:after,
|
|
45
|
+
table.dataTable thead > tr > td.sorting_asc_disabled:before,
|
|
46
|
+
table.dataTable thead > tr > td.sorting_asc_disabled:after,
|
|
47
|
+
table.dataTable thead > tr > td.sorting_desc_disabled:before,
|
|
48
|
+
table.dataTable thead > tr > td.sorting_desc_disabled:after {
|
|
49
|
+
position: absolute;
|
|
50
|
+
display: block;
|
|
51
|
+
opacity: 0.125;
|
|
52
|
+
right: 10px;
|
|
53
|
+
line-height: 9px;
|
|
54
|
+
font-size: 0.9em;
|
|
55
|
+
}
|
|
56
|
+
table.dataTable thead > tr > th.sorting:before, table.dataTable thead > tr > th.sorting_asc:before, table.dataTable thead > tr > th.sorting_desc:before, table.dataTable thead > tr > th.sorting_asc_disabled:before, table.dataTable thead > tr > th.sorting_desc_disabled:before,
|
|
57
|
+
table.dataTable thead > tr > td.sorting:before,
|
|
58
|
+
table.dataTable thead > tr > td.sorting_asc:before,
|
|
59
|
+
table.dataTable thead > tr > td.sorting_desc:before,
|
|
60
|
+
table.dataTable thead > tr > td.sorting_asc_disabled:before,
|
|
61
|
+
table.dataTable thead > tr > td.sorting_desc_disabled:before {
|
|
62
|
+
bottom: 50%;
|
|
63
|
+
content: "▴";
|
|
64
|
+
}
|
|
65
|
+
table.dataTable thead > tr > th.sorting:after, table.dataTable thead > tr > th.sorting_asc:after, table.dataTable thead > tr > th.sorting_desc:after, table.dataTable thead > tr > th.sorting_asc_disabled:after, table.dataTable thead > tr > th.sorting_desc_disabled:after,
|
|
66
|
+
table.dataTable thead > tr > td.sorting:after,
|
|
67
|
+
table.dataTable thead > tr > td.sorting_asc:after,
|
|
68
|
+
table.dataTable thead > tr > td.sorting_desc:after,
|
|
69
|
+
table.dataTable thead > tr > td.sorting_asc_disabled:after,
|
|
70
|
+
table.dataTable thead > tr > td.sorting_desc_disabled:after {
|
|
71
|
+
top: 50%;
|
|
72
|
+
content: "▾";
|
|
73
|
+
}
|
|
74
|
+
table.dataTable thead > tr > th.sorting_asc:before, table.dataTable thead > tr > th.sorting_desc:after,
|
|
75
|
+
table.dataTable thead > tr > td.sorting_asc:before,
|
|
76
|
+
table.dataTable thead > tr > td.sorting_desc:after {
|
|
77
|
+
opacity: 0.6;
|
|
78
|
+
}
|
|
79
|
+
table.dataTable thead > tr > th.sorting_desc_disabled:after, table.dataTable thead > tr > th.sorting_asc_disabled:before,
|
|
80
|
+
table.dataTable thead > tr > td.sorting_desc_disabled:after,
|
|
81
|
+
table.dataTable thead > tr > td.sorting_asc_disabled:before {
|
|
82
|
+
display: none;
|
|
83
|
+
}
|
|
84
|
+
table.dataTable thead > tr > th:active,
|
|
85
|
+
table.dataTable thead > tr > td:active {
|
|
86
|
+
outline: none;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
div.dataTables_scrollBody table.dataTable thead > tr > th:before, div.dataTables_scrollBody table.dataTable thead > tr > th:after,
|
|
90
|
+
div.dataTables_scrollBody table.dataTable thead > tr > td:before,
|
|
91
|
+
div.dataTables_scrollBody table.dataTable thead > tr > td:after {
|
|
92
|
+
display: none;
|
|
9
93
|
}
|
|
10
94
|
|
|
95
|
+
div.dataTables_processing {
|
|
96
|
+
position: absolute;
|
|
97
|
+
top: 50%;
|
|
98
|
+
left: 50%;
|
|
99
|
+
width: 200px;
|
|
100
|
+
margin-left: -100px;
|
|
101
|
+
margin-top: -26px;
|
|
102
|
+
text-align: center;
|
|
103
|
+
padding: 2px;
|
|
104
|
+
}
|
|
105
|
+
div.dataTables_processing > div:last-child {
|
|
106
|
+
position: relative;
|
|
107
|
+
width: 80px;
|
|
108
|
+
height: 15px;
|
|
109
|
+
margin: 1em auto;
|
|
110
|
+
}
|
|
111
|
+
div.dataTables_processing > div:last-child > div {
|
|
112
|
+
position: absolute;
|
|
113
|
+
top: 0;
|
|
114
|
+
width: 13px;
|
|
115
|
+
height: 13px;
|
|
116
|
+
border-radius: 50%;
|
|
117
|
+
background: rgba(0, 209, 178, 0.9);
|
|
118
|
+
animation-timing-function: cubic-bezier(0, 1, 1, 0);
|
|
119
|
+
}
|
|
120
|
+
div.dataTables_processing > div:last-child > div:nth-child(1) {
|
|
121
|
+
left: 8px;
|
|
122
|
+
animation: datatables-loader-1 0.6s infinite;
|
|
123
|
+
}
|
|
124
|
+
div.dataTables_processing > div:last-child > div:nth-child(2) {
|
|
125
|
+
left: 8px;
|
|
126
|
+
animation: datatables-loader-2 0.6s infinite;
|
|
127
|
+
}
|
|
128
|
+
div.dataTables_processing > div:last-child > div:nth-child(3) {
|
|
129
|
+
left: 32px;
|
|
130
|
+
animation: datatables-loader-2 0.6s infinite;
|
|
131
|
+
}
|
|
132
|
+
div.dataTables_processing > div:last-child > div:nth-child(4) {
|
|
133
|
+
left: 56px;
|
|
134
|
+
animation: datatables-loader-3 0.6s infinite;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
@keyframes datatables-loader-1 {
|
|
138
|
+
0% {
|
|
139
|
+
transform: scale(0);
|
|
140
|
+
}
|
|
141
|
+
100% {
|
|
142
|
+
transform: scale(1);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
@keyframes datatables-loader-3 {
|
|
146
|
+
0% {
|
|
147
|
+
transform: scale(1);
|
|
148
|
+
}
|
|
149
|
+
100% {
|
|
150
|
+
transform: scale(0);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
@keyframes datatables-loader-2 {
|
|
154
|
+
0% {
|
|
155
|
+
transform: translate(0, 0);
|
|
156
|
+
}
|
|
157
|
+
100% {
|
|
158
|
+
transform: translate(24px, 0);
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
table.dataTable.nowrap th, table.dataTable.nowrap td {
|
|
162
|
+
white-space: nowrap;
|
|
163
|
+
}
|
|
11
164
|
table.dataTable th.dt-left,
|
|
12
165
|
table.dataTable td.dt-left {
|
|
13
166
|
text-align: left;
|
|
@@ -29,6 +182,12 @@ table.dataTable th.dt-nowrap,
|
|
|
29
182
|
table.dataTable td.dt-nowrap {
|
|
30
183
|
white-space: nowrap;
|
|
31
184
|
}
|
|
185
|
+
table.dataTable thead th,
|
|
186
|
+
table.dataTable thead td,
|
|
187
|
+
table.dataTable tfoot th,
|
|
188
|
+
table.dataTable tfoot td {
|
|
189
|
+
text-align: left;
|
|
190
|
+
}
|
|
32
191
|
table.dataTable thead th.dt-head-left,
|
|
33
192
|
table.dataTable thead td.dt-head-left,
|
|
34
193
|
table.dataTable tfoot th.dt-head-left,
|
|
@@ -104,6 +263,28 @@ table.dataTable.nowrap th,
|
|
|
104
263
|
table.dataTable.nowrap td {
|
|
105
264
|
white-space: nowrap;
|
|
106
265
|
}
|
|
266
|
+
table.dataTable.table.is-striped > tbody > tr:nth-child(2n) {
|
|
267
|
+
background-color: transparent;
|
|
268
|
+
}
|
|
269
|
+
table.dataTable > tbody > tr {
|
|
270
|
+
background-color: transparent;
|
|
271
|
+
}
|
|
272
|
+
table.dataTable > tbody > tr.selected > * {
|
|
273
|
+
box-shadow: inset 0 0 0 9999px rgba(0, 209, 178, 0.9);
|
|
274
|
+
color: white;
|
|
275
|
+
}
|
|
276
|
+
table.dataTable.is-striped > tbody > tr.odd > * {
|
|
277
|
+
box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.019);
|
|
278
|
+
}
|
|
279
|
+
table.dataTable.is-striped > tbody > tr.odd.selected > * {
|
|
280
|
+
box-shadow: inset 0 0 0 9999px rgba(0, 209, 178, 0.919);
|
|
281
|
+
}
|
|
282
|
+
table.dataTable.is-hoverable > tbody > tr:hover > * {
|
|
283
|
+
box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.39);
|
|
284
|
+
}
|
|
285
|
+
table.dataTable.is-hoverable > tbody > tr.selected:hover > * {
|
|
286
|
+
box-shadow: inset 0 0 0 9999px #00d1b2;
|
|
287
|
+
}
|
|
107
288
|
|
|
108
289
|
div.dataTables_wrapper div.dataTables_length label {
|
|
109
290
|
font-weight: normal;
|
|
@@ -150,61 +331,6 @@ div.dataTables_wrapper div.dataTables_processing {
|
|
|
150
331
|
padding: 1em 0;
|
|
151
332
|
}
|
|
152
333
|
|
|
153
|
-
table.dataTable > thead > tr > th:active,
|
|
154
|
-
table.dataTable > thead > tr > td:active {
|
|
155
|
-
outline: none;
|
|
156
|
-
}
|
|
157
|
-
table.dataTable > thead > tr > th:not(.sorting_disabled),
|
|
158
|
-
table.dataTable > thead > tr > td:not(.sorting_disabled) {
|
|
159
|
-
padding-right: 30px;
|
|
160
|
-
}
|
|
161
|
-
table.dataTable > thead .sorting,
|
|
162
|
-
table.dataTable > thead .sorting_asc,
|
|
163
|
-
table.dataTable > thead .sorting_desc,
|
|
164
|
-
table.dataTable > thead .sorting_asc_disabled,
|
|
165
|
-
table.dataTable > thead .sorting_desc_disabled {
|
|
166
|
-
cursor: pointer;
|
|
167
|
-
position: relative;
|
|
168
|
-
}
|
|
169
|
-
table.dataTable > thead .sorting:before, table.dataTable > thead .sorting:after,
|
|
170
|
-
table.dataTable > thead .sorting_asc:before,
|
|
171
|
-
table.dataTable > thead .sorting_asc:after,
|
|
172
|
-
table.dataTable > thead .sorting_desc:before,
|
|
173
|
-
table.dataTable > thead .sorting_desc:after,
|
|
174
|
-
table.dataTable > thead .sorting_asc_disabled:before,
|
|
175
|
-
table.dataTable > thead .sorting_asc_disabled:after,
|
|
176
|
-
table.dataTable > thead .sorting_desc_disabled:before,
|
|
177
|
-
table.dataTable > thead .sorting_desc_disabled:after {
|
|
178
|
-
position: absolute;
|
|
179
|
-
bottom: 0.7em;
|
|
180
|
-
display: block;
|
|
181
|
-
opacity: 0.3;
|
|
182
|
-
}
|
|
183
|
-
table.dataTable > thead .sorting:before,
|
|
184
|
-
table.dataTable > thead .sorting_asc:before,
|
|
185
|
-
table.dataTable > thead .sorting_desc:before,
|
|
186
|
-
table.dataTable > thead .sorting_asc_disabled:before,
|
|
187
|
-
table.dataTable > thead .sorting_desc_disabled:before {
|
|
188
|
-
right: 1em;
|
|
189
|
-
content: "↑";
|
|
190
|
-
}
|
|
191
|
-
table.dataTable > thead .sorting:after,
|
|
192
|
-
table.dataTable > thead .sorting_asc:after,
|
|
193
|
-
table.dataTable > thead .sorting_desc:after,
|
|
194
|
-
table.dataTable > thead .sorting_asc_disabled:after,
|
|
195
|
-
table.dataTable > thead .sorting_desc_disabled:after {
|
|
196
|
-
right: 0.5em;
|
|
197
|
-
content: "↓";
|
|
198
|
-
}
|
|
199
|
-
table.dataTable > thead .sorting_asc:before,
|
|
200
|
-
table.dataTable > thead .sorting_desc:after {
|
|
201
|
-
opacity: 1;
|
|
202
|
-
}
|
|
203
|
-
table.dataTable > thead .sorting_asc_disabled:before,
|
|
204
|
-
table.dataTable > thead .sorting_desc_disabled:after {
|
|
205
|
-
opacity: 0;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
334
|
div.dataTables_scrollHead table.dataTable {
|
|
209
335
|
margin-bottom: 0 !important;
|
|
210
336
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
td.dt-control{
|
|
1
|
+
table.dataTable td.dt-control{text-align:center;cursor:pointer}table.dataTable td.dt-control:before{height:1em;width:1em;margin-top:-9px;display:inline-block;color:white;border:.15em solid white;border-radius:1em;box-shadow:0 0 .2em #444;box-sizing:content-box;text-align:center;text-indent:0 !important;font-family:"Courier New",Courier,monospace;line-height:1em;content:"+";background-color:#31b131}table.dataTable tr.dt-hasChild td.dt-control:before{content:"-";background-color:#d33333}table.dataTable thead>tr>th.sorting,table.dataTable thead>tr>th.sorting_asc,table.dataTable thead>tr>th.sorting_desc,table.dataTable thead>tr>th.sorting_asc_disabled,table.dataTable thead>tr>th.sorting_desc_disabled,table.dataTable thead>tr>td.sorting,table.dataTable thead>tr>td.sorting_asc,table.dataTable thead>tr>td.sorting_desc,table.dataTable thead>tr>td.sorting_asc_disabled,table.dataTable thead>tr>td.sorting_desc_disabled{cursor:pointer;position:relative;padding-right:26px}table.dataTable thead>tr>th.sorting:before,table.dataTable thead>tr>th.sorting:after,table.dataTable thead>tr>th.sorting_asc:before,table.dataTable thead>tr>th.sorting_asc:after,table.dataTable thead>tr>th.sorting_desc:before,table.dataTable thead>tr>th.sorting_desc:after,table.dataTable thead>tr>th.sorting_asc_disabled:before,table.dataTable thead>tr>th.sorting_asc_disabled:after,table.dataTable thead>tr>th.sorting_desc_disabled:before,table.dataTable thead>tr>th.sorting_desc_disabled:after,table.dataTable thead>tr>td.sorting:before,table.dataTable thead>tr>td.sorting:after,table.dataTable thead>tr>td.sorting_asc:before,table.dataTable thead>tr>td.sorting_asc:after,table.dataTable thead>tr>td.sorting_desc:before,table.dataTable thead>tr>td.sorting_desc:after,table.dataTable thead>tr>td.sorting_asc_disabled:before,table.dataTable thead>tr>td.sorting_asc_disabled:after,table.dataTable thead>tr>td.sorting_desc_disabled:before,table.dataTable thead>tr>td.sorting_desc_disabled:after{position:absolute;display:block;opacity:.125;right:10px;line-height:9px;font-size:.9em}table.dataTable thead>tr>th.sorting:before,table.dataTable thead>tr>th.sorting_asc:before,table.dataTable thead>tr>th.sorting_desc:before,table.dataTable thead>tr>th.sorting_asc_disabled:before,table.dataTable thead>tr>th.sorting_desc_disabled:before,table.dataTable thead>tr>td.sorting:before,table.dataTable thead>tr>td.sorting_asc:before,table.dataTable thead>tr>td.sorting_desc:before,table.dataTable thead>tr>td.sorting_asc_disabled:before,table.dataTable thead>tr>td.sorting_desc_disabled:before{bottom:50%;content:"▴"}table.dataTable thead>tr>th.sorting:after,table.dataTable thead>tr>th.sorting_asc:after,table.dataTable thead>tr>th.sorting_desc:after,table.dataTable thead>tr>th.sorting_asc_disabled:after,table.dataTable thead>tr>th.sorting_desc_disabled:after,table.dataTable thead>tr>td.sorting:after,table.dataTable thead>tr>td.sorting_asc:after,table.dataTable thead>tr>td.sorting_desc:after,table.dataTable thead>tr>td.sorting_asc_disabled:after,table.dataTable thead>tr>td.sorting_desc_disabled:after{top:50%;content:"▾"}table.dataTable thead>tr>th.sorting_asc:before,table.dataTable thead>tr>th.sorting_desc:after,table.dataTable thead>tr>td.sorting_asc:before,table.dataTable thead>tr>td.sorting_desc:after{opacity:.6}table.dataTable thead>tr>th.sorting_desc_disabled:after,table.dataTable thead>tr>th.sorting_asc_disabled:before,table.dataTable thead>tr>td.sorting_desc_disabled:after,table.dataTable thead>tr>td.sorting_asc_disabled:before{display:none}table.dataTable thead>tr>th:active,table.dataTable thead>tr>td:active{outline:none}div.dataTables_scrollBody table.dataTable thead>tr>th:before,div.dataTables_scrollBody table.dataTable thead>tr>th:after,div.dataTables_scrollBody table.dataTable thead>tr>td:before,div.dataTables_scrollBody table.dataTable thead>tr>td:after{display:none}div.dataTables_processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;margin-top:-26px;text-align:center;padding:2px}div.dataTables_processing>div:last-child{position:relative;width:80px;height:15px;margin:1em auto}div.dataTables_processing>div:last-child>div{position:absolute;top:0;width:13px;height:13px;border-radius:50%;background:rgba(0, 209, 178, 0.9);animation-timing-function:cubic-bezier(0, 1, 1, 0)}div.dataTables_processing>div:last-child>div:nth-child(1){left:8px;animation:datatables-loader-1 .6s infinite}div.dataTables_processing>div:last-child>div:nth-child(2){left:8px;animation:datatables-loader-2 .6s infinite}div.dataTables_processing>div:last-child>div:nth-child(3){left:32px;animation:datatables-loader-2 .6s infinite}div.dataTables_processing>div:last-child>div:nth-child(4){left:56px;animation:datatables-loader-3 .6s infinite}@keyframes datatables-loader-1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes datatables-loader-3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes datatables-loader-2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}table.dataTable th.dt-left,table.dataTable td.dt-left{text-align:left}table.dataTable th.dt-center,table.dataTable td.dt-center,table.dataTable td.dataTables_empty{text-align:center}table.dataTable th.dt-right,table.dataTable td.dt-right{text-align:right}table.dataTable th.dt-justify,table.dataTable td.dt-justify{text-align:justify}table.dataTable th.dt-nowrap,table.dataTable td.dt-nowrap{white-space:nowrap}table.dataTable thead th,table.dataTable thead td,table.dataTable tfoot th,table.dataTable tfoot td{text-align:left}table.dataTable thead th.dt-head-left,table.dataTable thead td.dt-head-left,table.dataTable tfoot th.dt-head-left,table.dataTable tfoot td.dt-head-left{text-align:left}table.dataTable thead th.dt-head-center,table.dataTable thead td.dt-head-center,table.dataTable tfoot th.dt-head-center,table.dataTable tfoot td.dt-head-center{text-align:center}table.dataTable thead th.dt-head-right,table.dataTable thead td.dt-head-right,table.dataTable tfoot th.dt-head-right,table.dataTable tfoot td.dt-head-right{text-align:right}table.dataTable thead th.dt-head-justify,table.dataTable thead td.dt-head-justify,table.dataTable tfoot th.dt-head-justify,table.dataTable tfoot td.dt-head-justify{text-align:justify}table.dataTable thead th.dt-head-nowrap,table.dataTable thead td.dt-head-nowrap,table.dataTable tfoot th.dt-head-nowrap,table.dataTable tfoot td.dt-head-nowrap{white-space:nowrap}table.dataTable tbody th.dt-body-left,table.dataTable tbody td.dt-body-left{text-align:left}table.dataTable tbody th.dt-body-center,table.dataTable tbody td.dt-body-center{text-align:center}table.dataTable tbody th.dt-body-right,table.dataTable tbody td.dt-body-right{text-align:right}table.dataTable tbody th.dt-body-justify,table.dataTable tbody td.dt-body-justify{text-align:justify}table.dataTable tbody th.dt-body-nowrap,table.dataTable tbody td.dt-body-nowrap{white-space:nowrap}/*! DataTables Bulma integration
|
|
2
2
|
* ©2020 SpryMedia Ltd - datatables.net/license
|
|
3
|
-
*/table.dataTable{clear:both;margin-top:6px !important;margin-bottom:6px !important;max-width:none !important;border-collapse:separate !important;border-spacing:0}table.dataTable td,table.dataTable th{-webkit-box-sizing:content-box;box-sizing:content-box}table.dataTable td.dataTables_empty,table.dataTable th.dataTables_empty{text-align:center}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}div.dataTables_wrapper div.dataTables_length label{font-weight:normal;text-align:left;white-space:nowrap}div.dataTables_wrapper div.dataTables_length div{vertical-align:middle}div.dataTables_wrapper div.dataTables_length select{width:auto;display:inline-block;vertical-align:middle}div.dataTables_wrapper div.dataTables_filter{text-align:right}div.dataTables_wrapper div.dataTables_filter label{font-weight:normal;white-space:nowrap;text-align:left}div.dataTables_wrapper div.dataTables_filter input{margin-left:.5em;width:auto;vertical-align:middle}div.dataTables_wrapper div.dataTables_info{padding-top:.5em}div.dataTables_wrapper div.dataTables_paginate ul{justify-content:flex-end;list-style:none;margin:0}div.dataTables_wrapper div.dataTables_processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;margin-top:-26px;text-align:center;padding:1em 0}
|
|
3
|
+
*/table.dataTable{clear:both;margin-top:6px !important;margin-bottom:6px !important;max-width:none !important;border-collapse:separate !important;border-spacing:0}table.dataTable td,table.dataTable th{-webkit-box-sizing:content-box;box-sizing:content-box}table.dataTable td.dataTables_empty,table.dataTable th.dataTables_empty{text-align:center}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}table.dataTable.table.is-striped>tbody>tr:nth-child(2n){background-color:transparent}table.dataTable>tbody>tr{background-color:transparent}table.dataTable>tbody>tr.selected>*{box-shadow:inset 0 0 0 9999px rgba(0, 209, 178, 0.9);color:white}table.dataTable.is-striped>tbody>tr.odd>*{box-shadow:inset 0 0 0 9999px rgba(0, 0, 0, 0.019)}table.dataTable.is-striped>tbody>tr.odd.selected>*{box-shadow:inset 0 0 0 9999px rgba(0, 209, 178, 0.919)}table.dataTable.is-hoverable>tbody>tr:hover>*{box-shadow:inset 0 0 0 9999px rgba(0, 0, 0, 0.39)}table.dataTable.is-hoverable>tbody>tr.selected:hover>*{box-shadow:inset 0 0 0 9999px #00d1b2}div.dataTables_wrapper div.dataTables_length label{font-weight:normal;text-align:left;white-space:nowrap}div.dataTables_wrapper div.dataTables_length div{vertical-align:middle}div.dataTables_wrapper div.dataTables_length select{width:auto;display:inline-block;vertical-align:middle}div.dataTables_wrapper div.dataTables_filter{text-align:right}div.dataTables_wrapper div.dataTables_filter label{font-weight:normal;white-space:nowrap;text-align:left}div.dataTables_wrapper div.dataTables_filter input{margin-left:.5em;width:auto;vertical-align:middle}div.dataTables_wrapper div.dataTables_info{padding-top:.5em}div.dataTables_wrapper div.dataTables_paginate ul{justify-content:flex-end;list-style:none;margin:0}div.dataTables_wrapper div.dataTables_processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;margin-top:-26px;text-align:center;padding:1em 0}div.dataTables_scrollHead table.dataTable{margin-bottom:0 !important}div.dataTables_scrollBody table{border-top:none;margin-top:0 !important;margin-bottom:0 !important}div.dataTables_scrollBody table thead .sorting:before,div.dataTables_scrollBody table thead .sorting_asc:before,div.dataTables_scrollBody table thead .sorting_desc:before,div.dataTables_scrollBody table thead .sorting:after,div.dataTables_scrollBody table thead .sorting_asc:after,div.dataTables_scrollBody table thead .sorting_desc:after{display:none}div.dataTables_scrollBody table tbody tr:first-child th,div.dataTables_scrollBody table tbody tr:first-child td{border-top:none}div.dataTables_scrollFoot>.dataTables_scrollFootInner{box-sizing:content-box}div.dataTables_scrollFoot>.dataTables_scrollFootInner>table{margin-top:0 !important;border-top:none}
|
package/js/dataTables.bulma.js
CHANGED
|
@@ -70,7 +70,7 @@ DataTable.ext.renderer.pageButton.bulma = function ( settings, host, idx, button
|
|
|
70
70
|
var i, ien, node, button, tag, disabled;
|
|
71
71
|
var clickHandler = function ( e ) {
|
|
72
72
|
e.preventDefault();
|
|
73
|
-
if (
|
|
73
|
+
if ( ! $(e.currentTarget.firstChild).attr('disabled') && api.page() != e.data.action ) {
|
|
74
74
|
api.page( e.data.action ).draw( 'page' );
|
|
75
75
|
}
|
|
76
76
|
};
|
|
@@ -91,6 +91,7 @@ DataTable.ext.renderer.pageButton.bulma = function ( settings, host, idx, button
|
|
|
91
91
|
case 'ellipsis':
|
|
92
92
|
btnDisplay = '…';
|
|
93
93
|
btnClass = 'pagination-link';
|
|
94
|
+
disabled = true;
|
|
94
95
|
tag = 'span';
|
|
95
96
|
break;
|
|
96
97
|
|
|
@@ -9,7 +9,7 @@ $jscomp.polyfill=function(a,b,c,e){b&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfil
|
|
|
9
9
|
$jscomp.polyfillIsolated=function(a,b,c,e){var d=a.split(".");a=1===d.length;e=d[0];e=!a&&e in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var f=0;f<d.length-1;f++){var k=d[f];if(!(k in e))return;e=e[k]}d=d[d.length-1];c=$jscomp.IS_SYMBOL_NATIVE&&"es6"===c?e[d]:null;b=b(c);null!=b&&(a?$jscomp.defineProperty($jscomp.polyfills,d,{configurable:!0,writable:!0,value:b}):b!==c&&($jscomp.propertyToPolyfillSymbol[d]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(d):$jscomp.POLYFILL_PREFIX+d,d=
|
|
10
10
|
$jscomp.propertyToPolyfillSymbol[d],$jscomp.defineProperty(e,d,{configurable:!0,writable:!0,value:b})))};$jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(b,c){return $jscomp.findInternal(this,b,c).v}},"es6","es3");
|
|
11
11
|
(function(a){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(b){return a(b,window,document)}):"object"===typeof exports?module.exports=function(b,c){b||(b=window);c&&c.fn.dataTable||(c=require("datatables.net")(b,c).$);return a(c,b,b.document)}:a(jQuery,window,document)})(function(a,b,c,e){var d=a.fn.dataTable;a.extend(!0,d.defaults,{dom:"<'columns is-gapless is-multiline'<'column is-half'l><'column is-half'f><'column is-full'tr><'column is-half'i><'column is-half'p>>",
|
|
12
|
-
renderer:"bulma"});a.extend(d.ext.classes,{sWrapper:"dataTables_wrapper dt-bulma",sFilterInput:"input",sLengthSelect:"custom-select custom-select-sm form-control form-control-sm",sProcessing:"dataTables_processing card"});d.ext.renderer.pageButton.bulma=function(f,k,D,E,
|
|
13
|
-
var u=0;for(z=y.length;u<z;u++){var g=y[u];if(Array.isArray(g))A(t,g);else{l=h="";var r="a";var
|
|
14
|
-
"aria-label":F[g],"data-dt-idx":x,tabindex:f.iTabIndex,"class":"pagination-link "+l,disabled:
|
|
12
|
+
renderer:"bulma"});a.extend(d.ext.classes,{sWrapper:"dataTables_wrapper dt-bulma",sFilterInput:"input",sLengthSelect:"custom-select custom-select-sm form-control form-control-sm",sProcessing:"dataTables_processing card"});d.ext.renderer.pageButton.bulma=function(f,k,D,E,n,v){var w=new d.Api(f),p=f.oLanguage.oPaginate,F=f.oLanguage.oAria.paginate||{},h,l,x=0,A=function(t,y){var z,G=function(q){q.preventDefault();a(q.currentTarget.firstChild).attr("disabled")||w.page()==q.data.action||w.page(q.data.action).draw("page")};
|
|
13
|
+
var u=0;for(z=y.length;u<z;u++){var g=y[u];if(Array.isArray(g))A(t,g);else{l=h="";var r="a";var m=!1;switch(g){case "ellipsis":h="…";l="pagination-link";m=!0;r="span";break;case "first":h=p.sFirst;l=g;m=0>=n;break;case "previous":h=p.sPrevious;l=g;m=0>=n;break;case "next":h=p.sNext;l=g;m=n>=v-1;break;case "last":h=p.sLast;l=g;m=n>=v-1;break;default:h=g+1,l=n===g?"is-current":""}h&&(r=a("<li>",{id:0===D&&"string"===typeof g?f.sTableId+"_"+g:null}).append(a("<"+r+">",{href:"#","aria-controls":f.sTableId,
|
|
14
|
+
"aria-label":F[g],"data-dt-idx":x,tabindex:f.iTabIndex,"class":"pagination-link "+l,disabled:m}).html(h)).appendTo(t),f.oApi._fnBindAction(r,{action:g},G),x++)}}};try{var B=a(k).find(c.activeElement).data("dt-idx")}catch(t){}var C=a('<nav class="pagination" role="navigation" aria-label="pagination"><ul class="pagination-list"></ul></nav>');a(k).empty().append(C);A(C.find("ul"),E);B!==e&&a(k).find("[data-dt-idx="+B+"]").trigger("focus")};a(c).on("init.dt",function(f,k){"dt"===f.namespace&&(f=new a.fn.dataTable.Api(k),
|
|
15
15
|
a("div.dataTables_length select",f.table().container()).wrap('<div class="select">'))});return d});
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"main": "js/dataTables.bulma.js",
|
|
5
5
|
"style": "css/dataTables.bulma.css",
|
|
6
6
|
"types": "./types/dataTables.bulma.d.ts",
|
|
7
|
-
"version": "1.
|
|
7
|
+
"version": "1.12.0",
|
|
8
8
|
"files": [
|
|
9
9
|
"css/**/*.css",
|
|
10
10
|
"js/**/*.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"sort"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"datatables.net": ">=1.
|
|
23
|
+
"datatables.net": ">=1.11.3",
|
|
24
24
|
"jquery": ">=1.7"
|
|
25
25
|
},
|
|
26
26
|
"moduleType": [
|