1 |
35459
|
argiro.kok
|
/*
|
2 |
|
|
* File: TableTools.css
|
3 |
|
|
* Description: Styles for TableTools 2
|
4 |
|
|
* Author: Allan Jardine (www.sprymedia.co.uk)
|
5 |
|
|
* Language: Javascript
|
6 |
|
|
* License: GPL v2 / 3 point BSD
|
7 |
|
|
* Project: DataTables
|
8 |
|
|
*
|
9 |
|
|
* Copyright 2009-2012 Allan Jardine, all rights reserved.
|
10 |
|
|
*
|
11 |
|
|
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
12 |
|
|
*
|
13 |
|
|
* CSS name space:
|
14 |
|
|
* DTTT DataTables TableTools
|
15 |
|
|
*
|
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
|
22 |
|
|
*/
|
23 |
|
|
|
24 |
|
|
|
25 |
|
|
/*
|
26 |
|
|
* CONTAINER
|
27 |
|
|
* TableTools container element and styles applying to all components
|
28 |
|
|
*/
|
29 |
|
|
div.DTTT_container {
|
30 |
|
|
position: relative;
|
31 |
|
|
float: right;
|
32 |
|
|
margin-bottom: 1em;
|
33 |
|
|
}
|
34 |
|
|
|
35 |
|
|
@media screen and (max-width: 640px) {
|
36 |
|
|
div.DTTT_container {
|
37 |
|
|
float: none !important;
|
38 |
|
|
text-align: center;
|
39 |
|
|
}
|
40 |
|
|
|
41 |
|
|
div.DTTT_container:after {
|
42 |
|
|
visibility: hidden;
|
43 |
|
|
display: block;
|
44 |
|
|
content: "";
|
45 |
|
|
clear: both;
|
46 |
|
|
height: 0;
|
47 |
|
|
}
|
48 |
|
|
}
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
button.DTTT_button,
|
52 |
|
|
div.DTTT_button,
|
53 |
|
|
a.DTTT_button {
|
54 |
|
|
position: relative;
|
55 |
|
|
display: inline-block;
|
56 |
|
|
margin-right: 3px;
|
57 |
|
|
padding: 5px 8px;
|
58 |
|
|
border: 1px solid #999;
|
59 |
|
|
cursor: pointer;
|
60 |
|
|
*cursor: hand;
|
61 |
|
|
font-size: 0.88em;
|
62 |
|
|
color: black !important;
|
63 |
|
|
|
64 |
|
|
-webkit-border-radius: 2px;
|
65 |
|
|
-moz-border-radius: 2px;
|
66 |
|
|
-ms-border-radius: 2px;
|
67 |
|
|
-o-border-radius: 2px;
|
68 |
|
|
border-radius: 2px;
|
69 |
|
|
|
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;
|
75 |
|
|
|
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 */
|
84 |
|
|
}
|
85 |
|
|
|
86 |
|
|
|
87 |
|
|
/* Buttons are cunning border-box sizing - we can't just use that for A and DIV due to IE6/7 */
|
88 |
|
|
button.DTTT_button {
|
89 |
|
|
height: 30px;
|
90 |
|
|
padding: 3px 8px;
|
91 |
|
|
}
|
92 |
|
|
|
93 |
|
|
.DTTT_button embed {
|
94 |
|
|
outline: none;
|
95 |
|
|
}
|
96 |
|
|
|
97 |
|
|
button.DTTT_button:hover,
|
98 |
|
|
div.DTTT_button:hover,
|
99 |
|
|
a.DTTT_button:hover {
|
100 |
|
|
border: 1px solid #666;
|
101 |
|
|
text-decoration: none !important;
|
102 |
|
|
|
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;
|
108 |
|
|
|
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 */
|
116 |
|
|
}
|
117 |
|
|
|
118 |
|
|
button.DTTT_disabled,
|
119 |
|
|
div.DTTT_disabled,
|
120 |
|
|
a.DTTT_disabled {
|
121 |
|
|
color: #999;
|
122 |
|
|
border: 1px solid #d0d0d0;
|
123 |
|
|
|
124 |
|
|
background: #ffffff; /* Old browsers */
|
125 |
|
|
background: -webkit-linear-gradient(top, #ffffff 0%,#f9f9f9 89%,#fafafa 100%); /* Chrome10+,Safari5.1+ */
|
126 |
|
|
background: -moz-linear-gradient(top, #ffffff 0%,#f9f9f9 89%,#fafafa 100%); /* FF3.6+ */
|
127 |
|
|
background: -ms-linear-gradient(top, #ffffff 0%,#f9f9f9 89%,#fafafa 100%); /* IE10+ */
|
128 |
|
|
background: -o-linear-gradient(top, #ffffff 0%,#f9f9f9 89%,#fafafa 100%); /* Opera 11.10+ */
|
129 |
|
|
background: linear-gradient(top, #ffffff 0%,#f9f9f9 89%,#fafafa 100%); /* W3C */
|
130 |
|
|
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#fafafa',GradientType=0 ); /* IE6-9 */
|
131 |
|
|
}
|
132 |
|
|
|
133 |
|
|
|
134 |
|
|
|
135 |
|
|
/*
|
136 |
|
|
* BUTTON_STYLES
|
137 |
|
|
* Action specific button styles
|
138 |
|
|
* If you want images - comment this back in
|
139 |
|
|
|
140 |
|
|
a.DTTT_button_csv,
|
141 |
|
|
a.DTTT_button_xls,
|
142 |
|
|
a.DTTT_button_copy,
|
143 |
|
|
a.DTTT_button_pdf,
|
144 |
|
|
a.DTTT_button_print {
|
145 |
|
|
padding-right: 0px;
|
146 |
|
|
}
|
147 |
|
|
|
148 |
|
|
a.DTTT_button_csv span,
|
149 |
|
|
a.DTTT_button_xls span,
|
150 |
|
|
a.DTTT_button_copy span,
|
151 |
|
|
a.DTTT_button_pdf span,
|
152 |
|
|
a.DTTT_button_print span {
|
153 |
|
|
display: inline-block;
|
154 |
|
|
height: 24px;
|
155 |
|
|
line-height: 24px;
|
156 |
|
|
padding-right: 30px;
|
157 |
|
|
}
|
158 |
|
|
|
159 |
|
|
|
160 |
|
|
a.DTTT_button_csv span { background: url(../images/csv.png) no-repeat bottom right; }
|
161 |
|
|
a.DTTT_button_csv:hover span { background: url(../images/csv_hover.png) no-repeat center right; }
|
162 |
|
|
|
163 |
|
|
a.DTTT_button_xls span { background: url(../images/xls.png) no-repeat center right; }
|
164 |
|
|
a.DTTT_button_xls:hover span { background: #f0f0f0 url(../images/xls_hover.png) no-repeat center right; }
|
165 |
|
|
|
166 |
|
|
a.DTTT_button_copy span { background: url(../images/copy.png) no-repeat center right; }
|
167 |
|
|
a.DTTT_button_copy:hover span { background: #f0f0f0 url(../images/copy_hover.png) no-repeat center right; }
|
168 |
|
|
|
169 |
|
|
a.DTTT_button_pdf span { background: url(../images/pdf.png) no-repeat center right; }
|
170 |
|
|
a.DTTT_button_pdf:hover span { background: #f0f0f0 url(../images/pdf_hover.png) no-repeat center right; }
|
171 |
|
|
|
172 |
|
|
a.DTTT_button_print span { background: url(../images/print.png) no-repeat center right; }
|
173 |
|
|
a.DTTT_button_print:hover span { background: #f0f0f0 url(../images/print_hover.png) no-repeat center right; }
|
174 |
|
|
|
175 |
|
|
*/
|
176 |
|
|
|
177 |
|
|
button.DTTT_button_collection span {
|
178 |
|
|
padding-right: 17px;
|
179 |
|
|
background: url(../images/collection.png) no-repeat center right;
|
180 |
|
|
}
|
181 |
|
|
|
182 |
|
|
button.DTTT_button_collection:hover span {
|
183 |
|
|
padding-right: 17px;
|
184 |
|
|
background: #f0f0f0 url(../images/collection_hover.png) no-repeat center right;
|
185 |
|
|
}
|
186 |
|
|
|
187 |
|
|
|
188 |
|
|
/*
|
189 |
|
|
* SELECTING
|
190 |
|
|
* Row selection styles
|
191 |
|
|
*/
|
192 |
|
|
table.DTTT_selectable tbody tr {
|
193 |
|
|
cursor: pointer;
|
194 |
|
|
*cursor: hand;
|
195 |
|
|
}
|
196 |
|
|
|
197 |
|
|
table.dataTable tr.DTTT_selected.odd {
|
198 |
|
|
background-color: #9FAFD1;
|
199 |
|
|
}
|
200 |
|
|
|
201 |
|
|
table.dataTable tr.DTTT_selected.odd td.sorting_1 {
|
202 |
|
|
background-color: #9FAFD1;
|
203 |
|
|
}
|
204 |
|
|
|
205 |
|
|
table.dataTable tr.DTTT_selected.odd td.sorting_2 {
|
206 |
|
|
background-color: #9FAFD1;
|
207 |
|
|
}
|
208 |
|
|
|
209 |
|
|
table.dataTable tr.DTTT_selected.odd td.sorting_3 {
|
210 |
|
|
background-color: #9FAFD1;
|
211 |
|
|
}
|
212 |
|
|
|
213 |
|
|
|
214 |
|
|
table.dataTable tr.DTTT_selected.even {
|
215 |
|
|
background-color: #B0BED9;
|
216 |
|
|
}
|
217 |
|
|
|
218 |
|
|
table.dataTable tr.DTTT_selected.even td.sorting_1 {
|
219 |
|
|
background-color: #B0BED9;
|
220 |
|
|
}
|
221 |
|
|
|
222 |
|
|
table.dataTable tr.DTTT_selected.even td.sorting_2 {
|
223 |
|
|
background-color: #B0BED9;
|
224 |
|
|
}
|
225 |
|
|
|
226 |
|
|
table.dataTable tr.DTTT_selected.even td.sorting_3 {
|
227 |
|
|
background-color: #B0BED9;
|
228 |
|
|
}
|
229 |
|
|
|
230 |
|
|
|
231 |
|
|
/*
|
232 |
|
|
* COLLECTIONS
|
233 |
|
|
* Drop down list (collection) styles
|
234 |
|
|
*/
|
235 |
|
|
|
236 |
|
|
div.DTTT_collection {
|
237 |
|
|
width: 150px;
|
238 |
|
|
padding: 8px 8px 4px 8px;
|
239 |
|
|
border: 1px solid #ccc;
|
240 |
|
|
border: 1px solid rgba( 0, 0, 0, 0.4 );
|
241 |
|
|
background-color: #f3f3f3;
|
242 |
|
|
background-color: rgba( 255, 255, 255, 0.3 );
|
243 |
|
|
overflow: hidden;
|
244 |
|
|
z-index: 2002;
|
245 |
|
|
|
246 |
|
|
-webkit-border-radius: 5px;
|
247 |
|
|
-moz-border-radius: 5px;
|
248 |
|
|
-ms-border-radius: 5px;
|
249 |
|
|
-o-border-radius: 5px;
|
250 |
|
|
border-radius: 5px;
|
251 |
|
|
|
252 |
|
|
-webkit-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
|
253 |
|
|
-moz-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
|
254 |
|
|
-ms-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
|
255 |
|
|
-o-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
|
256 |
|
|
box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
|
257 |
|
|
}
|
258 |
|
|
|
259 |
|
|
div.DTTT_collection_background {
|
260 |
|
|
background: transparent url(../images/background.png) repeat top left;
|
261 |
|
|
z-index: 2001;
|
262 |
|
|
}
|
263 |
|
|
|
264 |
|
|
div.DTTT_collection button.DTTT_button,
|
265 |
|
|
div.DTTT_collection div.DTTT_button,
|
266 |
|
|
div.DTTT_collection a.DTTT_button {
|
267 |
|
|
position: relative;
|
268 |
|
|
left: 0;
|
269 |
|
|
right: 0;
|
270 |
|
|
|
271 |
|
|
display: block;
|
272 |
|
|
float: none;
|
273 |
|
|
margin-bottom: 4px;
|
274 |
|
|
|
275 |
|
|
-webkit-box-shadow: 1px 1px 3px #999;
|
276 |
|
|
-moz-box-shadow: 1px 1px 3px #999;
|
277 |
|
|
-ms-box-shadow: 1px 1px 3px #999;
|
278 |
|
|
-o-box-shadow: 1px 1px 3px #999;
|
279 |
|
|
box-shadow: 1px 1px 3px #999;
|
280 |
|
|
}
|
281 |
|
|
|
282 |
|
|
|
283 |
|
|
/*
|
284 |
|
|
* PRINTING
|
285 |
|
|
* Print display styles
|
286 |
|
|
*/
|
287 |
|
|
|
288 |
|
|
.DTTT_print_info {
|
289 |
|
|
position: fixed;
|
290 |
|
|
top: 50%;
|
291 |
|
|
left: 50%;
|
292 |
|
|
width: 400px;
|
293 |
|
|
height: 150px;
|
294 |
|
|
margin-left: -200px;
|
295 |
|
|
margin-top: -75px;
|
296 |
|
|
text-align: center;
|
297 |
|
|
color: #333;
|
298 |
|
|
padding: 10px 30px;
|
299 |
|
|
|
300 |
|
|
background: #ffffff; /* Old browsers */
|
301 |
|
|
background: -webkit-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* Chrome10+,Safari5.1+ */
|
302 |
|
|
background: -moz-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* FF3.6+ */
|
303 |
|
|
background: -ms-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* IE10+ */
|
304 |
|
|
background: -o-linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* Opera 11.10+ */
|
305 |
|
|
background: linear-gradient(top, #ffffff 0%,#f3f3f3 89%,#f9f9f9 100%); /* W3C */
|
306 |
|
|
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f9f9f9',GradientType=0 ); /* IE6-9 */
|
307 |
|
|
|
308 |
|
|
opacity: 0.95;
|
309 |
|
|
|
310 |
|
|
border: 1px solid black;
|
311 |
|
|
border: 1px solid rgba(0, 0, 0, 0.5);
|
312 |
|
|
|
313 |
|
|
-webkit-border-radius: 6px;
|
314 |
|
|
-moz-border-radius: 6px;
|
315 |
|
|
-ms-border-radius: 6px;
|
316 |
|
|
-o-border-radius: 6px;
|
317 |
|
|
border-radius: 6px;
|
318 |
|
|
|
319 |
|
|
-webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
|
320 |
|
|
-moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
|
321 |
|
|
-ms-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
|
322 |
|
|
-o-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
|
323 |
|
|
box-shadow: 0 3px 7px rgba(0, 0, 0, 0.5);
|
324 |
|
|
}
|
325 |
|
|
|
326 |
|
|
.DTTT_print_info h6 {
|
327 |
|
|
font-weight: normal;
|
328 |
|
|
font-size: 28px;
|
329 |
|
|
line-height: 28px;
|
330 |
|
|
margin: 1em;
|
331 |
|
|
}
|
332 |
|
|
|
333 |
|
|
.DTTT_print_info p {
|
334 |
|
|
font-size: 14px;
|
335 |
|
|
line-height: 20px;
|
336 |
|
|
}
|
337 |
|
|
div .dataTables_length{
|
338 |
|
|
clear:both;
|
339 |
|
|
}
|