-
Notifications
You must be signed in to change notification settings - Fork 0
/
dataTable.css
66 lines (66 loc) · 1.32 KB
/
dataTable.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
table {
background:#fff;
min-width:100%;
border-spacing:0;
width:100%;
/*margin:10px 0;*/
border:1px solid #ddd;
border-collapse:separate;
*border-collapse:collapsed;
-webkit-box-shadow:0 0 4px rgba(0,0,0,0.10);
-moz-box-shadow:0 0 4px rgba(0,0,0,0.10);
box-shadow:0 0 4px rgba(0,0,0,0.10);
display: table;
table-layout: fixed;
border-radius: 5px;
}
table th,
table td {
padding:8px;
line-height:18px;
text-align:left;
border-top:1px solid #ddd;
display: table-cell!important;
}
table th {
/*background: #FFFFFF;*/
/*border-bottom: 1px solid black;*/
font-weight:bold;
vertical-align:bottom;
cursor: pointer;
}
table td {
vertical-align:top;
transition: 0.5s;
}
tr:nth-child(even) {
background-color: #ebedea;
}
table thead:first-child tr th,
table thead:first-child tr td {
border-top:0;
}
table tbody + tbody {
border-top:2px solid #ddd;
}
table th + th,
table td + td,
table th + td,
table td + th {
border-left:1px solid #ddd;
}
table thead:first-child tr:first-child th,
table tbody:first-child tr:first-child th,
table tbody:first-child tr:first-child td {
border-top:0;
}
table img{
width: 8px;
padding-left: 8px;
}
.movingColumn{
background-color: cornflowerblue;
}
.sorting-row{
background-color: #b5c0d1;
}