Subversion-Projekte lars-tiefland.ci

Revision

Revision 47 | Details | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
41 lars 1
/*!
2
 * DataTables + Font Awesome integration
3
 * License: MIT - http://datatables.net/license
4
 */
5
 
6
/*
7
 * Sort styling
8
 */
9
table.dataTable thead th {
10
	position: relative;
11
	background-image: none !important; /* Remove the DataTables bootstrap integration styling */
12
}
13
 
14
table.dataTable thead th.sorting:after,
15
table.dataTable thead th.sorting_asc:after,
16
table.dataTable thead th.sorting_desc:after {
17
	position: absolute;
18
	top: 12px;
19
	right: 8px;
20
	display: block;
21
	font-family: FontAwesome;
22
}
23
 
24
table.dataTable thead th.sorting:after {
25
	content: "\f0dc";
26
	color: #ddd;
27
	font-size: 0.8em;
28
	padding-top: 0.12em;
29
}
30
table.dataTable thead th.sorting_asc:after {
31
	content: "\f0de";
32
}
33
table.dataTable thead th.sorting_desc:after {
34
	content: "\f0dd";
35
}
36
 
37
div.dataTables_scrollBody table.dataTable thead th.sorting:after,
38
div.dataTables_scrollBody table.dataTable thead th.sorting_asc:after,
39
div.dataTables_scrollBody table.dataTable thead th.sorting_desc:after {
40
	content: "";
41
}
42
 
43
/* In Bootstrap and Foundation the padding top is a little different from the DataTables stylesheet */
44
table.table thead th.sorting:after,
45
table.table thead th.sorting_asc:after,
46
table.table thead th.sorting_desc:after {
47
	top: 8px;
48
}
49
 
50
 
51
/*
52
 * DataTables style pagination controls
53
 */
54
div.dataTables_paginate a.paginate_button.first,
55
div.dataTables_paginate a.paginate_button.previous {
56
	position: relative;
57
	padding-left: 24px;
58
}
59
 
60
div.dataTables_paginate a.paginate_button.next,
61
div.dataTables_paginate a.paginate_button.last {
62
	position: relative;
63
	padding-right: 24px;
64
}
65
 
66
div.dataTables_paginate a.first:before,
67
div.dataTables_paginate a.previous:before {
68
	position: absolute;
69
	top: 8px;
70
	left: 10px;
71
	display: block;
72
	font-family: FontAwesome;
73
}
74
 
75
div.dataTables_paginate a.next:after,
76
div.dataTables_paginate a.last:after {
77
	position: absolute;
78
	top: 8px;
79
	right: 10px;
80
	display: block;
81
	font-family: FontAwesome;
82
}
83
 
84
div.dataTables_paginate a.first:before {
85
	content: "\f100";
86
}
87
 
88
div.dataTables_paginate a.previous:before {
89
	content: "\f104";
90
}
91
 
92
div.dataTables_paginate a.next:after {
93
	content: "\f105";
94
}
95
 
96
div.dataTables_paginate a.last:after {
97
	content: "\f101";
98
}
99
 
100
 
101
/*
102
 * Bootstrap and foundation style pagination controls
103
 */
104
div.dataTables_paginate li.first > a,
105
div.dataTables_paginate li.previous > a {
106
	position: relative;
107
	padding-left: 24px;
108
}
109
 
110
div.dataTables_paginate li.next > a,
111
div.dataTables_paginate li.last > a {
112
	position: relative;
113
	padding-right: 24px;
114
}
115
 
116
div.dataTables_paginate li.first a:before,
117
div.dataTables_paginate li.previous a:before {
118
	position: absolute;
119
	top: 6px;
120
	left: 10px;
121
	display: block;
122
	font-family: FontAwesome;
123
}
124
 
125
div.dataTables_paginate li.next a:after,
126
div.dataTables_paginate li.last a:after {
127
	position: absolute;
128
	top: 6px;
129
	right: 10px;
130
	display: block;
131
	font-family: FontAwesome;
132
}
133
 
134
div.dataTables_paginate li.first a:before {
135
	content: "\f100";
136
}
137
 
138
div.dataTables_paginate li.previous a:before {
139
	content: "\f104";
140
}
141
 
142
div.dataTables_paginate li.next a:after {
143
	content: "\f105";
144
}
145
 
146
div.dataTables_paginate li.last a:after {
147
	content: "\f101";
148
}
149
 
150
/* In Foundation we don't want the padding like in bootstrap */
151
div.columns div.dataTables_paginate li.first a:before,
152
div.columns div.dataTables_paginate li.previous a:before,
153
div.columns div.dataTables_paginate li.next a:after,
154
div.columns div.dataTables_paginate li.last a:after {
155
	top: 0;
156
}