From 85365ef8823eda133f7ae4fd89e0a6c51e2d11a5 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Sat, 14 Jul 2012 08:52:35 +0100 Subject: [PATCH] Fix: Improvements for bootstrap integration with Scrolling New: Add FixedColumns support to the Bootstrap integration --- .../bootstrap/dataTables.bootstrap.css | 67 +++++++++++++++++++ 1 file changed, 67 insertions(+) diff --git a/integration/bootstrap/dataTables.bootstrap.css b/integration/bootstrap/dataTables.bootstrap.css index 3732779..bb7c66d 100644 --- a/integration/bootstrap/dataTables.bootstrap.css +++ b/integration/bootstrap/dataTables.bootstrap.css @@ -46,6 +46,35 @@ table.dataTable th:active { outline: none; } +/* Scrolling */ +div.dataTables_scrollHead table { + margin-bottom: 0 !important; + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + +div.dataTables_scrollHead table thead tr:last-child th:first-child, +div.dataTables_scrollHead table thead tr:last-child td:first-child { + border-bottom-left-radius: 0 !important; + border-bottom-right-radius: 0 !important; +} + +div.dataTables_scrollBody table { + border-top: none; + margin-bottom: 0 !important; +} + +div.dataTables_scrollBody tbody tr:first-child th, +div.dataTables_scrollBody tbody tr:first-child td { + border-top: none; +} + +div.dataTables_scrollFoot table { + border-top: none; +} + + + /* * TableTools styles @@ -108,3 +137,41 @@ div.DTTT_print_info p { font-size: 14px; line-height: 20px; } + + + +/* + * FixedColumns styles + */ +table.DTFC_Cloned tr.even { + background-color: white; +} + +div.DTFC_LeftHeadWrapper table { + margin-bottom: 0 !important; + border-top-right-radius: 0 !important; + border-bottom-left-radius: 0 !important; + border-bottom-right-radius: 0 !important; +} + +div.DTFC_LeftHeadWrapper table thead tr:last-child th:first-child, +div.DTFC_LeftHeadWrapper table thead tr:last-child td:first-child { + border-bottom-left-radius: 0 !important; + border-bottom-right-radius: 0 !important; +} + +div.DTFC_LeftBodyWrapper table { + border-top: none; + margin-bottom: 0 !important; +} + +div.DTFC_LeftBodyWrapper tbody tr:first-child th, +div.DTFC_LeftBodyWrapper tbody tr:first-child td { + border-top: none; +} + +div.DTFC_LeftFootWrapper table { + border-top: none; +} + +