forked from araujoigor/json-grid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
json-grid.css
56 lines (49 loc) · 1 KB
/
json-grid.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
.table-head {
display: table-header-group;
}
.table-body {
display: table-row-group;
}
.table-row {
display: table-row;
}
.table-cell {
display: table-cell;
white-space: nowrap;
padding: 5px 10px;
border: 1px solid #000;
}
.expander {
cursor: pointer;
}
.outer-container {
position: absolute;
width: 100%;
height: 100%;
}
.outer-container .table-container {
width: 100%;
height: 100%;
overflow: auto;
}
#container {
height: 100vh;
}
.outer-container > .table-head {
position: absolute;
background: #fff;
width: 100%;
overflow: auto;
top: 0;
}
.outer-container > .table-head::-webkit-scrollbar,
.outer-container > .table-head::-webkit-scrollbar-button,
.outer-container > .table-head::-webkit-scrollbar-track,
.outer-container > .table-head::-webkit-scrollbar-track-piece,
.outer-container > .table-head::-webkit-scrollbar-thumb,
.outer-container > .table-head::-webkit-scrollbar-corner,
.outer-container > .table-head::-webkit-resizer {
opacity: 0;
height: 0;
width: 0;
}