forked from markotibold/simple-data-grid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsimple.datagrid.css
101 lines (85 loc) · 2.49 KB
/
simple.datagrid.css
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
.simple-data-grid {
border-collapse: collapse;
}
.simple-data-grid thead th,
.simple-data-grid tbody tr:hover {
background: #dfdfdf;
background: -webkit-gradient(linear, left top, left bottom, from(#eaeaea), to(#d3d3d3));
background: -moz-linear-gradient(top, #eaeaea, #d3d3d3);
background: -ms-linear-gradient(top, #eaeaea, #d3d3d3);
background: -o-linear-gradient(top, #eaeaea, #d3d3d3);
}
.simple-data-grid thead th {
font-weight: bold;
padding: 0.5em;
border-right: solid 1px #ccc;
text-align: left;
white-space: nowrap;
vertical-align: top;
}
.simple-data-grid thead th a {
color: #000;
text-decoration: none;
white-space: nowrap;
vertical-align: top;
}
.simple-data-grid thead th a .sdg-sort {
margin-left: 1em;
font-size: 12px;
}
.simple-data-grid thead tr.sdg-sorted:hover {
cursor: pointer;
}
.simple-data-grid thead th:last-child {
border-right: none;
}
.simple-data-grid thead th:hover {
background: #e4e4e4;
background: -webkit-gradient(linear, left top, left bottom, from(#d3d3d3), to(#eaeaea));
background: -moz-linear-gradient(top, #d3d3d3, #eaeaea);
background: -ms-linear-gradient(top, #d3d3d3, #eaeaea);
background: -o-linear-gradient(top, #d3d3d3, #eaeaea);
}
.simple-data-grid tbody td {
padding: 0.5em;
}
.simple-data-grid tbody tr {
border-bottom: solid 1px #ddd;
}
.simple-data-grid tbody .sdg-selected,
.simple-data-grid tbody .sdg-selected:hover {
background: #97bdd6;
background: -webkit-gradient(linear, left top, left bottom, from(#bee0f5), to(#89afca));
background: -moz-linear-gradient(top, #bee0f5, #89afca);
background: -ms-linear-gradient(top, #bee0f5, #89afca);
background: -o-linear-gradient(top, #bee0f5, #89afca);
}
.simple-data-grid tfoot td {
padding: 0.5em;
}
.simple-data-grid tfoot .sdg-pagination {
background: #eaeaea;
text-align: center;
}
.simple-data-grid tfoot .sdg-pagination ul {
list-style: none;
margin: 0;
padding: 0;
float: none;
display: inline-block;
overflow: hidden;
}
.simple-data-grid tfoot .sdg-pagination li {
float: left;
}
.simple-data-grid tfoot .sdg-pagination a {
padding: 0 0.5em;
}
.simple-data-grid tfoot .sdg-pagination li.sdg-disabled a,
.simple-data-grid tfoot .sdg-pagination li.sdg-disabled a:hover,
.simple-data-grid tfoot .sdg-pagination li.sdg-active a,
.simple-data-grid tfoot .sdg-pagination li.sdg-active a:hover {
cursor: default;
text-decoration: none;
color: #000;
}