From a516898e3526c9cad49605db20d350dc36d06821 Mon Sep 17 00:00:00 2001 From: Luis Maia Date: Thu, 10 Jul 2014 15:12:12 +0200 Subject: [PATCH] =?UTF-8?q?Remove=20TableTools=5FJUI.css=20file=20from=20p?= =?UTF-8?q?roject=20because=20after=20TableTools=20version=202.2.0=20(28?= =?UTF-8?q?=20Jan=202014)=20it=E2=80=99s=20only=20necessary=20to=20referen?= =?UTF-8?q?ce=20the=20file=20dataTables.tableTools.css.scss=20to=20use=20T?= =?UTF-8?q?ableTools=20correctly.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Readme.md | 7 +- .../dataTables/extras/TableTools_JUI.css | 185 ------------------ 2 files changed, 3 insertions(+), 189 deletions(-) delete mode 100755 app/assets/stylesheets/dataTables/extras/TableTools_JUI.css diff --git a/Readme.md b/Readme.md index f589cfe..f8facc8 100755 --- a/Readme.md +++ b/Readme.md @@ -216,20 +216,19 @@ Responsive : dataTables.responsive ``` 2 - Additionally, you may need to add any associated CSS files. For instance the TableTools extra requires -you to add the following two lines to your `application.css` file: +you to add the following line to your `application.css` file: ```css *= require dataTables/extras/dataTables.tableTools -*= require dataTables/extras/TableTools_JUI ``` -Make sure to also add it's initialization as described on [datatables extras' site][datatables_extras] +Make sure to also add it's initialization as described on [datatables extras' site][datatables_extras]. ## Articles and Extras [RailsCast #340 DataTables] Apr 11, 2012. -[ajax-datatables-rails] a wrapper around datatable's ajax methods that allow synchronization with server-side +[ajax-datatables-rails] a wrapper around datatable's ajax methods that allow synchronization with server-side. ## Thanks diff --git a/app/assets/stylesheets/dataTables/extras/TableTools_JUI.css b/app/assets/stylesheets/dataTables/extras/TableTools_JUI.css deleted file mode 100755 index dc6499b..0000000 --- a/app/assets/stylesheets/dataTables/extras/TableTools_JUI.css +++ /dev/null @@ -1,185 +0,0 @@ -/* - * File: TableTools.css - * Description: Styles for TableTools 2 with JUI theming - * Author: Allan Jardine (www.sprymedia.co.uk) - * Language: Javascript - * License: LGPL / 3 point BSD - * Project: DataTables - * - * Copyright 2010 Allan Jardine, all rights reserved. - * - * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * - * Notes: - * Generally speaking, please refer to the TableTools.css file - this file contains basic - * modifications to that 'master' stylesheet for ThemeRoller. - * - * CSS name space: - * DTTT DataTables TableTools - * - * Colour dictionary: - * Button border #d0d0d0 - * Button border hover #999999 - * Hover background #f0f0f0 - * Action blue #4b66d9 - * - * Style sheet provides: - * CONTAINER TableTools container element and styles applying to all components - * SELECTING Row selection styles - * COLLECTIONS Drop down list (collection) styles - * PRINTING Print display styles - * MISC Minor misc styles - */ - - -/* - * CONTAINER - * TableTools container element and styles applying to all components - */ -div.DTTT_container { - position: relative; - float: left; -} - -.DTTT_button { - position: relative; - float: left; - margin-right: 3px; - padding: 3px 10px; - border: 1px solid #d0d0d0; - background-color: #fff; - color: #333 !important; - cursor: pointer; - *cursor: hand; -} - -.DTTT_button::-moz-focus-inner { - border: none !important; - padding: 0; -} - - - -/* - * SELECTING - * Row selection styles - */ -table.DTTT_selectable tbody tr { - cursor: pointer; - *cursor: hand; -} - -table.dataTable tr.DTTT_selected.odd { - background-color: #9FAFD1; -} - -table.dataTable tr.DTTT_selected.odd td.sorting_1 { - background-color: #9FAFD1; -} - -table.dataTable tr.DTTT_selected.odd td.sorting_2 { - background-color: #9FAFD1; -} - -table.dataTable tr.DTTT_selected.odd td.sorting_3 { - background-color: #9FAFD1; -} - - -table.dataTable tr.DTTT_selected.even { - background-color: #B0BED9; -} - -table.dataTable tr.DTTT_selected.even td.sorting_1 { - background-color: #B0BED9; -} - -table.dataTable tr.DTTT_selected.even td.sorting_2 { - background-color: #B0BED9; -} - -table.dataTable tr.DTTT_selected.even td.sorting_3 { - background-color: #B0BED9; -} - - -/* - * COLLECTIONS - * Drop down list (collection) styles - */ - -div.DTTT_collection { - width: 150px; - background-color: #f3f3f3; - overflow: hidden; - z-index: 2002; - - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5); - -moz-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5); - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5); -} - -div.DTTT_collection_background { - background: url('/assets/dataTables/extras/background.png') repeat top left; - z-index: 2001; -} - -div.DTTT_collection button.DTTT_button, -div.DTTT_collection div.DTTT_button, -div.DTTT_collection a.DTTT_button { - float: none; - width: 100%; - margin-bottom: -0.1em; -} - - -/* - * PRINTING - * Print display styles - */ - -.DTTT_print_info { - position: absolute; - top: 50%; - left: 50%; - width: 400px; - height: 150px; - margin-left: -200px; - margin-top: -75px; - text-align: center; - background-color: #3f3f3f; - color: white; - padding: 10px 30px; - - opacity: 0.9; - - border-radius: 5px; - -moz-border-radius: 5px; - -webkit-border-radius: 5px; - - box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5); - -moz-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5); - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5); -} - -.DTTT_print_info h6 { - font-weight: normal; - font-size: 28px; - line-height: 28px; - margin: 1em; -} - -.DTTT_print_info p { - font-size: 14px; - line-height: 20px; -} - - -/* - * MISC - * Minor misc styles - */ - -.DTTT_disabled { - color: #999; -}