1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-03-15 16:29:16 +01:00

Update: CSS - remove margin at the bottom ofhte table - it was causing

problems with the extensions which clone the table node. Rather the
margin is applied to the controls at the bottom of the table.
This commit is contained in:
Allan Jardine 2014-01-31 13:27:55 +00:00
parent 5449eaebf3
commit 9486f3ea02
2 changed files with 8 additions and 16 deletions

View File

@ -1 +1 @@
8238b3057f27bff04a3aa2e1e4ef73013b1936a8 dcfefb9ec6d6d94c9bf758a1d24f76368c2a8340

View File

@ -15,17 +15,12 @@ table.dataTable {
*/ */
} }
table.dataTable thead th, table.dataTable thead th,
table.dataTable thead td,
table.dataTable tfoot th,
table.dataTable tfoot td {
padding: 10px 18px;
}
table.dataTable thead th,
table.dataTable tfoot th { table.dataTable tfoot th {
font-weight: bold; font-weight: bold;
} }
table.dataTable thead th, table.dataTable thead th,
table.dataTable thead td { table.dataTable thead td {
padding: 10px 18px;
border-bottom: 1px solid #111111; border-bottom: 1px solid #111111;
} }
table.dataTable thead th:active, table.dataTable thead th:active,
@ -34,6 +29,7 @@ table.dataTable thead td:active {
} }
table.dataTable tfoot th, table.dataTable tfoot th,
table.dataTable tfoot td { table.dataTable tfoot td {
padding: 10px 18px 6px 18px;
border-top: 1px solid #111111; border-top: 1px solid #111111;
} }
table.dataTable thead .sorting_asc, table.dataTable thead .sorting_asc,
@ -210,7 +206,6 @@ table.dataTable.order-column.hover tbody tr.even:hover.selected > .sorting_3 {
} }
table.dataTable.no-footer { table.dataTable.no-footer {
border-bottom: 1px solid #111111; border-bottom: 1px solid #111111;
margin-bottom: 0.5em;
} }
table.dataTable, table.dataTable,
@ -243,11 +238,12 @@ table.dataTable td {
.dataTables_wrapper .dataTables_info { .dataTables_wrapper .dataTables_info {
clear: both; clear: both;
float: left; float: left;
padding-top: 0.55em; padding-top: 0.755em;
} }
.dataTables_wrapper .dataTables_paginate { .dataTables_wrapper .dataTables_paginate {
float: right; float: right;
text-align: right; text-align: right;
padding-top: 0.25em;
} }
.dataTables_wrapper .dataTables_paginate .paginate_button { .dataTables_wrapper .dataTables_paginate .paginate_button {
box-sizing: border-box; box-sizing: border-box;
@ -353,15 +349,11 @@ table.dataTable td {
} }
.dataTables_wrapper .dataTables_scroll { .dataTables_wrapper .dataTables_scroll {
clear: both; clear: both;
border-bottom: 1px solid #111111;
} }
.dataTables_wrapper .dataTables_scroll table.no-footer { .dataTables_wrapper .dataTables_scroll div.dataTables_scrollHead table.no-footer,
margin-bottom: 0;
}
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollHead table.no-footer {
border-bottom: none;
}
.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody table.no-footer { .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody table.no-footer {
margin-bottom: 0.5em; border-bottom: none;
} }
.dataTables_wrapper .dataTables_scrollBody { .dataTables_wrapper .dataTables_scrollBody {
*margin-top: -1px; *margin-top: -1px;