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,219 +1,219 @@
|
|
|
1
|
-
// transition
|
|
2
|
-
|
|
3
|
-
.fadeselect-enter-active
|
|
4
|
-
transition: transform .2s, opacity .2s;
|
|
5
|
-
|
|
6
|
-
.fadeselect-leave-active
|
|
7
|
-
transition: transform .150s, opacity .150s;
|
|
8
|
-
|
|
9
|
-
.fadeselect-enter, .fadeselect-leave-to /* .fade-leave-active below version 2.1.8 */
|
|
10
|
-
opacity: 0;
|
|
11
|
-
transform: translate(0, 0px) scale(0.950)
|
|
12
|
-
box-shadow: 0 10px 0 -5px rgba(0, 0, 0, 0);
|
|
13
|
-
|
|
14
|
-
.input-select-con
|
|
15
|
-
position relative
|
|
16
|
-
|
|
17
|
-
.con-select
|
|
18
|
-
position: relative;
|
|
19
|
-
clear both
|
|
20
|
-
|
|
21
|
-
&.activeOptions:not(.autocompletex)
|
|
22
|
-
.input-select
|
|
23
|
-
opacity: 0;
|
|
24
|
-
transform: scale(1.1);
|
|
25
|
-
|
|
26
|
-
&.activeOptions
|
|
27
|
-
.vs-select--icon
|
|
28
|
-
propWithDir(transform, null, (0 -50%), rotate(-180deg))
|
|
29
|
-
|
|
30
|
-
.vs-select--icon
|
|
31
|
-
position: absolute;
|
|
32
|
-
propWithDir(right, null, 5px)
|
|
33
|
-
font-size: 1.0625em;
|
|
34
|
-
top: 50%;
|
|
35
|
-
pointer-events none;
|
|
36
|
-
transform: translate(0, -50%);
|
|
37
|
-
transition: all .2s ease;
|
|
38
|
-
|
|
39
|
-
.vs-select--input
|
|
40
|
-
color: inherit
|
|
41
|
-
width: 100%
|
|
42
|
-
position: relative;
|
|
43
|
-
padding: 7px;
|
|
44
|
-
border-radius: 5px;
|
|
45
|
-
border: $vs-border
|
|
46
|
-
transition: all .2s ease;
|
|
47
|
-
propWithDir(padding, right, 20px)
|
|
48
|
-
cursor: pointer;
|
|
49
|
-
overflow: hidden;
|
|
50
|
-
text-overflow: ellipsis;
|
|
51
|
-
|
|
52
|
-
&:hover
|
|
53
|
-
border: border 1px solid rgba(0, 0, 0, .4)
|
|
54
|
-
|
|
55
|
-
&-con
|
|
56
|
-
position: relative;
|
|
57
|
-
|
|
58
|
-
&:disabled
|
|
59
|
-
opacity $vs-disabled-opacity
|
|
60
|
-
cursor: default
|
|
61
|
-
pointer-events: none
|
|
62
|
-
|
|
63
|
-
.vs-select--label
|
|
64
|
-
propWithDir(padding, left, 5px)
|
|
65
|
-
font-size: .85rem
|
|
66
|
-
color $vs-label-color
|
|
67
|
-
|
|
68
|
-
.con-text-validation
|
|
69
|
-
position: relative
|
|
70
|
-
font-size: .65rem
|
|
71
|
-
overflow: hidden
|
|
72
|
-
transition: $vs-transition;
|
|
73
|
-
|
|
74
|
-
.span-text-validation
|
|
75
|
-
padding: 2px 4px;
|
|
76
|
-
padding-bottom: 4px
|
|
77
|
-
display: block
|
|
78
|
-
|
|
79
|
-
.scrollx
|
|
80
|
-
ul
|
|
81
|
-
padding-right: 4px;
|
|
82
|
-
|
|
83
|
-
.vs-select--options
|
|
84
|
-
padding: 4px;
|
|
85
|
-
padding-top: 6px;
|
|
86
|
-
propWithDir(padding, left, 5px)
|
|
87
|
-
padding-bottom: 6px;
|
|
88
|
-
box-shadow: $vs-box-shadow;
|
|
89
|
-
border-radius: 5px;
|
|
90
|
-
position: absolute;
|
|
91
|
-
z-index: 40000;
|
|
92
|
-
background: $vs-background;
|
|
93
|
-
|
|
94
|
-
ul
|
|
95
|
-
max-height: 260px;
|
|
96
|
-
overflow: auto;
|
|
97
|
-
propWithDir(padding, left, 0)
|
|
98
|
-
padding: 0
|
|
99
|
-
|
|
100
|
-
li
|
|
101
|
-
margin: 0;
|
|
102
|
-
|
|
103
|
-
.vs-select--item
|
|
104
|
-
dirValue(text-align, left)
|
|
105
|
-
color: rgba(0, 0, 0, .8)
|
|
106
|
-
padding: 7px;
|
|
107
|
-
border 0;
|
|
108
|
-
position relative
|
|
109
|
-
border-top: 1px solid $border-color
|
|
110
|
-
border-bottom: 1px solid $border-color
|
|
111
|
-
transition: all .3s ease
|
|
112
|
-
margin: 0 !important
|
|
113
|
-
cursor pointer
|
|
114
|
-
|
|
115
|
-
&:hover
|
|
116
|
-
background: rgb(245, 245, 245)
|
|
117
|
-
|
|
118
|
-
&:focus
|
|
119
|
-
background: rgb(245, 245, 245)
|
|
120
|
-
|
|
121
|
-
&.con-icon.active
|
|
122
|
-
padding-left: 25px;
|
|
123
|
-
|
|
124
|
-
.vs-select--item-icon
|
|
125
|
-
opacity: 1;
|
|
126
|
-
transform: translate(0, -50%);
|
|
127
|
-
|
|
128
|
-
.vs-select--item-icon
|
|
129
|
-
position: absolute;
|
|
130
|
-
font-size: 1.0em;
|
|
131
|
-
left: 5px;
|
|
132
|
-
propWithDir(transform, null, (-100% -50%))
|
|
133
|
-
opacity: 0;
|
|
134
|
-
transition: all .2s ease;
|
|
135
|
-
top: 50%;
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
for colorx, i in $vs-colors
|
|
139
|
-
.vs-select-{colorx}
|
|
140
|
-
.vs-select--item
|
|
141
|
-
&.active
|
|
142
|
-
background: getColor(colorx, .1)
|
|
143
|
-
color: getColor(colorx);
|
|
144
|
-
font-weight: bold;
|
|
145
|
-
&.activeOptions .vs-select--label
|
|
146
|
-
color: getColor(colorx)
|
|
147
|
-
|
|
148
|
-
for colorx, i in $vs-validation-colors
|
|
149
|
-
.input-select-validate-{colorx}
|
|
150
|
-
.input-select-con
|
|
151
|
-
.input-select
|
|
152
|
-
border-color: getColor(colorx)
|
|
153
|
-
|
|
154
|
-
.vs-select--icon
|
|
155
|
-
color getColor(colorx)
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
// item style //
|
|
159
|
-
|
|
160
|
-
.vs-select--item
|
|
161
|
-
background: transparent
|
|
162
|
-
padding: 5px;
|
|
163
|
-
width: 100%;
|
|
164
|
-
margin: 0
|
|
165
|
-
text-transform: capitalize;
|
|
166
|
-
|
|
167
|
-
&.disabled
|
|
168
|
-
opacity: $vs-disabled-opacity;
|
|
169
|
-
cursor: default
|
|
170
|
-
pointer-events: none
|
|
171
|
-
|
|
172
|
-
.searchx
|
|
173
|
-
border-bottom: 1px solid rgba(0, 0, 0, 0.3);
|
|
174
|
-
color: inherit;
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
// vs-select-group
|
|
178
|
-
|
|
179
|
-
.vs-select-group
|
|
180
|
-
h4
|
|
181
|
-
propWithDir(padding, left, 10px)
|
|
182
|
-
cursor default
|
|
183
|
-
padding-bottom: 5px
|
|
184
|
-
|
|
185
|
-
ul
|
|
186
|
-
padding-bottom 5px
|
|
187
|
-
li
|
|
188
|
-
propWithDir(border, left, 1px solid rgba(0, 0, 0, .1))
|
|
189
|
-
propWithDir(margin, left, 15px, !important)
|
|
190
|
-
propWithDir(padding, left, 15px, !important)
|
|
191
|
-
list-style none
|
|
192
|
-
width: calc(100% - 15px);
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
.vs-select--icon-clear
|
|
196
|
-
position absolute
|
|
197
|
-
propWithDir(right, null, 5px)
|
|
198
|
-
z-index 200
|
|
199
|
-
top 50%
|
|
200
|
-
cursor pointer
|
|
201
|
-
transform: translate(0, -50%) rotate(45deg)
|
|
202
|
-
border 0
|
|
203
|
-
width: 15px
|
|
204
|
-
height 15px
|
|
205
|
-
border-radius: 0 5px 5px 0
|
|
206
|
-
background: inherit
|
|
207
|
-
color: inherit
|
|
208
|
-
opacity 0
|
|
209
|
-
visibility: hidden
|
|
210
|
-
transition: all .2s ease
|
|
211
|
-
|
|
212
|
-
&.activeBtnClear
|
|
213
|
-
opacity 1 !important
|
|
214
|
-
visibility visible !important
|
|
215
|
-
transform: translate(0, -50%) rotate(0deg) !important
|
|
216
|
-
|
|
217
|
-
i
|
|
218
|
-
font-size: .9rem
|
|
219
|
-
|
|
1
|
+
// transition
|
|
2
|
+
|
|
3
|
+
.fadeselect-enter-active
|
|
4
|
+
transition: transform .2s, opacity .2s;
|
|
5
|
+
|
|
6
|
+
.fadeselect-leave-active
|
|
7
|
+
transition: transform .150s, opacity .150s;
|
|
8
|
+
|
|
9
|
+
.fadeselect-enter, .fadeselect-leave-to /* .fade-leave-active below version 2.1.8 */
|
|
10
|
+
opacity: 0;
|
|
11
|
+
transform: translate(0, 0px) scale(0.950)
|
|
12
|
+
box-shadow: 0 10px 0 -5px rgba(0, 0, 0, 0);
|
|
13
|
+
|
|
14
|
+
.input-select-con
|
|
15
|
+
position relative
|
|
16
|
+
|
|
17
|
+
.con-select
|
|
18
|
+
position: relative;
|
|
19
|
+
clear both
|
|
20
|
+
|
|
21
|
+
&.activeOptions:not(.autocompletex)
|
|
22
|
+
.input-select
|
|
23
|
+
opacity: 0;
|
|
24
|
+
transform: scale(1.1);
|
|
25
|
+
|
|
26
|
+
&.activeOptions
|
|
27
|
+
.vs-select--icon
|
|
28
|
+
propWithDir(transform, null, (0 -50%), rotate(-180deg))
|
|
29
|
+
|
|
30
|
+
.vs-select--icon
|
|
31
|
+
position: absolute;
|
|
32
|
+
propWithDir(right, null, 5px)
|
|
33
|
+
font-size: 1.0625em;
|
|
34
|
+
top: 50%;
|
|
35
|
+
pointer-events none;
|
|
36
|
+
transform: translate(0, -50%);
|
|
37
|
+
transition: all .2s ease;
|
|
38
|
+
|
|
39
|
+
.vs-select--input
|
|
40
|
+
color: inherit
|
|
41
|
+
width: 100%
|
|
42
|
+
position: relative;
|
|
43
|
+
padding: 7px;
|
|
44
|
+
border-radius: 5px;
|
|
45
|
+
border: $vs-border
|
|
46
|
+
transition: all .2s ease;
|
|
47
|
+
propWithDir(padding, right, 20px)
|
|
48
|
+
cursor: pointer;
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
text-overflow: ellipsis;
|
|
51
|
+
|
|
52
|
+
&:hover
|
|
53
|
+
border: border 1px solid rgba(0, 0, 0, .4)
|
|
54
|
+
|
|
55
|
+
&-con
|
|
56
|
+
position: relative;
|
|
57
|
+
|
|
58
|
+
&:disabled
|
|
59
|
+
opacity $vs-disabled-opacity
|
|
60
|
+
cursor: default
|
|
61
|
+
pointer-events: none
|
|
62
|
+
|
|
63
|
+
.vs-select--label
|
|
64
|
+
propWithDir(padding, left, 5px)
|
|
65
|
+
font-size: .85rem
|
|
66
|
+
color $vs-label-color
|
|
67
|
+
|
|
68
|
+
.con-text-validation
|
|
69
|
+
position: relative
|
|
70
|
+
font-size: .65rem
|
|
71
|
+
overflow: hidden
|
|
72
|
+
transition: $vs-transition;
|
|
73
|
+
|
|
74
|
+
.span-text-validation
|
|
75
|
+
padding: 2px 4px;
|
|
76
|
+
padding-bottom: 4px
|
|
77
|
+
display: block
|
|
78
|
+
|
|
79
|
+
.scrollx
|
|
80
|
+
ul
|
|
81
|
+
padding-right: 4px;
|
|
82
|
+
|
|
83
|
+
.vs-select--options
|
|
84
|
+
padding: 4px;
|
|
85
|
+
padding-top: 6px;
|
|
86
|
+
propWithDir(padding, left, 5px)
|
|
87
|
+
padding-bottom: 6px;
|
|
88
|
+
box-shadow: $vs-box-shadow;
|
|
89
|
+
border-radius: 5px;
|
|
90
|
+
position: absolute;
|
|
91
|
+
z-index: 40000;
|
|
92
|
+
background: $vs-background;
|
|
93
|
+
|
|
94
|
+
ul
|
|
95
|
+
max-height: 260px;
|
|
96
|
+
overflow: auto;
|
|
97
|
+
propWithDir(padding, left, 0)
|
|
98
|
+
padding: 0
|
|
99
|
+
|
|
100
|
+
li
|
|
101
|
+
margin: 0;
|
|
102
|
+
|
|
103
|
+
.vs-select--item
|
|
104
|
+
dirValue(text-align, left)
|
|
105
|
+
color: rgba(0, 0, 0, .8)
|
|
106
|
+
padding: 7px;
|
|
107
|
+
border 0;
|
|
108
|
+
position relative
|
|
109
|
+
border-top: 1px solid $border-color
|
|
110
|
+
border-bottom: 1px solid $border-color
|
|
111
|
+
transition: all .3s ease
|
|
112
|
+
margin: 0 !important
|
|
113
|
+
cursor pointer
|
|
114
|
+
|
|
115
|
+
&:hover
|
|
116
|
+
background: rgb(245, 245, 245)
|
|
117
|
+
|
|
118
|
+
&:focus
|
|
119
|
+
background: rgb(245, 245, 245)
|
|
120
|
+
|
|
121
|
+
&.con-icon.active
|
|
122
|
+
padding-left: 25px;
|
|
123
|
+
|
|
124
|
+
.vs-select--item-icon
|
|
125
|
+
opacity: 1;
|
|
126
|
+
transform: translate(0, -50%);
|
|
127
|
+
|
|
128
|
+
.vs-select--item-icon
|
|
129
|
+
position: absolute;
|
|
130
|
+
font-size: 1.0em;
|
|
131
|
+
left: 5px;
|
|
132
|
+
propWithDir(transform, null, (-100% -50%))
|
|
133
|
+
opacity: 0;
|
|
134
|
+
transition: all .2s ease;
|
|
135
|
+
top: 50%;
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
for colorx, i in $vs-colors
|
|
139
|
+
.vs-select-{colorx}
|
|
140
|
+
.vs-select--item
|
|
141
|
+
&.active
|
|
142
|
+
background: getColor(colorx, .1)
|
|
143
|
+
color: getColor(colorx);
|
|
144
|
+
font-weight: bold;
|
|
145
|
+
&.activeOptions .vs-select--label
|
|
146
|
+
color: getColor(colorx)
|
|
147
|
+
|
|
148
|
+
for colorx, i in $vs-validation-colors
|
|
149
|
+
.input-select-validate-{colorx}
|
|
150
|
+
.input-select-con
|
|
151
|
+
.input-select
|
|
152
|
+
border-color: getColor(colorx)
|
|
153
|
+
|
|
154
|
+
.vs-select--icon
|
|
155
|
+
color getColor(colorx)
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
// item style //
|
|
159
|
+
|
|
160
|
+
.vs-select--item
|
|
161
|
+
background: transparent
|
|
162
|
+
padding: 5px;
|
|
163
|
+
width: 100%;
|
|
164
|
+
margin: 0
|
|
165
|
+
text-transform: capitalize;
|
|
166
|
+
|
|
167
|
+
&.disabled
|
|
168
|
+
opacity: $vs-disabled-opacity;
|
|
169
|
+
cursor: default
|
|
170
|
+
pointer-events: none
|
|
171
|
+
|
|
172
|
+
.searchx
|
|
173
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.3);
|
|
174
|
+
color: inherit;
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
// vs-select-group
|
|
178
|
+
|
|
179
|
+
.vs-select-group
|
|
180
|
+
h4
|
|
181
|
+
propWithDir(padding, left, 10px)
|
|
182
|
+
cursor default
|
|
183
|
+
padding-bottom: 5px
|
|
184
|
+
|
|
185
|
+
ul
|
|
186
|
+
padding-bottom 5px
|
|
187
|
+
li
|
|
188
|
+
propWithDir(border, left, 1px solid rgba(0, 0, 0, .1))
|
|
189
|
+
propWithDir(margin, left, 15px, !important)
|
|
190
|
+
propWithDir(padding, left, 15px, !important)
|
|
191
|
+
list-style none
|
|
192
|
+
width: calc(100% - 15px);
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
.vs-select--icon-clear
|
|
196
|
+
position absolute
|
|
197
|
+
propWithDir(right, null, 5px)
|
|
198
|
+
z-index 200
|
|
199
|
+
top 50%
|
|
200
|
+
cursor pointer
|
|
201
|
+
transform: translate(0, -50%) rotate(45deg)
|
|
202
|
+
border 0
|
|
203
|
+
width: 15px
|
|
204
|
+
height 15px
|
|
205
|
+
border-radius: 0 5px 5px 0
|
|
206
|
+
background: inherit
|
|
207
|
+
color: inherit
|
|
208
|
+
opacity 0
|
|
209
|
+
visibility: hidden
|
|
210
|
+
transition: all .2s ease
|
|
211
|
+
|
|
212
|
+
&.activeBtnClear
|
|
213
|
+
opacity 1 !important
|
|
214
|
+
visibility visible !important
|
|
215
|
+
transform: translate(0, -50%) rotate(0deg) !important
|
|
216
|
+
|
|
217
|
+
i
|
|
218
|
+
font-size: .9rem
|
|
219
|
+
|