-
Notifications
You must be signed in to change notification settings - Fork 0
/
j-ng2-table.component.css
129 lines (129 loc) · 2.87 KB
/
j-ng2-table.component.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
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
.j-ng2-table{
padding-right: 40px;
position: relative;
}
.settings{
position: relative;
float: right
}
.settings:hover .settings-contaienr{
display: block;
}
.settings-btn{
background: #fff;
border: 1px solid #ccc;
cursor: pointer;
float: right;
width: 40px;
height: 40px;
font-size: 18px;
border-top-right-radius: 5px;
box-shadow: inset 0px 0px 14px rgba(0,0,0,0.1);
transition: background 0.1s linear;
position: relative;
}
.settings-contaienr .fa{
cursor: pointer
}
.fa-thumb-tack.hidden{
opacity: 0.2;
}
.settings-contaienr{
padding: 0;
list-style: none;
position: absolute;
white-space: nowrap;
top: 100%;
right: 0;
background: #fff;
border: 1px solid #ccc;
border-radius: 5px;
border-top-right-radius: 0;
max-height: 300px;
overflow-y: auto;
min-width: 160px;
display: none;
margin: 0;
}
.settings-contaienr li{
padding: 5px 10px;
border-bottom: 1px solid #eee;
}
.settings-btn:hover{
background: #ccc;
}
.j-ng2-table-container{
border: 1px solid #ddd;
display: flex;
}
.pinned-data, .not-pinned-data{
float: left;
}
.not-pinned-data{
overflow-x: auto;
}
.pinned-data{
box-shadow: 8px 0px 25px -9px rgba(0,0,0,0.4);
position: relative;
}
.j-ng2-table-container .tr:not(:empty){
display: table-row;
transition: background 0.1s linear;
background: #fff;
}
.j-ng2-table-container .tr:hover{
display: table-row;
background: #ddd;
}
.j-ng2-table-container .th:not(:empty){
padding: 10px 20px;
border-right: 1px solid #ddd;
display: table-cell;
border-bottom: 1px solid #ddd;
white-space: nowrap;
font-weight: bold;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: pointer;
transition: all 0.1s linear;
}
.j-ng2-table-container .th .fa{
cursor: pointer;
padding: 6px;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.j-ng2-table-container .th .fa-times{
float: right
}
.j-ng2-table-container .td:not(:empty){
padding: 5px 15px;
border-right: 1px solid #ddd;
display: table-cell;
border-bottom: 1px solid #ddd;
}
.j-ng2-table .table-info {
border: 1px solid #ccc;
padding: 10px;
width: calc(100% - 62px);
border-top: none;
}
.j-ng2-table .pages-holder{
float: right;
}
.j-ng2-table .pages-holder span{
cursor: pointer;
border: 1px solid #ddd;
padding: 5px;
}
.j-ng2-table .pages-holder span.selected{
background: #ddd;
}