1 | /* |
---|
2 | * File: TableTools.css |
---|
3 | * Description: Styles for TableTools 2 with JUI theming |
---|
4 | * Author: Allan Jardine (www.sprymedia.co.uk) |
---|
5 | * Language: Javascript |
---|
6 | * License: LGPL / 3 point BSD |
---|
7 | * Project: DataTables |
---|
8 | * |
---|
9 | * Copyright 2010 Allan Jardine, all rights reserved. |
---|
10 | * |
---|
11 | * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * |
---|
12 | * |
---|
13 | * Notes: |
---|
14 | * Generally speaking, please refer to the TableTools.css file - this file contains basic |
---|
15 | * modifications to that 'master' stylesheet for ThemeRoller. |
---|
16 | * |
---|
17 | * CSS name space: |
---|
18 | * DTTT DataTables TableTools |
---|
19 | * |
---|
20 | * Colour dictionary: |
---|
21 | * Button border #d0d0d0 |
---|
22 | * Button border hover #999999 |
---|
23 | * Hover background #f0f0f0 |
---|
24 | * Action blue #4b66d9 |
---|
25 | * |
---|
26 | * Style sheet provides: |
---|
27 | * CONTAINER TableTools container element and styles applying to all components |
---|
28 | * SELECTING Row selection styles |
---|
29 | * COLLECTIONS Drop down list (collection) styles |
---|
30 | * PRINTING Print display styles |
---|
31 | * MISC Minor misc styles |
---|
32 | */ |
---|
33 | |
---|
34 | |
---|
35 | /* |
---|
36 | * CONTAINER |
---|
37 | * TableTools container element and styles applying to all components |
---|
38 | */ |
---|
39 | div.DTTT_container { |
---|
40 | float: left; |
---|
41 | } |
---|
42 | |
---|
43 | button.DTTT_button { |
---|
44 | position: relative; |
---|
45 | float: left; |
---|
46 | height: 24px; |
---|
47 | margin-right: 3px; |
---|
48 | padding: 3px 10px; |
---|
49 | border: 1px solid #d0d0d0; |
---|
50 | background-color: #fff; |
---|
51 | cursor: pointer; |
---|
52 | *cursor: hand; |
---|
53 | } |
---|
54 | |
---|
55 | button.DTTT_button::-moz-focus-inner { |
---|
56 | border: none !important; |
---|
57 | padding: 0; |
---|
58 | } |
---|
59 | |
---|
60 | |
---|
61 | |
---|
62 | /* |
---|
63 | * SELECTING |
---|
64 | * Row selection styles |
---|
65 | */ |
---|
66 | table.DTTT_selectable tbody tr { |
---|
67 | cursor: pointer; |
---|
68 | *cursor: hand; |
---|
69 | } |
---|
70 | |
---|
71 | tr.DTTT_selected.odd { |
---|
72 | background-color: #9FAFD1; |
---|
73 | } |
---|
74 | |
---|
75 | tr.DTTT_selected.odd td.sorting_1 { |
---|
76 | background-color: #9FAFD1; |
---|
77 | } |
---|
78 | |
---|
79 | tr.DTTT_selected.odd td.sorting_2 { |
---|
80 | background-color: #9FAFD1; |
---|
81 | } |
---|
82 | |
---|
83 | tr.DTTT_selected.odd td.sorting_3 { |
---|
84 | background-color: #9FAFD1; |
---|
85 | } |
---|
86 | |
---|
87 | |
---|
88 | tr.DTTT_selected.even { |
---|
89 | background-color: #B0BED9; |
---|
90 | } |
---|
91 | |
---|
92 | tr.DTTT_selected.even td.sorting_1 { |
---|
93 | background-color: #B0BED9; |
---|
94 | } |
---|
95 | |
---|
96 | tr.DTTT_selected.even td.sorting_2 { |
---|
97 | background-color: #B0BED9; |
---|
98 | } |
---|
99 | |
---|
100 | tr.DTTT_selected.even td.sorting_3 { |
---|
101 | background-color: #B0BED9; |
---|
102 | } |
---|
103 | |
---|
104 | |
---|
105 | /* |
---|
106 | * COLLECTIONS |
---|
107 | * Drop down list (collection) styles |
---|
108 | */ |
---|
109 | |
---|
110 | div.DTTT_collection { |
---|
111 | width: 150px; |
---|
112 | background-color: #f3f3f3; |
---|
113 | overflow: hidden; |
---|
114 | z-index: 2002; |
---|
115 | |
---|
116 | box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5); |
---|
117 | -moz-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5); |
---|
118 | -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5); |
---|
119 | } |
---|
120 | |
---|
121 | div.DTTT_collection_background { |
---|
122 | background: url(../images/background.png) repeat top left; |
---|
123 | z-index: 2001; |
---|
124 | } |
---|
125 | |
---|
126 | div.DTTT_collection button.DTTT_button { |
---|
127 | float: none; |
---|
128 | width: 100%; |
---|
129 | margin-bottom: -0.1em; |
---|
130 | } |
---|
131 | |
---|
132 | |
---|
133 | /* |
---|
134 | * PRINTING |
---|
135 | * Print display styles |
---|
136 | */ |
---|
137 | |
---|
138 | .DTTT_print_info { |
---|
139 | position: absolute; |
---|
140 | top: 50%; |
---|
141 | left: 50%; |
---|
142 | width: 400px; |
---|
143 | height: 150px; |
---|
144 | margin-left: -200px; |
---|
145 | margin-top: -75px; |
---|
146 | text-align: center; |
---|
147 | background-color: #3f3f3f; |
---|
148 | color: white; |
---|
149 | padding: 10px 30px; |
---|
150 | |
---|
151 | opacity: 0.9; |
---|
152 | |
---|
153 | border-radius: 5px; |
---|
154 | -moz-border-radius: 5px; |
---|
155 | -webkit-border-radius: 5px; |
---|
156 | |
---|
157 | box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5); |
---|
158 | -moz-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5); |
---|
159 | -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5); |
---|
160 | } |
---|
161 | |
---|
162 | .DTTT_print_info h6 { |
---|
163 | font-weight: normal; |
---|
164 | font-size: 28px; |
---|
165 | line-height: 28px; |
---|
166 | margin: 1em; |
---|
167 | } |
---|
168 | |
---|
169 | .DTTT_print_info p { |
---|
170 | font-size: 14px; |
---|
171 | line-height: 20px; |
---|
172 | } |
---|
173 | |
---|
174 | |
---|
175 | /* |
---|
176 | * MISC |
---|
177 | * Minor misc styles |
---|
178 | */ |
---|
179 | |
---|
180 | .DTTT_disabled { |
---|
181 | color: #999; |
---|
182 | } |
---|