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,64 +1,64 @@
|
|
|
1
|
-
.con-vs-card
|
|
2
|
-
width: 100%
|
|
3
|
-
height auto
|
|
4
|
-
background: rgb(255, 255, 255)
|
|
5
|
-
border-radius: 8px
|
|
6
|
-
// overflow hidden
|
|
7
|
-
margin-bottom: 20px
|
|
8
|
-
display: block
|
|
9
|
-
box-shadow: 0 4px 25px 0 rgba(0, 0, 0, .1)
|
|
10
|
-
transition: all .3s ease
|
|
11
|
-
|
|
12
|
-
&.withHover
|
|
13
|
-
cursor pointer
|
|
14
|
-
|
|
15
|
-
&:hover
|
|
16
|
-
transform: translate(0, 4px)
|
|
17
|
-
box-shadow: 0 0 5px 0 rgba(0, 0, 0, .1)
|
|
18
|
-
|
|
19
|
-
img
|
|
20
|
-
transform: scale(1.1)
|
|
21
|
-
|
|
22
|
-
&.fixedHeight
|
|
23
|
-
height: 100%
|
|
24
|
-
position: relative
|
|
25
|
-
|
|
26
|
-
.vs-card--header
|
|
27
|
-
padding: 10px
|
|
28
|
-
box-shadow: 0 10px 15px -10px rgba(0, 0, 0, .05)
|
|
29
|
-
|
|
30
|
-
h3
|
|
31
|
-
padding: 0
|
|
32
|
-
|
|
33
|
-
.vs-card--footer
|
|
34
|
-
position relative
|
|
35
|
-
padding: 10px
|
|
36
|
-
transform: translate(0, 40%)
|
|
37
|
-
margin-top: -5%
|
|
38
|
-
padding-top: 0
|
|
39
|
-
// overflow hidden
|
|
40
|
-
|
|
41
|
-
&.fixedHeight
|
|
42
|
-
position: absolute
|
|
43
|
-
bottom: 0
|
|
44
|
-
right: 0
|
|
45
|
-
margin-top: 0
|
|
46
|
-
transform: translate(0)
|
|
47
|
-
|
|
48
|
-
.vs-card--content
|
|
49
|
-
padding: 10px
|
|
50
|
-
font-size: .8rem
|
|
51
|
-
margin-bottom: 15px
|
|
52
|
-
|
|
53
|
-
&.fixedHeight
|
|
54
|
-
margin-bottom: 20px
|
|
55
|
-
|
|
56
|
-
.vs-card--media
|
|
57
|
-
width: 100%
|
|
58
|
-
overflow hidden
|
|
59
|
-
|
|
60
|
-
img
|
|
61
|
-
width: 100%
|
|
62
|
-
transition: all .25s ease
|
|
63
|
-
display: block
|
|
64
|
-
|
|
1
|
+
.con-vs-card
|
|
2
|
+
width: 100%
|
|
3
|
+
height auto
|
|
4
|
+
background: rgb(255, 255, 255)
|
|
5
|
+
border-radius: 8px
|
|
6
|
+
// overflow hidden
|
|
7
|
+
margin-bottom: 20px
|
|
8
|
+
display: block
|
|
9
|
+
box-shadow: 0 4px 25px 0 rgba(0, 0, 0, .1)
|
|
10
|
+
transition: all .3s ease
|
|
11
|
+
|
|
12
|
+
&.withHover
|
|
13
|
+
cursor pointer
|
|
14
|
+
|
|
15
|
+
&:hover
|
|
16
|
+
transform: translate(0, 4px)
|
|
17
|
+
box-shadow: 0 0 5px 0 rgba(0, 0, 0, .1)
|
|
18
|
+
|
|
19
|
+
img
|
|
20
|
+
transform: scale(1.1)
|
|
21
|
+
|
|
22
|
+
&.fixedHeight
|
|
23
|
+
height: 100%
|
|
24
|
+
position: relative
|
|
25
|
+
|
|
26
|
+
.vs-card--header
|
|
27
|
+
padding: 10px
|
|
28
|
+
box-shadow: 0 10px 15px -10px rgba(0, 0, 0, .05)
|
|
29
|
+
|
|
30
|
+
h3
|
|
31
|
+
padding: 0
|
|
32
|
+
|
|
33
|
+
.vs-card--footer
|
|
34
|
+
position relative
|
|
35
|
+
padding: 10px
|
|
36
|
+
transform: translate(0, 40%)
|
|
37
|
+
margin-top: -5%
|
|
38
|
+
padding-top: 0
|
|
39
|
+
// overflow hidden
|
|
40
|
+
|
|
41
|
+
&.fixedHeight
|
|
42
|
+
position: absolute
|
|
43
|
+
bottom: 0
|
|
44
|
+
right: 0
|
|
45
|
+
margin-top: 0
|
|
46
|
+
transform: translate(0)
|
|
47
|
+
|
|
48
|
+
.vs-card--content
|
|
49
|
+
padding: 10px
|
|
50
|
+
font-size: .8rem
|
|
51
|
+
margin-bottom: 15px
|
|
52
|
+
|
|
53
|
+
&.fixedHeight
|
|
54
|
+
margin-bottom: 20px
|
|
55
|
+
|
|
56
|
+
.vs-card--media
|
|
57
|
+
width: 100%
|
|
58
|
+
overflow hidden
|
|
59
|
+
|
|
60
|
+
img
|
|
61
|
+
width: 100%
|
|
62
|
+
transition: all .25s ease
|
|
63
|
+
display: block
|
|
64
|
+
|
|
@@ -1,111 +1,111 @@
|
|
|
1
|
-
.con-vs-checkbox
|
|
2
|
-
position: relative;
|
|
3
|
-
display: flex;
|
|
4
|
-
align-items: center;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
margin-left: 5px;
|
|
7
|
-
margin-right: 5px;
|
|
8
|
-
|
|
9
|
-
&.vs-checkbox-small
|
|
10
|
-
.vs-checkbox
|
|
11
|
-
width: 15px
|
|
12
|
-
height 15px
|
|
13
|
-
|
|
14
|
-
.vs-icon
|
|
15
|
-
font-size: .7rem
|
|
16
|
-
|
|
17
|
-
&.vs-checkbox-large
|
|
18
|
-
.vs-checkbox
|
|
19
|
-
width: 24px
|
|
20
|
-
height 24px
|
|
21
|
-
|
|
22
|
-
.vs-checkbox--input
|
|
23
|
-
position: absolute;
|
|
24
|
-
width: 100%;
|
|
25
|
-
height: 100%;
|
|
26
|
-
opacity: 0;
|
|
27
|
-
z-index: 200;
|
|
28
|
-
cursor: pointer;
|
|
29
|
-
background: rgb(85, 215, 117);
|
|
30
|
-
|
|
31
|
-
&:disabled
|
|
32
|
-
cursor: default;
|
|
33
|
-
pointer-events: none;
|
|
34
|
-
|
|
35
|
-
& + .vs-checkbox
|
|
36
|
-
opacity $vs-disabled-opacity;
|
|
37
|
-
cursor: default;
|
|
38
|
-
pointer-events: none;
|
|
39
|
-
|
|
40
|
-
.vs-checkbox--check
|
|
41
|
-
cursor: default;
|
|
42
|
-
pointer-events: none;
|
|
43
|
-
|
|
44
|
-
&:active:checked
|
|
45
|
-
& + .vs-checkbox
|
|
46
|
-
.vs-checkbox--check
|
|
47
|
-
transform: translate(3px)
|
|
48
|
-
|
|
49
|
-
.vs-icon
|
|
50
|
-
transform: translate(6px)
|
|
51
|
-
|
|
52
|
-
&:checked
|
|
53
|
-
& + .vs-checkbox
|
|
54
|
-
transform: rotate(0deg)
|
|
55
|
-
|
|
56
|
-
.vs-checkbox--check
|
|
57
|
-
transform: translate(0%);
|
|
58
|
-
|
|
59
|
-
.vs-icon
|
|
60
|
-
opacity: 1;
|
|
61
|
-
transform: translate(0)
|
|
62
|
-
color: rgb(255, 255, 255)
|
|
63
|
-
display: flex
|
|
64
|
-
align-items: center
|
|
65
|
-
justify-content: center
|
|
66
|
-
|
|
67
|
-
.vs-checkbox
|
|
68
|
-
transition: all .2s ease;
|
|
69
|
-
cursor: pointer;
|
|
70
|
-
position: relative;
|
|
71
|
-
width: 20px;
|
|
72
|
-
height: 20px;
|
|
73
|
-
border-radius: 2px;
|
|
74
|
-
display: flex;
|
|
75
|
-
align-items: center;
|
|
76
|
-
justify-content: center;
|
|
77
|
-
transform: rotate(-90deg);
|
|
78
|
-
overflow: hidden;
|
|
79
|
-
box-sizing: border-box;
|
|
80
|
-
propWithDir(margin, right, 5px)
|
|
81
|
-
|
|
82
|
-
// margin-right: 5px;
|
|
83
|
-
.vs-checkbox--check
|
|
84
|
-
width: 100%;
|
|
85
|
-
height: 100%;
|
|
86
|
-
position: absolute;
|
|
87
|
-
left: 0;
|
|
88
|
-
transform: translate(100%);
|
|
89
|
-
transform-origin: right;
|
|
90
|
-
transition: all .20s ease
|
|
91
|
-
z-index: 10;
|
|
92
|
-
|
|
93
|
-
.vs-checkbox--icon
|
|
94
|
-
backface-visibility: visible;
|
|
95
|
-
transition: all .2s ease-out;
|
|
96
|
-
z-index: 100;
|
|
97
|
-
font-size: 1.125em;
|
|
98
|
-
opacity: 0;
|
|
99
|
-
transform: translate(30px);
|
|
100
|
-
transform-origin: center;
|
|
101
|
-
|
|
102
|
-
for colorx, i in $vs-colors
|
|
103
|
-
.vs-checkbox-{colorx}
|
|
104
|
-
.vs-checkbox
|
|
105
|
-
border: 2px solid rgb(180, 180, 180)
|
|
106
|
-
|
|
107
|
-
input
|
|
108
|
-
&:checked
|
|
109
|
-
& + .vs-checkbox
|
|
110
|
-
border: 2px solid getColor(colorx, 1) !important
|
|
111
|
-
background: getColor(colorx, 1)
|
|
1
|
+
.con-vs-checkbox
|
|
2
|
+
position: relative;
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
margin-left: 5px;
|
|
7
|
+
margin-right: 5px;
|
|
8
|
+
|
|
9
|
+
&.vs-checkbox-small
|
|
10
|
+
.vs-checkbox
|
|
11
|
+
width: 15px
|
|
12
|
+
height 15px
|
|
13
|
+
|
|
14
|
+
.vs-icon
|
|
15
|
+
font-size: .7rem
|
|
16
|
+
|
|
17
|
+
&.vs-checkbox-large
|
|
18
|
+
.vs-checkbox
|
|
19
|
+
width: 24px
|
|
20
|
+
height 24px
|
|
21
|
+
|
|
22
|
+
.vs-checkbox--input
|
|
23
|
+
position: absolute;
|
|
24
|
+
width: 100%;
|
|
25
|
+
height: 100%;
|
|
26
|
+
opacity: 0;
|
|
27
|
+
z-index: 200;
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
background: rgb(85, 215, 117);
|
|
30
|
+
|
|
31
|
+
&:disabled
|
|
32
|
+
cursor: default;
|
|
33
|
+
pointer-events: none;
|
|
34
|
+
|
|
35
|
+
& + .vs-checkbox
|
|
36
|
+
opacity $vs-disabled-opacity;
|
|
37
|
+
cursor: default;
|
|
38
|
+
pointer-events: none;
|
|
39
|
+
|
|
40
|
+
.vs-checkbox--check
|
|
41
|
+
cursor: default;
|
|
42
|
+
pointer-events: none;
|
|
43
|
+
|
|
44
|
+
&:active:checked
|
|
45
|
+
& + .vs-checkbox
|
|
46
|
+
.vs-checkbox--check
|
|
47
|
+
transform: translate(3px)
|
|
48
|
+
|
|
49
|
+
.vs-icon
|
|
50
|
+
transform: translate(6px)
|
|
51
|
+
|
|
52
|
+
&:checked
|
|
53
|
+
& + .vs-checkbox
|
|
54
|
+
transform: rotate(0deg)
|
|
55
|
+
|
|
56
|
+
.vs-checkbox--check
|
|
57
|
+
transform: translate(0%);
|
|
58
|
+
|
|
59
|
+
.vs-icon
|
|
60
|
+
opacity: 1;
|
|
61
|
+
transform: translate(0)
|
|
62
|
+
color: rgb(255, 255, 255)
|
|
63
|
+
display: flex
|
|
64
|
+
align-items: center
|
|
65
|
+
justify-content: center
|
|
66
|
+
|
|
67
|
+
.vs-checkbox
|
|
68
|
+
transition: all .2s ease;
|
|
69
|
+
cursor: pointer;
|
|
70
|
+
position: relative;
|
|
71
|
+
width: 20px;
|
|
72
|
+
height: 20px;
|
|
73
|
+
border-radius: 2px;
|
|
74
|
+
display: flex;
|
|
75
|
+
align-items: center;
|
|
76
|
+
justify-content: center;
|
|
77
|
+
transform: rotate(-90deg);
|
|
78
|
+
overflow: hidden;
|
|
79
|
+
box-sizing: border-box;
|
|
80
|
+
propWithDir(margin, right, 5px)
|
|
81
|
+
|
|
82
|
+
// margin-right: 5px;
|
|
83
|
+
.vs-checkbox--check
|
|
84
|
+
width: 100%;
|
|
85
|
+
height: 100%;
|
|
86
|
+
position: absolute;
|
|
87
|
+
left: 0;
|
|
88
|
+
transform: translate(100%);
|
|
89
|
+
transform-origin: right;
|
|
90
|
+
transition: all .20s ease
|
|
91
|
+
z-index: 10;
|
|
92
|
+
|
|
93
|
+
.vs-checkbox--icon
|
|
94
|
+
backface-visibility: visible;
|
|
95
|
+
transition: all .2s ease-out;
|
|
96
|
+
z-index: 100;
|
|
97
|
+
font-size: 1.125em;
|
|
98
|
+
opacity: 0;
|
|
99
|
+
transform: translate(30px);
|
|
100
|
+
transform-origin: center;
|
|
101
|
+
|
|
102
|
+
for colorx, i in $vs-colors
|
|
103
|
+
.vs-checkbox-{colorx}
|
|
104
|
+
.vs-checkbox
|
|
105
|
+
border: 2px solid rgb(180, 180, 180)
|
|
106
|
+
|
|
107
|
+
input
|
|
108
|
+
&:checked
|
|
109
|
+
& + .vs-checkbox
|
|
110
|
+
border: 2px solid getColor(colorx, 1) !important
|
|
111
|
+
background: getColor(colorx, 1)
|
|
@@ -1,122 +1,122 @@
|
|
|
1
|
-
.con-vs-chip
|
|
2
|
-
background: rgb(240, 240, 240)
|
|
3
|
-
border-radius: 20px
|
|
4
|
-
dirValue(float, left);
|
|
5
|
-
display: flex
|
|
6
|
-
align-items: center
|
|
7
|
-
font-size .7rem
|
|
8
|
-
justify-content: center
|
|
9
|
-
propWithDir(margin, right, 2px)
|
|
10
|
-
margin-bottom: 3px
|
|
11
|
-
min-height 28px
|
|
12
|
-
propWithDir(padding, right, 10px)
|
|
13
|
-
color: rgba(0, 0, 0, .7)
|
|
14
|
-
position: relative
|
|
15
|
-
|
|
16
|
-
&.closable
|
|
17
|
-
propWithDir(padding, right, 0)
|
|
18
|
-
|
|
19
|
-
&.con-color
|
|
20
|
-
.con-vs-avatar
|
|
21
|
-
background: rgba(255, 255, 255, .2)
|
|
22
|
-
|
|
23
|
-
.con-vs-avatar
|
|
24
|
-
width: 24px
|
|
25
|
-
height 24px
|
|
26
|
-
position relative
|
|
27
|
-
margin: 2px 0
|
|
28
|
-
propWithDir(transform, null, (-8px))
|
|
29
|
-
display: flex
|
|
30
|
-
align-items: center
|
|
31
|
-
justify-content: center
|
|
32
|
-
background: rgba(0, 0, 0, .15)
|
|
33
|
-
|
|
34
|
-
.material-icons
|
|
35
|
-
margin-top: 0
|
|
36
|
-
font-size: .8rem
|
|
37
|
-
|
|
38
|
-
&.bg-chip-transparent
|
|
39
|
-
font-weight: 500
|
|
40
|
-
|
|
41
|
-
.vs-chip--close
|
|
42
|
-
padding: .3em
|
|
43
|
-
display: flex
|
|
44
|
-
align-items: center
|
|
45
|
-
justify-content: center
|
|
46
|
-
border-radius: 50%
|
|
47
|
-
border: 0
|
|
48
|
-
margin: 0 4px
|
|
49
|
-
cursor pointer
|
|
50
|
-
background: rgba(0, 0, 0, .15)
|
|
51
|
-
color: rgb(255, 255, 255)
|
|
52
|
-
transition: all .3s ease
|
|
53
|
-
|
|
54
|
-
&:hover
|
|
55
|
-
background: $vs-colors[danger]
|
|
56
|
-
|
|
57
|
-
i
|
|
58
|
-
font-size: .9em
|
|
59
|
-
|
|
60
|
-
.vs-chip--text
|
|
61
|
-
display: flex
|
|
62
|
-
align-items: center
|
|
63
|
-
justify-content: center
|
|
64
|
-
propWithDir(margin, left, 10px)
|
|
65
|
-
|
|
66
|
-
for colorx, i in $vs-colors
|
|
67
|
-
.vs-chip-{colorx}:not(.bg-chip-transparent)
|
|
68
|
-
background: getColor(colorx, 1)
|
|
69
|
-
.vs-chip-{colorx}.bg-chip-transparent
|
|
70
|
-
background: getColor(colorx, .15)
|
|
71
|
-
color: getColor(colorx, 1)
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
// con - chips
|
|
75
|
-
|
|
76
|
-
.con-chips
|
|
77
|
-
width: 100%;
|
|
78
|
-
/* background: rgb(136, 231, 39); */
|
|
79
|
-
position: relative;
|
|
80
|
-
display: flex;
|
|
81
|
-
align-items: center;
|
|
82
|
-
justify-content: flex-end;
|
|
83
|
-
flex-wrap: wrap;
|
|
84
|
-
box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.1);
|
|
85
|
-
border-radius: 5px;
|
|
86
|
-
overflow: hidden;
|
|
87
|
-
padding: 5px;
|
|
88
|
-
|
|
89
|
-
.con-chips .con-vs-chip
|
|
90
|
-
margin-top: 0;
|
|
91
|
-
margin-bottom: 0;
|
|
92
|
-
|
|
93
|
-
.con-chips--input
|
|
94
|
-
display: inline-block;
|
|
95
|
-
flex: 1;
|
|
96
|
-
color: inherit
|
|
97
|
-
/* height: 30px; */
|
|
98
|
-
padding: 9px;
|
|
99
|
-
box-sizing: border-box;
|
|
100
|
-
min-width: 80px;
|
|
101
|
-
border: 0;
|
|
102
|
-
propWithDir(margin, left, 2px)
|
|
103
|
-
|
|
104
|
-
.con-chips--remove-all
|
|
105
|
-
position: absolute;
|
|
106
|
-
propWithDir(right, null, 0)
|
|
107
|
-
top: 50%;
|
|
108
|
-
transform: translate(0, -50%);
|
|
109
|
-
height: 100%;
|
|
110
|
-
display: flex;
|
|
111
|
-
align-items: center;
|
|
112
|
-
justify-content: center;
|
|
113
|
-
padding: 5px;
|
|
114
|
-
cursor: pointer;
|
|
115
|
-
transition: all .3s ease;
|
|
116
|
-
|
|
117
|
-
.con-chips--remove-all:hover
|
|
118
|
-
color: getColor('danger', 1)
|
|
119
|
-
|
|
120
|
-
.no-items
|
|
121
|
-
.con-chips--input
|
|
122
|
-
propWithDir(padding, left, 10px, !important)
|
|
1
|
+
.con-vs-chip
|
|
2
|
+
background: rgb(240, 240, 240)
|
|
3
|
+
border-radius: 20px
|
|
4
|
+
dirValue(float, left);
|
|
5
|
+
display: flex
|
|
6
|
+
align-items: center
|
|
7
|
+
font-size .7rem
|
|
8
|
+
justify-content: center
|
|
9
|
+
propWithDir(margin, right, 2px)
|
|
10
|
+
margin-bottom: 3px
|
|
11
|
+
min-height 28px
|
|
12
|
+
propWithDir(padding, right, 10px)
|
|
13
|
+
color: rgba(0, 0, 0, .7)
|
|
14
|
+
position: relative
|
|
15
|
+
|
|
16
|
+
&.closable
|
|
17
|
+
propWithDir(padding, right, 0)
|
|
18
|
+
|
|
19
|
+
&.con-color
|
|
20
|
+
.con-vs-avatar
|
|
21
|
+
background: rgba(255, 255, 255, .2)
|
|
22
|
+
|
|
23
|
+
.con-vs-avatar
|
|
24
|
+
width: 24px
|
|
25
|
+
height 24px
|
|
26
|
+
position relative
|
|
27
|
+
margin: 2px 0
|
|
28
|
+
propWithDir(transform, null, (-8px))
|
|
29
|
+
display: flex
|
|
30
|
+
align-items: center
|
|
31
|
+
justify-content: center
|
|
32
|
+
background: rgba(0, 0, 0, .15)
|
|
33
|
+
|
|
34
|
+
.material-icons
|
|
35
|
+
margin-top: 0
|
|
36
|
+
font-size: .8rem
|
|
37
|
+
|
|
38
|
+
&.bg-chip-transparent
|
|
39
|
+
font-weight: 500
|
|
40
|
+
|
|
41
|
+
.vs-chip--close
|
|
42
|
+
padding: .3em
|
|
43
|
+
display: flex
|
|
44
|
+
align-items: center
|
|
45
|
+
justify-content: center
|
|
46
|
+
border-radius: 50%
|
|
47
|
+
border: 0
|
|
48
|
+
margin: 0 4px
|
|
49
|
+
cursor pointer
|
|
50
|
+
background: rgba(0, 0, 0, .15)
|
|
51
|
+
color: rgb(255, 255, 255)
|
|
52
|
+
transition: all .3s ease
|
|
53
|
+
|
|
54
|
+
&:hover
|
|
55
|
+
background: $vs-colors[danger]
|
|
56
|
+
|
|
57
|
+
i
|
|
58
|
+
font-size: .9em
|
|
59
|
+
|
|
60
|
+
.vs-chip--text
|
|
61
|
+
display: flex
|
|
62
|
+
align-items: center
|
|
63
|
+
justify-content: center
|
|
64
|
+
propWithDir(margin, left, 10px)
|
|
65
|
+
|
|
66
|
+
for colorx, i in $vs-colors
|
|
67
|
+
.vs-chip-{colorx}:not(.bg-chip-transparent)
|
|
68
|
+
background: getColor(colorx, 1)
|
|
69
|
+
.vs-chip-{colorx}.bg-chip-transparent
|
|
70
|
+
background: getColor(colorx, .15)
|
|
71
|
+
color: getColor(colorx, 1)
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
// con - chips
|
|
75
|
+
|
|
76
|
+
.con-chips
|
|
77
|
+
width: 100%;
|
|
78
|
+
/* background: rgb(136, 231, 39); */
|
|
79
|
+
position: relative;
|
|
80
|
+
display: flex;
|
|
81
|
+
align-items: center;
|
|
82
|
+
justify-content: flex-end;
|
|
83
|
+
flex-wrap: wrap;
|
|
84
|
+
box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.1);
|
|
85
|
+
border-radius: 5px;
|
|
86
|
+
overflow: hidden;
|
|
87
|
+
padding: 5px;
|
|
88
|
+
|
|
89
|
+
.con-chips .con-vs-chip
|
|
90
|
+
margin-top: 0;
|
|
91
|
+
margin-bottom: 0;
|
|
92
|
+
|
|
93
|
+
.con-chips--input
|
|
94
|
+
display: inline-block;
|
|
95
|
+
flex: 1;
|
|
96
|
+
color: inherit
|
|
97
|
+
/* height: 30px; */
|
|
98
|
+
padding: 9px;
|
|
99
|
+
box-sizing: border-box;
|
|
100
|
+
min-width: 80px;
|
|
101
|
+
border: 0;
|
|
102
|
+
propWithDir(margin, left, 2px)
|
|
103
|
+
|
|
104
|
+
.con-chips--remove-all
|
|
105
|
+
position: absolute;
|
|
106
|
+
propWithDir(right, null, 0)
|
|
107
|
+
top: 50%;
|
|
108
|
+
transform: translate(0, -50%);
|
|
109
|
+
height: 100%;
|
|
110
|
+
display: flex;
|
|
111
|
+
align-items: center;
|
|
112
|
+
justify-content: center;
|
|
113
|
+
padding: 5px;
|
|
114
|
+
cursor: pointer;
|
|
115
|
+
transition: all .3s ease;
|
|
116
|
+
|
|
117
|
+
.con-chips--remove-all:hover
|
|
118
|
+
color: getColor('danger', 1)
|
|
119
|
+
|
|
120
|
+
.no-items
|
|
121
|
+
.con-chips--input
|
|
122
|
+
propWithDir(padding, left, 10px, !important)
|