vue-color-ui 0.0.3
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/README.md +9 -0
- package/lib/css/animation.css +184 -0
- package/lib/css/icon.css +1226 -0
- package/lib/css/main.css +3954 -0
- package/lib/style.css +1 -0
- package/lib/temp-color-ui.js +1436 -0
- package/lib/temp-color-ui.umd.cjs +5 -0
- package/lib/vite.svg +1 -0
- package/package.json +40 -0
package/README.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Vue 3 + TypeScript + Vite
|
|
2
|
+
|
|
3
|
+
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
|
|
4
|
+
|
|
5
|
+
## Recommended Setup
|
|
6
|
+
|
|
7
|
+
- [VS Code](https://code.visualstudio.com/) + [Vue - Official](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (previously Volar) and disable Vetur
|
|
8
|
+
|
|
9
|
+
- Use [vue-tsc](https://github.com/vuejs/language-tools/tree/master/packages/tsc) for performing the same type checking from the command line, or for generating d.ts files for SFCs.
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Animation 微动画
|
|
3
|
+
基于ColorUI组建库的动画模块 by 文晓港 2019年3月26日19:52:28
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/* css 滤镜 控制黑白底色gif的 */
|
|
7
|
+
.gif-black{
|
|
8
|
+
mix-blend-mode: screen;
|
|
9
|
+
}
|
|
10
|
+
.gif-white{
|
|
11
|
+
mix-blend-mode: multiply;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
/* Animation css */
|
|
16
|
+
[class*=animation-] {
|
|
17
|
+
animation-duration: .5s;
|
|
18
|
+
animation-timing-function: ease-out;
|
|
19
|
+
animation-fill-mode: both
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.animation-fade {
|
|
23
|
+
animation-name: fade;
|
|
24
|
+
animation-duration: .8s;
|
|
25
|
+
animation-timing-function: linear
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.animation-scale-up {
|
|
29
|
+
animation-name: scale-up
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.animation-scale-down {
|
|
33
|
+
animation-name: scale-down
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.animation-slide-top {
|
|
37
|
+
animation-name: slide-top
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.animation-slide-bottom {
|
|
41
|
+
animation-name: slide-bottom
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.animation-slide-left {
|
|
45
|
+
animation-name: slide-left
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.animation-slide-right {
|
|
49
|
+
animation-name: slide-right
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.animation-shake {
|
|
53
|
+
animation-name: shake
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.animation-reverse {
|
|
57
|
+
animation-direction: reverse
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@keyframes fade {
|
|
61
|
+
0% {
|
|
62
|
+
opacity: 0
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
100% {
|
|
66
|
+
opacity: 1
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@keyframes scale-up {
|
|
71
|
+
0% {
|
|
72
|
+
opacity: 0;
|
|
73
|
+
transform: scale(.2)
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
100% {
|
|
77
|
+
opacity: 1;
|
|
78
|
+
transform: scale(1)
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@keyframes scale-down {
|
|
83
|
+
0% {
|
|
84
|
+
opacity: 0;
|
|
85
|
+
transform: scale(1.8)
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
100% {
|
|
89
|
+
opacity: 1;
|
|
90
|
+
transform: scale(1)
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
@keyframes slide-top {
|
|
95
|
+
0% {
|
|
96
|
+
opacity: 0;
|
|
97
|
+
transform: translateY(-100%)
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
100% {
|
|
101
|
+
opacity: 1;
|
|
102
|
+
transform: translateY(0)
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
@keyframes slide-bottom {
|
|
107
|
+
0% {
|
|
108
|
+
opacity: 0;
|
|
109
|
+
transform: translateY(100%)
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
100% {
|
|
113
|
+
opacity: 1;
|
|
114
|
+
transform: translateY(0)
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@keyframes shake {
|
|
119
|
+
|
|
120
|
+
0%,
|
|
121
|
+
100% {
|
|
122
|
+
transform: translateX(0)
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
10% {
|
|
126
|
+
transform: translateX(-9px)
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
20% {
|
|
130
|
+
transform: translateX(8px)
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
30% {
|
|
134
|
+
transform: translateX(-7px)
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
40% {
|
|
138
|
+
transform: translateX(6px)
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
50% {
|
|
142
|
+
transform: translateX(-5px)
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
60% {
|
|
146
|
+
transform: translateX(4px)
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
70% {
|
|
150
|
+
transform: translateX(-3px)
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
80% {
|
|
154
|
+
transform: translateX(2px)
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
90% {
|
|
158
|
+
transform: translateX(-1px)
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
@keyframes slide-left {
|
|
163
|
+
0% {
|
|
164
|
+
opacity: 0;
|
|
165
|
+
transform: translateX(-100%)
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
100% {
|
|
169
|
+
opacity: 1;
|
|
170
|
+
transform: translateX(0)
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
@keyframes slide-right {
|
|
175
|
+
0% {
|
|
176
|
+
opacity: 0;
|
|
177
|
+
transform: translateX(100%)
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
100% {
|
|
181
|
+
opacity: 1;
|
|
182
|
+
transform: translateX(0)
|
|
183
|
+
}
|
|
184
|
+
}
|