app/assets/stylesheets/dataTables/jquery.dataTables.scss in jquery-datatables-rails-3.2.0 vs app/assets/stylesheets/dataTables/jquery.dataTables.scss in jquery-datatables-rails-3.3.0

- old
+ new

@@ -30,30 +30,38 @@ table.dataTable tfoot th, table.dataTable tfoot td { padding: 10px 18px 6px 18px; border-top: 1px solid #111111; } +table.dataTable thead .sorting, table.dataTable thead .sorting_asc, -table.dataTable thead .sorting_desc, -table.dataTable thead .sorting { +table.dataTable thead .sorting_desc { cursor: pointer; *cursor: hand; } +table.dataTable thead .sorting, +table.dataTable thead .sorting_asc, +table.dataTable thead .sorting_desc, +table.dataTable thead .sorting_asc_disabled, +table.dataTable thead .sorting_desc_disabled { + background-repeat: no-repeat; + background-position: center right; +} table.dataTable thead .sorting { - background: image_url('dataTables/sort_both.png') no-repeat center right; + background-image: image_url('dataTables/sort_both.png'); } table.dataTable thead .sorting_asc { - background: image_url('dataTables/sort_asc.png') no-repeat center right; + background-image: image_url('dataTables/sort_asc.png'); } table.dataTable thead .sorting_desc { - background: image_url('dataTables/sort_desc.png') no-repeat center right; + background-image: image_url('dataTables/sort_desc.png'); } table.dataTable thead .sorting_asc_disabled { - background: image_url('dataTables/sort_asc_disabled.png') no-repeat center right; + background-image: image_url('dataTables/sort_asc_disabled.png'); } table.dataTable thead .sorting_desc_disabled { - background: image_url('dataTables/sort_desc_disabled.png') no-repeat center right; + background-image: image_url('dataTables/sort_desc_disabled.png'); } table.dataTable tbody tr { background-color: white; } table.dataTable tbody tr.selected { @@ -201,19 +209,19 @@ table.dataTable.nowrap th, table.dataTable.nowrap td { white-space: nowrap; } table.dataTable.compact thead th, table.dataTable.compact thead td { - padding: 5px 9px; + padding: 4px 17px 4px 4px; } table.dataTable.compact tfoot th, table.dataTable.compact tfoot td { - padding: 5px 9px 3px 9px; + padding: 4px; } table.dataTable.compact tbody th, table.dataTable.compact tbody td { - padding: 4px 5px; + padding: 4px; } table.dataTable th.dt-left, table.dataTable td.dt-left { text-align: left; } @@ -391,10 +399,13 @@ /* Opera 11.10+ */ background: linear-gradient(to bottom, #2b2b2b 0%, #0c0c0c 100%); /* W3C */ box-shadow: inset 0 0 3px #111; } +.dataTables_wrapper .dataTables_paginate .ellipsis { + padding: 0 1em; +} .dataTables_wrapper .dataTables_processing { position: absolute; top: 50%; left: 50%; width: 100%; @@ -447,10 +458,10 @@ border-bottom: none; } .dataTables_wrapper:after { visibility: hidden; display: block; - content: ''; + content: ""; clear: both; height: 0; } @media screen and (max-width: 767px) {