-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtable2.css
98 lines (90 loc) · 2.42 KB
/
table2.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
.roundedTable table {
font-family:Arial, Helvetica, sans-serif;
color:#666;
font-size:11px;
text-shadow: 1px 1px 0px #fff;
background:#eaebec;
margin:20px;
border:#ccc 30px solid;
-moz-border-radius:3px;
-webkit-border-radius:3px;
border-radius:3px;
-moz-box-shadow:0 0 1px 2px black;
-webkit-box-shadow:0 0 1px 2px black;
box-shadow: 0 0 1px 2px black;
}
.roundedTable th {
padding:11px 15px 12px 15px;
border-top:1px solid #fafafa;
border-bottom:1px solid #e0e0e0;
color:#31596b;
background: #64ccfa;
background: -webkit-gradient(linear, left top, left bottom, from(#64ccfa), to(#46c0f4));
background: -moz-linear-gradient(top, #64ccfa, #46c0f4);
}
.roundedTable th:first-child{
text-align: right;
padding-left:20px;
}
.roundedTable tr:first-child th:first-child{
-moz-border-radius-topleft:8px;
-webkit-border-top-left-radius:8px;
border-top-left-radius:8px;
}
.roundedTable tr:first-child th:last-child{
-moz-border-radius-topright:8px;
-webkit-border-top-right-radius:8px;
border-top-right-radius:8px;
}
.roundedTable tr td{
padding-left:10px;
vertical-align: top;
}
.roundedTable tr td:first-child{
text-align: right;
padding-left:10px;
border-left: 0;
vertical-align: text-top;
}
.roundedTable tr td {
padding:2px;
border-top: 1px solid #ffffff;
border-bottom:1px solid #e0e0e0;
border-left: 1px solid #e0e0e0;
background: #fafafa;
background: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#fafafa));
background: -moz-linear-gradient(top, #fbfbfb, #fafafa);
}
.roundedTable tr.even td{
background: #f6f6f6;
background: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f6f6f6));
background: -moz-linear-gradient(top, #f8f8f8, #f6f6f6);
}
.roundedTable tr:last-child td{
border-bottom:0;
}
.roundedTable tr:last-child td:first-child{
-moz-border-radius-bottomleft:8px;
-webkit-border-bottom-left-radius:8px;
border-bottom-left-radius:8px;
}
.roundedTable tr:last-child td:last-child{
-moz-border-radius-bottomright:8px;
-webkit-border-bottom-right-radius:8px;
border-bottom-right-radius:8px;
}
.roundedTable tr:hover td{
background: #f2f2f2;
background: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#f0f0f0));
background: -moz-linear-gradient(top, #f2f2f2, #f0f0f0);
}
.roundedTable input[type=text]{
margin: 0px;
}
.roundedTable select{
margin: 0px;
}
.roundedTable input[type=checkbox]{
margin: 0px;
text-align: right;
}