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.
Files changed (47) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +187 -187
  3. package/dist/style/colors.styl +30 -30
  4. package/dist/style/components/vsAlert.styl +66 -66
  5. package/dist/style/components/vsAvatar.styl +64 -64
  6. package/dist/style/components/vsBreadcrumb.styl +50 -50
  7. package/dist/style/components/vsButton.styl +181 -181
  8. package/dist/style/components/vsCard.styl +64 -64
  9. package/dist/style/components/vsCheckBox.styl +111 -111
  10. package/dist/style/components/vsChip.styl +122 -122
  11. package/dist/style/components/vsCollapse.styl +109 -109
  12. package/dist/style/components/vsDivider.styl +34 -34
  13. package/dist/style/components/vsDropDown.styl +231 -231
  14. package/dist/style/components/vsIcon.styl +47 -47
  15. package/dist/style/components/vsImages.styl +166 -166
  16. package/dist/style/components/vsInput.styl +219 -219
  17. package/dist/style/components/vsInputNumber.styl +170 -170
  18. package/dist/style/components/vsList.styl +49 -49
  19. package/dist/style/components/vsLoading.styl +397 -397
  20. package/dist/style/components/vsNavbar.styl +286 -286
  21. package/dist/style/components/vsNotifications.styl +92 -92
  22. package/dist/style/components/vsPagination.styl +143 -143
  23. package/dist/style/components/vsPopup.styl +159 -159
  24. package/dist/style/components/vsProgress.styl +45 -45
  25. package/dist/style/components/vsRadio.styl +93 -93
  26. package/dist/style/components/vsSelect.styl +219 -219
  27. package/dist/style/components/vsSideBar.styl +267 -267
  28. package/dist/style/components/vsSlider.styl +196 -196
  29. package/dist/style/components/vsSpacer.styl +5 -5
  30. package/dist/style/components/vsSwitch.styl +93 -93
  31. package/dist/style/components/vsTable.styl +408 -408
  32. package/dist/style/components/vsTabs.styl +280 -280
  33. package/dist/style/components/vsTextarea.styl +82 -82
  34. package/dist/style/components/vsTimePicker.styl +42 -42
  35. package/dist/style/components/vsTooltip.styl +85 -85
  36. package/dist/style/components/vsUpload.styl +460 -460
  37. package/dist/style/mixins.styl +133 -133
  38. package/dist/style/root.styl +9 -9
  39. package/dist/style/vars.styl +45 -45
  40. package/dist/style/vuesax.styl +25 -25
  41. package/dist/vuesax.common.js +1 -1
  42. package/dist/vuesax.common.js.map +1 -1
  43. package/dist/vuesax.umd.js +1 -1
  44. package/dist/vuesax.umd.js.map +1 -1
  45. package/dist/vuesax.umd.min.js +1 -1
  46. package/dist/vuesax.umd.min.js.map +1 -1
  47. package/package.json +8 -8
@@ -1,92 +1,92 @@
1
- // animations
2
- .vs-notifications
3
- position: fixed;
4
- z-index: 200000;
5
- padding: 5px;
6
- margin-left: 5px;
7
- margin-right: 5px;
8
- border-radius: 10px;
9
- overflow: hidden;
10
- transition: all .3s ease;
11
- cursor: default;
12
- max-width: 350px;
13
- min-width: 200px;
14
-
15
- &:active
16
- opacity: .8
17
-
18
- .content-noti
19
- position: relative;
20
- display: flex;
21
- align-items: center;
22
- justify-content: center;
23
- width: 100%;
24
-
25
- .con-text-noti
26
- width: 100%;
27
-
28
- .vs-icon-noti
29
- position: relative;
30
- z-index: 100;
31
- display: block;
32
- padding: 5px;
33
- background: rgba(255, 255, 255, .1)
34
- border-radius: 6px;
35
- font-size: 20px;
36
- animation: openicon .4s ease;
37
-
38
- h3, p
39
- z-index: 100;
40
- position: relative;
41
- animation: open .4s ease;
42
-
43
- h3
44
- font-size: 16px;
45
- padding: 5px;
46
- padding-bottom: 0;
47
-
48
- p
49
- font-size: 14px;
50
- padding: 5px;
51
- padding-right: 10px;
52
-
53
- &.vs-noti-active
54
- h3, p
55
- opacity: 1;
56
-
57
- .filling
58
- display: block;
59
- position: absolute;
60
- transition: all .45s ease;
61
- z-index: 1;
62
- transform: translate(0, -50%);
63
-
64
- for colorx, i in $vs-colors
65
- .vs-noti-{colorx}
66
- .filling
67
- background: getColor(colorx, 1);
68
- width: 10px;
69
- height: 10px;
70
- border-radius: 50%;
71
-
72
- @keyframes open {
73
- 0% {
74
- opacity: 0;
75
- transform: translate(-30px);
76
- }
77
- 100% {
78
- transform: translate(0px);
79
- opacity: 1
80
- }
81
- }
82
-
83
- @keyframes openicon {
84
- 0% {
85
- opacity: 0;
86
- transform: scale(.4);
87
- }
88
- 100% {
89
- transform: scale(1);
90
- opacity: 1
91
- }
92
- }
1
+ // animations
2
+ .vs-notifications
3
+ position: fixed;
4
+ z-index: 200000;
5
+ padding: 5px;
6
+ margin-left: 5px;
7
+ margin-right: 5px;
8
+ border-radius: 10px;
9
+ overflow: hidden;
10
+ transition: all .3s ease;
11
+ cursor: default;
12
+ max-width: 350px;
13
+ min-width: 200px;
14
+
15
+ &:active
16
+ opacity: .8
17
+
18
+ .content-noti
19
+ position: relative;
20
+ display: flex;
21
+ align-items: center;
22
+ justify-content: center;
23
+ width: 100%;
24
+
25
+ .con-text-noti
26
+ width: 100%;
27
+
28
+ .vs-icon-noti
29
+ position: relative;
30
+ z-index: 100;
31
+ display: block;
32
+ padding: 5px;
33
+ background: rgba(255, 255, 255, .1)
34
+ border-radius: 6px;
35
+ font-size: 20px;
36
+ animation: openicon .4s ease;
37
+
38
+ h3, p
39
+ z-index: 100;
40
+ position: relative;
41
+ animation: open .4s ease;
42
+
43
+ h3
44
+ font-size: 16px;
45
+ padding: 5px;
46
+ padding-bottom: 0;
47
+
48
+ p
49
+ font-size: 14px;
50
+ padding: 5px;
51
+ padding-right: 10px;
52
+
53
+ &.vs-noti-active
54
+ h3, p
55
+ opacity: 1;
56
+
57
+ .filling
58
+ display: block;
59
+ position: absolute;
60
+ transition: all .45s ease;
61
+ z-index: 1;
62
+ transform: translate(0, -50%);
63
+
64
+ for colorx, i in $vs-colors
65
+ .vs-noti-{colorx}
66
+ .filling
67
+ background: getColor(colorx, 1);
68
+ width: 10px;
69
+ height: 10px;
70
+ border-radius: 50%;
71
+
72
+ @keyframes open {
73
+ 0% {
74
+ opacity: 0;
75
+ transform: translate(-30px);
76
+ }
77
+ 100% {
78
+ transform: translate(0px);
79
+ opacity: 1
80
+ }
81
+ }
82
+
83
+ @keyframes openicon {
84
+ 0% {
85
+ opacity: 0;
86
+ transform: scale(.4);
87
+ }
88
+ 100% {
89
+ transform: scale(1);
90
+ opacity: 1
91
+ }
92
+ }
@@ -1,143 +1,143 @@
1
- .con-vs-pagination
2
- --color-pagination: rgb(240, 240, 240)
3
- --color-pagination-alpha: rgb(240, 240, 240, .5)
4
-
5
- .vs-pagination--input-goto
6
- color: inherit
7
- padding: 8px
8
- border-radius: 5px
9
- border: 0 solid rgba(0, 0, 0, .2)
10
- background: rgb(240, 240, 240)
11
- propWithDir(margin, left, 5px)
12
-
13
- .vs-pagination--nav
14
- display: flex
15
- align-items: center
16
- justify-content: center
17
-
18
- .vs-pagination--ul
19
- display: flex
20
- align-items: center
21
- justify-content: center
22
- padding: 0
23
- background: rgb(240, 240, 240)
24
- border-radius: 20px
25
- padding-left: 5px
26
- padding-right: 5px
27
-
28
- .vs-pagination--array
29
- display: inline-block
30
- padding: 0
31
-
32
- li
33
- display: inline-block
34
-
35
- .vs-pagination--mb
36
- margin-bottom: 5px
37
-
38
- .vs-pagination--bold
39
- font-weight: bold
40
-
41
- .vs-pagination--li
42
- cursor pointer
43
- width: 35px
44
- height 35px
45
- display: flex
46
- align-items: center
47
- justify-content: center
48
- border-radius: 8px
49
- transition: all .25s ease
50
- position relative
51
- backface-visibility: visible
52
- margin: 0 2px
53
- font-weight: bold
54
- color: rgba(0, 0, 0, .5)
55
-
56
- span
57
- z-index 100
58
-
59
- .effect
60
- z-index 50
61
- content: ''
62
- position absolute
63
- width: 100%
64
- height 100%
65
- background: getVar('color-pagination')
66
- propWithDir(left, null, 0)
67
- top: 0
68
- display: block
69
- border-radius: 8px
70
- transform: scale(.5)
71
- opacity 0
72
- transition: all .2s ease
73
- box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0)
74
-
75
- &.is-current
76
- transform: scale(1.05)
77
- color: rgb(255, 255, 255)
78
- font-weight: bold
79
- cursor: default
80
- background: getVar('color-pagination')
81
-
82
- .effect
83
- opacity 1
84
- transform: scale(1) !important
85
- box-shadow: 0 0 20px 0 getVar('color-pagination-alpha')
86
-
87
- &:hover:not(.is-current)
88
- color getVar('color-pagination')
89
-
90
-
91
- .vs-pagination--buttons
92
- width: 35px
93
- height 35px
94
- border-radius: 50%
95
- border: 0
96
- cursor pointer
97
- display: flex
98
- align-items: center
99
- justify-content: center
100
- flex-shrink: 0
101
- color: rgba(0, 0, 0, .6)
102
- transition: all .2s ease
103
- background: rgb(240, 240, 240)
104
- margin: 0
105
- z-index 200
106
-
107
- &.vs-pagination--button-prev
108
- propWithDir(margin, right, 5px)
109
-
110
- &.vs-pagination--button-next
111
- propWithDir(margin, left, 5px)
112
-
113
- &.disabled, &:disabled
114
- cursor: default
115
- pointer-events: none
116
- opacity: $vs-disabled-opacity
117
-
118
- i
119
- font-size: 1.2rem
120
-
121
- &:hover
122
- background: getVar('color-pagination')
123
- color: rgb(255, 255, 255)
124
-
125
-
126
- for colorx, i in $vs-colors
127
- .vs-pagination-{colorx}
128
- li
129
- &:hover:not(.is-current)
130
- color: getColor(colorx, 1) !important
131
-
132
- .effect
133
- background: getColor(colorx, 1) !important
134
- box-shadow: 0 0 20px 0 getColor(colorx, .5)
135
-
136
- .vs-pagination--buttons
137
- &:hover
138
- background: getColor(colorx, 1) !important
139
-
140
- for colorx, i in $vs-colors
141
- .vs-description-{colorx}
142
- color: getColor(colorx, 1) !important
143
-
1
+ .con-vs-pagination
2
+ --color-pagination: rgb(240, 240, 240)
3
+ --color-pagination-alpha: rgb(240, 240, 240, .5)
4
+
5
+ .vs-pagination--input-goto
6
+ color: inherit
7
+ padding: 8px
8
+ border-radius: 5px
9
+ border: 0 solid rgba(0, 0, 0, .2)
10
+ background: rgb(240, 240, 240)
11
+ propWithDir(margin, left, 5px)
12
+
13
+ .vs-pagination--nav
14
+ display: flex
15
+ align-items: center
16
+ justify-content: center
17
+
18
+ .vs-pagination--ul
19
+ display: flex
20
+ align-items: center
21
+ justify-content: center
22
+ padding: 0
23
+ background: rgb(240, 240, 240)
24
+ border-radius: 20px
25
+ padding-left: 5px
26
+ padding-right: 5px
27
+
28
+ .vs-pagination--array
29
+ display: inline-block
30
+ padding: 0
31
+
32
+ li
33
+ display: inline-block
34
+
35
+ .vs-pagination--mb
36
+ margin-bottom: 5px
37
+
38
+ .vs-pagination--bold
39
+ font-weight: bold
40
+
41
+ .vs-pagination--li
42
+ cursor pointer
43
+ width: 35px
44
+ height 35px
45
+ display: flex
46
+ align-items: center
47
+ justify-content: center
48
+ border-radius: 8px
49
+ transition: all .25s ease
50
+ position relative
51
+ backface-visibility: visible
52
+ margin: 0 2px
53
+ font-weight: bold
54
+ color: rgba(0, 0, 0, .5)
55
+
56
+ span
57
+ z-index 100
58
+
59
+ .effect
60
+ z-index 50
61
+ content: ''
62
+ position absolute
63
+ width: 100%
64
+ height 100%
65
+ background: getVar('color-pagination')
66
+ propWithDir(left, null, 0)
67
+ top: 0
68
+ display: block
69
+ border-radius: 8px
70
+ transform: scale(.5)
71
+ opacity 0
72
+ transition: all .2s ease
73
+ box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0)
74
+
75
+ &.is-current
76
+ transform: scale(1.05)
77
+ color: rgb(255, 255, 255)
78
+ font-weight: bold
79
+ cursor: default
80
+ background: getVar('color-pagination')
81
+
82
+ .effect
83
+ opacity 1
84
+ transform: scale(1) !important
85
+ box-shadow: 0 0 20px 0 getVar('color-pagination-alpha')
86
+
87
+ &:hover:not(.is-current)
88
+ color getVar('color-pagination')
89
+
90
+
91
+ .vs-pagination--buttons
92
+ width: 35px
93
+ height 35px
94
+ border-radius: 50%
95
+ border: 0
96
+ cursor pointer
97
+ display: flex
98
+ align-items: center
99
+ justify-content: center
100
+ flex-shrink: 0
101
+ color: rgba(0, 0, 0, .6)
102
+ transition: all .2s ease
103
+ background: rgb(240, 240, 240)
104
+ margin: 0
105
+ z-index 200
106
+
107
+ &.vs-pagination--button-prev
108
+ propWithDir(margin, right, 5px)
109
+
110
+ &.vs-pagination--button-next
111
+ propWithDir(margin, left, 5px)
112
+
113
+ &.disabled, &:disabled
114
+ cursor: default
115
+ pointer-events: none
116
+ opacity: $vs-disabled-opacity
117
+
118
+ i
119
+ font-size: 1.2rem
120
+
121
+ &:hover
122
+ background: getVar('color-pagination')
123
+ color: rgb(255, 255, 255)
124
+
125
+
126
+ for colorx, i in $vs-colors
127
+ .vs-pagination-{colorx}
128
+ li
129
+ &:hover:not(.is-current)
130
+ color: getColor(colorx, 1) !important
131
+
132
+ .effect
133
+ background: getColor(colorx, 1) !important
134
+ box-shadow: 0 0 20px 0 getColor(colorx, .5)
135
+
136
+ .vs-pagination--buttons
137
+ &:hover
138
+ background: getColor(colorx, 1) !important
139
+
140
+ for colorx, i in $vs-colors
141
+ .vs-description-{colorx}
142
+ color: getColor(colorx, 1) !important
143
+