Skip to content

Commit 81c9011

Browse files
Updated DataTables Plugin (1.10.19 => 1.10.20)
1 parent 0b9bd78 commit 81c9011

25 files changed

+18025
-167
lines changed
Lines changed: 187 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,187 @@
1+
table.dataTable {
2+
clear: both;
3+
margin-top: 6px !important;
4+
margin-bottom: 6px !important;
5+
max-width: none !important;
6+
border-collapse: separate !important;
7+
}
8+
table.dataTable td,
9+
table.dataTable th {
10+
-webkit-box-sizing: content-box;
11+
box-sizing: content-box;
12+
}
13+
table.dataTable td.dataTables_empty,
14+
table.dataTable th.dataTables_empty {
15+
text-align: center;
16+
}
17+
table.dataTable.nowrap th,
18+
table.dataTable.nowrap td {
19+
white-space: nowrap;
20+
}
21+
22+
div.dataTables_wrapper div.dataTables_length label {
23+
font-weight: normal;
24+
text-align: left;
25+
white-space: nowrap;
26+
}
27+
div.dataTables_wrapper div.dataTables_length select {
28+
width: 75px;
29+
display: inline-block;
30+
}
31+
div.dataTables_wrapper div.dataTables_filter {
32+
text-align: right;
33+
}
34+
div.dataTables_wrapper div.dataTables_filter label {
35+
font-weight: normal;
36+
white-space: nowrap;
37+
text-align: left;
38+
}
39+
div.dataTables_wrapper div.dataTables_filter input {
40+
margin-left: 0.5em;
41+
display: inline-block;
42+
width: auto;
43+
}
44+
div.dataTables_wrapper div.dataTables_info {
45+
padding-top: 8px;
46+
white-space: nowrap;
47+
}
48+
div.dataTables_wrapper div.dataTables_paginate {
49+
margin: 0;
50+
white-space: nowrap;
51+
text-align: right;
52+
}
53+
div.dataTables_wrapper div.dataTables_paginate ul.pagination {
54+
margin: 2px 0;
55+
white-space: nowrap;
56+
}
57+
div.dataTables_wrapper div.dataTables_processing {
58+
position: absolute;
59+
top: 50%;
60+
left: 50%;
61+
width: 200px;
62+
margin-left: -100px;
63+
margin-top: -26px;
64+
text-align: center;
65+
padding: 1em 0;
66+
}
67+
68+
table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting,
69+
table.dataTable thead > tr > td.sorting_asc,
70+
table.dataTable thead > tr > td.sorting_desc,
71+
table.dataTable thead > tr > td.sorting {
72+
padding-right: 30px;
73+
}
74+
table.dataTable thead > tr > th:active,
75+
table.dataTable thead > tr > td:active {
76+
outline: none;
77+
}
78+
table.dataTable thead .sorting,
79+
table.dataTable thead .sorting_asc,
80+
table.dataTable thead .sorting_desc,
81+
table.dataTable thead .sorting_asc_disabled,
82+
table.dataTable thead .sorting_desc_disabled {
83+
cursor: pointer;
84+
position: relative;
85+
}
86+
table.dataTable thead .sorting:after,
87+
table.dataTable thead .sorting_asc:after,
88+
table.dataTable thead .sorting_desc:after,
89+
table.dataTable thead .sorting_asc_disabled:after,
90+
table.dataTable thead .sorting_desc_disabled:after {
91+
position: absolute;
92+
bottom: 8px;
93+
right: 8px;
94+
display: block;
95+
font-family: 'Glyphicons Halflings';
96+
opacity: 0.5;
97+
}
98+
table.dataTable thead .sorting:after {
99+
opacity: 0.2;
100+
content: "\e150";
101+
/* sort */
102+
}
103+
table.dataTable thead .sorting_asc:after {
104+
content: "\e155";
105+
/* sort-by-attributes */
106+
}
107+
table.dataTable thead .sorting_desc:after {
108+
content: "\e156";
109+
/* sort-by-attributes-alt */
110+
}
111+
table.dataTable thead .sorting_asc_disabled:after,
112+
table.dataTable thead .sorting_desc_disabled:after {
113+
color: #eee;
114+
}
115+
116+
div.dataTables_scrollHead table.dataTable {
117+
margin-bottom: 0 !important;
118+
}
119+
120+
div.dataTables_scrollBody > table {
121+
border-top: none;
122+
margin-top: 0 !important;
123+
margin-bottom: 0 !important;
124+
}
125+
div.dataTables_scrollBody > table > thead .sorting:after,
126+
div.dataTables_scrollBody > table > thead .sorting_asc:after,
127+
div.dataTables_scrollBody > table > thead .sorting_desc:after {
128+
display: none;
129+
}
130+
div.dataTables_scrollBody > table > tbody > tr:first-child > th,
131+
div.dataTables_scrollBody > table > tbody > tr:first-child > td {
132+
border-top: none;
133+
}
134+
135+
div.dataTables_scrollFoot > .dataTables_scrollFootInner {
136+
box-sizing: content-box;
137+
}
138+
div.dataTables_scrollFoot > .dataTables_scrollFootInner > table {
139+
margin-top: 0 !important;
140+
border-top: none;
141+
}
142+
143+
@media screen and (max-width: 767px) {
144+
div.dataTables_wrapper div.dataTables_length,
145+
div.dataTables_wrapper div.dataTables_filter,
146+
div.dataTables_wrapper div.dataTables_info,
147+
div.dataTables_wrapper div.dataTables_paginate {
148+
text-align: center;
149+
}
150+
}
151+
table.dataTable.table-condensed > thead > tr > th {
152+
padding-right: 20px;
153+
}
154+
table.dataTable.table-condensed .sorting:after,
155+
table.dataTable.table-condensed .sorting_asc:after,
156+
table.dataTable.table-condensed .sorting_desc:after {
157+
top: 6px;
158+
right: 6px;
159+
}
160+
161+
table.table-bordered.dataTable th,
162+
table.table-bordered.dataTable td {
163+
border-left-width: 0;
164+
}
165+
table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable th:last-child,
166+
table.table-bordered.dataTable td:last-child,
167+
table.table-bordered.dataTable td:last-child {
168+
border-right-width: 0;
169+
}
170+
table.table-bordered.dataTable tbody th,
171+
table.table-bordered.dataTable tbody td {
172+
border-bottom-width: 0;
173+
}
174+
175+
div.dataTables_scrollHead table.table-bordered {
176+
border-bottom-width: 0;
177+
}
178+
179+
div.table-responsive > div.dataTables_wrapper > div.row {
180+
margin: 0;
181+
}
182+
div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:first-child {
183+
padding-left: 0;
184+
}
185+
div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:last-child {
186+
padding-right: 0;
187+
}

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

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 206 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,206 @@
1+
table.dataTable {
2+
clear: both;
3+
margin-top: 6px !important;
4+
margin-bottom: 6px !important;
5+
max-width: none !important;
6+
border-collapse: separate !important;
7+
border-spacing: 0;
8+
}
9+
table.dataTable td,
10+
table.dataTable th {
11+
-webkit-box-sizing: content-box;
12+
box-sizing: content-box;
13+
}
14+
table.dataTable td.dataTables_empty,
15+
table.dataTable th.dataTables_empty {
16+
text-align: center;
17+
}
18+
table.dataTable.nowrap th,
19+
table.dataTable.nowrap td {
20+
white-space: nowrap;
21+
}
22+
23+
div.dataTables_wrapper div.dataTables_length label {
24+
font-weight: normal;
25+
text-align: left;
26+
white-space: nowrap;
27+
}
28+
div.dataTables_wrapper div.dataTables_length select {
29+
width: auto;
30+
display: inline-block;
31+
}
32+
div.dataTables_wrapper div.dataTables_filter {
33+
text-align: right;
34+
}
35+
div.dataTables_wrapper div.dataTables_filter label {
36+
font-weight: normal;
37+
white-space: nowrap;
38+
text-align: left;
39+
}
40+
div.dataTables_wrapper div.dataTables_filter input {
41+
margin-left: 0.5em;
42+
display: inline-block;
43+
width: auto;
44+
}
45+
div.dataTables_wrapper div.dataTables_info {
46+
padding-top: 0.85em;
47+
white-space: nowrap;
48+
}
49+
div.dataTables_wrapper div.dataTables_paginate {
50+
margin: 0;
51+
white-space: nowrap;
52+
text-align: right;
53+
}
54+
div.dataTables_wrapper div.dataTables_paginate ul.pagination {
55+
margin: 2px 0;
56+
white-space: nowrap;
57+
justify-content: flex-end;
58+
}
59+
div.dataTables_wrapper div.dataTables_processing {
60+
position: absolute;
61+
top: 50%;
62+
left: 50%;
63+
width: 200px;
64+
margin-left: -100px;
65+
margin-top: -26px;
66+
text-align: center;
67+
padding: 1em 0;
68+
}
69+
70+
table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting,
71+
table.dataTable thead > tr > td.sorting_asc,
72+
table.dataTable thead > tr > td.sorting_desc,
73+
table.dataTable thead > tr > td.sorting {
74+
padding-right: 30px;
75+
}
76+
table.dataTable thead > tr > th:active,
77+
table.dataTable thead > tr > td:active {
78+
outline: none;
79+
}
80+
table.dataTable thead .sorting,
81+
table.dataTable thead .sorting_asc,
82+
table.dataTable thead .sorting_desc,
83+
table.dataTable thead .sorting_asc_disabled,
84+
table.dataTable thead .sorting_desc_disabled {
85+
cursor: pointer;
86+
position: relative;
87+
}
88+
table.dataTable thead .sorting:before, table.dataTable thead .sorting:after,
89+
table.dataTable thead .sorting_asc:before,
90+
table.dataTable thead .sorting_asc:after,
91+
table.dataTable thead .sorting_desc:before,
92+
table.dataTable thead .sorting_desc:after,
93+
table.dataTable thead .sorting_asc_disabled:before,
94+
table.dataTable thead .sorting_asc_disabled:after,
95+
table.dataTable thead .sorting_desc_disabled:before,
96+
table.dataTable thead .sorting_desc_disabled:after {
97+
position: absolute;
98+
bottom: 0.9em;
99+
display: block;
100+
opacity: 0.3;
101+
}
102+
table.dataTable thead .sorting:before,
103+
table.dataTable thead .sorting_asc:before,
104+
table.dataTable thead .sorting_desc:before,
105+
table.dataTable thead .sorting_asc_disabled:before,
106+
table.dataTable thead .sorting_desc_disabled:before {
107+
right: 1em;
108+
content: "\2191";
109+
}
110+
table.dataTable thead .sorting:after,
111+
table.dataTable thead .sorting_asc:after,
112+
table.dataTable thead .sorting_desc:after,
113+
table.dataTable thead .sorting_asc_disabled:after,
114+
table.dataTable thead .sorting_desc_disabled:after {
115+
right: 0.5em;
116+
content: "\2193";
117+
}
118+
table.dataTable thead .sorting_asc:before,
119+
table.dataTable thead .sorting_desc:after {
120+
opacity: 1;
121+
}
122+
table.dataTable thead .sorting_asc_disabled:before,
123+
table.dataTable thead .sorting_desc_disabled:after {
124+
opacity: 0;
125+
}
126+
127+
div.dataTables_scrollHead table.dataTable {
128+
margin-bottom: 0 !important;
129+
}
130+
131+
div.dataTables_scrollBody table {
132+
border-top: none;
133+
margin-top: 0 !important;
134+
margin-bottom: 0 !important;
135+
}
136+
div.dataTables_scrollBody table thead .sorting:before,
137+
div.dataTables_scrollBody table thead .sorting_asc:before,
138+
div.dataTables_scrollBody table thead .sorting_desc:before,
139+
div.dataTables_scrollBody table thead .sorting:after,
140+
div.dataTables_scrollBody table thead .sorting_asc:after,
141+
div.dataTables_scrollBody table thead .sorting_desc:after {
142+
display: none;
143+
}
144+
div.dataTables_scrollBody table tbody tr:first-child th,
145+
div.dataTables_scrollBody table tbody tr:first-child td {
146+
border-top: none;
147+
}
148+
149+
div.dataTables_scrollFoot > .dataTables_scrollFootInner {
150+
box-sizing: content-box;
151+
}
152+
div.dataTables_scrollFoot > .dataTables_scrollFootInner > table {
153+
margin-top: 0 !important;
154+
border-top: none;
155+
}
156+
157+
@media screen and (max-width: 767px) {
158+
div.dataTables_wrapper div.dataTables_length,
159+
div.dataTables_wrapper div.dataTables_filter,
160+
div.dataTables_wrapper div.dataTables_info,
161+
div.dataTables_wrapper div.dataTables_paginate {
162+
text-align: center;
163+
}
164+
}
165+
table.dataTable.table-sm > thead > tr > th {
166+
padding-right: 20px;
167+
}
168+
table.dataTable.table-sm .sorting:before,
169+
table.dataTable.table-sm .sorting_asc:before,
170+
table.dataTable.table-sm .sorting_desc:before {
171+
top: 5px;
172+
right: 0.85em;
173+
}
174+
table.dataTable.table-sm .sorting:after,
175+
table.dataTable.table-sm .sorting_asc:after,
176+
table.dataTable.table-sm .sorting_desc:after {
177+
top: 5px;
178+
}
179+
180+
table.table-bordered.dataTable th,
181+
table.table-bordered.dataTable td {
182+
border-left-width: 0;
183+
}
184+
table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable th:last-child,
185+
table.table-bordered.dataTable td:last-child,
186+
table.table-bordered.dataTable td:last-child {
187+
border-right-width: 0;
188+
}
189+
table.table-bordered.dataTable tbody th,
190+
table.table-bordered.dataTable tbody td {
191+
border-bottom-width: 0;
192+
}
193+
194+
div.dataTables_scrollHead table.table-bordered {
195+
border-bottom-width: 0;
196+
}
197+
198+
div.table-responsive > div.dataTables_wrapper > div.row {
199+
margin: 0;
200+
}
201+
div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:first-child {
202+
padding-left: 0;
203+
}
204+
div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:last-child {
205+
padding-right: 0;
206+
}

0 commit comments

Comments
 (0)