From 3f1454599507adb32890558c797f7db9e0abd8f8 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Wed, 6 Jun 2012 15:24:28 +0100 Subject: [PATCH] Bootstrap integration - add TableTools print styling and the modal class to the information display --- .../bootstrap/dataTables.bootstrap.css | 19 +++++++++++++++++++ integration/bootstrap/dataTables.bootstrap.js | 3 +++ 2 files changed, 22 insertions(+) diff --git a/integration/bootstrap/dataTables.bootstrap.css b/integration/bootstrap/dataTables.bootstrap.css index 7dfb4a6..654e7ce 100644 --- a/integration/bootstrap/dataTables.bootstrap.css +++ b/integration/bootstrap/dataTables.bootstrap.css @@ -58,3 +58,22 @@ ul.DTTT_dropdown.dropdown-menu li:hover a { background-color: #0088cc; color: white !important; } + +/* TableTools information display */ +div.DTTT_print_info.modal { + height: 150px; + margin-top: -75px; + text-align: center; +} + +div.DTTT_print_info h6 { + font-weight: normal; + font-size: 28px; + line-height: 28px; + margin: 1em; +} + +div.DTTT_print_info p { + font-size: 14px; + line-height: 20px; +} diff --git a/integration/bootstrap/dataTables.bootstrap.js b/integration/bootstrap/dataTables.bootstrap.js index dbc17bf..f9c3b27 100644 --- a/integration/bootstrap/dataTables.bootstrap.js +++ b/integration/bootstrap/dataTables.bootstrap.js @@ -125,6 +125,9 @@ if ( $.fn.DataTable.TableTools ) { "normal": "", "disabled": "disabled" } + }, + "print": { + "info": "DTTT_print_info modal" } } );