-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjsRapTable.css
72 lines (72 loc) · 1.31 KB
/
jsRapTable.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
.rapTable{
overflow:auto;
border: solid 1px #aaa;
max-height:400px;
overflow-x: hidden;
overflow-y: auto;
}
.rapTable table{
background-color:#fff;
border-spacing:0px;
width:100%;
table-layout:fixed;
}
.rapTable table thead tr th{
background-image:linear-gradient(#282,#020);
color:#fff;
padding:4px;
cursor:pointer;
text-align:left;
position:sticky;
top:0px;
z-index:10;
white-space: nowrap;
-webkit-user-select: none;
-moz-user-select: none;
}
.rapTable table thead tr th div{
display:inline-table;
width:16px;
margin-left:8px;
float:right;
}
.rapTable table tbody{
font-family:arial;
border-collapse: collapse;
white-space:nowrap;
-moz-user-select: -moz-none;
-webkit-user-select: none;
}
.rapTable table tbody tr{
cursor:pointer;
}
.rapTable table tbody tr:hover{
background-color:#dfd;
}
.rapTable table tbody tr img{
margin:0px 2px;
}
.rapTable table tr td{
border-right: 1px solid black;
position:relative;
padding: 0px 4px;
overflow:hidden;
}
.rapTable .grip{
top:0px;
right:-3px;
bottom:0px;
width:6px;
position:absolute;
cursor:w-resize;
}
.rapTable .darr,
.rapTable .uarr{
background-image:linear-gradient(#4b4,#262);
}
.rapTable .darr span:before{
content:" ▼";
}
.rapTable .uarr span:before{
content:" ▲";
}