@zyzgroup/core-web 0.0.31 → 0.0.33
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/dist/animate.css +4138 -0
- package/dist/animation.css +63 -0
- package/dist/better.css +342 -0
- package/dist/flex.css +105 -0
- package/dist/font.css +53 -0
- package/dist/grid.css +193 -0
- package/dist/rem_1080.css +81 -0
- package/dist/rem_1920.css +81 -0
- package/dist/rem_640.css +61 -0
- package/dist/rem_720.css +66 -0
- package/dist/rem_750.css +71 -0
- package/dist/tailwind.css +3 -0
- package/dist/theme.css +12 -0
- package/dist/transition.css +97 -0
- package/dist/zyzgroup_core_web.iife.js +29 -20
- package/dist/zyzgroup_core_web.iife.js.map +1 -1
- package/dist/zyzgroup_core_web.js +5068 -4865
- package/dist/zyzgroup_core_web.js.map +1 -1
- package/dist/zyzgroup_core_web.umd.cjs +29 -20
- package/dist/zyzgroup_core_web.umd.cjs.map +1 -1
- package/package.json +4 -2
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -1
- package/types/jweixin-1.6.0.d.ts +1 -0
- package/types/jweixin-1.6.0.d.ts.map +1 -0
- package/types/shape/AnimateOperation.d.ts +28 -93
- package/types/shape/AnimateOperation.d.ts.map +1 -1
- package/types/shape/Point.d.ts +3 -3
- package/types/shape/Point.d.ts.map +1 -1
- package/types/shape/Rect.d.ts +3 -3
- package/types/shape/Rect.d.ts.map +1 -1
- package/types/shape/SportBase.d.ts +46 -0
- package/types/shape/SportBase.d.ts.map +1 -0
- package/types/shape/lib/Matrix.d.ts +1 -0
- package/types/shape/lib/Matrix.d.ts.map +1 -1
- package/types/url.d.ts +19 -2
- package/types/url.d.ts.map +1 -1
- package/types/wxJSSDK.d.ts +181 -0
- package/types/wxJSSDK.d.ts.map +1 -0
- package/types/shape/AnimateBase.d.ts +0 -46
- package/types/shape/AnimateBase.d.ts.map +0 -1
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
@import url(./animate.css);
|
|
3
|
+
|
|
4
|
+
:root {
|
|
5
|
+
--animation-name: bounce;
|
|
6
|
+
--animation-duration: 300ms;
|
|
7
|
+
--animation-timing-function: cubic-bezier(0.1, 0.25, 1, 0.25);
|
|
8
|
+
--animation-delay: 0;
|
|
9
|
+
--animation-iteration-count: 1;
|
|
10
|
+
--animation-fill-mode: forwards;
|
|
11
|
+
--animation-direction: normal;
|
|
12
|
+
--animation-play-state: running;
|
|
13
|
+
}
|
|
14
|
+
.animation {
|
|
15
|
+
animation: var(--animation-name) var(--animation-duration)
|
|
16
|
+
var(--animation-timing-function) var(--animation-delay)
|
|
17
|
+
var(--animation-iteration-count) var(--animation-fill-mode)
|
|
18
|
+
var(--animation-direction) var(--animation-play-state);
|
|
19
|
+
}
|
|
20
|
+
.animation.infinite {
|
|
21
|
+
--animation-iteration-count: infinite;
|
|
22
|
+
animation-iteration-count: var(--animation-iteration-count);
|
|
23
|
+
}
|
|
24
|
+
.animation.repeat-1 {
|
|
25
|
+
--animation-iteration-count: 1;
|
|
26
|
+
animation-iteration-count: var(--animation-iteration-count);
|
|
27
|
+
}
|
|
28
|
+
.animation.repeat-2 {
|
|
29
|
+
--animation-iteration-count: 2;
|
|
30
|
+
animation-iteration-count: var(--animation-iteration-count);
|
|
31
|
+
}
|
|
32
|
+
.animation.repeat-3 {
|
|
33
|
+
--animation-iteration-count: 3;
|
|
34
|
+
animation-iteration-count: var(--animation-iteration-count);
|
|
35
|
+
}
|
|
36
|
+
.animation.delay-1s {
|
|
37
|
+
--animation-delay: 1s;
|
|
38
|
+
animation-delay: var(--animation-delay);
|
|
39
|
+
}
|
|
40
|
+
.animation.delay-2s {
|
|
41
|
+
--animation-delay: 2s;
|
|
42
|
+
animation-delay: var(--animation-delay);
|
|
43
|
+
}
|
|
44
|
+
.animation.delay-3s {
|
|
45
|
+
--animation-delay: 3s;
|
|
46
|
+
animation-delay: var(--animation-delay);
|
|
47
|
+
}
|
|
48
|
+
.animation.delay-4s {
|
|
49
|
+
--animation-delay: 4s;
|
|
50
|
+
animation-delay: var(--animation-delay);
|
|
51
|
+
}
|
|
52
|
+
.animation.delay-5s {
|
|
53
|
+
--animation-delay: 5s;
|
|
54
|
+
animation-delay: var(--animation-delay);
|
|
55
|
+
}
|
|
56
|
+
.animation.faster {
|
|
57
|
+
--animation-duration: calc(var(--animation-duration) / 2);
|
|
58
|
+
animation-duration: var(--animation-duration);
|
|
59
|
+
}
|
|
60
|
+
.animation.slower {
|
|
61
|
+
--animation-duration: calc(var(--animation-duration) * 2);
|
|
62
|
+
animation-duration: var(--animation-duration);
|
|
63
|
+
}
|
package/dist/better.css
ADDED
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--min-font-size: 16;
|
|
5
|
+
--max-font-size: 24;
|
|
6
|
+
--viewport-min: 375;
|
|
7
|
+
--viewport-max: 768;
|
|
8
|
+
--font-size: calc(
|
|
9
|
+
var(--min-font-size) * 1px + (var(--max-font-size) - var(--min-font-size)) *
|
|
10
|
+
(100vw /* or 100cqw */ - var(--viewport-min) * 1px) /
|
|
11
|
+
(var(--viewport-max) - var(--viewport-min))
|
|
12
|
+
);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
*,
|
|
16
|
+
*::before,
|
|
17
|
+
*::after {
|
|
18
|
+
box-sizing: border-box;
|
|
19
|
+
margin: 0;
|
|
20
|
+
padding: 0;
|
|
21
|
+
/* 去掉点击时的蓝色外边框和灰色半透明背景 */
|
|
22
|
+
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
23
|
+
}
|
|
24
|
+
*[hide] {
|
|
25
|
+
display: none;
|
|
26
|
+
}
|
|
27
|
+
*[disabled] {
|
|
28
|
+
opacity: 0.5;
|
|
29
|
+
pointer-events: none;
|
|
30
|
+
}
|
|
31
|
+
/* Anything that has been anchored to should have extra scroll margin */
|
|
32
|
+
:target {
|
|
33
|
+
scroll-margin-block: 5ex;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
html {
|
|
37
|
+
font-family: system-ui, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI",
|
|
38
|
+
"PingFang SC", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans",
|
|
39
|
+
"Helvetica Neue", sans-serif;
|
|
40
|
+
|
|
41
|
+
font-size: 16px;
|
|
42
|
+
line-height: 1.3;
|
|
43
|
+
|
|
44
|
+
text-rendering: optimizeLegibility;
|
|
45
|
+
-webkit-font-smoothing: antialiased;
|
|
46
|
+
-moz-osx-font-smoothing: grayscale;
|
|
47
|
+
/* 字体不会随着网页放大而变大, 自从chrome 27之后,就取消了对这个属性的支持。同时,该属性只对英文、数字生效,对中文不生效 */
|
|
48
|
+
text-size-adjust: none;
|
|
49
|
+
|
|
50
|
+
background-color: #ffffff;
|
|
51
|
+
color: #333333;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
body {
|
|
55
|
+
font-size: clamp(
|
|
56
|
+
var(--min-font-size) * 1px,
|
|
57
|
+
var(--font-size),
|
|
58
|
+
var(--max-font-size) * 1px
|
|
59
|
+
);
|
|
60
|
+
|
|
61
|
+
transition: color 0.3s, background-color 0.3s;
|
|
62
|
+
|
|
63
|
+
position: relative;
|
|
64
|
+
min-width: 100%;
|
|
65
|
+
min-width: 100vw;
|
|
66
|
+
min-height: 100%;
|
|
67
|
+
min-height: 100vh;
|
|
68
|
+
|
|
69
|
+
/*局部滚动使用弹性滚动效果*/
|
|
70
|
+
-webkit-overflow-scrolling: touch;
|
|
71
|
+
/* constant 函数兼容 iOS 11.2 以下*/
|
|
72
|
+
padding-top: constant(safe-area-inset-top);
|
|
73
|
+
padding-bottom: constant(safe-area-inset-bottom);
|
|
74
|
+
padding-left: constant(safe-area-inset-left);
|
|
75
|
+
padding-right: constant(safe-area-inset-right);
|
|
76
|
+
/* env 函数兼容 iOS 11.2 */
|
|
77
|
+
padding-top: env(safe-area-inset-top);
|
|
78
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
79
|
+
padding-left: env(safe-area-inset-left);
|
|
80
|
+
padding-right: env(safe-area-inset-right);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
a,
|
|
84
|
+
a:link,
|
|
85
|
+
a:visited,
|
|
86
|
+
a:hover,
|
|
87
|
+
a:active {
|
|
88
|
+
/* 禁止长按链接与图片弹出菜单 */
|
|
89
|
+
-webkit-touch-callout: none;
|
|
90
|
+
text-decoration: none;
|
|
91
|
+
}
|
|
92
|
+
a:focus {
|
|
93
|
+
outline: none;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
img,
|
|
97
|
+
picture {
|
|
98
|
+
display: block;
|
|
99
|
+
max-width: 100%;
|
|
100
|
+
border: 0 none;
|
|
101
|
+
object-fit: cover;
|
|
102
|
+
background-color: #808080;
|
|
103
|
+
/* 禁止长按链接与图片弹出菜单 */
|
|
104
|
+
-webkit-touch-callout: none;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
pre {
|
|
108
|
+
max-width: 100%;
|
|
109
|
+
overflow: hidden;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
table {
|
|
113
|
+
border-collapse: collapse;
|
|
114
|
+
border-spacing: 0;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
ul,
|
|
118
|
+
ol {
|
|
119
|
+
list-style: none;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
input::-ms-clear {
|
|
123
|
+
display: none !important;
|
|
124
|
+
}
|
|
125
|
+
input,
|
|
126
|
+
button,
|
|
127
|
+
textarea,
|
|
128
|
+
select {
|
|
129
|
+
outline: none;
|
|
130
|
+
font: inherit;
|
|
131
|
+
}
|
|
132
|
+
textarea {
|
|
133
|
+
/* increase the height of the textarea automatically based on the amount of text the user enters */
|
|
134
|
+
form-sizing: normal;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
/* Balance text wrapping on headings */
|
|
138
|
+
h1,
|
|
139
|
+
h2,
|
|
140
|
+
h3,
|
|
141
|
+
h4 {
|
|
142
|
+
text-wrap: balance;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/*
|
|
146
|
+
清除浮动
|
|
147
|
+
浮动特性
|
|
148
|
+
1. 只会影响后面的元素
|
|
149
|
+
2. 文本不会被浮动元素覆盖
|
|
150
|
+
3. 具备内联盒子特性:宽度由内容局定
|
|
151
|
+
4. 具备块级盒子特性:支持所有样式
|
|
152
|
+
5. 浮动放不下,会自动换行
|
|
153
|
+
*/
|
|
154
|
+
.clearfix::after {
|
|
155
|
+
content: "";
|
|
156
|
+
display: block;
|
|
157
|
+
clear: both;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.truncate {
|
|
161
|
+
overflow: hidden;
|
|
162
|
+
text-overflow: ellipsis;
|
|
163
|
+
white-space: nowrap;
|
|
164
|
+
word-wrap: normal;
|
|
165
|
+
word-break: break-all;
|
|
166
|
+
}
|
|
167
|
+
/* 基于高度截断 */
|
|
168
|
+
.truncate-twoline {
|
|
169
|
+
line-height: 20px;
|
|
170
|
+
height: 40px;
|
|
171
|
+
position: relative;
|
|
172
|
+
overflow: hidden;
|
|
173
|
+
word-wrap: normal;
|
|
174
|
+
word-break: break-all;
|
|
175
|
+
}
|
|
176
|
+
.truncate-twoline::after {
|
|
177
|
+
content: "...";
|
|
178
|
+
position: absolute;
|
|
179
|
+
bottom: 0;
|
|
180
|
+
right: 0;
|
|
181
|
+
padding: 0 20px 0 10px;
|
|
182
|
+
background: linear-gradient(to right, transparent, #fff 55%);
|
|
183
|
+
}
|
|
184
|
+
/* 基于行数截断 */
|
|
185
|
+
.text-ellipsis-twoline {
|
|
186
|
+
overflow: hidden;
|
|
187
|
+
text-overflow: ellipsis;
|
|
188
|
+
display: -webkit-box;
|
|
189
|
+
-webkit-line-clamp: 2;
|
|
190
|
+
-webkit-box-orient: vertical;
|
|
191
|
+
word-wrap: normal;
|
|
192
|
+
word-break: break-all;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.text-hide {
|
|
196
|
+
font: 0/0;
|
|
197
|
+
color: transparent;
|
|
198
|
+
text-indent: -9999px;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.font-10 {
|
|
202
|
+
font-size: 12px;
|
|
203
|
+
display: inline-block;
|
|
204
|
+
/* 触发重排 */
|
|
205
|
+
/* zoom: 0.83; */
|
|
206
|
+
-webkit-transform: scale(0.83);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.modal-underground-no-scroll-1 {
|
|
210
|
+
overflow: hidden;
|
|
211
|
+
}
|
|
212
|
+
.modal-underground-no-scroll-2 {
|
|
213
|
+
position: fixed;
|
|
214
|
+
/* 计算top */
|
|
215
|
+
}
|
|
216
|
+
.modal-underground-scroll-2 {
|
|
217
|
+
position: static;
|
|
218
|
+
top: auto;
|
|
219
|
+
}
|
|
220
|
+
.modal-underground {
|
|
221
|
+
transition: 0.6s filter;
|
|
222
|
+
filter: blur(5px);
|
|
223
|
+
}
|
|
224
|
+
.modal-mask {
|
|
225
|
+
position: absolute;
|
|
226
|
+
top: 0;
|
|
227
|
+
left: 0;
|
|
228
|
+
width: 100%;
|
|
229
|
+
height: 100%;
|
|
230
|
+
background: rgba(0, 0, 0, 0.6);
|
|
231
|
+
z-index: 10000;
|
|
232
|
+
}
|
|
233
|
+
.modal-content {
|
|
234
|
+
/* avoid scroll chaining */
|
|
235
|
+
overscroll-behavior-y: contain;
|
|
236
|
+
/* the scrollbar will only be visible if the content is long */
|
|
237
|
+
overflow-y: auto;
|
|
238
|
+
scrollbar-gutter: stable;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.one-pixel-line {
|
|
242
|
+
display: block;
|
|
243
|
+
position: relative;
|
|
244
|
+
}
|
|
245
|
+
.one-pixel-line::before {
|
|
246
|
+
content: "";
|
|
247
|
+
display: block;
|
|
248
|
+
position: absolute;
|
|
249
|
+
top: 0;
|
|
250
|
+
left: 0;
|
|
251
|
+
width: 100%;
|
|
252
|
+
transform-origin: 0 0;
|
|
253
|
+
border-top: 1px solid #000000;
|
|
254
|
+
}
|
|
255
|
+
/* @media (min-device-pixel-ratio: 2) { */
|
|
256
|
+
@media (min-resolution: 2dppx) {
|
|
257
|
+
.one-pixel-line::before {
|
|
258
|
+
width: 200%;
|
|
259
|
+
transform: scale(0.5) translateZ(0);
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
/* @media (min-device-pixel-ratio: 3) { */
|
|
263
|
+
@media (min-resolution: 3dppx) {
|
|
264
|
+
.one-pixel-line::before {
|
|
265
|
+
width: 300%;
|
|
266
|
+
transform: scale(0.333333) translateZ(0);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.border-sample {
|
|
271
|
+
border: 5px solid #b4a078;
|
|
272
|
+
outline: 6px solid #b4a078;
|
|
273
|
+
outline-offset: -10px;
|
|
274
|
+
box-shadow: 0 0 0 10px #b4a078;
|
|
275
|
+
box-shadow: 0 0 0 0.3em #e8e2d6, 0 0 0 0.6em #e1d9c9, 0 0 0 1em #d9cfbb,
|
|
276
|
+
0 0 0 1.3em #d2c6ae, 0 0 0 1.6em #cabca0, 0 0 0 2em #c3b393,
|
|
277
|
+
0 0 0 2.3em #bba985, 0 0 0 2em #b4a078;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
@supports (display: grid) {
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
@supports not (display: grid) {
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
/*
|
|
287
|
+
While scrolling in a page, your finger can accidentally do a half-tap which will trigger the hover state of a specific element.
|
|
288
|
+
While the user is scrolling, a hover was triggered. At this point, the user didn't mean to do that at all since there is no hover on mobile.
|
|
289
|
+
The solution for this is to use the hover media query. It's possible to detect if the user's current input tool (trackpad vs mouse) can hover over elements.
|
|
290
|
+
https://developer.mozilla.org/en-US/docs/Web/CSS/@media/hover
|
|
291
|
+
*/
|
|
292
|
+
@media (hover: hover) {
|
|
293
|
+
/* .card:hover {
|
|
294
|
+
background-color: gray;
|
|
295
|
+
} */
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
@media (prefers-color-scheme: dark) {
|
|
299
|
+
:root {
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
@media (prefers-color-scheme: light) {
|
|
303
|
+
:root {
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
/* 设备断点 */
|
|
308
|
+
|
|
309
|
+
@media (max-width: 375px) {
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
@media (max-width: 640px) {
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/* 移动设备断点 */
|
|
316
|
+
@media (max-width: 768px) {
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
/* 桌面电脑断点 */
|
|
320
|
+
@media (max-width: 1024px) {
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
@media (min-width: 1216px) {
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
@media (max-width: 1280px) {
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
@media (max-width: 1408px) {
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
@media (max-width: 1536px) {
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
@media (max-width: 1792px) {
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
@media (max-width: 2048px) {
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
@media (max-width: 2404px) {
|
|
342
|
+
}
|
package/dist/flex.css
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/*
|
|
2
|
+
If a flex item has a text element or an image that is bigger than the item itself, the browser won’t shrink them. That is the default behavior for flexbox.
|
|
3
|
+
To change that default behavior, we need to set the min-width of the flex item to 0.
|
|
4
|
+
That’s because the min-width default value is auto, the overflow happens.
|
|
5
|
+
The same thing applies to a column flex wrapper, but we will use min-height: 0 instead.
|
|
6
|
+
*/
|
|
7
|
+
.flex-overflow {
|
|
8
|
+
overflow-wrap: break-word;
|
|
9
|
+
min-width: 0;
|
|
10
|
+
min-height: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/*
|
|
14
|
+
flex布局造成子元素的height值不确定,从而无法设置滚动问题
|
|
15
|
+
- 解决方法
|
|
16
|
+
- 每一个父级元素都必须设置为display: flex
|
|
17
|
+
- 每一个父级元素都必须设置为overflow: auto
|
|
18
|
+
- 自己本身也必须设置为overflow: auto
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
.flex-container {
|
|
22
|
+
display: flex;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.flex-container-inline {
|
|
26
|
+
display: inline-flex;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* Flex容器属性 */
|
|
30
|
+
|
|
31
|
+
/* 方向 */
|
|
32
|
+
.flex-direction {
|
|
33
|
+
/* flex-direction: row || column || row-reverse || column-reverse; */
|
|
34
|
+
flex-direction: row;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* 换行 */
|
|
38
|
+
.flex-wrap {
|
|
39
|
+
/* flex-wrap: wrap || nowrap || wrap-reverse; */
|
|
40
|
+
flex-wrap: wrap;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.flex-flow {
|
|
44
|
+
/* flex-flow:flex-direction flex-wrap; */
|
|
45
|
+
flex-flow: row wrap;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/* Flex项目在Main-Axis上的对齐方式 */
|
|
49
|
+
.justify-content {
|
|
50
|
+
/* justify-content: flex-start || flex-end || center || space-between || space-around || space-evenly; */
|
|
51
|
+
justify-content: flex-start;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* Flex项目在Cross-Axis对齐方式 */
|
|
55
|
+
.align-items {
|
|
56
|
+
/* align-items: flex-start || flex-end || center || stretch || baseline; */
|
|
57
|
+
align-items: stretch;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/* align-content属性定义了多根轴线的对齐方式。如果项目只有一根轴线,该属性不起作用。 */
|
|
61
|
+
.align-content {
|
|
62
|
+
/* align-content: flex-start | flex-end | center | space-between | space-around | stretch; */
|
|
63
|
+
align-content: stretch;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/* Flex项目属性 float, clear and vertical-align have no effect on a flex item. */
|
|
67
|
+
|
|
68
|
+
/* 根据order值重新排序,从低到高 */
|
|
69
|
+
.order {
|
|
70
|
+
/* order:0 || positive number; */
|
|
71
|
+
order: 0;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* flex-grow属性定义项目的放大比例,默认为0,即如果存在剩余空间,也不放大。 */
|
|
75
|
+
.flex-grow {
|
|
76
|
+
/* flex-grow:0 || positive number; */
|
|
77
|
+
flex-grow: 0;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/* flex-shrink属性定义了项目的缩小比例,默认为1,即如果空间不足,该项目将缩小。 */
|
|
81
|
+
/* 如果所有项目的flex-shrink属性都为1,当空间不足时,都将等比例缩小。如果一个项目的flex-shrink属性为0,其他项目都为1,则空间不足时,前者不缩小。 */
|
|
82
|
+
/* 负值对该属性无效 */
|
|
83
|
+
.flex-shrink {
|
|
84
|
+
/* flex-shrink:0 || positive number; */
|
|
85
|
+
flex-shrink: 1;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.flex-basis {
|
|
89
|
+
/* flex-basis:% || em || rem || px; */
|
|
90
|
+
flex-basis: auto;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/* flex属性是flex-grow, flex-shrink 和 flex-basis的简写,默认值为0 1 auto。后两个属性可选。 */
|
|
94
|
+
/* 建议优先使用这个属性,而不是单独写三个分离的属性,因为浏览器会推算相关值。 */
|
|
95
|
+
/* 该属性有两个快捷值:auto (1 1 auto) 和 none (0 0 auto) */
|
|
96
|
+
.flex {
|
|
97
|
+
/* flex:flex-grow flex-shrink flex-basis; */
|
|
98
|
+
flex: 0 1 auto;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* the one specified by align-items */
|
|
102
|
+
.align-self {
|
|
103
|
+
/* align-self: auto | flex-start | flex-end | center | baseline | stretch; */
|
|
104
|
+
align-self: auto;
|
|
105
|
+
}
|
package/dist/font.css
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
https://transfonter.org/
|
|
3
|
+
选择 Base64 encode
|
|
4
|
+
*/
|
|
5
|
+
@font-face {
|
|
6
|
+
font-family: "D-DINExp-Bold-number";
|
|
7
|
+
src: url("data:font/woff2;charset=utf-8;base64,d09GMgABAAAAAATYAA4AAAAACbAAAASAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cGh4GYACCQggEEQgKhzCGEwscAAE2AiQDNAQgBYQfBzwbAwjIjtLUsE1S5uUgoDIIN2s2CZaQqoYz2mujNRegAl5x7l7UhKfv79nZ/W+CAMMCDQNNtKgSDz0MMI/sGnEqJ6EQ/F08IrmKVmSsZaU5aQ0sl8oV3eN80gQvFqNalg7O2yV1NPkoAASAVy+xGgHgw6STd/jrnwoCMANiABSCMCMYAAVgmkBOgA6oN3UPgGPAaPKHGgqg6DbwXIJX7beaaexAUbAJ/+cb7L3gkjMFBEAj+qToUDEa8bIZAoDB5BXM/wBlRMPLFbSRXWmSjnQABRFMROml0xseP/gBAN5n6SoAMoMCAB4AJADCgZwA8gIAAAxAQgEACsEkzgY0ajE8b0hRQ3dFmA1JIbzm53Q804tene0jwde5o18Fdl5hj/r4dUKCrx31CrDzKjfWTfo4hu2z3X0zIcHn2KOeAdiMUmxucTcP8+81QjjsPMsd/XKKnizhjn4ekiC2/Cer/4aLBRszGeL6OcKBK6p6iSm8I46leZg93yIJbw72ZTVcHtC+nq7/US8AOy/OY3g/ZiYpvK8X3aWrXhdk9VF3Gt/qiqSJ1jdzhjjbJexRpKzc7u5+9m3sVJazTGd9Ljze/7iU++Nrq4F1r9+3vvrapm/b/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bGd1oe8KqVS80ApdWbbD5ExVBcAAHjaY2BiAIP/zQxGDNgALxAzMjAxCDOIMIgyiDGIM0gwSDJIMUgzyAAAYlICsgAAAAAAAAH//wACeNpjYGRgYOABYjEgZmJgBEIeIGYB8xgABCIAO3jaY2BgYGQAgqtL1DlA9EOZyQ1QeioAO9wF3wA=")
|
|
10
|
+
format("woff");
|
|
11
|
+
font-weight: normal;
|
|
12
|
+
font-style: normal;
|
|
13
|
+
font-display: swap;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.iconfont {
|
|
17
|
+
font-family: "AppIcons" !important;
|
|
18
|
+
font-size: 16px;
|
|
19
|
+
line-height: 24px;
|
|
20
|
+
font-weight: normal;
|
|
21
|
+
font-style: normal;
|
|
22
|
+
font-variant: normal;
|
|
23
|
+
text-transform: none;
|
|
24
|
+
font-synthesis: none;
|
|
25
|
+
text-rendering: optimizeLegibility;
|
|
26
|
+
-webkit-font-smoothing: antialiased;
|
|
27
|
+
-moz-osx-font-smoothing: grayscale;
|
|
28
|
+
-webkit-text-size-adjust: 100%;
|
|
29
|
+
}
|
|
30
|
+
@font-face {
|
|
31
|
+
font-family: "AppIcons";
|
|
32
|
+
src: url("../../assets/fonts/AppIcons/AppIcons.ttf") format("truetype");
|
|
33
|
+
font-weight: normal;
|
|
34
|
+
font-style: normal;
|
|
35
|
+
}
|
|
36
|
+
/* .icon-yycar::before {
|
|
37
|
+
content: "\e808";
|
|
38
|
+
color: gray;
|
|
39
|
+
} */
|
|
40
|
+
/* @font-face {
|
|
41
|
+
font-family: "AppIcons";
|
|
42
|
+
src: url("../../assets/fonts/fzy3fw_tw/AppIcons-webfont.eot");
|
|
43
|
+
src: url("../../assets/fonts/fzy3fw_tw/AppIcons-webfont.eot?#iefix")
|
|
44
|
+
format("embedded-opentype"),
|
|
45
|
+
url("../../assets/fonts/fzy3fw_tw/AppIcons-webfont.otf") format("opentype"),
|
|
46
|
+
url("../../assets/fonts/fzy3fw_tw/AppIcons-webfont.woff2") format("woff2"),
|
|
47
|
+
url("../../assets/fonts/fzy3fw_tw/AppIcons-webfont.woff") format("woff"),
|
|
48
|
+
url("../../assets/fonts/fzy3fw_tw/AppIcons-webfont.ttf") format("truetype"),
|
|
49
|
+
url("../../assets/fonts/fzy3fw_tw/AppIcons-webfont.svg#fzzhunyuan-m02tregular")
|
|
50
|
+
format("svg");
|
|
51
|
+
font-weight: normal;
|
|
52
|
+
font-style: normal;
|
|
53
|
+
} */
|