Skip to content

Commit 443d5ec

Browse files
Update stylesheets for DataTables v1.10.2
1 parent aa730b3 commit 443d5ec

File tree

1 file changed

+91
-14
lines changed

1 file changed

+91
-14
lines changed

Diff for: app/assets/stylesheets/dataTables/jquery.dataTables.css.scss

+91-14
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,19 @@ table.dataTable thead .sorting {
3939
*cursor: hand;
4040
}
4141
table.dataTable thead .sorting {
42-
background: image-url('dataTables/sort_both.png') no-repeat center right;
42+
background: image-url("dataTables/sort_both.png") no-repeat center right;
4343
}
4444
table.dataTable thead .sorting_asc {
45-
background: image-url('dataTables/sort_asc.png') no-repeat center right;
45+
background: image-url("dataTables/sort_asc.png") no-repeat center right;
4646
}
4747
table.dataTable thead .sorting_desc {
48-
background: image-url('dataTables/sort_desc.png') no-repeat center right;
48+
background: image-url("dataTables/sort_desc.png") no-repeat center right;
4949
}
5050
table.dataTable thead .sorting_asc_disabled {
51-
background: image-url('dataTables/sort_asc_disabled.png') no-repeat center right;
51+
background: image-url("dataTables/sort_asc_disabled.png") no-repeat center right;
5252
}
5353
table.dataTable thead .sorting_desc_disabled {
54-
background: image-url('dataTables/sort_desc_disabled.png') no-repeat center right;
54+
background: image-url("dataTables/sort_desc_disabled.png") no-repeat center right;
5555
}
5656
table.dataTable tbody tr {
5757
background-color: white;
@@ -63,15 +63,6 @@ table.dataTable tbody th,
6363
table.dataTable tbody td {
6464
padding: 8px 10px;
6565
}
66-
table.dataTable th.center,
67-
table.dataTable td.center,
68-
table.dataTable td.dataTables_empty {
69-
text-align: center;
70-
}
71-
table.dataTable th.right,
72-
table.dataTable td.right {
73-
text-align: right;
74-
}
7566
table.dataTable.row-border tbody th, table.dataTable.row-border tbody td, table.dataTable.display tbody th, table.dataTable.display tbody td {
7667
border-top: 1px solid #dddddd;
7768
}
@@ -207,6 +198,92 @@ table.dataTable.order-column.hover tbody tr.even:hover.selected > .sorting_3 {
207198
table.dataTable.no-footer {
208199
border-bottom: 1px solid #111111;
209200
}
201+
table.dataTable.nowrap th, table.dataTable.nowrap td {
202+
white-space: nowrap;
203+
}
204+
table.dataTable.compact thead th,
205+
table.dataTable.compact thead td {
206+
padding: 5px 9px;
207+
}
208+
table.dataTable.compact tfoot th,
209+
table.dataTable.compact tfoot td {
210+
padding: 5px 9px 3px 9px;
211+
}
212+
table.dataTable.compact tbody th,
213+
table.dataTable.compact tbody td {
214+
padding: 4px 5px;
215+
}
216+
table.dataTable th.dt-left,
217+
table.dataTable td.dt-left {
218+
text-align: left;
219+
}
220+
table.dataTable th.dt-center,
221+
table.dataTable td.dt-center,
222+
table.dataTable td.dataTables_empty {
223+
text-align: center;
224+
}
225+
table.dataTable th.dt-right,
226+
table.dataTable td.dt-right {
227+
text-align: right;
228+
}
229+
table.dataTable th.dt-justify,
230+
table.dataTable td.dt-justify {
231+
text-align: justify;
232+
}
233+
table.dataTable th.dt-nowrap,
234+
table.dataTable td.dt-nowrap {
235+
white-space: nowrap;
236+
}
237+
table.dataTable thead th.dt-head-left,
238+
table.dataTable thead td.dt-head-left,
239+
table.dataTable tfoot th.dt-head-left,
240+
table.dataTable tfoot td.dt-head-left {
241+
text-align: left;
242+
}
243+
table.dataTable thead th.dt-head-center,
244+
table.dataTable thead td.dt-head-center,
245+
table.dataTable tfoot th.dt-head-center,
246+
table.dataTable tfoot td.dt-head-center {
247+
text-align: center;
248+
}
249+
table.dataTable thead th.dt-head-right,
250+
table.dataTable thead td.dt-head-right,
251+
table.dataTable tfoot th.dt-head-right,
252+
table.dataTable tfoot td.dt-head-right {
253+
text-align: right;
254+
}
255+
table.dataTable thead th.dt-head-justify,
256+
table.dataTable thead td.dt-head-justify,
257+
table.dataTable tfoot th.dt-head-justify,
258+
table.dataTable tfoot td.dt-head-justify {
259+
text-align: justify;
260+
}
261+
table.dataTable thead th.dt-head-nowrap,
262+
table.dataTable thead td.dt-head-nowrap,
263+
table.dataTable tfoot th.dt-head-nowrap,
264+
table.dataTable tfoot td.dt-head-nowrap {
265+
white-space: nowrap;
266+
}
267+
table.dataTable tbody th.dt-body-left,
268+
table.dataTable tbody td.dt-body-left {
269+
text-align: left;
270+
}
271+
table.dataTable tbody th.dt-body-center,
272+
table.dataTable tbody td.dt-body-center {
273+
text-align: center;
274+
}
275+
table.dataTable tbody th.dt-body-right,
276+
table.dataTable tbody td.dt-body-right {
277+
text-align: right;
278+
}
279+
table.dataTable tbody th.dt-body-justify,
280+
table.dataTable tbody td.dt-body-justify {
281+
text-align: justify;
282+
}
283+
table.dataTable tbody th.dt-body-nowrap,
284+
table.dataTable tbody td.dt-body-nowrap {
285+
white-space: nowrap;
286+
}
210287

211288
table.dataTable,
212289
table.dataTable th,

0 commit comments

Comments
 (0)