From 0415b8664c8f223cce233d534de6c63424f5f433 Mon Sep 17 00:00:00 2001 From: Allan Jardine Date: Thu, 7 Aug 2014 09:35:55 +0100 Subject: [PATCH] Fix: Bootstrap 3 display for TableTools' info box Fixes #58 --- .../bootstrap/3/dataTables.bootstrap.css | 17 ++++++++++++++++- integration/bootstrap/3/dataTables.bootstrap.js | 2 +- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/integration/bootstrap/3/dataTables.bootstrap.css b/integration/bootstrap/3/dataTables.bootstrap.css index d5395c8..9e276ed 100644 --- a/integration/bootstrap/3/dataTables.bootstrap.css +++ b/integration/bootstrap/3/dataTables.bootstrap.css @@ -186,10 +186,25 @@ div.DTTT_collection_background { } /* TableTools information display */ -div.DTTT_print_info.modal { +div.DTTT_print_info { + position: fixed; + top: 50%; + left: 50%; + width: 400px; height: 150px; + margin-left: -200px; margin-top: -75px; text-align: center; + color: #333; + padding: 10px 30px; + opacity: 0.95; + + background-color: white; + border: 1px solid rgba(0, 0, 0, 0.2); + border-radius: 6px; + + -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5); + box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5); } div.DTTT_print_info h6 { diff --git a/integration/bootstrap/3/dataTables.bootstrap.js b/integration/bootstrap/3/dataTables.bootstrap.js index 6c1e70e..3f8782d 100644 --- a/integration/bootstrap/3/dataTables.bootstrap.js +++ b/integration/bootstrap/3/dataTables.bootstrap.js @@ -148,7 +148,7 @@ if ( DataTable.TableTools ) { } }, "print": { - "info": "DTTT_print_info modal" + "info": "DTTT_print_info" }, "select": { "row": "active"