fixed-vuesax 3.13.122 → 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/demo.html +1 -10
- 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.css +1 -1
- package/dist/vuesax.umd.js +1 -1
- package/dist/vuesax.umd.js.map +1 -1
- package/dist/vuesax.umd.min.js +2 -1
- package/dist/vuesax.umd.min.js.map +1 -0
- package/package.json +24 -26
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
.con-vs-avatar
|
|
2
|
-
width: 32px;
|
|
3
|
-
height: 32px;
|
|
4
|
-
border-radius: 50%;
|
|
5
|
-
position: relative;
|
|
6
|
-
cursor: pointer;
|
|
7
|
-
|
|
8
|
-
display: inline-block;
|
|
9
|
-
margin: 5px;
|
|
10
|
-
|
|
11
|
-
&.large
|
|
12
|
-
width: 50px;
|
|
13
|
-
height: 50px;
|
|
14
|
-
|
|
15
|
-
&.small
|
|
16
|
-
width: 24px;
|
|
17
|
-
height: 24px;
|
|
18
|
-
|
|
19
|
-
.vs-avatar-text
|
|
20
|
-
font-size: 0.9375em;
|
|
21
|
-
|
|
22
|
-
.vs-avatar--count
|
|
23
|
-
position: absolute;
|
|
24
|
-
top: 1px;
|
|
25
|
-
right: 1px;
|
|
26
|
-
width: 7px;
|
|
27
|
-
height: 7px;
|
|
28
|
-
border-radius: 50%;
|
|
29
|
-
z-index: 100;
|
|
30
|
-
|
|
31
|
-
&.badgeNumber
|
|
32
|
-
width: auto;
|
|
33
|
-
height: auto;
|
|
34
|
-
top: -3px;
|
|
35
|
-
right: 0;
|
|
36
|
-
border-radius: 4px;
|
|
37
|
-
padding-left: 3px;
|
|
38
|
-
padding-right: 3px
|
|
39
|
-
font-size: 0.625em;
|
|
40
|
-
color: rgb(255, 255, 255);
|
|
41
|
-
|
|
42
|
-
.vs-avatar--text
|
|
43
|
-
position: absolute;
|
|
44
|
-
left: 50%;
|
|
45
|
-
top: 50%;
|
|
46
|
-
transform: translate(-50%, -50%);
|
|
47
|
-
|
|
48
|
-
.vs-avatar--con-img
|
|
49
|
-
position: absolute;
|
|
50
|
-
width: 100%;
|
|
51
|
-
height: 100%;
|
|
52
|
-
overflow: hidden;
|
|
53
|
-
border-radius: 50%;
|
|
54
|
-
|
|
55
|
-
img
|
|
56
|
-
width 100%
|
|
57
|
-
|
|
58
|
-
for colorx, i in $vs-colors
|
|
59
|
-
.con-vs-avatar-{colorx}
|
|
60
|
-
background: getColor(colorx, 1)
|
|
61
|
-
.dot-count-{colorx}
|
|
62
|
-
background: getColor(colorx, 1)
|
|
63
|
-
.vs-avatar-text-{colorx}
|
|
64
|
-
color: getColor(colorx, 1)
|
|
1
|
+
.con-vs-avatar
|
|
2
|
+
width: 32px;
|
|
3
|
+
height: 32px;
|
|
4
|
+
border-radius: 50%;
|
|
5
|
+
position: relative;
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
|
|
8
|
+
display: inline-block;
|
|
9
|
+
margin: 5px;
|
|
10
|
+
|
|
11
|
+
&.large
|
|
12
|
+
width: 50px;
|
|
13
|
+
height: 50px;
|
|
14
|
+
|
|
15
|
+
&.small
|
|
16
|
+
width: 24px;
|
|
17
|
+
height: 24px;
|
|
18
|
+
|
|
19
|
+
.vs-avatar-text
|
|
20
|
+
font-size: 0.9375em;
|
|
21
|
+
|
|
22
|
+
.vs-avatar--count
|
|
23
|
+
position: absolute;
|
|
24
|
+
top: 1px;
|
|
25
|
+
right: 1px;
|
|
26
|
+
width: 7px;
|
|
27
|
+
height: 7px;
|
|
28
|
+
border-radius: 50%;
|
|
29
|
+
z-index: 100;
|
|
30
|
+
|
|
31
|
+
&.badgeNumber
|
|
32
|
+
width: auto;
|
|
33
|
+
height: auto;
|
|
34
|
+
top: -3px;
|
|
35
|
+
right: 0;
|
|
36
|
+
border-radius: 4px;
|
|
37
|
+
padding-left: 3px;
|
|
38
|
+
padding-right: 3px
|
|
39
|
+
font-size: 0.625em;
|
|
40
|
+
color: rgb(255, 255, 255);
|
|
41
|
+
|
|
42
|
+
.vs-avatar--text
|
|
43
|
+
position: absolute;
|
|
44
|
+
left: 50%;
|
|
45
|
+
top: 50%;
|
|
46
|
+
transform: translate(-50%, -50%);
|
|
47
|
+
|
|
48
|
+
.vs-avatar--con-img
|
|
49
|
+
position: absolute;
|
|
50
|
+
width: 100%;
|
|
51
|
+
height: 100%;
|
|
52
|
+
overflow: hidden;
|
|
53
|
+
border-radius: 50%;
|
|
54
|
+
|
|
55
|
+
img
|
|
56
|
+
width 100%
|
|
57
|
+
|
|
58
|
+
for colorx, i in $vs-colors
|
|
59
|
+
.con-vs-avatar-{colorx}
|
|
60
|
+
background: getColor(colorx, 1)
|
|
61
|
+
.dot-count-{colorx}
|
|
62
|
+
background: getColor(colorx, 1)
|
|
63
|
+
.vs-avatar-text-{colorx}
|
|
64
|
+
color: getColor(colorx, 1)
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
|
|
2
|
-
.vs-breadcrumb
|
|
3
|
-
display flex
|
|
4
|
-
|
|
5
|
-
&.vs-align-left
|
|
6
|
-
justify-content: flex-start
|
|
7
|
-
|
|
8
|
-
&.vs-align-center
|
|
9
|
-
justify-content: center
|
|
10
|
-
|
|
11
|
-
&.vs-align-right
|
|
12
|
-
justify-content: flex-end
|
|
13
|
-
|
|
14
|
-
.disabled-link
|
|
15
|
-
opacity: .5
|
|
16
|
-
pointer-events: none;
|
|
17
|
-
|
|
18
|
-
.vs-breadcrumb--ol
|
|
19
|
-
display flex
|
|
20
|
-
flex-wrap wrap
|
|
21
|
-
padding .75rem 1rem
|
|
22
|
-
list-style-type none
|
|
23
|
-
|
|
24
|
-
li.vs-active
|
|
25
|
-
cursor: default;
|
|
26
|
-
|
|
27
|
-
a
|
|
28
|
-
transition: all .2s ease
|
|
29
|
-
color: rgba(0, 0, 0, 0.4);
|
|
30
|
-
|
|
31
|
-
&:hover
|
|
32
|
-
&:focus
|
|
33
|
-
// opacity .7
|
|
34
|
-
color: rgba(0, 0, 0, 0.7);
|
|
35
|
-
text-decoration none
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
.vs-breadcrum--separator
|
|
39
|
-
color rgba(0, 0, 0, 0.4)
|
|
40
|
-
padding 0 .5rem 0 .5rem
|
|
41
|
-
|
|
42
|
-
&.material-icons
|
|
43
|
-
vertical-align: middle
|
|
44
|
-
// margin-top: -2px
|
|
45
|
-
font-size inherit
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
for colorx, i in $vs-colors
|
|
49
|
-
.vs-breadcrumb-text-{colorx}
|
|
50
|
-
color: getColor(colorx, 1)
|
|
1
|
+
|
|
2
|
+
.vs-breadcrumb
|
|
3
|
+
display flex
|
|
4
|
+
|
|
5
|
+
&.vs-align-left
|
|
6
|
+
justify-content: flex-start
|
|
7
|
+
|
|
8
|
+
&.vs-align-center
|
|
9
|
+
justify-content: center
|
|
10
|
+
|
|
11
|
+
&.vs-align-right
|
|
12
|
+
justify-content: flex-end
|
|
13
|
+
|
|
14
|
+
.disabled-link
|
|
15
|
+
opacity: .5
|
|
16
|
+
pointer-events: none;
|
|
17
|
+
|
|
18
|
+
.vs-breadcrumb--ol
|
|
19
|
+
display flex
|
|
20
|
+
flex-wrap wrap
|
|
21
|
+
padding .75rem 1rem
|
|
22
|
+
list-style-type none
|
|
23
|
+
|
|
24
|
+
li.vs-active
|
|
25
|
+
cursor: default;
|
|
26
|
+
|
|
27
|
+
a
|
|
28
|
+
transition: all .2s ease
|
|
29
|
+
color: rgba(0, 0, 0, 0.4);
|
|
30
|
+
|
|
31
|
+
&:hover
|
|
32
|
+
&:focus
|
|
33
|
+
// opacity .7
|
|
34
|
+
color: rgba(0, 0, 0, 0.7);
|
|
35
|
+
text-decoration none
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
.vs-breadcrum--separator
|
|
39
|
+
color rgba(0, 0, 0, 0.4)
|
|
40
|
+
padding 0 .5rem 0 .5rem
|
|
41
|
+
|
|
42
|
+
&.material-icons
|
|
43
|
+
vertical-align: middle
|
|
44
|
+
// margin-top: -2px
|
|
45
|
+
font-size inherit
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
for colorx, i in $vs-colors
|
|
49
|
+
.vs-breadcrumb-text-{colorx}
|
|
50
|
+
color: getColor(colorx, 1)
|
|
@@ -1,181 +1,181 @@
|
|
|
1
|
-
.vs-button
|
|
2
|
-
transition: all .2s ease;
|
|
3
|
-
padding: 10px;
|
|
4
|
-
border: 0;
|
|
5
|
-
border-radius: $vs-radio
|
|
6
|
-
cursor: pointer;
|
|
7
|
-
position: relative;
|
|
8
|
-
overflow: hidden;
|
|
9
|
-
color: rgb(255, 255, 255);
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
background: transparent
|
|
12
|
-
|
|
13
|
-
&.vs-radius
|
|
14
|
-
border-radius: 50%
|
|
15
|
-
|
|
16
|
-
&.large
|
|
17
|
-
padding 12px
|
|
18
|
-
font-size: 1em;
|
|
19
|
-
|
|
20
|
-
&.small
|
|
21
|
-
padding 7px
|
|
22
|
-
font-size: .7em;
|
|
23
|
-
|
|
24
|
-
&:disabled
|
|
25
|
-
opacity $vs-disabled-opacity
|
|
26
|
-
cursor: default
|
|
27
|
-
pointer-events: none
|
|
28
|
-
|
|
29
|
-
.vs-button--icon
|
|
30
|
-
z-index: 100;
|
|
31
|
-
display: block;
|
|
32
|
-
position: relative;
|
|
33
|
-
font-size: 1.125em;
|
|
34
|
-
transition: all .2s ease;
|
|
35
|
-
|
|
36
|
-
.vs-button--background
|
|
37
|
-
border-radius: 50%;
|
|
38
|
-
width: 10px;
|
|
39
|
-
position: absolute;
|
|
40
|
-
height: 10px;
|
|
41
|
-
z-index: 0;
|
|
42
|
-
transform: translate(-50%, -50%);
|
|
43
|
-
-moz-transform: translate(-50%, -50%);
|
|
44
|
-
box-shadow: inset 0 0 60px 0 rgba(255, 255, 255, .5);
|
|
45
|
-
|
|
46
|
-
.vs-button--text
|
|
47
|
-
position: relative;
|
|
48
|
-
color: inherit
|
|
49
|
-
display: inline-block;
|
|
50
|
-
transition: $vs-transition;
|
|
51
|
-
|
|
52
|
-
&.vs-button-border
|
|
53
|
-
padding: 9px;
|
|
54
|
-
|
|
55
|
-
&.vs-button-border, &.vs-button-flat
|
|
56
|
-
&.isActive
|
|
57
|
-
.vs-button--text, .vs-button--icon
|
|
58
|
-
color: rgb(255, 255, 255) !important
|
|
59
|
-
|
|
60
|
-
.vs-button-filled
|
|
61
|
-
&:hover
|
|
62
|
-
box-shadow: 0 9px 28px -9px
|
|
63
|
-
|
|
64
|
-
.vs-button-line
|
|
65
|
-
padding: 9px 10px;
|
|
66
|
-
border-radius: 0
|
|
67
|
-
overflow: visible;
|
|
68
|
-
border-style: solid;
|
|
69
|
-
|
|
70
|
-
.vs-button-linex
|
|
71
|
-
transition: all .2s ease;
|
|
72
|
-
width: 0;
|
|
73
|
-
position: absolute;
|
|
74
|
-
left: 0;
|
|
75
|
-
bottom: -2px;
|
|
76
|
-
height: 2px;
|
|
77
|
-
|
|
78
|
-
&:hover
|
|
79
|
-
.vs-button--text, .vs-button--icon
|
|
80
|
-
transform: translate(0, 2px);
|
|
81
|
-
|
|
82
|
-
.vs-button-linex
|
|
83
|
-
width: 100% !important
|
|
84
|
-
|
|
85
|
-
.vs-button-gradient
|
|
86
|
-
&:hover
|
|
87
|
-
transform: translate(0, -2px);
|
|
88
|
-
box-shadow: 0 8px 25px -8px rgb(170, 170, 170)
|
|
89
|
-
|
|
90
|
-
&:active
|
|
91
|
-
transform: translate(0, 0px);
|
|
92
|
-
box-shadow: 0 8px 0 -8px rgb(170, 170, 170)
|
|
93
|
-
|
|
94
|
-
.vs-button-relief
|
|
95
|
-
padding: 10px;
|
|
96
|
-
|
|
97
|
-
&:active
|
|
98
|
-
transform: translate(0, 3px);
|
|
99
|
-
box-shadow: none !important;
|
|
100
|
-
|
|
101
|
-
.includeIcon
|
|
102
|
-
display: flex;
|
|
103
|
-
align-items: center;
|
|
104
|
-
justify-content: center;
|
|
105
|
-
dirValue(float, left)
|
|
106
|
-
|
|
107
|
-
.includeIconOnly
|
|
108
|
-
width: 38px !important
|
|
109
|
-
height 38px !important
|
|
110
|
-
|
|
111
|
-
&.large
|
|
112
|
-
width: 44px !important
|
|
113
|
-
height 44px !important
|
|
114
|
-
font-size: 0.7em;
|
|
115
|
-
|
|
116
|
-
&.small
|
|
117
|
-
width: 28px !important
|
|
118
|
-
height 28px !important
|
|
119
|
-
|
|
120
|
-
.vs-icon
|
|
121
|
-
font-size: .85rem
|
|
122
|
-
|
|
123
|
-
for colorx, i in $vs-colors
|
|
124
|
-
|
|
125
|
-
.vs-button-{colorx}
|
|
126
|
-
&.vs-button-filled //type filled
|
|
127
|
-
// background: $vs-colors[colorx]
|
|
128
|
-
background: getColor(colorx) !important
|
|
129
|
-
|
|
130
|
-
&:hover
|
|
131
|
-
box-shadow: 0 8px 25px -8px getColor(colorx)
|
|
132
|
-
|
|
133
|
-
&.vs-button-border, &.vs-button-flat //type border
|
|
134
|
-
border: 1px solid getColor(colorx)
|
|
135
|
-
background: transparent !important
|
|
136
|
-
color: getColor(colorx)
|
|
137
|
-
|
|
138
|
-
.vs-button--text
|
|
139
|
-
&.isActive
|
|
140
|
-
color: rgb(255, 255, 255) !important
|
|
141
|
-
|
|
142
|
-
&:hover
|
|
143
|
-
background: getColor(colorx, .08) !important
|
|
144
|
-
|
|
145
|
-
.vs-button-backgroundx
|
|
146
|
-
background: getColor(colorx);
|
|
147
|
-
box-shadow: inset 0 0 60px 0 getColor(colorx);
|
|
148
|
-
|
|
149
|
-
&.vs-button-flat //type flat
|
|
150
|
-
border: none !important
|
|
151
|
-
|
|
152
|
-
&.vs-button-line // type line
|
|
153
|
-
color: getColor(colorx)
|
|
154
|
-
border-color: getColor(colorx, .2)
|
|
155
|
-
|
|
156
|
-
.vs-button-linex
|
|
157
|
-
background: getColor(colorx)
|
|
158
|
-
|
|
159
|
-
&.vs-button-gradient // type Gradient
|
|
160
|
-
if colorx == 'success' {
|
|
161
|
-
background: rgb(0, 100, 250)
|
|
162
|
-
background-image: linear-gradient(30deg, getColor(colorx, 1) 0%, getColor(colorx, .6) 100%) !important
|
|
163
|
-
}
|
|
164
|
-
else if colorx == 'warning' {
|
|
165
|
-
background: rgb(250, 250, 250)
|
|
166
|
-
background-image: linear-gradient(30deg, getColor(colorx, 1) 0%, getColor(colorx, .5) 100%) !important
|
|
167
|
-
}
|
|
168
|
-
else {
|
|
169
|
-
// background: linear-gradient(30deg, getColor(colorx) 0%, spin($vs-colors[colorx],30deg) 100%) !important
|
|
170
|
-
background: rgb(100, 0, 100)
|
|
171
|
-
background-image: linear-gradient(30deg, getColor(colorx, 1) 0%, getColor(colorx, .5) 100%) !important
|
|
172
|
-
}
|
|
173
|
-
text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
|
|
174
|
-
|
|
175
|
-
&.vs-button-relief
|
|
176
|
-
background: getColor(colorx, 1)
|
|
177
|
-
if colorx == 'dark' {
|
|
178
|
-
box-shadow: 0 -3px 0 0 rgba(255, 255, 255, .1) inset
|
|
179
|
-
} else {
|
|
180
|
-
box-shadow: 0 -3px 0 0 rgba(0, 0, 0, .2) inset
|
|
181
|
-
}
|
|
1
|
+
.vs-button
|
|
2
|
+
transition: all .2s ease;
|
|
3
|
+
padding: 10px;
|
|
4
|
+
border: 0;
|
|
5
|
+
border-radius: $vs-radio
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
position: relative;
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
color: rgb(255, 255, 255);
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
background: transparent
|
|
12
|
+
|
|
13
|
+
&.vs-radius
|
|
14
|
+
border-radius: 50%
|
|
15
|
+
|
|
16
|
+
&.large
|
|
17
|
+
padding 12px
|
|
18
|
+
font-size: 1em;
|
|
19
|
+
|
|
20
|
+
&.small
|
|
21
|
+
padding 7px
|
|
22
|
+
font-size: .7em;
|
|
23
|
+
|
|
24
|
+
&:disabled
|
|
25
|
+
opacity $vs-disabled-opacity
|
|
26
|
+
cursor: default
|
|
27
|
+
pointer-events: none
|
|
28
|
+
|
|
29
|
+
.vs-button--icon
|
|
30
|
+
z-index: 100;
|
|
31
|
+
display: block;
|
|
32
|
+
position: relative;
|
|
33
|
+
font-size: 1.125em;
|
|
34
|
+
transition: all .2s ease;
|
|
35
|
+
|
|
36
|
+
.vs-button--background
|
|
37
|
+
border-radius: 50%;
|
|
38
|
+
width: 10px;
|
|
39
|
+
position: absolute;
|
|
40
|
+
height: 10px;
|
|
41
|
+
z-index: 0;
|
|
42
|
+
transform: translate(-50%, -50%);
|
|
43
|
+
-moz-transform: translate(-50%, -50%);
|
|
44
|
+
box-shadow: inset 0 0 60px 0 rgba(255, 255, 255, .5);
|
|
45
|
+
|
|
46
|
+
.vs-button--text
|
|
47
|
+
position: relative;
|
|
48
|
+
color: inherit
|
|
49
|
+
display: inline-block;
|
|
50
|
+
transition: $vs-transition;
|
|
51
|
+
|
|
52
|
+
&.vs-button-border
|
|
53
|
+
padding: 9px;
|
|
54
|
+
|
|
55
|
+
&.vs-button-border, &.vs-button-flat
|
|
56
|
+
&.isActive
|
|
57
|
+
.vs-button--text, .vs-button--icon
|
|
58
|
+
color: rgb(255, 255, 255) !important
|
|
59
|
+
|
|
60
|
+
.vs-button-filled
|
|
61
|
+
&:hover
|
|
62
|
+
box-shadow: 0 9px 28px -9px
|
|
63
|
+
|
|
64
|
+
.vs-button-line
|
|
65
|
+
padding: 9px 10px;
|
|
66
|
+
border-radius: 0
|
|
67
|
+
overflow: visible;
|
|
68
|
+
border-style: solid;
|
|
69
|
+
|
|
70
|
+
.vs-button-linex
|
|
71
|
+
transition: all .2s ease;
|
|
72
|
+
width: 0;
|
|
73
|
+
position: absolute;
|
|
74
|
+
left: 0;
|
|
75
|
+
bottom: -2px;
|
|
76
|
+
height: 2px;
|
|
77
|
+
|
|
78
|
+
&:hover
|
|
79
|
+
.vs-button--text, .vs-button--icon
|
|
80
|
+
transform: translate(0, 2px);
|
|
81
|
+
|
|
82
|
+
.vs-button-linex
|
|
83
|
+
width: 100% !important
|
|
84
|
+
|
|
85
|
+
.vs-button-gradient
|
|
86
|
+
&:hover
|
|
87
|
+
transform: translate(0, -2px);
|
|
88
|
+
box-shadow: 0 8px 25px -8px rgb(170, 170, 170)
|
|
89
|
+
|
|
90
|
+
&:active
|
|
91
|
+
transform: translate(0, 0px);
|
|
92
|
+
box-shadow: 0 8px 0 -8px rgb(170, 170, 170)
|
|
93
|
+
|
|
94
|
+
.vs-button-relief
|
|
95
|
+
padding: 10px;
|
|
96
|
+
|
|
97
|
+
&:active
|
|
98
|
+
transform: translate(0, 3px);
|
|
99
|
+
box-shadow: none !important;
|
|
100
|
+
|
|
101
|
+
.includeIcon
|
|
102
|
+
display: flex;
|
|
103
|
+
align-items: center;
|
|
104
|
+
justify-content: center;
|
|
105
|
+
dirValue(float, left)
|
|
106
|
+
|
|
107
|
+
.includeIconOnly
|
|
108
|
+
width: 38px !important
|
|
109
|
+
height 38px !important
|
|
110
|
+
|
|
111
|
+
&.large
|
|
112
|
+
width: 44px !important
|
|
113
|
+
height 44px !important
|
|
114
|
+
font-size: 0.7em;
|
|
115
|
+
|
|
116
|
+
&.small
|
|
117
|
+
width: 28px !important
|
|
118
|
+
height 28px !important
|
|
119
|
+
|
|
120
|
+
.vs-icon
|
|
121
|
+
font-size: .85rem
|
|
122
|
+
|
|
123
|
+
for colorx, i in $vs-colors
|
|
124
|
+
|
|
125
|
+
.vs-button-{colorx}
|
|
126
|
+
&.vs-button-filled //type filled
|
|
127
|
+
// background: $vs-colors[colorx]
|
|
128
|
+
background: getColor(colorx) !important
|
|
129
|
+
|
|
130
|
+
&:hover
|
|
131
|
+
box-shadow: 0 8px 25px -8px getColor(colorx)
|
|
132
|
+
|
|
133
|
+
&.vs-button-border, &.vs-button-flat //type border
|
|
134
|
+
border: 1px solid getColor(colorx)
|
|
135
|
+
background: transparent !important
|
|
136
|
+
color: getColor(colorx)
|
|
137
|
+
|
|
138
|
+
.vs-button--text
|
|
139
|
+
&.isActive
|
|
140
|
+
color: rgb(255, 255, 255) !important
|
|
141
|
+
|
|
142
|
+
&:hover
|
|
143
|
+
background: getColor(colorx, .08) !important
|
|
144
|
+
|
|
145
|
+
.vs-button-backgroundx
|
|
146
|
+
background: getColor(colorx);
|
|
147
|
+
box-shadow: inset 0 0 60px 0 getColor(colorx);
|
|
148
|
+
|
|
149
|
+
&.vs-button-flat //type flat
|
|
150
|
+
border: none !important
|
|
151
|
+
|
|
152
|
+
&.vs-button-line // type line
|
|
153
|
+
color: getColor(colorx)
|
|
154
|
+
border-color: getColor(colorx, .2)
|
|
155
|
+
|
|
156
|
+
.vs-button-linex
|
|
157
|
+
background: getColor(colorx)
|
|
158
|
+
|
|
159
|
+
&.vs-button-gradient // type Gradient
|
|
160
|
+
if colorx == 'success' {
|
|
161
|
+
background: rgb(0, 100, 250)
|
|
162
|
+
background-image: linear-gradient(30deg, getColor(colorx, 1) 0%, getColor(colorx, .6) 100%) !important
|
|
163
|
+
}
|
|
164
|
+
else if colorx == 'warning' {
|
|
165
|
+
background: rgb(250, 250, 250)
|
|
166
|
+
background-image: linear-gradient(30deg, getColor(colorx, 1) 0%, getColor(colorx, .5) 100%) !important
|
|
167
|
+
}
|
|
168
|
+
else {
|
|
169
|
+
// background: linear-gradient(30deg, getColor(colorx) 0%, spin($vs-colors[colorx],30deg) 100%) !important
|
|
170
|
+
background: rgb(100, 0, 100)
|
|
171
|
+
background-image: linear-gradient(30deg, getColor(colorx, 1) 0%, getColor(colorx, .5) 100%) !important
|
|
172
|
+
}
|
|
173
|
+
text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
|
|
174
|
+
|
|
175
|
+
&.vs-button-relief
|
|
176
|
+
background: getColor(colorx, 1)
|
|
177
|
+
if colorx == 'dark' {
|
|
178
|
+
box-shadow: 0 -3px 0 0 rgba(255, 255, 255, .1) inset
|
|
179
|
+
} else {
|
|
180
|
+
box-shadow: 0 -3px 0 0 rgba(0, 0, 0, .2) inset
|
|
181
|
+
}
|