forked from alalonde/angular-scrollable-table
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscrollable-table.css
More file actions
163 lines (150 loc) · 3.53 KB
/
scrollable-table.css
File metadata and controls
163 lines (150 loc) · 3.53 KB
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
.scrollableContainer {
position: relative;
overflow: hidden;
box-sizing: border-box;
border: 1px solid #DDE5EA;
}
.scrollableContainer .headerSpacer {
position: absolute;
top: 0;
right: 0;
left: 0;
}
.scrollableContainer th .orderWrapper {
position: absolute;
top: 0;
right: 2px;
cursor: pointer;
}
.scrollableContainer th .orderWrapper .order {
font-size: 8pt;
color: #BDBDBD;
}
.scrollableContainer th .orderWrapper .active {
color: #464646;
}
.scrollArea table tbody {
overflow-x: auto;
overflow-y: auto;
width: 100%;
}
.scrollArea {
height: 100%;
overflow-x: auto;
overflow-y: auto;
/* the implementation of this is still quite buggy; specifically, it doesn't like the
absolutely positioned headers within
-webkit-overflow-scrolling: touch; */
-webkit-overflow-scrolling: auto;
}
.scrollArea table {
overflow-x: auto;
overflow-y: auto;
display: table;
margin-bottom: 0;
width: 100%;
border: none;
}
.scrollArea table th {
padding: 0 !important;
}
.scrollArea table .th-inner-header {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
position: absolute;
top: 0px!important;
border-left: 1px solid #DDE5EA;
height: 22px;
line-height: 14px;
padding: 8px 4px 4px 8px;
}
.scrollArea table .th-inner {
border-left: 1px solid #DDE5EA;
border-bottom: 1px solid #DDE5EA;
text-overflow: ellipsis;
white-space: nowrap;
position: absolute;
top: 22px;
height: 52px;
padding: 4px 8px 8px 8px;
}
.scrollArea table .th-inner-header.ff-table-header,
.scrollArea table .th-inner.ff-table-header {
border-left:none;
border-right: 1px solid #DDE5EA;///swap in ff
}
.scrollArea table thead tr>:first-child .th-inner,
.scrollArea table thead tr>:first-child .th-inner-header {
border-left:none;
}
.scrollArea table thead tr>:last-child .th-inner,
.scrollArea table thead tr>:last-child .th-inner-header {
border-right: 1px solid #DDE5EA;
}
.scrollArea table thead tr th:first-child .th-inner-header,
.scrollArea table thead tr th:first-child .th-inner,
.scrollArea table tbody tr td:first-child {
border-left:none;
}
.scrollArea table tbody tr.vs-repeat-repeated-element:first{
border-top:none;
}
.box > input.form-control,
.box div.ui-select-container div span,
.box div.ui-select-container input{
height:40px;
}
.scrollArea table .th-inner .ng-scope {
overflow: hidden;
text-overflow: ellipsis;
}
.scrollArea table tr th:first-child th .box {
border-left: none;
}
.scrollArea table .th-inner.condensed {
padding: 0 3px;
}
.scrollArea table tbody tr td {
border-left: none;
border-top: none;
color: #1A3F50;
font-size: 12px;
font-size: .75rem;
}
.scrollArea table.table-striped tbody tr:nth-of-type(odd) {
background-color: #FFFFFF;
}
.scrollArea table.table-striped tbody tr:nth-of-type(even) {
background-color: #F8FAFB;
}
.scrollArea table tbody tr td:last-child {
border-right: none;
}
.scrollableContainer .scaler {
position: absolute;
top: 0px;
width: 2px;
height: 100%;
background-color: #CFCFCF;
}
.scrollableContainer th .resize-rod {
position: absolute;
top: 0;
right: 0;
cursor: col-resize;
width: 4px;
height: 100%;
}
.scrollable-resizing .scrollableContainer {
cursor: col-resize;
-moz-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
}
.align-left {
text-align: left;
}
div.ui-select-container .caret {
right:8px!important;
}