Skip to content

Commit 17c504b

Browse files
committed
add themefiles
1 parent 736d44b commit 17c504b

15 files changed

+1397
-10
lines changed

component.json

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,27 @@
3636
"js/jquery.dataTables.js"
3737
],
3838
"files": [
39-
"js/jquery.dataTables.min.js",
40-
"images/sort_asc.png",
41-
"images/sort_asc_disabled.png",
39+
"css/dataTables.jqueryui.css",
40+
"css/dataTables.bootstrap.css",
41+
"css/dataTables.bootstrap.min.css",
42+
"css/jquery.dataTables_themeroller.css",
43+
"css/dataTables.foundation.css",
44+
"css/jquery.dataTables.css",
45+
"css/dataTables.foundation.min.css",
46+
"css/jquery.dataTables.min.css",
47+
"css/dataTables.jqueryui.min.css",
4248
"images/sort_both.png",
43-
"images/sort_desc.png",
49+
"images/sort_asc_disabled.png",
4450
"images/sort_desc_disabled.png",
45-
"css/jquery.dataTables.min.css",
46-
"css/jquery.dataTables_themeroller.css"
51+
"images/sort_desc.png",
52+
"images/sort_asc.png",
53+
"js/dataTables.foundation.min.js",
54+
"js/jquery.dataTables.js",
55+
"js/dataTables.jqueryui.min.js",
56+
"js/jquery.dataTables.min.js",
57+
"js/dataTables.foundation.js",
58+
"js/dataTables.bootstrap.min.js",
59+
"js/dataTables.bootstrap.js",
60+
"js/dataTables.jqueryui.js"
4761
]
4862
}

composer.json

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,28 @@
3737
"js/jquery.dataTables.js"
3838
],
3939
"files": [
40-
"js/jquery.dataTables.min.js",
41-
"images/*.png",
40+
"css/dataTables.jqueryui.css",
41+
"css/dataTables.bootstrap.css",
42+
"css/dataTables.bootstrap.min.css",
43+
"css/jquery.dataTables_themeroller.css",
44+
"css/dataTables.foundation.css",
45+
"css/jquery.dataTables.css",
46+
"css/dataTables.foundation.min.css",
4247
"css/jquery.dataTables.min.css",
43-
"css/jquery.dataTables_themeroller.css"
48+
"css/dataTables.jqueryui.min.css",
49+
"images/sort_both.png",
50+
"images/sort_asc_disabled.png",
51+
"images/sort_desc_disabled.png",
52+
"images/sort_desc.png",
53+
"images/sort_asc.png",
54+
"js/dataTables.foundation.min.js",
55+
"js/jquery.dataTables.js",
56+
"js/dataTables.jqueryui.min.js",
57+
"js/jquery.dataTables.min.js",
58+
"js/dataTables.foundation.js",
59+
"js/dataTables.bootstrap.min.js",
60+
"js/dataTables.bootstrap.js",
61+
"js/dataTables.jqueryui.js"
4462
],
4563
"shim": {
4664
"deps": ["jquery"]

css/dataTables.bootstrap.css

Lines changed: 187 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,187 @@
1+
table.dataTable {
2+
clear: both;
3+
margin-top: 6px !important;
4+
margin-bottom: 6px !important;
5+
max-width: none !important;
6+
}
7+
table.dataTable td,
8+
table.dataTable th {
9+
-webkit-box-sizing: content-box;
10+
-moz-box-sizing: content-box;
11+
box-sizing: content-box;
12+
}
13+
table.dataTable td.dataTables_empty,
14+
table.dataTable th.dataTables_empty {
15+
text-align: center;
16+
}
17+
table.dataTable.nowrap th,
18+
table.dataTable.nowrap td {
19+
white-space: nowrap;
20+
}
21+
22+
div.dataTables_wrapper div.dataTables_length label {
23+
font-weight: normal;
24+
text-align: left;
25+
white-space: nowrap;
26+
}
27+
div.dataTables_wrapper div.dataTables_length select {
28+
width: 75px;
29+
display: inline-block;
30+
}
31+
div.dataTables_wrapper div.dataTables_filter {
32+
text-align: right;
33+
}
34+
div.dataTables_wrapper div.dataTables_filter label {
35+
font-weight: normal;
36+
white-space: nowrap;
37+
text-align: left;
38+
}
39+
div.dataTables_wrapper div.dataTables_filter input {
40+
margin-left: 0.5em;
41+
display: inline-block;
42+
width: auto;
43+
}
44+
div.dataTables_wrapper div.dataTables_info {
45+
padding-top: 8px;
46+
white-space: nowrap;
47+
}
48+
div.dataTables_wrapper div.dataTables_paginate {
49+
margin: 0;
50+
white-space: nowrap;
51+
text-align: right;
52+
}
53+
div.dataTables_wrapper div.dataTables_paginate ul.pagination {
54+
margin: 2px 0;
55+
white-space: nowrap;
56+
}
57+
div.dataTables_wrapper div.dataTables_processing {
58+
position: absolute;
59+
top: 50%;
60+
left: 50%;
61+
width: 200px;
62+
margin-left: -100px;
63+
margin-top: -26px;
64+
text-align: center;
65+
padding: 1em 0;
66+
}
67+
68+
table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting,
69+
table.dataTable thead > tr > td.sorting_asc,
70+
table.dataTable thead > tr > td.sorting_desc,
71+
table.dataTable thead > tr > td.sorting {
72+
padding-right: 30px;
73+
}
74+
table.dataTable thead > tr > th:active,
75+
table.dataTable thead > tr > td:active {
76+
outline: none;
77+
}
78+
table.dataTable thead .sorting,
79+
table.dataTable thead .sorting_asc,
80+
table.dataTable thead .sorting_desc,
81+
table.dataTable thead .sorting_asc_disabled,
82+
table.dataTable thead .sorting_desc_disabled {
83+
cursor: pointer;
84+
position: relative;
85+
}
86+
table.dataTable thead .sorting:after,
87+
table.dataTable thead .sorting_asc:after,
88+
table.dataTable thead .sorting_desc:after,
89+
table.dataTable thead .sorting_asc_disabled:after,
90+
table.dataTable thead .sorting_desc_disabled:after {
91+
position: absolute;
92+
bottom: 8px;
93+
right: 8px;
94+
display: block;
95+
font-family: 'Glyphicons Halflings';
96+
opacity: 0.5;
97+
}
98+
table.dataTable thead .sorting:after {
99+
opacity: 0.2;
100+
content: "\e150";
101+
/* sort */
102+
}
103+
table.dataTable thead .sorting_asc:after {
104+
content: "\e155";
105+
/* sort-by-attributes */
106+
}
107+
table.dataTable thead .sorting_desc:after {
108+
content: "\e156";
109+
/* sort-by-attributes-alt */
110+
}
111+
table.dataTable thead .sorting_asc_disabled:after,
112+
table.dataTable thead .sorting_desc_disabled:after {
113+
color: #eee;
114+
}
115+
116+
div.dataTables_scrollHead table.dataTable {
117+
margin-bottom: 0 !important;
118+
}
119+
120+
div.dataTables_scrollBody table {
121+
border-top: none;
122+
margin-top: 0 !important;
123+
margin-bottom: 0 !important;
124+
}
125+
div.dataTables_scrollBody table thead .sorting:after,
126+
div.dataTables_scrollBody table thead .sorting_asc:after,
127+
div.dataTables_scrollBody table thead .sorting_desc:after {
128+
display: none;
129+
}
130+
div.dataTables_scrollBody table tbody tr:first-child th,
131+
div.dataTables_scrollBody table tbody tr:first-child td {
132+
border-top: none;
133+
}
134+
135+
div.dataTables_scrollFoot table {
136+
margin-top: 0 !important;
137+
border-top: none;
138+
}
139+
140+
@media screen and (max-width: 767px) {
141+
div.dataTables_wrapper div.dataTables_length,
142+
div.dataTables_wrapper div.dataTables_filter,
143+
div.dataTables_wrapper div.dataTables_info,
144+
div.dataTables_wrapper div.dataTables_paginate {
145+
text-align: center;
146+
}
147+
}
148+
table.dataTable.table-condensed > thead > tr > th {
149+
padding-right: 20px;
150+
}
151+
table.dataTable.table-condensed .sorting:after,
152+
table.dataTable.table-condensed .sorting_asc:after,
153+
table.dataTable.table-condensed .sorting_desc:after {
154+
top: 6px;
155+
right: 6px;
156+
}
157+
158+
table.table-bordered.dataTable {
159+
border-collapse: separate !important;
160+
}
161+
table.table-bordered.dataTable th,
162+
table.table-bordered.dataTable td {
163+
border-left-width: 0;
164+
}
165+
table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable th:last-child,
166+
table.table-bordered.dataTable td:last-child,
167+
table.table-bordered.dataTable td:last-child {
168+
border-right-width: 0;
169+
}
170+
table.table-bordered.dataTable tbody th,
171+
table.table-bordered.dataTable tbody td {
172+
border-bottom-width: 0;
173+
}
174+
175+
div.dataTables_scrollHead table.table-bordered {
176+
border-bottom-width: 0;
177+
}
178+
179+
div.table-responsive > div.dataTables_wrapper > div.row {
180+
margin: 0;
181+
}
182+
div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:first-child {
183+
padding-left: 0;
184+
}
185+
div.table-responsive > div.dataTables_wrapper > div.row > div[class^="col-"]:last-child {
186+
padding-right: 0;
187+
}

css/dataTables.bootstrap.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/dataTables.foundation.css

Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
table.dataTable {
2+
clear: both;
3+
margin: 0.5em 0 !important;
4+
max-width: none !important;
5+
width: 100%;
6+
}
7+
table.dataTable td,
8+
table.dataTable th {
9+
-webkit-box-sizing: content-box;
10+
-moz-box-sizing: content-box;
11+
box-sizing: content-box;
12+
}
13+
table.dataTable td.dataTables_empty,
14+
table.dataTable th.dataTables_empty {
15+
text-align: center;
16+
}
17+
table.dataTable.nowrap th, table.dataTable.nowrap td {
18+
white-space: nowrap;
19+
}
20+
21+
div.dataTables_wrapper {
22+
position: relative;
23+
}
24+
div.dataTables_wrapper div.dataTables_length label {
25+
float: left;
26+
text-align: left;
27+
margin-bottom: 0;
28+
}
29+
div.dataTables_wrapper div.dataTables_length select {
30+
width: 75px;
31+
margin-bottom: 0;
32+
}
33+
div.dataTables_wrapper div.dataTables_filter label {
34+
float: right;
35+
margin-bottom: 0;
36+
}
37+
div.dataTables_wrapper div.dataTables_filter input {
38+
display: inline-block !important;
39+
width: auto !important;
40+
margin-bottom: 0;
41+
margin-left: 0.5em;
42+
}
43+
div.dataTables_wrapper div.dataTables_info {
44+
padding-top: 2px;
45+
}
46+
div.dataTables_wrapper div.dataTables_paginate {
47+
float: right;
48+
margin: 0;
49+
}
50+
div.dataTables_wrapper div.dataTables_processing {
51+
position: absolute;
52+
top: 50%;
53+
left: 50%;
54+
width: 200px;
55+
margin-left: -100px;
56+
margin-top: -26px;
57+
text-align: center;
58+
padding: 1rem 0;
59+
}
60+
61+
table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting,
62+
table.dataTable thead > tr > td.sorting_asc,
63+
table.dataTable thead > tr > td.sorting_desc,
64+
table.dataTable thead > tr > td.sorting {
65+
padding-right: 1.5rem;
66+
}
67+
table.dataTable thead > tr > th:active,
68+
table.dataTable thead > tr > td:active {
69+
outline: none;
70+
}
71+
table.dataTable thead .sorting,
72+
table.dataTable thead .sorting_asc,
73+
table.dataTable thead .sorting_desc {
74+
cursor: pointer;
75+
}
76+
table.dataTable thead .sorting,
77+
table.dataTable thead .sorting_asc,
78+
table.dataTable thead .sorting_desc,
79+
table.dataTable thead .sorting_asc_disabled,
80+
table.dataTable thead .sorting_desc_disabled {
81+
background-repeat: no-repeat;
82+
background-position: center right;
83+
}
84+
table.dataTable thead .sorting {
85+
background-image: url("../images/sort_both.png");
86+
}
87+
table.dataTable thead .sorting_asc {
88+
background-image: url("../images/sort_asc.png");
89+
}
90+
table.dataTable thead .sorting_desc {
91+
background-image: url("../images/sort_desc.png");
92+
}
93+
table.dataTable thead .sorting_asc_disabled {
94+
background-image: url("../images/sort_asc_disabled.png");
95+
}
96+
table.dataTable thead .sorting_desc_disabled {
97+
background-image: url("../images/sort_desc_disabled.png");
98+
}
99+
100+
div.dataTables_scrollHead table {
101+
margin-bottom: 0 !important;
102+
}
103+
104+
div.dataTables_scrollBody table {
105+
border-top: none;
106+
margin-top: 0 !important;
107+
margin-bottom: 0 !important;
108+
}
109+
div.dataTables_scrollBody table tbody tr:first-child th,
110+
div.dataTables_scrollBody table tbody tr:first-child td {
111+
border-top: none;
112+
}
113+
114+
div.dataTables_scrollFoot table {
115+
margin-top: 0 !important;
116+
border-top: none;
117+
}

css/dataTables.foundation.min.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)