@ninebone/table 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/_common.css +11 -0
- package/dist/css/ai.css +609 -0
- package/dist/css/aiMessage.css +18 -0
- package/dist/css/ideAssi.css +616 -0
- package/dist/css/ideDiff.css +124 -0
- package/dist/css/ngButton.css +40 -0
- package/dist/css/ngCheckBox.css +81 -0
- package/dist/css/ngColExpand.css +17 -0
- package/dist/css/ngCombo.css +75 -0
- package/dist/css/ngComboPanel.css +102 -0
- package/dist/css/ngExpandButton.css +71 -0
- package/dist/css/ngExpandCheck.css +34 -0
- package/dist/css/ngExpandIcon.css +36 -0
- package/dist/css/ngFilterPanel.css +94 -0
- package/dist/css/ngFlexBox.css +7 -0
- package/dist/css/ngFoot.css +109 -0
- package/dist/css/ngHScrollBar.css +85 -0
- package/dist/css/ngHead.css +86 -0
- package/dist/css/ngImg.css +22 -0
- package/dist/css/ngInfo.css +54 -0
- package/dist/css/ngInputColor.css +77 -0
- package/dist/css/ngInputDate.css +74 -0
- package/dist/css/ngInputText.css +65 -0
- package/dist/css/ngMaximize.css +26 -0
- package/dist/css/ngProgress.css +40 -0
- package/dist/css/ngRadio.css +61 -0
- package/dist/css/ngRenderer.css +59 -0
- package/dist/css/ngRowDetail.css +26 -0
- package/dist/css/ngRowDrag.css +13 -0
- package/dist/css/ngRowExpand.css +20 -0
- package/dist/css/ngRowIndicator.css +111 -0
- package/dist/css/ngRowPin.css +30 -0
- package/dist/css/ngRowState.css +16 -0
- package/dist/css/ngSvg.css +22 -0
- package/dist/css/ngTextArea.css +64 -0
- package/dist/css/ngTreeItem.css +133 -0
- package/dist/css/ngVScrollBar.css +85 -0
- package/dist/css/ninegrid.css +1212 -0
- package/dist/css/nxAlert.css +142 -0
- package/dist/css/nxButtons.css +33 -0
- package/dist/css/nxCollapse.css +67 -0
- package/dist/css/nxConfirm.css +143 -0
- package/dist/css/nxDialog.css +606 -0
- package/dist/css/nxDiv.css +120 -0
- package/dist/css/nxEditor.css +171 -0
- package/dist/css/nxForm.css +67 -0
- package/dist/css/nxModal.css +627 -0
- package/dist/css/nxPanel.css +129 -0
- package/dist/css/nxSideMenu.css +62 -0
- package/dist/css/nxSideMenuBody.css +8 -0
- package/dist/css/nxSideMenuFoot.css +78 -0
- package/dist/css/nxSideMenuHead.css +82 -0
- package/dist/css/nxSideMenuItem.css +203 -0
- package/dist/css/nxSplitter.css +63 -0
- package/dist/css/nxTab.css +193 -0
- package/dist/css/nxTitle.css +210 -0
- package/dist/css/nxTitle2.css +33 -0
- package/dist/index.html +60 -0
- package/dist/nine-table.js +141 -0
- package/dist/nine-table.js.map +1 -0
- package/dist/nine-table.umd.js +47 -0
- package/dist/nine-table.umd.js.map +1 -0
- package/package.json +34 -0
|
@@ -0,0 +1,1212 @@
|
|
|
1
|
+
/**
|
|
2
|
+
body {
|
|
3
|
+
min-height: 100vh;
|
|
4
|
+
min-height: -webkit-fill-available;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
html {
|
|
8
|
+
height: -webkit-fill-available;
|
|
9
|
+
}
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
:host button {
|
|
14
|
+
color: unset;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
:host(.ng-maximize) {
|
|
19
|
+
position: absolute;
|
|
20
|
+
top: 0;
|
|
21
|
+
left: 0;
|
|
22
|
+
right: 0;
|
|
23
|
+
height: 100% !important;
|
|
24
|
+
padding: 10px;
|
|
25
|
+
z-index: 9999;
|
|
26
|
+
background-color: white;
|
|
27
|
+
} */
|
|
28
|
+
|
|
29
|
+
/* iOS only */
|
|
30
|
+
/**
|
|
31
|
+
@supports (-webkit-touch-callout: none) {
|
|
32
|
+
height: -webkit-fill-available;
|
|
33
|
+
}
|
|
34
|
+
*/
|
|
35
|
+
|
|
36
|
+
@keyframes loading{to{transform:rotate(360deg)}}
|
|
37
|
+
:host(.loading) {
|
|
38
|
+
filter: brightness(90%);
|
|
39
|
+
--filter: brightness(90%);
|
|
40
|
+
}
|
|
41
|
+
:host(.loading)::after {
|
|
42
|
+
width: 2rem;
|
|
43
|
+
height: 2rem;
|
|
44
|
+
content:'';
|
|
45
|
+
position: absolute;
|
|
46
|
+
top: calc(50% - 16px);
|
|
47
|
+
left: calc(50% - 16px);
|
|
48
|
+
display: inline-block;
|
|
49
|
+
border-radius: 50%;
|
|
50
|
+
border: 0.25em solid green;
|
|
51
|
+
border-right-color:transparent;
|
|
52
|
+
animation: 0.75s linear infinite loading;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**@media (prefers-reduced-motion:reduce){.loading::after}*/
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
.ng-table input[disabled] {
|
|
59
|
+
pointer-events: none;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.ng-table input[type="number"]::-webkit-outer-spin-button,
|
|
63
|
+
.ng-table input[type="number"]::-webkit-inner-spin-button {
|
|
64
|
+
-webkit-appearance: none;
|
|
65
|
+
margin: 0;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
:host * {
|
|
69
|
+
font-size: 12px;
|
|
70
|
+
--font: 400 12px/normal "Malgun Gothic", "맑은 고딕", AppleSDGothicNeo-Light, sans-serif;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
:host tr {
|
|
74
|
+
height: 32px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@-webkit-keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }
|
|
78
|
+
@-moz-keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }
|
|
79
|
+
@-ms-keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }
|
|
80
|
+
@-o-keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }
|
|
81
|
+
@keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }
|
|
82
|
+
|
|
83
|
+
:host {
|
|
84
|
+
-moz-user-select: none;
|
|
85
|
+
-webkit-user-select: none;
|
|
86
|
+
-ms-user-select: none;
|
|
87
|
+
user-select: none;
|
|
88
|
+
position: relative;
|
|
89
|
+
display: flex;
|
|
90
|
+
flex-direction: column;
|
|
91
|
+
-webkit-animation: fadeIn 0.3s 0s 1 ease-in-out normal;
|
|
92
|
+
-moz-animation: fadeIn 0.3s 0s 1 ease-in-out normal;
|
|
93
|
+
-ms-animation: fadeIn 0.3s 0s 1 ease-in-out normal;
|
|
94
|
+
-o-animation: fadeIn 0.3s 0s 1 ease-in-out normal;
|
|
95
|
+
animation: fadeIn 0.3s 0s 1 ease-in-out normal;
|
|
96
|
+
overflow: hidden;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
:host .ng-background {
|
|
100
|
+
position: relative;
|
|
101
|
+
height: 2px;
|
|
102
|
+
background-color: #666;
|
|
103
|
+
top: 2px;
|
|
104
|
+
/**border-top: 1px solid #666; */
|
|
105
|
+
}
|
|
106
|
+
:host .ng-body {
|
|
107
|
+
position: relative;
|
|
108
|
+
display: flex;
|
|
109
|
+
width: 100%;
|
|
110
|
+
height: 100%;
|
|
111
|
+
border: 1px solid #666;
|
|
112
|
+
border-top: none;
|
|
113
|
+
border-left: 1px solid #f0f0f0;
|
|
114
|
+
border-right: 1px solid #f0f0f0;
|
|
115
|
+
border-bottom: 1px solid #ccc;
|
|
116
|
+
top: unset;
|
|
117
|
+
box-sizing: border-box;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
.ng-container {
|
|
122
|
+
position: relative;
|
|
123
|
+
display: flex;
|
|
124
|
+
flex-direction: column;
|
|
125
|
+
width: 100%;
|
|
126
|
+
height: 100%;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.ng-container-top {
|
|
130
|
+
position: relative;
|
|
131
|
+
display: flex;
|
|
132
|
+
width: 100%;
|
|
133
|
+
height: 100%;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.ng-container-bottom {
|
|
137
|
+
position: relative;
|
|
138
|
+
display: flex;
|
|
139
|
+
width: 100%;
|
|
140
|
+
height: 16px;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.ng-container-top {
|
|
144
|
+
overflow: hidden;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.ng-container-left, .ng-container-right, .ng-container-body {
|
|
148
|
+
position: sticky;
|
|
149
|
+
top: 0;
|
|
150
|
+
display: flex;
|
|
151
|
+
height: 100%;
|
|
152
|
+
box-sizing: border-box;
|
|
153
|
+
background: unset;
|
|
154
|
+
overflow: unset;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.ng-container-body {
|
|
158
|
+
width: 100%;
|
|
159
|
+
background: transparent;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
.ng-scroll-edge {
|
|
165
|
+
position: relative;
|
|
166
|
+
display: flex;
|
|
167
|
+
width: 17px;
|
|
168
|
+
height: calc(100% - 1px);
|
|
169
|
+
background: #eee;
|
|
170
|
+
border-left: 1px solid #ccc;
|
|
171
|
+
border-top: 1px solid #ccc;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.ng-etc1 {
|
|
175
|
+
position: absolute;
|
|
176
|
+
top : 0;
|
|
177
|
+
bottom: 0;
|
|
178
|
+
left: 0;
|
|
179
|
+
width: 0;
|
|
180
|
+
}
|
|
181
|
+
.ng-etc2 {
|
|
182
|
+
position: absolute;
|
|
183
|
+
top : 0;
|
|
184
|
+
bottom: 0;
|
|
185
|
+
width: 0;
|
|
186
|
+
right: 0;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
div.resizer-col-panel,div.resizer-row-panel {
|
|
191
|
+
z-index: 3;
|
|
192
|
+
position: absolute;
|
|
193
|
+
top : 0;
|
|
194
|
+
bottom: 0;
|
|
195
|
+
left: 0;
|
|
196
|
+
right: 0;
|
|
197
|
+
background-color: transparent;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
div.resizer-col-panel {
|
|
201
|
+
top : 0;
|
|
202
|
+
bottom : 0;
|
|
203
|
+
cursor: col-resize;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
div.resizer-row-panel {
|
|
207
|
+
left : 0;
|
|
208
|
+
right : 0;
|
|
209
|
+
cursor: row-resize;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
div.resizer-col-panel div.grip,div.resizer-row-panel div.grip {
|
|
213
|
+
position: absolute;
|
|
214
|
+
background-color: black;
|
|
215
|
+
opacity:0.2;
|
|
216
|
+
}
|
|
217
|
+
div.resizer-col-panel div.grip {
|
|
218
|
+
width: 1px;
|
|
219
|
+
bottom: 0;
|
|
220
|
+
}
|
|
221
|
+
div.resizer-row-panel div.grip {
|
|
222
|
+
height: 1px;
|
|
223
|
+
left: 0;
|
|
224
|
+
right: 0;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
div.resizer-col-panel div.tooltip,div.resizer-row-panel div.tooltip {
|
|
228
|
+
position: relative;
|
|
229
|
+
--background-color: white;
|
|
230
|
+
--border: 1px solid dimgray;
|
|
231
|
+
opacity:0.8;
|
|
232
|
+
display: flex;
|
|
233
|
+
align-items: center;
|
|
234
|
+
justify-content: center;
|
|
235
|
+
line-height: 10px;
|
|
236
|
+
}
|
|
237
|
+
div.resizer-col-panel div.tooltip {
|
|
238
|
+
height: 8px;
|
|
239
|
+
min-width: 30px;
|
|
240
|
+
overflow: visible;
|
|
241
|
+
}
|
|
242
|
+
div.resizer-row-panel div.tooltip {
|
|
243
|
+
width: 8px;
|
|
244
|
+
min-height: 30px;
|
|
245
|
+
display: flex;
|
|
246
|
+
flex-direction: column;
|
|
247
|
+
overflow: visible;
|
|
248
|
+
}
|
|
249
|
+
div.resizer-row-panel div.tooltip div:first-child {
|
|
250
|
+
top: 0;
|
|
251
|
+
height: 50%;
|
|
252
|
+
width: 1px;
|
|
253
|
+
background-color: dimgray;
|
|
254
|
+
display: flex;
|
|
255
|
+
justify-content: center;
|
|
256
|
+
overflow: visible;
|
|
257
|
+
}
|
|
258
|
+
div.resizer-row-panel div.tooltip div:first-child::before {
|
|
259
|
+
content: '';
|
|
260
|
+
position: absolute;
|
|
261
|
+
top: -1;
|
|
262
|
+
border-bottom : 4px solid dimgray;
|
|
263
|
+
border-left : 4px solid transparent;
|
|
264
|
+
border-right : 4px solid transparent;
|
|
265
|
+
}
|
|
266
|
+
div.resizer-row-panel div.tooltip div:last-child {
|
|
267
|
+
bottom: 0;
|
|
268
|
+
height: 50%;
|
|
269
|
+
width: 1px;
|
|
270
|
+
background-color: dimgray;
|
|
271
|
+
display: flex;
|
|
272
|
+
justify-content: center;
|
|
273
|
+
align-items: flex-end;
|
|
274
|
+
overflow: visible;
|
|
275
|
+
}
|
|
276
|
+
div.resizer-row-panel div.tooltip div:last-child::before {
|
|
277
|
+
content: '';
|
|
278
|
+
position: absolute;
|
|
279
|
+
bottom: -1;
|
|
280
|
+
border-top : 4px solid dimgray;
|
|
281
|
+
border-left : 4px solid transparent;
|
|
282
|
+
border-right : 4px solid transparent;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
div.resizer-col-panel div.tooltip div:first-child {
|
|
286
|
+
left: 0;
|
|
287
|
+
height: 1px;
|
|
288
|
+
width: 50%;
|
|
289
|
+
background-color: dimgray;
|
|
290
|
+
display: flex;
|
|
291
|
+
align-items: center;
|
|
292
|
+
overflow: visible;
|
|
293
|
+
}
|
|
294
|
+
div.resizer-col-panel div.tooltip div:first-child::before {
|
|
295
|
+
content: '';
|
|
296
|
+
position: absolute;
|
|
297
|
+
left: -1;
|
|
298
|
+
border-right : 4px solid dimgray;
|
|
299
|
+
border-top : 4px solid transparent;
|
|
300
|
+
border-bottom : 4px solid transparent;
|
|
301
|
+
}
|
|
302
|
+
div.resizer-col-panel div.tooltip div:last-child {
|
|
303
|
+
right: 0;
|
|
304
|
+
height: 1px;
|
|
305
|
+
width: 50%;
|
|
306
|
+
background-color: dimgray;
|
|
307
|
+
display: flex;
|
|
308
|
+
align-items: center;
|
|
309
|
+
overflow: visible;
|
|
310
|
+
}
|
|
311
|
+
div.resizer-col-panel div.tooltip div:last-child::before {
|
|
312
|
+
content: '';
|
|
313
|
+
position: absolute;
|
|
314
|
+
right: 0;
|
|
315
|
+
border-left : 4px solid dimgray;
|
|
316
|
+
border-top : 4px solid transparent;
|
|
317
|
+
border-bottom : 4px solid transparent;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
div.resizer-row-panel span {
|
|
321
|
+
position:relative;
|
|
322
|
+
left: 5px;
|
|
323
|
+
color: black;
|
|
324
|
+
text-shadow: #999 1px 1px;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
div.resizer-col-panel span {
|
|
328
|
+
position:relative;
|
|
329
|
+
--top: 5px;
|
|
330
|
+
color: black;
|
|
331
|
+
text-shadow: #999 1px 1px;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
.ng-table {
|
|
336
|
+
border: none;
|
|
337
|
+
position: absolute;
|
|
338
|
+
top: 0;
|
|
339
|
+
display: table;
|
|
340
|
+
box-sizing: border-box;
|
|
341
|
+
border-collapse: separate;
|
|
342
|
+
border-spacing: 0;
|
|
343
|
+
margin: 0 auto;
|
|
344
|
+
padding: 0;
|
|
345
|
+
clear: both;
|
|
346
|
+
outline: none;
|
|
347
|
+
table-layout: fixed;
|
|
348
|
+
background-color: #fefefe;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
.ng-table caption {
|
|
352
|
+
display: none;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.ng-container-left,.ng-container-right {
|
|
356
|
+
position: sticky;
|
|
357
|
+
top: 0;
|
|
358
|
+
z-index: 2;
|
|
359
|
+
overflow: hidden;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
.ng-table thead {
|
|
364
|
+
display: table-header-group;
|
|
365
|
+
position: sticky;
|
|
366
|
+
top: 0;
|
|
367
|
+
z-index: 1;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
.ng-table tfoot {
|
|
371
|
+
display: table-footer-group;
|
|
372
|
+
position: -webkit-sticky;
|
|
373
|
+
position: -webkit-o-sticky;
|
|
374
|
+
position: -webkit-ms-sticky;
|
|
375
|
+
position: sticky;
|
|
376
|
+
bottom: 0;
|
|
377
|
+
z-index: 2;
|
|
378
|
+
background: #333;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.ng-table tbody {
|
|
382
|
+
position: relative;
|
|
383
|
+
display: table-row-group;
|
|
384
|
+
outline: none;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.ng-table th, .ng-table td {
|
|
388
|
+
box-sizing: border-box;
|
|
389
|
+
margin: 0;
|
|
390
|
+
padding: 0;
|
|
391
|
+
overflow: hidden;
|
|
392
|
+
text-overflow: ellipsis;
|
|
393
|
+
white-space: nowrap;
|
|
394
|
+
font-weight: normal;
|
|
395
|
+
height: inherit;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.ng-table tbody.fixed {
|
|
399
|
+
filter: brightness(98%);
|
|
400
|
+
display: table-header-group;
|
|
401
|
+
z-index: 1;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.ng-table th {
|
|
405
|
+
text-align: center;
|
|
406
|
+
background-color: #eee;
|
|
407
|
+
border-right: 1px solid #ccc;
|
|
408
|
+
border-left: none;
|
|
409
|
+
}
|
|
410
|
+
.ng-table td {
|
|
411
|
+
background-color: white;
|
|
412
|
+
border-right: 1px solid #eee;
|
|
413
|
+
border-left: none;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.ng-table th.right {
|
|
417
|
+
text-align: center;
|
|
418
|
+
background-color: #eee;
|
|
419
|
+
border-left: 1px solid #ccc;
|
|
420
|
+
border-right: none;
|
|
421
|
+
}
|
|
422
|
+
.ng-table td.right {
|
|
423
|
+
background-color: white;
|
|
424
|
+
border-left: 1px solid #eee;
|
|
425
|
+
border-right: none;
|
|
426
|
+
}
|
|
427
|
+
.ng-table thead th, .ng-table thead td {
|
|
428
|
+
padding-left: 0;
|
|
429
|
+
padding-right: 0;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.ng-table thead th, .ng-table tbody th {
|
|
433
|
+
border-bottom: 1px solid #ccc;
|
|
434
|
+
border-top: none;
|
|
435
|
+
}
|
|
436
|
+
.ng-table thead td, .ng-table tbody td {
|
|
437
|
+
border-bottom: 1px solid #eee;
|
|
438
|
+
border-top: none;
|
|
439
|
+
}
|
|
440
|
+
.ng-table tfoot th {
|
|
441
|
+
border-top: 1px solid #ccc;
|
|
442
|
+
border-bottom: none;
|
|
443
|
+
}
|
|
444
|
+
.ng-table tfoot td {
|
|
445
|
+
--border-top: 1px solid #eee;
|
|
446
|
+
border-top: none;
|
|
447
|
+
border-bottom: none;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
.ng-container-left > table, .ng-container-right > table {
|
|
451
|
+
width: 100%!important;
|
|
452
|
+
--height: 100%;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.ng-container-left thead th, .ng-container-left thead td, .ng-container-right thead th, .ng-container-right thead td,
|
|
456
|
+
.ng-container-left tfoot th, .ng-container-left tfoot td, .ng-container-right tfoot th, .ng-container-right tfoot td {
|
|
457
|
+
--filter: brightness(95%);
|
|
458
|
+
filter: unset;
|
|
459
|
+
}
|
|
460
|
+
.ng-container-left tbody th, .ng-container-left tbody td, .ng-container-right tbody th, .ng-container-right tbody td {
|
|
461
|
+
--filter: brightness(98%);
|
|
462
|
+
filter: unset;
|
|
463
|
+
}
|
|
464
|
+
.ng-container-left, .ng-container-right {
|
|
465
|
+
filter: brightness(98%);
|
|
466
|
+
}
|
|
467
|
+
.ng-container-left {
|
|
468
|
+
--overflow: visible; /** ng-info 안보임 */
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
.ng-container-right th:first-child {
|
|
473
|
+
border-left: 1px solid #ccc
|
|
474
|
+
}
|
|
475
|
+
.ng-container-right td:first-child {
|
|
476
|
+
border-left: 1px solid #eee;
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
.context-menu-list {
|
|
482
|
+
padding: 0em 0;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
.ng-table thead th.asc::after,
|
|
486
|
+
.ng-table thead td.asc::after,
|
|
487
|
+
.ng-table thead th.desc::after,
|
|
488
|
+
.ng-table thead td.desc::after {
|
|
489
|
+
content: '';
|
|
490
|
+
display: inline-flex;
|
|
491
|
+
border-left: 4px solid transparent;
|
|
492
|
+
border-right: 4px solid transparent;
|
|
493
|
+
margin-left: 3px;
|
|
494
|
+
}
|
|
495
|
+
.ng-table thead th.asc::after,
|
|
496
|
+
.ng-table thead td.asc::after {
|
|
497
|
+
border-top: 4px solid #666;
|
|
498
|
+
transform: translateY(-50%);
|
|
499
|
+
}
|
|
500
|
+
.ng-table thead th.desc::after,
|
|
501
|
+
.ng-table thead td.desc::after {
|
|
502
|
+
border-bottom: 4px solid #666;
|
|
503
|
+
transform: translateY(-150%);
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
.ng-table th:focus,.ng-table td:focus {
|
|
507
|
+
outline: none;/**1px solid red;*/
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
.ng-table th:focus,.ng-table td:focus {
|
|
511
|
+
filter: brightness(100%) !important;
|
|
512
|
+
}
|
|
513
|
+
.ng-table th:not(.selected):focus::after,
|
|
514
|
+
.ng-table td:not(.selected):focus::after {
|
|
515
|
+
content: '';
|
|
516
|
+
position: absolute;
|
|
517
|
+
right: 0;
|
|
518
|
+
top: 0;
|
|
519
|
+
width: 0;
|
|
520
|
+
height: 0;
|
|
521
|
+
border-top: 2px solid green;
|
|
522
|
+
border-right: 2px solid green;
|
|
523
|
+
border-left: 2px solid transparent;
|
|
524
|
+
border-bottom: 2px solid transparent;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
@keyframes copied { 50% { filter: brightness(80%); } }
|
|
531
|
+
.ng-table td.copied {
|
|
532
|
+
filter: unset;
|
|
533
|
+
animation: copied 0.5s step-end 5;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
.ng-table thead th, .ng-table thead td {
|
|
537
|
+
position: relative;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
:host(.auto-height) {
|
|
541
|
+
.ng-body {
|
|
542
|
+
overflow-y: scroll;
|
|
543
|
+
|
|
544
|
+
/* WebKit 브라우저 (Chrome, Edge, Safari) 스크롤바 항상 표시 */
|
|
545
|
+
&::-webkit-scrollbar {
|
|
546
|
+
width: 8px; /* 스크롤바의 너비 */
|
|
547
|
+
/* display: block; 기본적으로 block이 적용되지만, 필요 시 추가 */
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
&::-webkit-scrollbar-track {
|
|
551
|
+
background: #f1f1f1; /* 스크롤바 트랙(배경) 색상 */
|
|
552
|
+
border-radius: 4px;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
&::-webkit-scrollbar-thumb {
|
|
556
|
+
background: #888; /* 스크롤바 막대(손잡이) 색상 */
|
|
557
|
+
border-radius: 4px;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
&::-webkit-scrollbar-thumb:hover {
|
|
561
|
+
background: #555; /* 마우스 오버 시 막대 색상 */
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
/* Firefox 스크롤바 항상 표시 및 색상 지정 (최신 표준) */
|
|
565
|
+
scrollbar-width: thin; /* auto 또는 thin */
|
|
566
|
+
scrollbar-color: #888 #f1f1f1; /* 막대색상 배경색상 */
|
|
567
|
+
}
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
:host {
|
|
572
|
+
box-sizing: border-box;
|
|
573
|
+
}
|
|
574
|
+
:host(.simple) {
|
|
575
|
+
position: relative !important;
|
|
576
|
+
width: 100%;
|
|
577
|
+
height: 100%;
|
|
578
|
+
--margin-top: 4px;
|
|
579
|
+
display: flex;
|
|
580
|
+
flex-direction: unset;
|
|
581
|
+
}
|
|
582
|
+
:host(.detail) .ng-container-body {
|
|
583
|
+
overflow-y: auto;
|
|
584
|
+
}
|
|
585
|
+
:host(.simple) thead {
|
|
586
|
+
display: none !important;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
:host(.simple) .ng-body {
|
|
590
|
+
top: 0;
|
|
591
|
+
border-top: 1px solid #666;
|
|
592
|
+
}
|
|
593
|
+
:host(.simple) ng-vscrollbar {
|
|
594
|
+
border-top: none;
|
|
595
|
+
height: 100%;
|
|
596
|
+
}
|
|
597
|
+
:host(.simple) .ng-container-bottom {
|
|
598
|
+
display: none;
|
|
599
|
+
}
|
|
600
|
+
:host(.simple) .ng-table tbody td:hover {
|
|
601
|
+
filter: unset;
|
|
602
|
+
}
|
|
603
|
+
:host(.simple) .ng-table tbody tr:hover {
|
|
604
|
+
filter: brightness(95%);
|
|
605
|
+
}
|
|
606
|
+
:host(.simple) .ng-table span.group {
|
|
607
|
+
color: #999;
|
|
608
|
+
font-weight: bold;
|
|
609
|
+
font-style: italic;
|
|
610
|
+
}
|
|
611
|
+
:host(.simple) .ng-table span.invalid {
|
|
612
|
+
color: #ccc;
|
|
613
|
+
font-style: italic;
|
|
614
|
+
}
|
|
615
|
+
:host(.simple) .ng-table span.empty {
|
|
616
|
+
color: #ccc;
|
|
617
|
+
font-style: italic;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
:host(.combo) .ng-table td,
|
|
621
|
+
:host(.filter) .ng-table td {
|
|
622
|
+
border-right: 0 none;
|
|
623
|
+
border-bottom: 0 none;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
:host(.combo) .ng-table td.selected,
|
|
628
|
+
:host(.filter) .ng-table td.selected {
|
|
629
|
+
background-color: green;
|
|
630
|
+
color: white;
|
|
631
|
+
filter: unset !important;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
:host(.combo) .ng-table td.selected-top,
|
|
635
|
+
:host(.combo) .ng-table td.selected-bottom,
|
|
636
|
+
:host(.combo) .ng-table td.selected-left,
|
|
637
|
+
:host(.combo) .ng-table td.selected-right,
|
|
638
|
+
:host(.filter) .ng-table td.selected-top,
|
|
639
|
+
:host(.filter) .ng-table td.selected-bottom,
|
|
640
|
+
:host(.filter) .ng-table td.selected-left,
|
|
641
|
+
:host(.filter) .ng-table td.selected-right {
|
|
642
|
+
border-top: 0 !important;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
:host(.combo) .ng-table tbody .selected-bottom,
|
|
646
|
+
:host(.filter) .ng-table tbody .selected-bottom {
|
|
647
|
+
border-bottom: 0 !important;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
:host(.combo) .ng-table tbody td:hover,
|
|
651
|
+
:host(.filter) .ng-table tbody td:hover {
|
|
652
|
+
filter: unset;
|
|
653
|
+
}
|
|
654
|
+
:host(.combo) .ng-table tbody tr:hover,
|
|
655
|
+
:host(.filter) .ng-table tbody tr:hover {
|
|
656
|
+
filter: brightness(95%);
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
:host(.combo) .ng-body,
|
|
662
|
+
:host(.detail) .ng-body {
|
|
663
|
+
border: none;
|
|
664
|
+
}
|
|
665
|
+
:host(.combo) thead,
|
|
666
|
+
:host(.detail) thead {
|
|
667
|
+
visibility: collapse;
|
|
668
|
+
}
|
|
669
|
+
:host(.combo) .ng-background,
|
|
670
|
+
:host(.detail) .ng-background {
|
|
671
|
+
display: none;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
:host(.detail) ng-vscrollbar {
|
|
675
|
+
display: none !important;
|
|
676
|
+
}
|
|
677
|
+
:host(.detail) ng-info {
|
|
678
|
+
display: none !important;
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
ng-filter-button {
|
|
682
|
+
position: absolute;
|
|
683
|
+
right: 1px;
|
|
684
|
+
bottom: 1px;
|
|
685
|
+
width: 8px;
|
|
686
|
+
height: 8px;
|
|
687
|
+
border: none;
|
|
688
|
+
display: flex;
|
|
689
|
+
justify-content: center;
|
|
690
|
+
align-items: center;
|
|
691
|
+
cursor: pointer !important;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
ng-filter-button::after {
|
|
695
|
+
content: '';
|
|
696
|
+
border-top: 0.3em solid #999;
|
|
697
|
+
border-right: 0.3em solid transparent;
|
|
698
|
+
border-bottom: 0;
|
|
699
|
+
border-left: 0.3em solid transparent;
|
|
700
|
+
}
|
|
701
|
+
ng-filter-button.filtered {
|
|
702
|
+
width: 16px;
|
|
703
|
+
height: 16px;
|
|
704
|
+
}
|
|
705
|
+
ng-filter-button.filtered::after {
|
|
706
|
+
content: '';
|
|
707
|
+
width: 16px;
|
|
708
|
+
height: 16px;
|
|
709
|
+
border: none;
|
|
710
|
+
background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDo4ZjViM2JiOC1jMGM0LWY5NDQtODEyZS0xODFmMTE5ZGFlYTAiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MzRBQzZERUJCNzMyMTFFODk1RDNFRkJBOTQwRTJENEYiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MzRBQzZERUFCNzMyMTFFODk1RDNFRkJBOTQwRTJENEYiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTggKFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MDA4M2JmNmUtNzZkMi00NTQ4LWFjMmUtNGNkOWZhNTkxZWU2IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjhmNWIzYmI4LWMwYzQtZjk0NC04MTJlLTE4MWYxMTlkYWVhMCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pl2sSF0AAAEZSURBVHjaYvz//z8DNQATA5UA1QxiARGNrT1E+6++uoQRp0H4FCADfBayEKOIKACKNRBuaOn+D2Njw4TkkQO7GJergOLxhBzEiJyOgBq8gNRW9PACWQASA9JhQG4dEKsC8W0gbgKKr8IwCKqpHUhVwAxDMiQEyF0ND1wWFgZ2djaGr1+/hYMMY8ISvZU4XN8AY7CysjJEhQcxxEaGMkBdiDNBfsciplqUl8HAycnBEBsVwiDAz8ewYMkKBqg3cRr0HOgVLTSx2ywszAwZKfFAL7EzzJ6/lOHHj58M0LDCbhDQe8pA6iJ65C1buZ7h7bv3DAuXrGL4/h3u6GasgY0tJSMFfDiIC8QqQHwHJASUW0nQoKFdjAAEGACYvJ2+9Ajh4AAAAABJRU5ErkJggg==');
|
|
711
|
+
background-repeat: no-repeat;
|
|
712
|
+
background-position: center;
|
|
713
|
+
background-size: auto;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
:host thead .col-indicator-rowgroup.expand {
|
|
718
|
+
height: 20px;
|
|
719
|
+
}
|
|
720
|
+
:host thead .col-indicator-rowgroup.collapse {
|
|
721
|
+
height: 2px;
|
|
722
|
+
}
|
|
723
|
+
:host thead .col-indicator-rowgroup.expand th {
|
|
724
|
+
background-color: #eee;
|
|
725
|
+
border-right-color: #ccc;
|
|
726
|
+
border-top: 2px solid #666;
|
|
727
|
+
}
|
|
728
|
+
:host thead .col-indicator-rowgroup.collapse th {
|
|
729
|
+
background-color: #666;
|
|
730
|
+
border: none;
|
|
731
|
+
}
|
|
732
|
+
:host thead .col-indicator-rowgroup.collapse div {
|
|
733
|
+
display: unset;
|
|
734
|
+
}
|
|
735
|
+
:host thead .col-indicator-rowgroup.collapse div {
|
|
736
|
+
display: none;
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
:host .ng-table .dummy {
|
|
740
|
+
display: none;
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
:host .ng-table thead th.added,
|
|
744
|
+
:host .ng-table thead th.updated,
|
|
745
|
+
:host .ng-table thead th.deleted {
|
|
746
|
+
background-repeat: no-repeat;
|
|
747
|
+
background-position: center;
|
|
748
|
+
background-size: 16px 22px;
|
|
749
|
+
}
|
|
750
|
+
:host .ng-table thead th.deleted {
|
|
751
|
+
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" style="fill:none;stroke:red;stroke-width:2;" viewBox="0 0 16 16" focusable="false" aria-hidden="true"><path d="M8.2 13.9H14v.1H8.1l.1-.1Zm2.37-9.17.7.7-5.3 5.3-.7-.7 5.3-5.3Zm2.71-2.7a.1.1 0 0 1 .14 0l.57.57a.1.1 0 0 1 0 .14l-.58.58-.71-.71.58-.58ZM3.15 12.15l.7.71-.24.24a1 1 0 0 1-.43.26l-.74.2.21-.73a1 1 0 0 1 .26-.44l.24-.24Z"></path></svg>');
|
|
752
|
+
}
|
|
753
|
+
:host .ng-table thead th.updated {
|
|
754
|
+
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" style="fill:none;stroke:darkgoldenrod;stroke-width:2;" viewBox="0 0 16 16" focusable="false" aria-hidden="true"><path d="M8.2 13.9H14v.1H8.1l.1-.1Zm2.37-9.17.7.7-5.3 5.3-.7-.7 5.3-5.3Zm2.71-2.7a.1.1 0 0 1 .14 0l.57.57a.1.1 0 0 1 0 .14l-.58.58-.71-.71.58-.58ZM3.15 12.15l.7.71-.24.24a1 1 0 0 1-.43.26l-.74.2.21-.73a1 1 0 0 1 .26-.44l.24-.24Z"></path></svg>');
|
|
755
|
+
}
|
|
756
|
+
:host .ng-table thead th.added {
|
|
757
|
+
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" style="fill:none;stroke:blue;stroke-width:2;" viewBox="0 0 16 16" focusable="false" aria-hidden="true"><path d="M8.2 13.9H14v.1H8.1l.1-.1Zm2.37-9.17.7.7-5.3 5.3-.7-.7 5.3-5.3Zm2.71-2.7a.1.1 0 0 1 .14 0l.57.57a.1.1 0 0 1 0 .14l-.58.58-.71-.71.58-.58ZM3.15 12.15l.7.71-.24.24a1 1 0 0 1-.43.26l-.74.2.21-.73a1 1 0 0 1 .26-.44l.24-.24Z"></path></svg>');
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
/** .enable-fixed-col */
|
|
761
|
+
:host(.enable-fixed-col) .ng-container-left thead::before,
|
|
762
|
+
:host(.enable-fixed-col) .ng-container-body thead::before,
|
|
763
|
+
:host(.enable-fixed-col) .ng-container-body thead::after,
|
|
764
|
+
:host(.enable-fixed-col) .ng-container-right thead::after {
|
|
765
|
+
z-index: 1;
|
|
766
|
+
content: '';
|
|
767
|
+
cursor: pointer;
|
|
768
|
+
position: absolute;
|
|
769
|
+
width: 0;
|
|
770
|
+
height: 0;
|
|
771
|
+
top: 4px;
|
|
772
|
+
border-top: 4px solid transparent;
|
|
773
|
+
border-bottom: 4px solid transparent;
|
|
774
|
+
}
|
|
775
|
+
/**
|
|
776
|
+
:host(.enable-fixed-col) .ng-container-left thead::before,
|
|
777
|
+
:host(.enable-fixed-col) .ng-container-body thead::before {
|
|
778
|
+
right: 1px;
|
|
779
|
+
border-right: 4px solid #999;
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
:host(.enable-fixed-col) .ng-container-body thead::after,
|
|
783
|
+
:host(.enable-fixed-col) .ng-container-right thead::after {
|
|
784
|
+
left: 0px;
|
|
785
|
+
border-left: 4px solid #999;
|
|
786
|
+
}
|
|
787
|
+
*/
|
|
788
|
+
|
|
789
|
+
:host(.enable-fixed-col) .ng-container-left thead::before {
|
|
790
|
+
right: 1px;
|
|
791
|
+
border-right: 4px solid #999;
|
|
792
|
+
}
|
|
793
|
+
:host(.enable-fixed-col) .ng-container-body thead::before {
|
|
794
|
+
right: 1px;
|
|
795
|
+
border-right: unset;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
:host(.enable-fixed-col) .ng-container-body thead::after{
|
|
799
|
+
left: 0px;
|
|
800
|
+
border-left: 4px solid #999;
|
|
801
|
+
}
|
|
802
|
+
:host(.enable-fixed-col) .ng-container-right thead::after {
|
|
803
|
+
left: 0px;
|
|
804
|
+
border-left: unset;
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
/**************************************************/
|
|
808
|
+
|
|
809
|
+
ng-context-menu-panel {
|
|
810
|
+
position: absolute;
|
|
811
|
+
font-family: "Malgun Gothic", "맑은 고딕", AppleSDGothicNeo-Light, sans-serif;
|
|
812
|
+
font-size: 12px;
|
|
813
|
+
z-index: 9999;
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
/**
|
|
817
|
+
ng-context-menu-panel ul {
|
|
818
|
+
position: absolute;
|
|
819
|
+
display: inline-block;
|
|
820
|
+
min-width: 13em;
|
|
821
|
+
max-width: 26em;
|
|
822
|
+
padding: .25em 0;
|
|
823
|
+
margin: .3em;
|
|
824
|
+
font-family: inherit;
|
|
825
|
+
font-size: inherit;
|
|
826
|
+
list-style-type: none;
|
|
827
|
+
background: #fff;
|
|
828
|
+
border: 1px solid #bebebe;
|
|
829
|
+
border-radius: .2em;
|
|
830
|
+
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .5);
|
|
831
|
+
box-shadow: 0 2px 5px rgba(0, 0, 0, .5);
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
ng-context-menu-panel li {
|
|
835
|
+
position: relative;
|
|
836
|
+
-webkit-box-sizing: content-box;
|
|
837
|
+
-moz-box-sizing: content-box;
|
|
838
|
+
box-sizing: content-box;
|
|
839
|
+
padding: .2em 2em;
|
|
840
|
+
color: #2f2f2f;
|
|
841
|
+
-webkit-user-select: none;
|
|
842
|
+
-moz-user-select: none;
|
|
843
|
+
-ms-user-select: none;
|
|
844
|
+
user-select: none;
|
|
845
|
+
background-color: #fff;
|
|
846
|
+
}
|
|
847
|
+
*/
|
|
848
|
+
|
|
849
|
+
ng-context-menu-panel ul {
|
|
850
|
+
display: flex;
|
|
851
|
+
flex-direction: column;
|
|
852
|
+
position: absolute;
|
|
853
|
+
display: flex;
|
|
854
|
+
min-width: 13em;
|
|
855
|
+
max-width: 26em;
|
|
856
|
+
padding: 0;
|
|
857
|
+
margin: 0;
|
|
858
|
+
font-family: inherit;
|
|
859
|
+
font-size: inherit;
|
|
860
|
+
list-style-type: none;
|
|
861
|
+
background: #fff;
|
|
862
|
+
border: 1px solid #bebebe;
|
|
863
|
+
border-radius: .2em;
|
|
864
|
+
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, .5);
|
|
865
|
+
box-shadow: 0 2px 5px rgba(0, 0, 0, .5);
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
ng-context-menu-panel li {
|
|
869
|
+
position: relative;
|
|
870
|
+
-webkit-box-sizing: content-box;
|
|
871
|
+
-moz-box-sizing: content-box;
|
|
872
|
+
box-sizing: content-box;
|
|
873
|
+
padding: .2em 2em;
|
|
874
|
+
width: calc(100% - 4em);
|
|
875
|
+
color: #2f2f2f;
|
|
876
|
+
-webkit-user-select: none;
|
|
877
|
+
-moz-user-select: none;
|
|
878
|
+
-ms-user-select: none;
|
|
879
|
+
user-select: none;
|
|
880
|
+
background-color: #fff;
|
|
881
|
+
text-align: left;
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
ng-context-menu-panel li:hover {
|
|
885
|
+
--color: #fff;
|
|
886
|
+
cursor: pointer;
|
|
887
|
+
background-color: #ddd;
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
ng-context-menu-panel li.submenu:after {
|
|
891
|
+
position: absolute;
|
|
892
|
+
top: 50%;
|
|
893
|
+
right: .5em;
|
|
894
|
+
--z-index: 1;
|
|
895
|
+
width: 0;
|
|
896
|
+
height: 0;
|
|
897
|
+
content: '';
|
|
898
|
+
border-color: transparent transparent transparent #2f2f2f;
|
|
899
|
+
border-style: solid;
|
|
900
|
+
border-width: .25em 0 .25em .25em;
|
|
901
|
+
-webkit-transform: translateY(-50%);
|
|
902
|
+
-ms-transform: translateY(-50%);
|
|
903
|
+
-o-transform: translateY(-50%);
|
|
904
|
+
transform: translateY(-50%);
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
ng-context-menu-panel li > ul {
|
|
908
|
+
top: .3em;
|
|
909
|
+
/* re-positioned by js */
|
|
910
|
+
right: -.3em;
|
|
911
|
+
display: none;
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
ng-context-menu-panel li.visible > ul {
|
|
915
|
+
display: block;
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
ng-context-menu-panel li.on {
|
|
919
|
+
display: flex;
|
|
920
|
+
align-items: center;
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
ng-context-menu-panel li.on::before {
|
|
924
|
+
content: '';
|
|
925
|
+
position: absolute;
|
|
926
|
+
top: 4px;
|
|
927
|
+
left: 4px;
|
|
928
|
+
width: 16px;
|
|
929
|
+
height: 16px;
|
|
930
|
+
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="dimgray" viewBox="0 0 16 16"><path d="M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425z"/></svg>');
|
|
931
|
+
background-repeat: no-repeat;
|
|
932
|
+
background-position: center;
|
|
933
|
+
background-size: contain;
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
ng-context-menu-panel li.separator {
|
|
937
|
+
padding: 0;
|
|
938
|
+
margin: .35em 0;
|
|
939
|
+
border-bottom: 1px solid #e6e6e6;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
ng-context-menu-panel li.disabled {
|
|
943
|
+
color: #bbb;
|
|
944
|
+
cursor: default;
|
|
945
|
+
background-color: #fff;
|
|
946
|
+
pointer-events:none;
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
/****************************/
|
|
950
|
+
.ng-table input[type=text]:hover {
|
|
951
|
+
border: 1px solid #ccc;
|
|
952
|
+
}
|
|
953
|
+
|
|
954
|
+
@keyframes focused { 50% { box-shadow: 0 0 0 .2rem rgba(40, 167, 69, 0.5); } }
|
|
955
|
+
@keyframes fadein {
|
|
956
|
+
from { box-shadow: 0 0 0 .2rem rgba(40, 167, 69, .5); }
|
|
957
|
+
to { box-shadow: 0 0 0 .2rem rgba(40, 167, 69, .25); }
|
|
958
|
+
}
|
|
959
|
+
.ng-table input:not([type=color]):focus {
|
|
960
|
+
--border-color: #86B7FE;
|
|
961
|
+
--box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
|
|
962
|
+
--border-color: #6265e4 !important;
|
|
963
|
+
--box-shadow: 0 0 5px rgba(98, 101, 228, 1);
|
|
964
|
+
border-color: #28a745;
|
|
965
|
+
box-shadow: 0 0 0 .2rem rgba(40, 167, 69, 0.25);
|
|
966
|
+
--animation: fadein 0.3s;
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
.ng-table ng-combo:hover {
|
|
970
|
+
border-color: unset;/**#28a745;*/
|
|
971
|
+
box-shadow: unset;/**0 0 0 .2rem rgba(40, 167, 69, 0.25);*/
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
.ng-table tbody .active {
|
|
975
|
+
--filter: unset !important;
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
.ng-table tbody .editing {
|
|
979
|
+
filter: unset;
|
|
980
|
+
}
|
|
981
|
+
|
|
982
|
+
.ng-table tbody th.editing,
|
|
983
|
+
.ng-table tbody td.editing {
|
|
984
|
+
border-right: 1px solid #eee;
|
|
985
|
+
border-bottom: 1px solid #eee;
|
|
986
|
+
border-left: none;
|
|
987
|
+
border-top: none;
|
|
988
|
+
}
|
|
989
|
+
/**
|
|
990
|
+
.ng-table tbody th:not(.active):hover,
|
|
991
|
+
.ng-table tbody td:not(.active):hover {
|
|
992
|
+
filter: brightness(95%) !important;
|
|
993
|
+
} */
|
|
994
|
+
|
|
995
|
+
td:focus {
|
|
996
|
+
--background-color: red;
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
.ng-table tbody th.active:hover,
|
|
1000
|
+
.ng-table tbody td.active:hover {
|
|
1001
|
+
filter: brightness(99.5%);
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
.ng-table.select-type-col tbody th:not(.active):hover,
|
|
1005
|
+
.ng-table.select-type-col tbody td:not(.active):hover,
|
|
1006
|
+
.ng-table.select-type-cols tbody th:not(.active):hover,
|
|
1007
|
+
.ng-table.select-type-cols tbody td:not(.active):hover,
|
|
1008
|
+
.ng-table.select-type-area tbody th:not(.active):hover,
|
|
1009
|
+
.ng-table.select-type-area tbody td:not(.active):hover,
|
|
1010
|
+
.ng-table.select-type-cell tbody th:not(.active):hover,
|
|
1011
|
+
.ng-table.select-type-cell tbody td:not(.active):hover {
|
|
1012
|
+
filter: brightness(95%) !important;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
.ng-table.select-type-row tbody tr:hover,
|
|
1016
|
+
.ng-table.select-type-rows tbody tr:hover {
|
|
1017
|
+
filter: brightness(95%) !important;
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
.ng-table.select-type-cell tbody th:focus.selected,
|
|
1021
|
+
.ng-table.select-type-cell tbody td:focus.selected {
|
|
1022
|
+
border: 2px solid green;
|
|
1023
|
+
--filter: unset;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
td.ng-changed {
|
|
1027
|
+
filter: brightness(100%);
|
|
1028
|
+
}
|
|
1029
|
+
td.ng-changed::after {
|
|
1030
|
+
content: '';
|
|
1031
|
+
position: absolute;
|
|
1032
|
+
top: 0;
|
|
1033
|
+
right: 0;
|
|
1034
|
+
width: 0px;
|
|
1035
|
+
height: 0px;
|
|
1036
|
+
border-right: 0px solid transparent;
|
|
1037
|
+
border-top: 4px solid darkgoldenrod;
|
|
1038
|
+
border-left: 4px solid transparent;
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
.ng-table.select-type-cell tbody th:not(.active).selected,
|
|
1042
|
+
.ng-table.select-type-cell tbody td:not(.active).selected,
|
|
1043
|
+
.ng-table.select-type-col tbody th:not(.active).selected,
|
|
1044
|
+
.ng-table.select-type-col tbody td:not(.active).selected,
|
|
1045
|
+
.ng-table.select-type-cols tbody th:not(.active).selected,
|
|
1046
|
+
.ng-table.select-type-cols tbody td:not(.active).selected,
|
|
1047
|
+
.ng-table.select-type-row tbody th:not(.active).selected,
|
|
1048
|
+
.ng-table.select-type-row tbody td:not(.active).selected,
|
|
1049
|
+
.ng-table.select-type-rows tbody th:not(.active).selected,
|
|
1050
|
+
.ng-table.select-type-rows tbody td:not(.active).selected,
|
|
1051
|
+
.ng-table.select-type-area tbody th:not(.active).selected,
|
|
1052
|
+
.ng-table.select-type-area tbody td:not(.active).selected {
|
|
1053
|
+
filter: brightness(98%);
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
.ng-table.select-type-cell tbody .selected-top,
|
|
1057
|
+
.ng-table.select-type-col tbody .selected-top,
|
|
1058
|
+
.ng-table.select-type-cols tbody .selected-top,
|
|
1059
|
+
.ng-table.select-type-row tbody .selected-top,
|
|
1060
|
+
.ng-table.select-type-rows tbody .selected-top,
|
|
1061
|
+
.ng-table.select-type-area tbody .selected-top,
|
|
1062
|
+
.ng-table.select-type-area tbody .multi-selected.selected-top {
|
|
1063
|
+
border-top: 2px solid green;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
.ng-table.select-type-cell tbody .selected-bottom,
|
|
1067
|
+
.ng-table.select-type-col tbody .selected-bottom,
|
|
1068
|
+
.ng-table.select-type-cols tbody .selected-bottom,
|
|
1069
|
+
.ng-table.select-type-row tbody .selected-bottom,
|
|
1070
|
+
.ng-table.select-type-rows tbody .selected-bottom,
|
|
1071
|
+
.ng-table.select-type-area tbody .selected-bottom,
|
|
1072
|
+
.ng-table.select-type-area tbody .multi-selected.selected-bottom {
|
|
1073
|
+
border-bottom: 2px solid green;
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
.ng-table.select-type-cell tbody .selected-left,
|
|
1077
|
+
.ng-table.select-type-col tbody .selected-left,
|
|
1078
|
+
.ng-table.select-type-cols tbody .selected-left,
|
|
1079
|
+
.ng-table.select-type-row tbody .selected-left,
|
|
1080
|
+
.ng-table.select-type-rows tbody .selected-left,
|
|
1081
|
+
.ng-table.select-type-area tbody .selected-left,
|
|
1082
|
+
.ng-table.select-type-area tbody .multi-selected.selected-left {
|
|
1083
|
+
border-left: 2px solid green;
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
.ng-table.select-type-cell tbody .selected-right,
|
|
1087
|
+
.ng-table.select-type-col tbody .selected-right,
|
|
1088
|
+
.ng-table.select-type-cols tbody .selected-right,
|
|
1089
|
+
.ng-table.select-type-row tbody .selected-right,
|
|
1090
|
+
.ng-table.select-type-rows tbody .selected-right,
|
|
1091
|
+
.ng-table.select-type-area tbody .selected-right,
|
|
1092
|
+
.ng-table.select-type-area tbody .multi-selected.selected-right {
|
|
1093
|
+
border-right: 2px solid green;
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
|
|
1097
|
+
|
|
1098
|
+
.ng-table td.selected-top {
|
|
1099
|
+
--border-top: 2px solid green;
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
.ng-table td.selected-bottom {
|
|
1103
|
+
--border-bottom: 2px solid green;
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
.ng-table td.selected-left {
|
|
1107
|
+
--border-left: 2px solid green;
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
.ng-table td.selected-right {
|
|
1111
|
+
--border-right: 2px solid green;
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
|
|
1115
|
+
.ng-table .selected-area {
|
|
1116
|
+
filter: brightness(85%) !important;
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
.ng-table .selected-current {
|
|
1120
|
+
filter: brightness(92%) !important;
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
/**
|
|
1124
|
+
.ng-table .selected-current > div:first-child::before {
|
|
1125
|
+
content:'';
|
|
1126
|
+
margin-right:3px;
|
|
1127
|
+
display:inline-block;;
|
|
1128
|
+
width:0;
|
|
1129
|
+
height:0;
|
|
1130
|
+
border-left:4px solid #333;
|
|
1131
|
+
border-top:4px solid transparent;
|
|
1132
|
+
border-bottom:4px solid transparent;
|
|
1133
|
+
}*/
|
|
1134
|
+
|
|
1135
|
+
:host .ng-table .last-none-suppress {
|
|
1136
|
+
border-bottom: none;
|
|
1137
|
+
}
|
|
1138
|
+
:host .ng-table .suppress:not(.last-suppress) {
|
|
1139
|
+
border-bottom: none;
|
|
1140
|
+
}
|
|
1141
|
+
:host .ng-table .hidden > * {
|
|
1142
|
+
display: none !important;
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
:host .ng-table .ng-dragover-up {
|
|
1146
|
+
border-top: 1px solid #999;
|
|
1147
|
+
}
|
|
1148
|
+
:host .ng-table .ng-dragover-down {
|
|
1149
|
+
border-bottom: 1px solid #999;
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
|
|
1153
|
+
/** AI */
|
|
1154
|
+
:host(.ai) {
|
|
1155
|
+
.ng-body {
|
|
1156
|
+
border-left: none;
|
|
1157
|
+
border-right: none;
|
|
1158
|
+
border-bottom: none;
|
|
1159
|
+
}
|
|
1160
|
+
.col-indicator-rowgroup.collapse th {
|
|
1161
|
+
background-color: #999;
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
.ng-table thead th, .ng-table tbody th {
|
|
1165
|
+
border-bottom-color: #ddd;
|
|
1166
|
+
}
|
|
1167
|
+
.ng-table th {
|
|
1168
|
+
--background-color: #eee;
|
|
1169
|
+
border-right-color: #ddd;
|
|
1170
|
+
}
|
|
1171
|
+
.ng-container-body thead::after {
|
|
1172
|
+
display: none;
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
:host(.source) {
|
|
1177
|
+
.ng-table tbody tr {
|
|
1178
|
+
--height: 24px;
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
.ng-table tbody td {
|
|
1182
|
+
border: none;
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
.ng-table.select-type-rows tbody td.selected {
|
|
1186
|
+
background-color: rgb(224, 239, 228);
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
.ng-table.select-type-rows tbody td:not(.active).selected {
|
|
1190
|
+
filter: brightness(98%);
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
.ng-table.select-type-rows tbody .selected-top {
|
|
1194
|
+
border-top: unset;
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
.ng-table.select-type-rows tbody .selected-bottom {
|
|
1198
|
+
border-bottom: unset;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
.ng-table.select-type-rows tbody .selected-left {
|
|
1202
|
+
border-left: 2px solid green;
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
.ng-table.select-type-rows tbody .selected-right {
|
|
1206
|
+
border-right: unset;
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
.ng-body {
|
|
1210
|
+
border: none;
|
|
1211
|
+
}
|
|
1212
|
+
}
|