fixed-vuesax 3.14.1 → 3.14.2
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/LICENSE +21 -21
- package/README.md +187 -187
- package/dist/style/colors.styl +30 -30
- package/dist/style/components/vsAlert.styl +66 -66
- package/dist/style/components/vsAvatar.styl +64 -64
- package/dist/style/components/vsBreadcrumb.styl +50 -50
- package/dist/style/components/vsButton.styl +181 -181
- package/dist/style/components/vsCard.styl +64 -64
- package/dist/style/components/vsCheckBox.styl +111 -111
- package/dist/style/components/vsChip.styl +122 -122
- package/dist/style/components/vsCollapse.styl +109 -109
- package/dist/style/components/vsDivider.styl +34 -34
- package/dist/style/components/vsDropDown.styl +231 -231
- package/dist/style/components/vsIcon.styl +47 -47
- package/dist/style/components/vsImages.styl +166 -166
- package/dist/style/components/vsInput.styl +219 -219
- package/dist/style/components/vsInputNumber.styl +170 -170
- package/dist/style/components/vsList.styl +49 -49
- package/dist/style/components/vsLoading.styl +397 -397
- package/dist/style/components/vsNavbar.styl +286 -286
- package/dist/style/components/vsNotifications.styl +92 -92
- package/dist/style/components/vsPagination.styl +143 -143
- package/dist/style/components/vsPopup.styl +159 -159
- package/dist/style/components/vsProgress.styl +45 -45
- package/dist/style/components/vsRadio.styl +93 -93
- package/dist/style/components/vsSelect.styl +219 -219
- package/dist/style/components/vsSideBar.styl +267 -267
- package/dist/style/components/vsSlider.styl +196 -196
- package/dist/style/components/vsSpacer.styl +5 -5
- package/dist/style/components/vsSwitch.styl +93 -93
- package/dist/style/components/vsTable.styl +408 -408
- package/dist/style/components/vsTabs.styl +280 -280
- package/dist/style/components/vsTextarea.styl +82 -82
- package/dist/style/components/vsTimePicker.styl +42 -42
- package/dist/style/components/vsTooltip.styl +85 -85
- package/dist/style/components/vsUpload.styl +460 -460
- package/dist/style/mixins.styl +133 -133
- package/dist/style/root.styl +9 -9
- package/dist/style/vars.styl +45 -45
- package/dist/style/vuesax.styl +25 -25
- package/dist/vuesax.common.js +1 -1
- package/dist/vuesax.common.js.map +1 -1
- package/dist/vuesax.umd.js +1 -1
- package/dist/vuesax.umd.js.map +1 -1
- package/dist/vuesax.umd.min.js +1 -1
- package/dist/vuesax.umd.min.js.map +1 -1
- package/package.json +8 -8
|
@@ -1,408 +1,408 @@
|
|
|
1
|
-
.vs-con-table
|
|
2
|
-
background: rgb(251, 251, 251)
|
|
3
|
-
border-radius: 5px
|
|
4
|
-
padding: 5px
|
|
5
|
-
|
|
6
|
-
.empty
|
|
7
|
-
color: getColor('danger', 1)
|
|
8
|
-
|
|
9
|
-
.con-edit-td
|
|
10
|
-
position: absolute
|
|
11
|
-
padding: 6px
|
|
12
|
-
// top: 0
|
|
13
|
-
propWithDir(left, null, 0)
|
|
14
|
-
transform: translate(0px, 15%)
|
|
15
|
-
border-radius: 5px
|
|
16
|
-
z-index: 300
|
|
17
|
-
background: rgb(255, 255, 255)
|
|
18
|
-
box-shadow: 0 6px 10px 0 rgba(0, 0, 0, .05)
|
|
19
|
-
display: flex
|
|
20
|
-
align-items: center
|
|
21
|
-
justify-content: center
|
|
22
|
-
width: 100%
|
|
23
|
-
// display: block
|
|
24
|
-
// transition: all .25s ease
|
|
25
|
-
overflow: hidden
|
|
26
|
-
|
|
27
|
-
&.stripe
|
|
28
|
-
.tr-values
|
|
29
|
-
&:nth-child(2n)
|
|
30
|
-
background: transparent !important
|
|
31
|
-
|
|
32
|
-
table
|
|
33
|
-
font-size: .8rem
|
|
34
|
-
width: 100%
|
|
35
|
-
border-collapse: collapse
|
|
36
|
-
|
|
37
|
-
tbody
|
|
38
|
-
width: 100%
|
|
39
|
-
|
|
40
|
-
td
|
|
41
|
-
border: 0
|
|
42
|
-
padding: 2px 8px
|
|
43
|
-
// border-left: 1px solid rgba(0,0,0,.04)
|
|
44
|
-
|
|
45
|
-
&:first-child
|
|
46
|
-
border-left: 1px solid rgba(0, 0, 0, .0)
|
|
47
|
-
|
|
48
|
-
&.td-check, &.td-expand
|
|
49
|
-
cursor: pointer
|
|
50
|
-
padding: 5px !important
|
|
51
|
-
|
|
52
|
-
.con-vs-checkbox
|
|
53
|
-
margin-left: 0 !important
|
|
54
|
-
margin-right: 0 !important
|
|
55
|
-
|
|
56
|
-
.vs-icon
|
|
57
|
-
transition: all .25s ease
|
|
58
|
-
transform translate(7px) rotate(-90deg)
|
|
59
|
-
|
|
60
|
-
.td-edit
|
|
61
|
-
text-decoration: underline
|
|
62
|
-
|
|
63
|
-
.icon-edit
|
|
64
|
-
transition: all .25s ease
|
|
65
|
-
font-size: .75rem
|
|
66
|
-
position: absolute
|
|
67
|
-
opacity: 0
|
|
68
|
-
padding-top: 3px
|
|
69
|
-
transform translate(-0px)
|
|
70
|
-
background: rgb(240, 240, 240)
|
|
71
|
-
width: 17px
|
|
72
|
-
height: 17px
|
|
73
|
-
display: flex
|
|
74
|
-
align-items: center
|
|
75
|
-
justify-content: center
|
|
76
|
-
border-radius: 5px
|
|
77
|
-
|
|
78
|
-
> span
|
|
79
|
-
// display: block
|
|
80
|
-
cursor: pointer
|
|
81
|
-
|
|
82
|
-
// transform translate(0px)
|
|
83
|
-
|
|
84
|
-
.vs-table--pagination
|
|
85
|
-
width 100%
|
|
86
|
-
padding: 7px
|
|
87
|
-
display: flex
|
|
88
|
-
align-items: center
|
|
89
|
-
justify-content: flex-end
|
|
90
|
-
|
|
91
|
-
.vs-pagination--buttons
|
|
92
|
-
width: 30px
|
|
93
|
-
height: 30px
|
|
94
|
-
|
|
95
|
-
.item-pagination
|
|
96
|
-
width: 30px
|
|
97
|
-
height: 30px
|
|
98
|
-
font-size: .8rem
|
|
99
|
-
|
|
100
|
-
.vs-table--tbody
|
|
101
|
-
z-index 400
|
|
102
|
-
position relative
|
|
103
|
-
|
|
104
|
-
.vs-table--tbody-table
|
|
105
|
-
width: 100%
|
|
106
|
-
margin: 0
|
|
107
|
-
min-width: 400px
|
|
108
|
-
position: relative
|
|
109
|
-
|
|
110
|
-
.tr-table:last-child
|
|
111
|
-
.con-edit-td
|
|
112
|
-
// top: 0
|
|
113
|
-
transform translateY(-100%) !important
|
|
114
|
-
|
|
115
|
-
.tr-spacer
|
|
116
|
-
height: 4px
|
|
117
|
-
opacity: 1
|
|
118
|
-
|
|
119
|
-
// width: 0
|
|
120
|
-
|
|
121
|
-
&:nth-child(2n)
|
|
122
|
-
background: rgb(0, 0, 0)
|
|
123
|
-
|
|
124
|
-
tr:not(.tr-expand)
|
|
125
|
-
// border-bottom: 1px solid rgba(0,0,0,.03)
|
|
126
|
-
.tr-expand
|
|
127
|
-
td
|
|
128
|
-
padding: 0
|
|
129
|
-
overflow: hidden
|
|
130
|
-
|
|
131
|
-
.con-expand
|
|
132
|
-
transition: all .25s ease
|
|
133
|
-
|
|
134
|
-
// padding: 10px
|
|
135
|
-
// .tr-table
|
|
136
|
-
// transition: all .25s ease
|
|
137
|
-
// width: calc(100% - 10px)
|
|
138
|
-
// margin-left: 5px
|
|
139
|
-
// z-index 100
|
|
140
|
-
// margin-top: 5px
|
|
141
|
-
// margin-bottom: 5px
|
|
142
|
-
// border-radius: 5px
|
|
143
|
-
// background: rgb(255,255,255)
|
|
144
|
-
// padding: 6px 0
|
|
145
|
-
// position: relative
|
|
146
|
-
|
|
147
|
-
tr
|
|
148
|
-
transition: all .3s ease
|
|
149
|
-
background: rgb(255, 255, 255)
|
|
150
|
-
|
|
151
|
-
// border-radius: 5px
|
|
152
|
-
|
|
153
|
-
.tr-values
|
|
154
|
-
&.activeEdit
|
|
155
|
-
z-index 500 !important
|
|
156
|
-
|
|
157
|
-
+ .tr-table
|
|
158
|
-
transform: translate(0) !important
|
|
159
|
-
|
|
160
|
-
&.hoverFlat
|
|
161
|
-
&:not(.activeEdit):not(.is-expand):hover
|
|
162
|
-
opacity: .8
|
|
163
|
-
|
|
164
|
-
&:not(.activeEdit):not(.tr-expandedx):not(.hoverFlat):hover
|
|
165
|
-
|
|
166
|
-
z-index 200
|
|
167
|
-
// border-radius: 5px
|
|
168
|
-
transform: translate(0, -4px)
|
|
169
|
-
|
|
170
|
-
.tr-values
|
|
171
|
-
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .05)
|
|
172
|
-
|
|
173
|
-
~ tbody
|
|
174
|
-
z-index: 10
|
|
175
|
-
|
|
176
|
-
td
|
|
177
|
-
padding: 10px
|
|
178
|
-
|
|
179
|
-
.tr-expand
|
|
180
|
-
transform scale(.98)
|
|
181
|
-
|
|
182
|
-
td
|
|
183
|
-
padding 0
|
|
184
|
-
|
|
185
|
-
&.selected
|
|
186
|
-
cursor: pointer
|
|
187
|
-
|
|
188
|
-
&:last-child
|
|
189
|
-
border-bottom: 1px solid rgba(0, 0, 0, .0)
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
&.is-expand
|
|
193
|
-
box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .08)
|
|
194
|
-
z-index: 300
|
|
195
|
-
|
|
196
|
-
.tr-values
|
|
197
|
-
z-index: 300
|
|
198
|
-
box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .0)
|
|
199
|
-
|
|
200
|
-
.tr-spacer
|
|
201
|
-
height: 0
|
|
202
|
-
|
|
203
|
-
.tr-expand
|
|
204
|
-
.con-expand
|
|
205
|
-
border-top: 1px solid rgba(0, 0, 0, .05) !important
|
|
206
|
-
|
|
207
|
-
.td-check, .td-expand
|
|
208
|
-
user-select: none
|
|
209
|
-
|
|
210
|
-
&.active-expanded
|
|
211
|
-
.vs-icon
|
|
212
|
-
transform: translate(7px) rotate(0deg) !important
|
|
213
|
-
|
|
214
|
-
.vs-icon
|
|
215
|
-
user-select: none
|
|
216
|
-
|
|
217
|
-
.vs-table--content
|
|
218
|
-
width: 100%
|
|
219
|
-
overflow auto
|
|
220
|
-
|
|
221
|
-
.vs-table--header
|
|
222
|
-
display: flex
|
|
223
|
-
align-items: center
|
|
224
|
-
justify-content: space-between
|
|
225
|
-
|
|
226
|
-
.vs-table--search
|
|
227
|
-
display: flex
|
|
228
|
-
align-items: center
|
|
229
|
-
justify-content: center
|
|
230
|
-
max-width: 200px
|
|
231
|
-
position: relative
|
|
232
|
-
propWithDir(margin, left, auto)
|
|
233
|
-
|
|
234
|
-
i
|
|
235
|
-
position: absolute
|
|
236
|
-
transition: all .25s ease
|
|
237
|
-
propWithDir(left, null, 10px)
|
|
238
|
-
font-size: 1rem
|
|
239
|
-
|
|
240
|
-
.vs-table--search-input
|
|
241
|
-
padding: 5px 10px
|
|
242
|
-
propWithDir(padding, left, 30px)
|
|
243
|
-
border-radius: 20px
|
|
244
|
-
border: 1px solid rgba(0, 0, 0, .04)
|
|
245
|
-
font-size: .7rem
|
|
246
|
-
width: 200px
|
|
247
|
-
color: rgba(0, 0, 0, .7)
|
|
248
|
-
transition: all .25s ease
|
|
249
|
-
|
|
250
|
-
&:focus
|
|
251
|
-
box-shadow: 0 4px 10px 0 rgba(0, 0, 0, .03)
|
|
252
|
-
|
|
253
|
-
+ i
|
|
254
|
-
color: getColor('primary', 1)
|
|
255
|
-
|
|
256
|
-
// header table
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
.vs-table--thead
|
|
260
|
-
z-index 200
|
|
261
|
-
width: 100%
|
|
262
|
-
position relative
|
|
263
|
-
|
|
264
|
-
// .vs-table--thead-table
|
|
265
|
-
// margin: 0
|
|
266
|
-
// z-index 100
|
|
267
|
-
// padding-top: 5px
|
|
268
|
-
// border-bottom: 1px solid rgba(0,0,0,.06)
|
|
269
|
-
|
|
270
|
-
th
|
|
271
|
-
padding: 6px 10px
|
|
272
|
-
padding-top: 5px
|
|
273
|
-
padding-bottom: 3px
|
|
274
|
-
border: 0
|
|
275
|
-
text-align: left
|
|
276
|
-
font-size: .85rem
|
|
277
|
-
|
|
278
|
-
.vs-table-text
|
|
279
|
-
display: flex
|
|
280
|
-
align-items: center
|
|
281
|
-
justify-content: flex-start
|
|
282
|
-
cursor: pointer
|
|
283
|
-
|
|
284
|
-
.sort-th
|
|
285
|
-
display: flex
|
|
286
|
-
align-items: center
|
|
287
|
-
justify-content: center
|
|
288
|
-
flex-direction: column
|
|
289
|
-
padding-left: 6px
|
|
290
|
-
transform translate(0, 2px)
|
|
291
|
-
|
|
292
|
-
.th-sort-icon
|
|
293
|
-
font-size: .9rem
|
|
294
|
-
transition: all .25s ease
|
|
295
|
-
border-radius: 2px
|
|
296
|
-
|
|
297
|
-
&.td-check
|
|
298
|
-
padding: 0 !important
|
|
299
|
-
|
|
300
|
-
.con-td-check
|
|
301
|
-
display: block
|
|
302
|
-
background: rgb(255, 255, 255)
|
|
303
|
-
border-radius 6px
|
|
304
|
-
padding: 5px
|
|
305
|
-
padding-right: 2px
|
|
306
|
-
box-shadow: 0 3px 10px 0 rgba(0, 0, 0, .05)
|
|
307
|
-
transition: all .25s ease
|
|
308
|
-
|
|
309
|
-
&:hover
|
|
310
|
-
box-shadow: 0 0 0 0 rgba(0, 0, 0, .05)
|
|
311
|
-
|
|
312
|
-
.con-vs-checkbox
|
|
313
|
-
margin-right: 0 !important
|
|
314
|
-
margin-left: 0 !important
|
|
315
|
-
|
|
316
|
-
.vs-table--not-data
|
|
317
|
-
padding: 10px
|
|
318
|
-
text-align: center
|
|
319
|
-
|
|
320
|
-
for colorx, i in $vs-colors
|
|
321
|
-
.tr-table-state-{colorx}
|
|
322
|
-
background: getColor(colorx, .1) !important
|
|
323
|
-
color: getColor(colorx, 1)
|
|
324
|
-
box-shadow: 0 0 1px 0 getColor(colorx, 1) !important
|
|
325
|
-
.vs-table-{colorx}
|
|
326
|
-
.is-selected
|
|
327
|
-
transform: translate(0) !important
|
|
328
|
-
color: getColor(colorx, 1)
|
|
329
|
-
background: getColor(colorx, .05) !important
|
|
330
|
-
box-shadow: 0 0 1px 0 getColor(colorx, 1) !important
|
|
331
|
-
|
|
332
|
-
td
|
|
333
|
-
&:first-child
|
|
334
|
-
border-left: 1px solid rgba(0, 0, 0, .0) !important
|
|
335
|
-
|
|
336
|
-
// animation
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
.td-enter-active, .td-leave-active {
|
|
340
|
-
transition: all .25s ease;
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
.td-enter, .td-leave-to /* .fade-leave-active below version 2.1.8 */
|
|
344
|
-
{
|
|
345
|
-
opacity: 0;
|
|
346
|
-
transform: translate(0px, 15%) scale(.4) !important
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
.tr-expand-enter-active, .tr-expand-leave-active {
|
|
351
|
-
transition: all .3s ease;
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
.tr-expand-enter, .tr-expand-leave-to /* .fade-leave-active below version 2.1.8 */
|
|
355
|
-
{
|
|
356
|
-
opacity: 0;
|
|
357
|
-
height 0
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
.tr-expand
|
|
362
|
-
td
|
|
363
|
-
.content-tr-expand
|
|
364
|
-
padding: 10px
|
|
365
|
-
position relative
|
|
366
|
-
display: flex
|
|
367
|
-
align-items: center
|
|
368
|
-
justify-content: center
|
|
369
|
-
border-top: 1px solid rgba(0, 0, 0, .05)
|
|
370
|
-
border-bottom: 1px solid rgba(0, 0, 0, .05)
|
|
371
|
-
width: 100%
|
|
372
|
-
padding-right: 30px
|
|
373
|
-
|
|
374
|
-
.tr-expand--close
|
|
375
|
-
position absolute
|
|
376
|
-
width: 30px
|
|
377
|
-
height 30px
|
|
378
|
-
right 0
|
|
379
|
-
background: inherit
|
|
380
|
-
color getColor('danger', 1)
|
|
381
|
-
border 0
|
|
382
|
-
margin-left: 10px
|
|
383
|
-
background: rgb(245, 245, 245)
|
|
384
|
-
display: flex
|
|
385
|
-
align-items: center
|
|
386
|
-
justify-content: center
|
|
387
|
-
border-radius: 3px
|
|
388
|
-
cursor pointer
|
|
389
|
-
transition all .25s ease
|
|
390
|
-
|
|
391
|
-
&:hover
|
|
392
|
-
opacity .7
|
|
393
|
-
background: getColor('danger', 1)
|
|
394
|
-
color rgb(255, 255, 255)
|
|
395
|
-
|
|
396
|
-
i
|
|
397
|
-
font-size: 1.1rem
|
|
398
|
-
|
|
399
|
-
.vuesax-app-is-rtl
|
|
400
|
-
.vs-con-table
|
|
401
|
-
td
|
|
402
|
-
&.td-check
|
|
403
|
-
.vs-icon
|
|
404
|
-
transform translate(-7px) rotate(90deg)
|
|
405
|
-
|
|
406
|
-
.vs-checkbox--check
|
|
407
|
-
.vs-icon
|
|
408
|
-
transform translate(1px) rotate(0deg)
|
|
1
|
+
.vs-con-table
|
|
2
|
+
background: rgb(251, 251, 251)
|
|
3
|
+
border-radius: 5px
|
|
4
|
+
padding: 5px
|
|
5
|
+
|
|
6
|
+
.empty
|
|
7
|
+
color: getColor('danger', 1)
|
|
8
|
+
|
|
9
|
+
.con-edit-td
|
|
10
|
+
position: absolute
|
|
11
|
+
padding: 6px
|
|
12
|
+
// top: 0
|
|
13
|
+
propWithDir(left, null, 0)
|
|
14
|
+
transform: translate(0px, 15%)
|
|
15
|
+
border-radius: 5px
|
|
16
|
+
z-index: 300
|
|
17
|
+
background: rgb(255, 255, 255)
|
|
18
|
+
box-shadow: 0 6px 10px 0 rgba(0, 0, 0, .05)
|
|
19
|
+
display: flex
|
|
20
|
+
align-items: center
|
|
21
|
+
justify-content: center
|
|
22
|
+
width: 100%
|
|
23
|
+
// display: block
|
|
24
|
+
// transition: all .25s ease
|
|
25
|
+
overflow: hidden
|
|
26
|
+
|
|
27
|
+
&.stripe
|
|
28
|
+
.tr-values
|
|
29
|
+
&:nth-child(2n)
|
|
30
|
+
background: transparent !important
|
|
31
|
+
|
|
32
|
+
table
|
|
33
|
+
font-size: .8rem
|
|
34
|
+
width: 100%
|
|
35
|
+
border-collapse: collapse
|
|
36
|
+
|
|
37
|
+
tbody
|
|
38
|
+
width: 100%
|
|
39
|
+
|
|
40
|
+
td
|
|
41
|
+
border: 0
|
|
42
|
+
padding: 2px 8px
|
|
43
|
+
// border-left: 1px solid rgba(0,0,0,.04)
|
|
44
|
+
|
|
45
|
+
&:first-child
|
|
46
|
+
border-left: 1px solid rgba(0, 0, 0, .0)
|
|
47
|
+
|
|
48
|
+
&.td-check, &.td-expand
|
|
49
|
+
cursor: pointer
|
|
50
|
+
padding: 5px !important
|
|
51
|
+
|
|
52
|
+
.con-vs-checkbox
|
|
53
|
+
margin-left: 0 !important
|
|
54
|
+
margin-right: 0 !important
|
|
55
|
+
|
|
56
|
+
.vs-icon
|
|
57
|
+
transition: all .25s ease
|
|
58
|
+
transform translate(7px) rotate(-90deg)
|
|
59
|
+
|
|
60
|
+
.td-edit
|
|
61
|
+
text-decoration: underline
|
|
62
|
+
|
|
63
|
+
.icon-edit
|
|
64
|
+
transition: all .25s ease
|
|
65
|
+
font-size: .75rem
|
|
66
|
+
position: absolute
|
|
67
|
+
opacity: 0
|
|
68
|
+
padding-top: 3px
|
|
69
|
+
transform translate(-0px)
|
|
70
|
+
background: rgb(240, 240, 240)
|
|
71
|
+
width: 17px
|
|
72
|
+
height: 17px
|
|
73
|
+
display: flex
|
|
74
|
+
align-items: center
|
|
75
|
+
justify-content: center
|
|
76
|
+
border-radius: 5px
|
|
77
|
+
|
|
78
|
+
> span
|
|
79
|
+
// display: block
|
|
80
|
+
cursor: pointer
|
|
81
|
+
|
|
82
|
+
// transform translate(0px)
|
|
83
|
+
|
|
84
|
+
.vs-table--pagination
|
|
85
|
+
width 100%
|
|
86
|
+
padding: 7px
|
|
87
|
+
display: flex
|
|
88
|
+
align-items: center
|
|
89
|
+
justify-content: flex-end
|
|
90
|
+
|
|
91
|
+
.vs-pagination--buttons
|
|
92
|
+
width: 30px
|
|
93
|
+
height: 30px
|
|
94
|
+
|
|
95
|
+
.item-pagination
|
|
96
|
+
width: 30px
|
|
97
|
+
height: 30px
|
|
98
|
+
font-size: .8rem
|
|
99
|
+
|
|
100
|
+
.vs-table--tbody
|
|
101
|
+
z-index 400
|
|
102
|
+
position relative
|
|
103
|
+
|
|
104
|
+
.vs-table--tbody-table
|
|
105
|
+
width: 100%
|
|
106
|
+
margin: 0
|
|
107
|
+
min-width: 400px
|
|
108
|
+
position: relative
|
|
109
|
+
|
|
110
|
+
.tr-table:last-child
|
|
111
|
+
.con-edit-td
|
|
112
|
+
// top: 0
|
|
113
|
+
transform translateY(-100%) !important
|
|
114
|
+
|
|
115
|
+
.tr-spacer
|
|
116
|
+
height: 4px
|
|
117
|
+
opacity: 1
|
|
118
|
+
|
|
119
|
+
// width: 0
|
|
120
|
+
|
|
121
|
+
&:nth-child(2n)
|
|
122
|
+
background: rgb(0, 0, 0)
|
|
123
|
+
|
|
124
|
+
tr:not(.tr-expand)
|
|
125
|
+
// border-bottom: 1px solid rgba(0,0,0,.03)
|
|
126
|
+
.tr-expand
|
|
127
|
+
td
|
|
128
|
+
padding: 0
|
|
129
|
+
overflow: hidden
|
|
130
|
+
|
|
131
|
+
.con-expand
|
|
132
|
+
transition: all .25s ease
|
|
133
|
+
|
|
134
|
+
// padding: 10px
|
|
135
|
+
// .tr-table
|
|
136
|
+
// transition: all .25s ease
|
|
137
|
+
// width: calc(100% - 10px)
|
|
138
|
+
// margin-left: 5px
|
|
139
|
+
// z-index 100
|
|
140
|
+
// margin-top: 5px
|
|
141
|
+
// margin-bottom: 5px
|
|
142
|
+
// border-radius: 5px
|
|
143
|
+
// background: rgb(255,255,255)
|
|
144
|
+
// padding: 6px 0
|
|
145
|
+
// position: relative
|
|
146
|
+
|
|
147
|
+
tr
|
|
148
|
+
transition: all .3s ease
|
|
149
|
+
background: rgb(255, 255, 255)
|
|
150
|
+
|
|
151
|
+
// border-radius: 5px
|
|
152
|
+
|
|
153
|
+
.tr-values
|
|
154
|
+
&.activeEdit
|
|
155
|
+
z-index 500 !important
|
|
156
|
+
|
|
157
|
+
+ .tr-table
|
|
158
|
+
transform: translate(0) !important
|
|
159
|
+
|
|
160
|
+
&.hoverFlat
|
|
161
|
+
&:not(.activeEdit):not(.is-expand):hover
|
|
162
|
+
opacity: .8
|
|
163
|
+
|
|
164
|
+
&:not(.activeEdit):not(.tr-expandedx):not(.hoverFlat):hover
|
|
165
|
+
|
|
166
|
+
z-index 200
|
|
167
|
+
// border-radius: 5px
|
|
168
|
+
transform: translate(0, -4px)
|
|
169
|
+
|
|
170
|
+
.tr-values
|
|
171
|
+
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .05)
|
|
172
|
+
|
|
173
|
+
~ tbody
|
|
174
|
+
z-index: 10
|
|
175
|
+
|
|
176
|
+
td
|
|
177
|
+
padding: 10px
|
|
178
|
+
|
|
179
|
+
.tr-expand
|
|
180
|
+
transform scale(.98)
|
|
181
|
+
|
|
182
|
+
td
|
|
183
|
+
padding 0
|
|
184
|
+
|
|
185
|
+
&.selected
|
|
186
|
+
cursor: pointer
|
|
187
|
+
|
|
188
|
+
&:last-child
|
|
189
|
+
border-bottom: 1px solid rgba(0, 0, 0, .0)
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
&.is-expand
|
|
193
|
+
box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .08)
|
|
194
|
+
z-index: 300
|
|
195
|
+
|
|
196
|
+
.tr-values
|
|
197
|
+
z-index: 300
|
|
198
|
+
box-shadow: 0 2px 10px 0 rgba(0, 0, 0, .0)
|
|
199
|
+
|
|
200
|
+
.tr-spacer
|
|
201
|
+
height: 0
|
|
202
|
+
|
|
203
|
+
.tr-expand
|
|
204
|
+
.con-expand
|
|
205
|
+
border-top: 1px solid rgba(0, 0, 0, .05) !important
|
|
206
|
+
|
|
207
|
+
.td-check, .td-expand
|
|
208
|
+
user-select: none
|
|
209
|
+
|
|
210
|
+
&.active-expanded
|
|
211
|
+
.vs-icon
|
|
212
|
+
transform: translate(7px) rotate(0deg) !important
|
|
213
|
+
|
|
214
|
+
.vs-icon
|
|
215
|
+
user-select: none
|
|
216
|
+
|
|
217
|
+
.vs-table--content
|
|
218
|
+
width: 100%
|
|
219
|
+
overflow auto
|
|
220
|
+
|
|
221
|
+
.vs-table--header
|
|
222
|
+
display: flex
|
|
223
|
+
align-items: center
|
|
224
|
+
justify-content: space-between
|
|
225
|
+
|
|
226
|
+
.vs-table--search
|
|
227
|
+
display: flex
|
|
228
|
+
align-items: center
|
|
229
|
+
justify-content: center
|
|
230
|
+
max-width: 200px
|
|
231
|
+
position: relative
|
|
232
|
+
propWithDir(margin, left, auto)
|
|
233
|
+
|
|
234
|
+
i
|
|
235
|
+
position: absolute
|
|
236
|
+
transition: all .25s ease
|
|
237
|
+
propWithDir(left, null, 10px)
|
|
238
|
+
font-size: 1rem
|
|
239
|
+
|
|
240
|
+
.vs-table--search-input
|
|
241
|
+
padding: 5px 10px
|
|
242
|
+
propWithDir(padding, left, 30px)
|
|
243
|
+
border-radius: 20px
|
|
244
|
+
border: 1px solid rgba(0, 0, 0, .04)
|
|
245
|
+
font-size: .7rem
|
|
246
|
+
width: 200px
|
|
247
|
+
color: rgba(0, 0, 0, .7)
|
|
248
|
+
transition: all .25s ease
|
|
249
|
+
|
|
250
|
+
&:focus
|
|
251
|
+
box-shadow: 0 4px 10px 0 rgba(0, 0, 0, .03)
|
|
252
|
+
|
|
253
|
+
+ i
|
|
254
|
+
color: getColor('primary', 1)
|
|
255
|
+
|
|
256
|
+
// header table
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
.vs-table--thead
|
|
260
|
+
z-index 200
|
|
261
|
+
width: 100%
|
|
262
|
+
position relative
|
|
263
|
+
|
|
264
|
+
// .vs-table--thead-table
|
|
265
|
+
// margin: 0
|
|
266
|
+
// z-index 100
|
|
267
|
+
// padding-top: 5px
|
|
268
|
+
// border-bottom: 1px solid rgba(0,0,0,.06)
|
|
269
|
+
|
|
270
|
+
th
|
|
271
|
+
padding: 6px 10px
|
|
272
|
+
padding-top: 5px
|
|
273
|
+
padding-bottom: 3px
|
|
274
|
+
border: 0
|
|
275
|
+
text-align: left
|
|
276
|
+
font-size: .85rem
|
|
277
|
+
|
|
278
|
+
.vs-table-text
|
|
279
|
+
display: flex
|
|
280
|
+
align-items: center
|
|
281
|
+
justify-content: flex-start
|
|
282
|
+
cursor: pointer
|
|
283
|
+
|
|
284
|
+
.sort-th
|
|
285
|
+
display: flex
|
|
286
|
+
align-items: center
|
|
287
|
+
justify-content: center
|
|
288
|
+
flex-direction: column
|
|
289
|
+
padding-left: 6px
|
|
290
|
+
transform translate(0, 2px)
|
|
291
|
+
|
|
292
|
+
.th-sort-icon
|
|
293
|
+
font-size: .9rem
|
|
294
|
+
transition: all .25s ease
|
|
295
|
+
border-radius: 2px
|
|
296
|
+
|
|
297
|
+
&.td-check
|
|
298
|
+
padding: 0 !important
|
|
299
|
+
|
|
300
|
+
.con-td-check
|
|
301
|
+
display: block
|
|
302
|
+
background: rgb(255, 255, 255)
|
|
303
|
+
border-radius 6px
|
|
304
|
+
padding: 5px
|
|
305
|
+
padding-right: 2px
|
|
306
|
+
box-shadow: 0 3px 10px 0 rgba(0, 0, 0, .05)
|
|
307
|
+
transition: all .25s ease
|
|
308
|
+
|
|
309
|
+
&:hover
|
|
310
|
+
box-shadow: 0 0 0 0 rgba(0, 0, 0, .05)
|
|
311
|
+
|
|
312
|
+
.con-vs-checkbox
|
|
313
|
+
margin-right: 0 !important
|
|
314
|
+
margin-left: 0 !important
|
|
315
|
+
|
|
316
|
+
.vs-table--not-data
|
|
317
|
+
padding: 10px
|
|
318
|
+
text-align: center
|
|
319
|
+
|
|
320
|
+
for colorx, i in $vs-colors
|
|
321
|
+
.tr-table-state-{colorx}
|
|
322
|
+
background: getColor(colorx, .1) !important
|
|
323
|
+
color: getColor(colorx, 1)
|
|
324
|
+
box-shadow: 0 0 1px 0 getColor(colorx, 1) !important
|
|
325
|
+
.vs-table-{colorx}
|
|
326
|
+
.is-selected
|
|
327
|
+
transform: translate(0) !important
|
|
328
|
+
color: getColor(colorx, 1)
|
|
329
|
+
background: getColor(colorx, .05) !important
|
|
330
|
+
box-shadow: 0 0 1px 0 getColor(colorx, 1) !important
|
|
331
|
+
|
|
332
|
+
td
|
|
333
|
+
&:first-child
|
|
334
|
+
border-left: 1px solid rgba(0, 0, 0, .0) !important
|
|
335
|
+
|
|
336
|
+
// animation
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
.td-enter-active, .td-leave-active {
|
|
340
|
+
transition: all .25s ease;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
.td-enter, .td-leave-to /* .fade-leave-active below version 2.1.8 */
|
|
344
|
+
{
|
|
345
|
+
opacity: 0;
|
|
346
|
+
transform: translate(0px, 15%) scale(.4) !important
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
.tr-expand-enter-active, .tr-expand-leave-active {
|
|
351
|
+
transition: all .3s ease;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
.tr-expand-enter, .tr-expand-leave-to /* .fade-leave-active below version 2.1.8 */
|
|
355
|
+
{
|
|
356
|
+
opacity: 0;
|
|
357
|
+
height 0
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
.tr-expand
|
|
362
|
+
td
|
|
363
|
+
.content-tr-expand
|
|
364
|
+
padding: 10px
|
|
365
|
+
position relative
|
|
366
|
+
display: flex
|
|
367
|
+
align-items: center
|
|
368
|
+
justify-content: center
|
|
369
|
+
border-top: 1px solid rgba(0, 0, 0, .05)
|
|
370
|
+
border-bottom: 1px solid rgba(0, 0, 0, .05)
|
|
371
|
+
width: 100%
|
|
372
|
+
padding-right: 30px
|
|
373
|
+
|
|
374
|
+
.tr-expand--close
|
|
375
|
+
position absolute
|
|
376
|
+
width: 30px
|
|
377
|
+
height 30px
|
|
378
|
+
right 0
|
|
379
|
+
background: inherit
|
|
380
|
+
color getColor('danger', 1)
|
|
381
|
+
border 0
|
|
382
|
+
margin-left: 10px
|
|
383
|
+
background: rgb(245, 245, 245)
|
|
384
|
+
display: flex
|
|
385
|
+
align-items: center
|
|
386
|
+
justify-content: center
|
|
387
|
+
border-radius: 3px
|
|
388
|
+
cursor pointer
|
|
389
|
+
transition all .25s ease
|
|
390
|
+
|
|
391
|
+
&:hover
|
|
392
|
+
opacity .7
|
|
393
|
+
background: getColor('danger', 1)
|
|
394
|
+
color rgb(255, 255, 255)
|
|
395
|
+
|
|
396
|
+
i
|
|
397
|
+
font-size: 1.1rem
|
|
398
|
+
|
|
399
|
+
.vuesax-app-is-rtl
|
|
400
|
+
.vs-con-table
|
|
401
|
+
td
|
|
402
|
+
&.td-check
|
|
403
|
+
.vs-icon
|
|
404
|
+
transform translate(-7px) rotate(90deg)
|
|
405
|
+
|
|
406
|
+
.vs-checkbox--check
|
|
407
|
+
.vs-icon
|
|
408
|
+
transform translate(1px) rotate(0deg)
|