3 * Description: Styles for TableTools 2
4 * Author: Allan Jardine (www.sprymedia.co.uk)
6 * License: GPL v2 / 3 point BSD
9 * Copyright 2009-2012 Allan Jardine, all rights reserved.
11 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
14 * DTTT DataTables TableTools
16 * Style sheet provides:
17 * CONTAINER TableTools container element and styles applying to all components
18 * BUTTON_STYLES Action specific button styles
19 * SELECTING Row selection styles
20 * COLLECTIONS Drop down list (collection) styles
21 * PRINTING Print display styles
27 * TableTools container element and styles applying to all components
35 @media screen and
(max-width: 640px) {
37 float: none
!important
;
41 div
.DTTT_container:after
{
55 display: inline-block
;
58 border: 1px solid
#999;
62 color: black
!important
;
64 -webkit-border-radius: 2px;
65 -moz-border-radius: 2px;
66 -ms-border-radius: 2px;
67 -o-border-radius: 2px;
70 -webkit-box-shadow: 1px 1px 3px #ccc;
71 -moz-box-shadow: 1px 1px 3px #ccc;
72 -ms-box-shadow: 1px 1px 3px #ccc;
73 -o-box-shadow: 1px 1px 3px #ccc;
74 box-shadow: 1px 1px 3px #ccc;
76 /* Generated by http://www.colorzilla.com/gradient-editor/ */
77 background: #ffffff; /* Old browsers */
78 background: -webkit-linear-gradient
(top
, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* Chrome10+,Safari5.1+ */
79 background: -moz-linear-gradient
(top
, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* FF3.6+ */
80 background: -ms-linear-gradient
(top
, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* IE10+ */
81 background: -o-linear-gradient
(top
, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* Opera 11.10+ */
82 background: linear-gradient
(top
, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* W3C */
83 filter: progid:DXImageTransform
.Microsoft
.gradient
( startColorstr
='#ffffff', endColorstr
='#f9f9f9',GradientType
=0 ); /* IE6-9 */
87 /* Buttons are cunning border-box sizing - we can't just use that for A and DIV due to IE6/7 */
97 button
.DTTT_button:hover:not
(.DTTT_disabled
),
98 div
.DTTT_button:hover:not
(.DTTT_disabled
),
99 a
.DTTT_button:hover:not
(.DTTT_disabled
) {
100 border: 1px solid
#666;
101 text-decoration: none
!important
;
103 -webkit-box-shadow: 1px 1px 3px #999;
104 -moz-box-shadow: 1px 1px 3px #999;
105 -ms-box-shadow: 1px 1px 3px #999;
106 -o-box-shadow: 1px 1px 3px #999;
107 box-shadow: 1px 1px 3px #999;
109 background: #f3f3f3; /* Old browsers */
110 background: -webkit-linear-gradient
(top
, #f3f3f3 0%,#e2e2e2 89%,#f4f4f4 100%); /* Chrome10+,Safari5.1+ */
111 background: -moz-linear-gradient
(top
, #f3f3f3 0%,#e2e2e2 89%,#f4f4f4 100%); /* FF3.6+ */
112 background: -ms-linear-gradient
(top
, #f3f3f3 0%,#e2e2e2 89%,#f4f4f4 100%); /* IE10+ */
113 background: -o-linear-gradient
(top
, #f3f3f3 0%,#e2e2e2 89%,#f4f4f4 100%); /* Opera 11.10+ */
114 background: linear-gradient
(top
, #f3f3f3 0%,#e2e2e2 89%,#f4f4f4 100%); /* W3C */
115 filter: progid:DXImageTransform
.Microsoft
.gradient
( startColorstr
='#f3f3f3', endColorstr
='#f4f4f4',GradientType
=0 ); /* IE6-9 */
118 button
.DTTT_button:focus
,
119 div
.DTTT_button:focus
,
120 a
.DTTT_button:focus
{
121 border: 1px solid
#426c9e;
122 text-shadow: 0 1px 0 #c4def1;
125 background-color: #a3d0ef 100%;
126 background-image: -webkit-linear-gradient
(top
, #a3d0ef 0%, #79ace9 65%, #a3d0ef 100%);
127 background-image: -moz-linear-gradient
(top
, #a3d0ef 0%, #79ace9 65%, #a3d0ef 100%);
128 background-image: -ms-linear-gradient
(top
, #a3d0ef 0%, #79ace9 65%, #a3d0ef 100%);
129 background-image: -o-linear-gradient
(top
, #a3d0ef 0%, #79ace9 65%, #a3d0ef 100%);
130 background-image: linear-gradient
(top
, #a3d0ef 0%, #79ace9 65%, #a3d0ef 100%);
131 filter: progid:DXImageTransform
.Microsoft
.gradient
(GradientType
=0,StartColorStr
='#a3d0ef', EndColorStr
='#a3d0ef');
134 button
.DTTT_button:active:not
(.DTTT_disabled
),
135 div
.DTTT_button:active:not
(.DTTT_disabled
),
136 a
.DTTT_button:active:not
(.DTTT_disabled
) {
137 -webkit-box-shadow: inset
1px 1px 3px #999999;
138 -moz-box-shadow: inset
1px 1px 3px #999999;
139 box-shadow: inset
1px 1px 3px #999999;
142 button
.DTTT_disabled
,
145 color: #999 !important
;
146 border: 1px solid
#d0d0d0;
148 background: #ffffff; /* Old browsers */
149 background: -webkit-linear-gradient
(top
, #ffffff 0%,#f9f9f9 89%,#fafafa 100%); /* Chrome10+,Safari5.1+ */
150 background: -moz-linear-gradient
(top
, #ffffff 0%,#f9f9f9 89%,#fafafa 100%); /* FF3.6+ */
151 background: -ms-linear-gradient
(top
, #ffffff 0%,#f9f9f9 89%,#fafafa 100%); /* IE10+ */
152 background: -o-linear-gradient
(top
, #ffffff 0%,#f9f9f9 89%,#fafafa 100%); /* Opera 11.10+ */
153 background: linear-gradient
(top
, #ffffff 0%,#f9f9f9 89%,#fafafa 100%); /* W3C */
154 filter: progid:DXImageTransform
.Microsoft
.gradient
( startColorstr
='#ffffff', endColorstr
='#fafafa',GradientType
=0 ); /* IE6-9 */
161 * Action specific button styles
162 * If you want images - comment this back in
168 a.DTTT_button_print {
172 a.DTTT_button_csv span,
173 a.DTTT_button_xls span,
174 a.DTTT_button_copy span,
175 a.DTTT_button_pdf span,
176 a.DTTT_button_print span {
177 display: inline-block;
184 a.DTTT_button_csv span { background: url(../images/csv.png) no-repeat bottom right; }
185 a.DTTT_button_csv:hover span { background: url(../images/csv_hover.png) no-repeat center right; }
187 a.DTTT_button_xls span { background: url(../images/xls.png) no-repeat center right; }
188 a.DTTT_button_xls:hover span { background: #f0f0f0 url(../images/xls_hover.png) no-repeat center right; }
190 a.DTTT_button_copy span { background: url(../images/copy.png) no-repeat center right; }
191 a.DTTT_button_copy:hover span { background: #f0f0f0 url(../images/copy_hover.png) no-repeat center right; }
193 a.DTTT_button_pdf span { background: url(../images/pdf.png) no-repeat center right; }
194 a.DTTT_button_pdf:hover span { background: #f0f0f0 url(../images/pdf_hover.png) no-repeat center right; }
196 a.DTTT_button_print span { background: url(../images/print.png) no-repeat center right; }
197 a.DTTT_button_print:hover span { background: #f0f0f0 url(../images/print_hover.png) no-repeat center right; }
201 button
.DTTT_button_collection span
{
203 background: url
(../images/collection.png) no-repeat center right
;
206 button
.DTTT_button_collection:hover span
{
208 background: #f0f0f0 url
(../images/collection_hover.png) no-repeat center right
;
214 * Row selection styles
216 table
.DTTT_selectable tbody tr
{
221 table
.dataTable tr
.DTTT_selected
.odd
{
222 background-color: #9FAFD1;
225 table
.dataTable tr
.DTTT_selected
.odd td
.sorting_1
{
226 background-color: #9FAFD1;
229 table
.dataTable tr
.DTTT_selected
.odd td
.sorting_2
{
230 background-color: #9FAFD1;
233 table
.dataTable tr
.DTTT_selected
.odd td
.sorting_3
{
234 background-color: #9FAFD1;
238 table
.dataTable tr
.DTTT_selected
.even
{
239 background-color: #B0BED9;
242 table
.dataTable tr
.DTTT_selected
.even td
.sorting_1
{
243 background-color: #B0BED9;
246 table
.dataTable tr
.DTTT_selected
.even td
.sorting_2
{
247 background-color: #B0BED9;
250 table
.dataTable tr
.DTTT_selected
.even td
.sorting_3
{
251 background-color: #B0BED9;
257 * Drop down list (collection) styles
260 div
.DTTT_collection
{
262 padding: 8px 8px 4px 8px;
263 border: 1px solid
#ccc;
264 border: 1px solid rgba
( 0, 0, 0, 0.4 );
265 background-color: #f3f3f3;
266 background-color: rgba
( 255, 255, 255, 0.3 );
270 -webkit-border-radius: 5px;
271 -moz-border-radius: 5px;
272 -ms-border-radius: 5px;
273 -o-border-radius: 5px;
276 -webkit-box-shadow: 3px 3px 5px rgba
(0, 0, 0, 0.3);
277 -moz-box-shadow: 3px 3px 5px rgba
(0, 0, 0, 0.3);
278 -ms-box-shadow: 3px 3px 5px rgba
(0, 0, 0, 0.3);
279 -o-box-shadow: 3px 3px 5px rgba
(0, 0, 0, 0.3);
280 box-shadow: 3px 3px 5px rgba
(0, 0, 0, 0.3);
283 div
.DTTT_collection_background
{
288 div
.DTTT_collection button
.DTTT_button
,
289 div
.DTTT_collection div
.DTTT_button
,
290 div
.DTTT_collection a
.DTTT_button
{
299 -webkit-box-shadow: 1px 1px 3px #999;
300 -moz-box-shadow: 1px 1px 3px #999;
301 -ms-box-shadow: 1px 1px 3px #999;
302 -o-box-shadow: 1px 1px 3px #999;
303 box-shadow: 1px 1px 3px #999;
309 * Print display styles
324 background: #ffffff; /* Old browsers */
325 background: -webkit-linear-gradient
(top
, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* Chrome10+,Safari5.1+ */
326 background: -moz-linear-gradient
(top
, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* FF3.6+ */
327 background: -ms-linear-gradient
(top
, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* IE10+ */
328 background: -o-linear-gradient
(top
, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* Opera 11.10+ */
329 background: linear-gradient
(top
, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* W3C */
330 filter: progid:DXImageTransform
.Microsoft
.gradient
( startColorstr
='#ffffff', endColorstr
='#f9f9f9',GradientType
=0 ); /* IE6-9 */
334 border: 1px solid black
;
335 border: 1px solid rgba
(0, 0, 0, 0.5);
337 -webkit-border-radius: 6px;
338 -moz-border-radius: 6px;
339 -ms-border-radius: 6px;
340 -o-border-radius: 6px;
343 -webkit-box-shadow: 0 3px 7px rgba
(0, 0, 0, 0.5);
344 -moz-box-shadow: 0 3px 7px rgba
(0, 0, 0, 0.5);
345 -ms-box-shadow: 0 3px 7px rgba
(0, 0, 0, 0.5);
346 -o-box-shadow: 0 3px 7px rgba
(0, 0, 0, 0.5);
347 box-shadow: 0 3px 7px rgba
(0, 0, 0, 0.5);
350 .DTTT_print_info h6 {