summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/SemanticMediaWiki/res/smw/printer/ext.smw.tableprinter.css
blob: e945422fd28443d67aea008a5fde3297b0eccfd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
/**
 * Special rules for Semantic MediaWiki
 *
 * @note Default dataTable CSS contains !important attribute for the
 * button, remove them in order to override with the following rules.
 */

.smw-datatable {
	margin-bottom: 5px;
	margin-top: 5px;
}

.smw-datatable.smw-placeholder {
	padding:0px;
}

.smw-datatable table.dataTable {
	margin-bottom: 10px;
	width: 100% !important;
}

.smw-datatable table.dataTable.no-footer {
	border-bottom: 1px solid #aaaaaa;
}

.smw-datatable table.dataTable tfoot td {
	padding: 10px 18px 10px 10px;
	border-bottom: 1px solid #aaaaaa;
	border-top: 1px solid #aaaaaa;
}

.smw-datatable table.dataTable.compact tfoot th,
.smw-datatable table.dataTable.compact tfoot td {
	padding: 4px;
	border-bottom: 1px solid #aaaaaa;
	border-top: 1px solid #aaaaaa;
}

.smw-datatable table.dataTable thead th, .smw-datatable table.dataTable thead td,
.smw-datatable table.data.smw-datatable table.compact thead th,
.smw-datatable table.data.smw-datatable table.compact thead td,
.smw-datatable table.data.smw-datatable table.no-footer {
	border-bottom: 1px solid #aaaaaa;
}

.smw-datatable table.dataTable thead th,
.smw-datatable table.dataTable thead td,
.smw-datatable table.data.smw-datatable table.compact thead th,
.smw-datatable table.data.smw-datatable table.compact thead td  {
	border-top: 1px solid #aaaaaa;
}

.smw-datatable .dataTables_wrapper {
	position: relative;
	clear: both;
	zoom: 1;
	margin-top: 10px;
}

.smw-datatable .dataTables_wrapper .dataTables_paginate {
	float: right;
	padding-top: 0.45em;
	margin-top: 0;
}

.smw-datatable .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.smw-datatable .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
	display: inline-block;
	background: #eee;
	font-weight: normal;
	line-height: 1.25;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	border: 1px solid transparent;
	padding: 0.5rem 1rem;
	/* font-size: 1rem; */
	border-radius: 0.25rem;
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	padding: 0.25rem 0.5rem;
	/* font-size: 0.875rem; */
	border-radius: 0.2rem;
	color: #292b2c;
	/* background-color: #e6e6e6; */
	border-color: #ddd;
}

.smw-datatable .dataTables_wrapper .dataTables_paginate .paginate_button {
	display: inline-block;
	font-weight: normal;
	line-height: 1.25;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	border: 1px solid transparent;
	padding: 0.5rem 1rem;
	/* font-size: 1rem; */
	border-radius: 0.25rem;
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	padding: 0.25rem 0.5rem;
	/* font-size: 0.875rem; */
	border-radius: 0.2rem;
	color: #292b2c;
	/* background-color: #e6e6e6; */
	border-color: #ddd;
}

.smw-datatable .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
	background-color: #e6e6e6;
	background: #007bff;
	color: #aaa;
	display: inline-block;
	font-weight: normal;
	line-height: 1.25;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	border: 1px solid transparent;
	padding: 0.5rem 1rem;
	/* font-size: 1rem; */
	border-radius: 0.25rem;
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	padding: 0.25rem 0.5rem;
	/* font-size: 0.875rem; */
	border-radius: 0.2rem;
	color: #fff;
	border-color: #007bff;
}

.smw-datatable .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.smw-datatable .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.smw-datatable .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
	cursor: default;
	color: #666;
	border: 1px solid transparent;
	background: transparent;
	box-shadow: none;
}

.smw-datatable .dataTables_wrapper .dataTables_filter input {
/*	display: inline-block; */
	font-weight: normal;
	line-height: 1.25;
	/* text-align: center; */
	white-space: nowrap;
	vertical-align: middle;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	border: 1px solid transparent;
	padding: 0.5rem 1rem;
	/* font-size: 1rem; */
	border-radius: 0.25rem;
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	padding: 0.25rem 0.5rem;
	/* font-size: 0.875rem; */
	border-radius: 0.2rem;
	color: #292b2c;
	/* background-color: #e6e6e6; */
	border-color: #ddd;
	display: inline-block;
	vertical-align: baseline;
}

.smw-datatable .dataTables_wrapper select {
/*	display: inline-block; */
	font-weight: normal;
	line-height: 1.25;
	/* text-align: center; */
	white-space: nowrap;
	vertical-align: middle;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	border: 1px solid transparent;
	padding: 0.5rem 1rem;
	/* font-size: 1rem; */
	border-radius: 0.25rem;
	-webkit-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	padding: 0.25rem 0.5rem;
	/* font-size: 0.875rem; */
	border-radius: 0.2rem;
	color: #292b2c;
	/* background-color: #e6e6e6; */
	border-color: #ddd;
}

.smw-datatable .dataTables_wrapper select:focus,
.smw-datatable .dataTables_wrapper select:active,
.smw-datatable .dataTables_wrapper .dataTables_filter input:focus,
.smw-datatable .dataTables_wrapper .dataTables_filter input:active {
	border:1px solid #007bff;
}

.smw-datatable .dataTables_wrapper .dataTables_info {
	clear: both;
	float: left;
	padding-top: 0.45em;
}

.smw-datatable .dataTables_wrapper .dataTables_filter {
	margin-bottom: 10px;
}

.smw-datatable-toolbar {
	display: inline-block;
	margin-left: 10px;
	padding: 0px;
}

.smw-datatable-toolbar .smw-dropdown {
	top: -1px;
}

.smw-datatable-toolbar .smw-dropdown button {
	padding: 4px 25px 5px 15px;
	border: 1px solid #ddd;
	border-radius: 0.2rem;
}

@-moz-document url-prefix() {
	.smw-datatable-toolbar .smw-dropdown button {
		padding: 3px 25px 4px 15px;
	}
}

.smw-datatable-toolbar .smw-dropdown .smw-dropdown-menu {
	right: 0px;
	left: initial;
}

.smw-datatable-toolbar .smw-dropdown .smw-dropdown-menu li {
	min-width: 60px;
	text-align: right;
}

.smw-datatable-toolbar .smw-dropdown .divider {
	margin: 4px 0;
}

.smw-datatable-sep {
	border-left: 1px solid #ddd;
	margin-right: 0.4em;
	padding: 0.2em;
}

.smw-datatable-text {
	margin-right: 10px;
}

.smw-datatable-button {
	position: relative;
	padding: 5px 12px;
	color: #586069;
	border: 1px solid #e1e4e8;
	border-radius: 3px;
	font-size: 0.975em;
	margin-right: 5px;
}

.smw-datatable-button:hover {
	background-color: #f6f8fa;
}

.smw-datatable-button a {
	text-decoration: none;
}