Skip to content

Commit 3d1bb7a

Browse files
committed
angular-datatables.css is missing l-lin#634
1 parent 10ee3f3 commit 3d1bb7a

File tree

6 files changed

+169
-211
lines changed

6 files changed

+169
-211
lines changed

dist/css/angular-datatables.css

+77
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
/*!
2+
* angular-datatables - v0.5.4
3+
* https://github.com/l-lin/angular-datatables
4+
* License: MIT
5+
*/
6+
/* ---------------------------------------- */
7+
/* DATATABLE */
8+
/* ---------------------------------------- */
9+
10+
.dataTables_wrapper {
11+
/*border: 1px solid #DDDDDD;*/
12+
padding: 1rem 0;
13+
}
14+
table.dataTable,
15+
table.dataTable.no-footer{
16+
margin: 1rem 0;
17+
width: 100% !important;
18+
border-top: 1px solid #DDDDDD;;
19+
border-bottom: 1px solid #DDDDDD;
20+
}
21+
/* -- select box --*/
22+
.dataTables_length {
23+
margin: 0.2rem 0 0.8rem 1rem;
24+
}
25+
.dataTables_length select{
26+
border: none;
27+
}
28+
.dataTables_length select:focus{
29+
outline: none;
30+
}
31+
/* -- search box --*/
32+
.dataTables_filter {
33+
margin-right: 1rem;
34+
}
35+
.dataTables_filter input[type="search"] {
36+
border: 1px solid #E4E4E4;
37+
border-radius: 3px;
38+
}
39+
/* -- table --*/
40+
table.dataTable thead th, table.dataTable thead td {
41+
border-bottom: 1px solid #DDDDDD;;
42+
}
43+
table.dataTable tbody th, table.dataTable tbody td {
44+
padding: 10px 18px;
45+
}
46+
.dataTables_wrapper .dataTables_length,
47+
.dataTables_wrapper .dataTables_filter,
48+
.dataTables_wrapper .dataTables_info,
49+
.dataTables_wrapper .dataTables_processing,
50+
.dataTables_wrapper .dataTables_paginate {
51+
color: #585858;
52+
}
53+
.dataTables_wrapper .dataTables_info {
54+
margin-left: 1rem;
55+
}
56+
57+
58+
59+
/* ---------------------------------------- */
60+
/* PAGINATION */
61+
/* ---------------------------------------- */
62+
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
63+
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
64+
color: white !important;
65+
border: none;
66+
background: #D6D6D6;
67+
}
68+
69+
.dataTables_wrapper .dataTables_paginate .paginate_button {
70+
padding: 0.3em 0.8em;
71+
}
72+
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
73+
/*transition: all 0.4s ease;*/
74+
padding: 0.3em 0.8em;
75+
background: #D6D6D6;
76+
border: 1px solid transparent;
77+
}

dist/css/angular-datatables.min.css

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/plugins/bootstrap/datatables.bootstrap.css

-210
This file was deleted.

grunt/concat.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,12 @@ module.exports = {
4040
'<%= yeoman.dist %>/plugins/select/angular-datatables.select.js': ['<%= yeoman.build %>/plugins/select/angular-datatables.select.js']
4141
}
4242
},
43-
bannerCSS: {
43+
bannerCSSBootstrap: {
4444
src: ['<%= yeoman.src %>/plugins/bootstrap/datatables.bootstrap.css'],
4545
dest: '<%= yeoman.dist %>/plugins/bootstrap/datatables.bootstrap.css'
46+
},
47+
bannerCSS: {
48+
src: ['<%= yeoman.src %>/css/angular-datatables.css'],
49+
dest: '<%= yeoman.dist %>/css/angular-datatables.css'
4650
}
4751
};

grunt/cssmin.js

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ module.exports = {
66
files: {
77
'<%= yeoman.dist %>/plugins/bootstrap/datatables.bootstrap.min.css': [
88
'<%= yeoman.src %>/plugins/bootstrap/*.css'
9+
],
10+
'<%= yeoman.dist %>/css/angular-datatables.min.css': [
11+
'<%= yeoman.src %>/css/*.css'
912
]
1013
}
1114
}

src/css/angular-datatables.css

+77
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
/*
2+
* ANGULAR-DATABLES CSS
3+
* ----------
4+
*/
5+
6+
/* ---------------------------------------- */
7+
/* DATATABLE */
8+
/* ---------------------------------------- */
9+
10+
.dataTables_wrapper {
11+
/*border: 1px solid #DDDDDD;*/
12+
padding: 1rem 0;
13+
}
14+
table.dataTable,
15+
table.dataTable.no-footer{
16+
margin: 1rem 0;
17+
width: 100% !important;
18+
border-top: 1px solid #DDDDDD;;
19+
border-bottom: 1px solid #DDDDDD;
20+
}
21+
/* -- select box --*/
22+
.dataTables_length {
23+
margin: 0.2rem 0 0.8rem 1rem;
24+
}
25+
.dataTables_length select{
26+
border: none;
27+
}
28+
.dataTables_length select:focus{
29+
outline: none;
30+
}
31+
/* -- search box --*/
32+
.dataTables_filter {
33+
margin-right: 1rem;
34+
}
35+
.dataTables_filter input[type="search"] {
36+
border: 1px solid #E4E4E4;
37+
border-radius: 3px;
38+
}
39+
/* -- table --*/
40+
table.dataTable thead th, table.dataTable thead td {
41+
border-bottom: 1px solid #DDDDDD;;
42+
}
43+
table.dataTable tbody th, table.dataTable tbody td {
44+
padding: 10px 18px;
45+
}
46+
.dataTables_wrapper .dataTables_length,
47+
.dataTables_wrapper .dataTables_filter,
48+
.dataTables_wrapper .dataTables_info,
49+
.dataTables_wrapper .dataTables_processing,
50+
.dataTables_wrapper .dataTables_paginate {
51+
color: #585858;
52+
}
53+
.dataTables_wrapper .dataTables_info {
54+
margin-left: 1rem;
55+
}
56+
57+
58+
59+
/* ---------------------------------------- */
60+
/* PAGINATION */
61+
/* ---------------------------------------- */
62+
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
63+
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
64+
color: white !important;
65+
border: none;
66+
background: #D6D6D6;
67+
}
68+
69+
.dataTables_wrapper .dataTables_paginate .paginate_button {
70+
padding: 0.3em 0.8em;
71+
}
72+
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
73+
/*transition: all 0.4s ease;*/
74+
padding: 0.3em 0.8em;
75+
background: #D6D6D6;
76+
border: 1px solid transparent;
77+
}

0 commit comments

Comments
 (0)