Skip to content

Commit d145dcf

Browse files
Updated DataTables Plugin (1.11.3 => 1.12.1)
1 parent 57f8e0b commit d145dcf

26 files changed

+2417
-1234
lines changed

src/jQueryDatatableServerSideNetCore/wwwroot/lib/datatables/css/dataTables.bootstrap.css

Lines changed: 185 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,166 @@
11
@charset "UTF-8";
2-
td.dt-control {
3-
background: url("https://www.datatables.net/examples/resources/details_open.png") no-repeat center center;
2+
table.dataTable td.dt-control {
3+
text-align: center;
4+
cursor: pointer;
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+
}
27+
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 {
434
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;
593
}
694

7-
tr.dt-hasChild td.dt-control {
8-
background: url("https://www.datatables.net/examples/resources/details_close.png") no-repeat center center;
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, 136, 204, 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;
9135
}
10136

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+
}
11164
table.dataTable th.dt-left,
12165
table.dataTable td.dt-left {
13166
text-align: left;
@@ -29,6 +182,12 @@ table.dataTable th.dt-nowrap,
29182
table.dataTable td.dt-nowrap {
30183
white-space: nowrap;
31184
}
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+
}
32191
table.dataTable thead th.dt-head-left,
33192
table.dataTable thead td.dt-head-left,
34193
table.dataTable tfoot th.dt-head-left,
@@ -100,6 +259,28 @@ table.dataTable.nowrap th,
100259
table.dataTable.nowrap td {
101260
white-space: nowrap;
102261
}
262+
table.dataTable.table-striped > tbody > tr:nth-of-type(2n+1) {
263+
background-color: transparent;
264+
}
265+
table.dataTable > tbody > tr {
266+
background-color: transparent;
267+
}
268+
table.dataTable > tbody > tr.selected > * {
269+
box-shadow: inset 0 0 0 9999px rgba(0, 136, 204, 0.9);
270+
color: white;
271+
}
272+
table.dataTable.table-striped > tbody > tr.odd > * {
273+
box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.023);
274+
}
275+
table.dataTable.table-striped > tbody > tr.odd.selected > * {
276+
box-shadow: inset 0 0 0 9999px rgba(0, 136, 204, 0.923);
277+
}
278+
table.dataTable.table-hover > tbody > tr:hover > * {
279+
box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.075);
280+
}
281+
table.dataTable.table-hover > tbody > tr.selected:hover > * {
282+
box-shadow: inset 0 0 0 9999px rgba(0, 136, 204, 0.975);
283+
}
103284

104285
div.dataTables_wrapper div.dataTables_length label {
105286
font-weight: normal;
@@ -147,56 +328,6 @@ div.dataTables_wrapper div.dataTables_processing {
147328
padding: 1em 0;
148329
}
149330

150-
table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting,
151-
table.dataTable thead > tr > td.sorting_asc,
152-
table.dataTable thead > tr > td.sorting_desc,
153-
table.dataTable thead > tr > td.sorting {
154-
padding-right: 30px;
155-
}
156-
table.dataTable thead > tr > th:active,
157-
table.dataTable thead > tr > td:active {
158-
outline: none;
159-
}
160-
table.dataTable thead .sorting,
161-
table.dataTable thead .sorting_asc,
162-
table.dataTable thead .sorting_desc,
163-
table.dataTable thead .sorting_asc_disabled,
164-
table.dataTable thead .sorting_desc_disabled {
165-
cursor: pointer;
166-
position: relative;
167-
}
168-
table.dataTable thead .sorting:after,
169-
table.dataTable thead .sorting_asc:after,
170-
table.dataTable thead .sorting_desc:after,
171-
table.dataTable thead .sorting_asc_disabled:after,
172-
table.dataTable thead .sorting_desc_disabled:after {
173-
position: absolute;
174-
bottom: 8px;
175-
right: 8px;
176-
display: block;
177-
font-family: "Glyphicons Halflings";
178-
opacity: 0.5;
179-
}
180-
table.dataTable thead .sorting:after {
181-
opacity: 0.2;
182-
content: "";
183-
/* sort */
184-
}
185-
table.dataTable thead .sorting_asc:after {
186-
opacity: 0.5;
187-
content: "";
188-
/* sort-by-attributes */
189-
}
190-
table.dataTable thead .sorting_desc:after {
191-
opacity: 0.5;
192-
content: "";
193-
/* sort-by-attributes-alt */
194-
}
195-
table.dataTable thead .sorting_asc_disabled:after,
196-
table.dataTable thead .sorting_desc_disabled:after {
197-
color: #eee;
198-
}
199-
200331
div.dataTables_scrollHead table.dataTable {
201332
margin-bottom: 0 !important;
202333
}
@@ -235,12 +366,6 @@ div.dataTables_wrapper div.dataTables_paginate {
235366
table.dataTable.table-condensed > thead > tr > th {
236367
padding-right: 20px;
237368
}
238-
table.dataTable.table-condensed .sorting:after,
239-
table.dataTable.table-condensed .sorting_asc:after,
240-
table.dataTable.table-condensed .sorting_desc:after {
241-
top: 6px;
242-
right: 6px;
243-
}
244369

245370
table.table-bordered.dataTable {
246371
border-right-width: 0;

src/jQueryDatatableServerSideNetCore/wwwroot/lib/datatables/css/dataTables.bootstrap.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)