aibox-css-legacy 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 +42 -0
- package/custom.scss +386 -0
- package/fonts/AlibabaPuHuiTi-3-55-Regular.woff +0 -0
- package/fonts/AlibabaPuHuiTi-3-55-Regular.woff2 +0 -0
- package/index.scss +3 -0
- package/package.json +41 -0
- package/reset.scss +31 -0
- package/root.scss +151 -0
package/README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# aibox-css-legacy
|
|
2
|
+
|
|
3
|
+
Legacy styles for Aibox Icons collection.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install aibox-css-legacy
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
### Import main styles
|
|
14
|
+
|
|
15
|
+
```scss
|
|
16
|
+
@use '@color-message/aibox-legacy' as *;
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
### Import specific styles
|
|
20
|
+
|
|
21
|
+
```scss
|
|
22
|
+
// Import reset styles
|
|
23
|
+
@use '@color-message/aibox-legacy/reset' as *;
|
|
24
|
+
|
|
25
|
+
// Import custom styles
|
|
26
|
+
@use '@color-message/aibox-legacy/custom' as *;
|
|
27
|
+
|
|
28
|
+
// Import root variables
|
|
29
|
+
@use '@color-message/aibox-legacy/root' as *;
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Files
|
|
33
|
+
|
|
34
|
+
- `index.scss` - Main entry point, imports all styles
|
|
35
|
+
- `reset.scss` - CSS reset styles
|
|
36
|
+
- `custom.scss` - Custom component styles
|
|
37
|
+
- `root.scss` - Root variables and configuration
|
|
38
|
+
- `fonts/` - Font files
|
|
39
|
+
|
|
40
|
+
## License
|
|
41
|
+
|
|
42
|
+
MIT
|
package/custom.scss
ADDED
|
@@ -0,0 +1,386 @@
|
|
|
1
|
+
.no-select {
|
|
2
|
+
-webkit-user-select: none; /* Safari */
|
|
3
|
+
-moz-user-select: none; /* Firefox */
|
|
4
|
+
-ms-user-select: none; /* IE/Edge */
|
|
5
|
+
user-select: none; /* 标准语法 */
|
|
6
|
+
}
|
|
7
|
+
.max-w-120 {
|
|
8
|
+
max-width: 120px;
|
|
9
|
+
}
|
|
10
|
+
.max-w-200 {
|
|
11
|
+
max-width: 200px;
|
|
12
|
+
}
|
|
13
|
+
.ellipsis {
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
text-overflow: ellipsis;
|
|
16
|
+
white-space: nowrap;
|
|
17
|
+
}
|
|
18
|
+
.custom-message-box {
|
|
19
|
+
&__title {
|
|
20
|
+
font-size: var(--font-size-m);
|
|
21
|
+
color: var(--color-text-base);
|
|
22
|
+
line-height: 20px;
|
|
23
|
+
}
|
|
24
|
+
&__tip {
|
|
25
|
+
font-size: var(--font-size-s);
|
|
26
|
+
color: var(--color-text-light1);
|
|
27
|
+
line-height: 17px;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
.el-tag {
|
|
31
|
+
border: 0;
|
|
32
|
+
border-radius: 8px;
|
|
33
|
+
font-size: 12px;
|
|
34
|
+
|
|
35
|
+
&.el-tag--primary {
|
|
36
|
+
--el-tag-bg-color: var(--primary-color-5);
|
|
37
|
+
--el-tag-hover-color: var(--primary-color-1);
|
|
38
|
+
--el-tag-text-color: var(--primary-color-1);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.el-tag--success {
|
|
42
|
+
--el-tag-bg-color: var(--success-color-2);
|
|
43
|
+
--el-tag-hover-color: var(--success-color-1);
|
|
44
|
+
--el-tag-text-color: var(--success-color-1);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&.el-tag--info {
|
|
48
|
+
--el-tag-bg-color: var(--background-color-8);
|
|
49
|
+
--el-tag-hover-color: var(--text-color-4);
|
|
50
|
+
--el-tag-text-color: var(--text-color-4);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&.el-tag--warning {
|
|
54
|
+
--el-tag-bg-color: var(--warning-color-2);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&.el-tag--danger {
|
|
58
|
+
--el-tag-bg-color: var(--error-color-5);
|
|
59
|
+
--el-tag-hover-color: var(--error-color-1);
|
|
60
|
+
--el-tag-text-color: var(--error-color-1);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
.el-message {
|
|
64
|
+
padding: 14px;
|
|
65
|
+
.el-message__icon {
|
|
66
|
+
width: 22px;
|
|
67
|
+
height: 22px;
|
|
68
|
+
svg {
|
|
69
|
+
width: 100%;
|
|
70
|
+
height: 100%;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&.el-message--success {
|
|
75
|
+
--el-message-border-color: var(--success-color-1);
|
|
76
|
+
--el-message-text-color: var(--text-color-2);
|
|
77
|
+
background: linear-gradient(180deg, var(--success-color-2) 0%, var(--background-color-2) 100%);
|
|
78
|
+
|
|
79
|
+
.el-message-icon--success {
|
|
80
|
+
color: var(--success-color-1);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&.el-message--warning {
|
|
85
|
+
--el-message-border-color: var(--warning-color-1);
|
|
86
|
+
--el-message-text-color: var(--text-color-2);
|
|
87
|
+
background: linear-gradient(180deg, var(--warning-color-2) 0%, var(--background-color-2) 100%);
|
|
88
|
+
|
|
89
|
+
.el-message-icon--warning {
|
|
90
|
+
color: var(--warning-color-1);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&.el-message--error {
|
|
95
|
+
--el-message-border-color: var(--error-color-7);
|
|
96
|
+
--el-message-text-color: var(--text-color-2);
|
|
97
|
+
background: linear-gradient(180deg, var(--error-color-5) 0%, var(--background-color-2) 100%);
|
|
98
|
+
|
|
99
|
+
.el-message-icon--error {
|
|
100
|
+
color: var(--error-color-7);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
.success-status,
|
|
105
|
+
.fail-status,
|
|
106
|
+
.pending-status,
|
|
107
|
+
.waiting-status {
|
|
108
|
+
font-size: var(--font-size-s);
|
|
109
|
+
padding: 2px 8px;
|
|
110
|
+
border-radius: 4px 4px 4px 4px;
|
|
111
|
+
}
|
|
112
|
+
.success-status {
|
|
113
|
+
color: var(--el-color-success);
|
|
114
|
+
border: 1px solid var(--el-color-success-light-5);
|
|
115
|
+
background: var(--el-color-success-light-9);
|
|
116
|
+
}
|
|
117
|
+
.fail-status {
|
|
118
|
+
color: var(--el-color-danger);
|
|
119
|
+
background: var(--el-color-danger-light-9);
|
|
120
|
+
border: 1px solid var(--el-color-danger-light-5);
|
|
121
|
+
}
|
|
122
|
+
.pending-status {
|
|
123
|
+
color: var(--el-color-primary);
|
|
124
|
+
background: var(--el-color-primary-light-9);
|
|
125
|
+
border: 1px solid var(--el-color-primary-light-5);
|
|
126
|
+
}
|
|
127
|
+
.waiting-status {
|
|
128
|
+
color: var(--el-color-warning);
|
|
129
|
+
background: var(--el-color-warning-light-9);
|
|
130
|
+
border: 1px solid var(--el-color-warning-light-5);
|
|
131
|
+
}
|
|
132
|
+
.question-circle {
|
|
133
|
+
display: flex;
|
|
134
|
+
align-items: center;
|
|
135
|
+
justify-content: center;
|
|
136
|
+
width: 14px;
|
|
137
|
+
height: 14px;
|
|
138
|
+
color: var(--color-text-light1);
|
|
139
|
+
font-size: var(--font-size-s);
|
|
140
|
+
border: 1px solid var(--color-text-light1);
|
|
141
|
+
border-radius: 50%;
|
|
142
|
+
margin-left: 8px;
|
|
143
|
+
}
|
|
144
|
+
.text-linear-gradient {
|
|
145
|
+
background: linear-gradient(to right, var(--el-color-primary), var(--el-color-primary-dark-1));
|
|
146
|
+
-webkit-background-clip: text;
|
|
147
|
+
background-clip: text;
|
|
148
|
+
-webkit-text-fill-color: transparent;
|
|
149
|
+
color: transparent;
|
|
150
|
+
}
|
|
151
|
+
.el-input {
|
|
152
|
+
.el-input__wrapper {
|
|
153
|
+
box-shadow: 0 0 0 1px var(--color-wrapper-shadow) inset;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
.el-select {
|
|
157
|
+
.el-select__wrapper {
|
|
158
|
+
box-shadow: 0 0 0 1px var(--color-wrapper-shadow) inset;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
.el-message-box {
|
|
162
|
+
padding: 20px 24px !important;
|
|
163
|
+
.el-message-box__headerbtn {
|
|
164
|
+
top: 10px;
|
|
165
|
+
right: 9px;
|
|
166
|
+
}
|
|
167
|
+
.el-message-box__container {
|
|
168
|
+
align-items: flex-start;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
.el-overlay-dialog {
|
|
172
|
+
display: flex;
|
|
173
|
+
justify-content: center;
|
|
174
|
+
align-items: center;
|
|
175
|
+
.el-dialog {
|
|
176
|
+
margin: 0;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
.custom-input {
|
|
180
|
+
.el-input__wrapper {
|
|
181
|
+
padding-top: 0;
|
|
182
|
+
padding-bottom: 0;
|
|
183
|
+
}
|
|
184
|
+
.el-input__inner {
|
|
185
|
+
height: 26px;
|
|
186
|
+
line-height: 26px;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
.custom-select {
|
|
190
|
+
.el-select__wrapper {
|
|
191
|
+
min-height: 26px;
|
|
192
|
+
}
|
|
193
|
+
.el-select__input {
|
|
194
|
+
height: 26px;
|
|
195
|
+
line-height: 26px;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
.custom-cascader {
|
|
199
|
+
.el-input__wrapper {
|
|
200
|
+
padding: 0 5px;
|
|
201
|
+
font-size: var(--font-size-s);
|
|
202
|
+
}
|
|
203
|
+
.el-input__inner {
|
|
204
|
+
height: 26px;
|
|
205
|
+
line-height: 26px;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
.label-with-icon {
|
|
209
|
+
display: inline-flex;
|
|
210
|
+
align-items: center;
|
|
211
|
+
gap: 2px; // 使用gap替代margin-left,更灵活地控制间距
|
|
212
|
+
.el-icon {
|
|
213
|
+
font-size: var(--font-size-m);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
.el-message-box {
|
|
217
|
+
border-radius: 8px !important;
|
|
218
|
+
}
|
|
219
|
+
.el-form {
|
|
220
|
+
.el-form-item {
|
|
221
|
+
.el-form-item__label,
|
|
222
|
+
.el-radio__label {
|
|
223
|
+
color: var(--color-text-base);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
.custom-search-input {
|
|
228
|
+
.el-input__wrapper {
|
|
229
|
+
box-shadow: none;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
// 开发中的模块,先用这个属性来禁用
|
|
233
|
+
.module-disabled {
|
|
234
|
+
-webkit-filter: grayscale(1);
|
|
235
|
+
filter: grayscale(1);
|
|
236
|
+
pointer-events: none; /* 禁止鼠标事件 */
|
|
237
|
+
color: var(--color-text-light1) !important;
|
|
238
|
+
}
|
|
239
|
+
.module-disabled-input {
|
|
240
|
+
pointer-events: none; /* 禁止鼠标事件 */
|
|
241
|
+
cursor: not-allowed;
|
|
242
|
+
}
|
|
243
|
+
.el-input__inner {
|
|
244
|
+
color: var(--color-text-base);
|
|
245
|
+
}
|
|
246
|
+
.el-button {
|
|
247
|
+
&:not(.el-button--primary):not(.el-button--success):not(.el-button--warning):not(
|
|
248
|
+
.el-button--danger
|
|
249
|
+
):not(.el-button--info) {
|
|
250
|
+
--el-button-bg-color: var(--el-button-common-bgc);
|
|
251
|
+
--el-button-border-color: var(--el-button-common-bgc);
|
|
252
|
+
--el-button-hover-bg-color: var(--background-color-7);
|
|
253
|
+
--el-button-hover-border-color: var(--background-color-7);
|
|
254
|
+
--el-button-active-bg-color: var(--background-color-6);
|
|
255
|
+
--el-button-active-border-color: var(--background-color-6);
|
|
256
|
+
--el-button-text-color: var(--color-text-base);
|
|
257
|
+
}
|
|
258
|
+
font-family:
|
|
259
|
+
'Alibaba PuHuiTi 3-55', 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB',
|
|
260
|
+
'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
// ==================== Markdown Table 样式 ====================
|
|
264
|
+
/**
|
|
265
|
+
* @description 全局 Markdown 表格样式类
|
|
266
|
+
* @usage 在需要渲染 Markdown 表格的元素上添加 .markdown-table 类
|
|
267
|
+
* @example
|
|
268
|
+
* <div class="markdown-table" v-html="markdownToHtml(content)"></div>
|
|
269
|
+
*/
|
|
270
|
+
.markdown-table {
|
|
271
|
+
table {
|
|
272
|
+
border-collapse: collapse;
|
|
273
|
+
width: 100%;
|
|
274
|
+
margin: 10px 0;
|
|
275
|
+
display: block;
|
|
276
|
+
overflow-x: auto;
|
|
277
|
+
border-radius: 4px;
|
|
278
|
+
|
|
279
|
+
// 滚动条样式
|
|
280
|
+
&::-webkit-scrollbar {
|
|
281
|
+
width: 8px;
|
|
282
|
+
height: 8px;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
&::-webkit-scrollbar-thumb {
|
|
286
|
+
border-radius: 4px;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
th,
|
|
290
|
+
td {
|
|
291
|
+
border: 1px solid var(--table-td-border);
|
|
292
|
+
padding: 8px 12px;
|
|
293
|
+
text-align: left;
|
|
294
|
+
min-width: 100px;
|
|
295
|
+
word-break: break-all;
|
|
296
|
+
white-space: nowrap; /* 允许换行 */
|
|
297
|
+
word-break: break-word; /* 单词过长时断行 */
|
|
298
|
+
overflow-wrap: anywhere; /* 任意点换行,避免溢出 */
|
|
299
|
+
max-width: none !important;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
th {
|
|
303
|
+
background-color: var(--table-td-background);
|
|
304
|
+
font-weight: 500;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
tbody tr:hover {
|
|
308
|
+
background-color: var(--table-td-background);
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
// 通用滚动条样式
|
|
313
|
+
::-webkit-scrollbar {
|
|
314
|
+
width: 0px;
|
|
315
|
+
height: 0px;
|
|
316
|
+
}
|
|
317
|
+
// 滚动条样式
|
|
318
|
+
::-webkit-scrollbar-thumb {
|
|
319
|
+
border-radius: 12px;
|
|
320
|
+
background-color: var(--scrollbar-thumb-color);
|
|
321
|
+
}
|
|
322
|
+
//自定义滚动条
|
|
323
|
+
.custom-scrollbar {
|
|
324
|
+
&::-webkit-scrollbar {
|
|
325
|
+
width: 8px;
|
|
326
|
+
height: 8px;
|
|
327
|
+
}
|
|
328
|
+
&::-webkit-scrollbar-thumb {
|
|
329
|
+
border-radius: 4px;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
.style-box-border {
|
|
333
|
+
box-shadow:
|
|
334
|
+
0px 6px 40px 16px rgba(0, 0, 0, 0.02),
|
|
335
|
+
0px 4px 28px 0px rgba(0, 0, 0, 0.02),
|
|
336
|
+
0px 3px 16px -8px rgba(0, 0, 0, 0.04);
|
|
337
|
+
background:
|
|
338
|
+
linear-gradient(
|
|
339
|
+
120deg,
|
|
340
|
+
rgba(98.16371977329254, 173.92362892627716, 255, 1),
|
|
341
|
+
rgba(40.61947077512741, 119.22565519809723, 255, 1),
|
|
342
|
+
rgba(158.52878540754318, 102.67698839306831, 255, 1)
|
|
343
|
+
)
|
|
344
|
+
border-box,
|
|
345
|
+
linear-gradient(#edf1fc, #edf1fc) content-box;
|
|
346
|
+
padding: 0px;
|
|
347
|
+
}
|
|
348
|
+
.debug-detail__select-popper {
|
|
349
|
+
.el-select-dropdown__item {
|
|
350
|
+
padding: 0 30px 0 10px;
|
|
351
|
+
}
|
|
352
|
+
.el-select-dropdown__item.is-selected {
|
|
353
|
+
background-color: var(--el-color-primary-light-9);
|
|
354
|
+
color: var(--el-color-primary);
|
|
355
|
+
.history-option__text,
|
|
356
|
+
.history-option__time {
|
|
357
|
+
color: var(--el-color-primary);
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
.debug-detail-high {
|
|
362
|
+
display: flex;
|
|
363
|
+
align-items: center;
|
|
364
|
+
gap: 4px;
|
|
365
|
+
padding: 4px 8px;
|
|
366
|
+
font-size: 13px;
|
|
367
|
+
color: var(--el-color-primary);
|
|
368
|
+
background: linear-gradient(
|
|
369
|
+
120deg,
|
|
370
|
+
rgba(98, 174, 255, 0.2) 0%,
|
|
371
|
+
rgba(41, 119, 255, 0.2) 49%,
|
|
372
|
+
rgba(159, 103, 255, 0.2) 100%
|
|
373
|
+
);
|
|
374
|
+
border-radius: 8px;
|
|
375
|
+
cursor: pointer;
|
|
376
|
+
}
|
|
377
|
+
.debug-detail-full {
|
|
378
|
+
cursor: pointer;
|
|
379
|
+
display: flex;
|
|
380
|
+
align-items: center;
|
|
381
|
+
gap: 4px;
|
|
382
|
+
}
|
|
383
|
+
.el-icon {
|
|
384
|
+
vertical-align: -0.15em;
|
|
385
|
+
fill: currentColor;
|
|
386
|
+
}
|
|
Binary file
|
|
Binary file
|
package/index.scss
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "aibox-css-legacy",
|
|
3
|
+
"version": "0.0.3",
|
|
4
|
+
"description": "Legacy styles for Aibox Icons collection.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"styles",
|
|
8
|
+
"legacy",
|
|
9
|
+
"scss",
|
|
10
|
+
"aibox"
|
|
11
|
+
],
|
|
12
|
+
"license": "MIT",
|
|
13
|
+
"author": "AI Custom Icon Team",
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "https://github.com/your-org/color-message",
|
|
17
|
+
"directory": "packages/aibox/legacy"
|
|
18
|
+
},
|
|
19
|
+
"bugs": {
|
|
20
|
+
"url": "https://github.com/your-org/color-message/issues"
|
|
21
|
+
},
|
|
22
|
+
"homepage": "https://github.com/your-org/color-message#readme",
|
|
23
|
+
"publishConfig": {
|
|
24
|
+
"access": "public"
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"*.scss",
|
|
28
|
+
"fonts/"
|
|
29
|
+
],
|
|
30
|
+
"exports": {
|
|
31
|
+
".": "./index.scss",
|
|
32
|
+
"./custom": "./custom.scss",
|
|
33
|
+
"./reset": "./reset.scss",
|
|
34
|
+
"./root": "./root.scss"
|
|
35
|
+
},
|
|
36
|
+
"sideEffects": true,
|
|
37
|
+
"scripts": {
|
|
38
|
+
"build": "echo \"aibox-css-legacy: no build step needed\"",
|
|
39
|
+
"pub": "pnpm publish --no-git-checks"
|
|
40
|
+
}
|
|
41
|
+
}
|
package/reset.scss
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
* {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
margin: 0;
|
|
4
|
+
padding: 0;
|
|
5
|
+
}
|
|
6
|
+
html,
|
|
7
|
+
body {
|
|
8
|
+
width: 100%;
|
|
9
|
+
padding: 0;
|
|
10
|
+
margin: 0;
|
|
11
|
+
}
|
|
12
|
+
body {
|
|
13
|
+
background-color: var(--color-deep-background);
|
|
14
|
+
font-family:
|
|
15
|
+
'Alibaba PuHuiTi 3-55', 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB',
|
|
16
|
+
'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
|
|
17
|
+
font-size: var(--font-size-m);
|
|
18
|
+
color: var(--color-text-base);
|
|
19
|
+
}
|
|
20
|
+
#app {
|
|
21
|
+
width: 100%;
|
|
22
|
+
height: 100vh;
|
|
23
|
+
}
|
|
24
|
+
ul,
|
|
25
|
+
ol {
|
|
26
|
+
padding: 0;
|
|
27
|
+
margin: 0;
|
|
28
|
+
}
|
|
29
|
+
li {
|
|
30
|
+
list-style: none;
|
|
31
|
+
}
|
package/root.scss
ADDED
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: 'Alibaba PuHuiTi 3-55';
|
|
3
|
+
src:
|
|
4
|
+
url('./fonts/AlibabaPuHuiTi-3-55-Regular.woff2') format('woff2'),
|
|
5
|
+
url('./fonts/AlibabaPuHuiTi-3-55-Regular.woff') format('woff');
|
|
6
|
+
font-weight: 400;
|
|
7
|
+
font-style: normal;
|
|
8
|
+
font-display: swap;
|
|
9
|
+
}
|
|
10
|
+
:root {
|
|
11
|
+
//系统主题色
|
|
12
|
+
--el-color-primary: #3965ff;
|
|
13
|
+
--el-color-success: #27c637;
|
|
14
|
+
--el-color-warning: #faad14;
|
|
15
|
+
--el-color-error: #ec0e13ff;
|
|
16
|
+
--el-color-danger: #ec0e13ff;
|
|
17
|
+
|
|
18
|
+
// 字体类型
|
|
19
|
+
--el-font-family:
|
|
20
|
+
'Alibaba PuHuiTi 3-55', 'Helvetica Neue', Helvetica, 'PingFang SC',
|
|
21
|
+
'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
|
|
22
|
+
--el-text-color-regular: #262626;
|
|
23
|
+
--el-border-radius-base: 6px;
|
|
24
|
+
--el-tag-border-radius: 6px;
|
|
25
|
+
// 主题色变亮
|
|
26
|
+
--el-color-primary-light-1: #4f7dff;
|
|
27
|
+
--el-color-primary-light-2: #5a85ff;
|
|
28
|
+
--el-color-primary-light-3: #6a8fff;
|
|
29
|
+
--el-color-primary-light-4: #8599ff;
|
|
30
|
+
--el-color-primary-light-5: #91b3ff;
|
|
31
|
+
--el-color-primary-light-6: #9ccdff;
|
|
32
|
+
--el-color-primary-light-7: #b8d7ff;
|
|
33
|
+
--el-color-primary-light-8: #d3e1ff;
|
|
34
|
+
--el-color-primary-light-9: #e0f0ff;
|
|
35
|
+
|
|
36
|
+
// 主题色变暗
|
|
37
|
+
--el-color-primary-dark-1: #3059e6;
|
|
38
|
+
--el-color-primary-dark-2: #2d50d1;
|
|
39
|
+
--el-color-primary-dark-3: #3359e6;
|
|
40
|
+
--el-color-primary-dark-4: #3059e6;
|
|
41
|
+
--el-color-primary-dark-5: #2e50d1;
|
|
42
|
+
--el-color-primary-dark-6: #2d50d1;
|
|
43
|
+
--el-color-primary-dark-7: #2a47bc;
|
|
44
|
+
--el-color-primary-dark-8: #2a47bc;
|
|
45
|
+
--el-color-primary-dark-9: #253ea7;
|
|
46
|
+
|
|
47
|
+
/* 主色 */
|
|
48
|
+
--primary-color-1: #3b64ff;
|
|
49
|
+
--primary-color-2: #1f4eff;
|
|
50
|
+
--primary-color-3: #0f42fa;
|
|
51
|
+
--primary-color-4: #b4baf6;
|
|
52
|
+
--primary-color-5: #e5ebff;
|
|
53
|
+
--primary-color-6: #99aeff;
|
|
54
|
+
--primary-color-7: #edf0f7;
|
|
55
|
+
--primary-color-8: #e6e9f2;
|
|
56
|
+
--primary-color-9: #dbdee9;
|
|
57
|
+
--primary-color-10: #2744ff;
|
|
58
|
+
|
|
59
|
+
/* 成功色 */
|
|
60
|
+
--success-color-1: #22753a;
|
|
61
|
+
--success-color-2: #eefff3;
|
|
62
|
+
--success-color-3: #96edaf;
|
|
63
|
+
|
|
64
|
+
/* 警告色 */
|
|
65
|
+
--warning-color-1: #faa600;
|
|
66
|
+
--warning-color-2: #fffbe6;
|
|
67
|
+
--warning-color-3: #ffdd99;
|
|
68
|
+
|
|
69
|
+
/* 错误色 */
|
|
70
|
+
--error-color-1: #ec0e13;
|
|
71
|
+
--error-color-2: #db0d12;
|
|
72
|
+
--error-color-3: #c90c10;
|
|
73
|
+
--error-color-4: #f5b3b4;
|
|
74
|
+
--error-color-5: #ffedeb;
|
|
75
|
+
--error-color-6: #ffa39e;
|
|
76
|
+
--error-color-7: #ff5054;
|
|
77
|
+
|
|
78
|
+
/* 文字色 */
|
|
79
|
+
--text-color-1: #1f2434;
|
|
80
|
+
--text-color-2: #202434;
|
|
81
|
+
--text-color-3: #373a43;
|
|
82
|
+
--text-color-4: #74798c;
|
|
83
|
+
--text-color-5: #b3b7c6;
|
|
84
|
+
--text-color-6: #ff441e;
|
|
85
|
+
--text-color-7: #909399;
|
|
86
|
+
|
|
87
|
+
/* 背景色 */
|
|
88
|
+
--background-color-1: #fcfdff;
|
|
89
|
+
--background-color-2: #ffffff;
|
|
90
|
+
--background-color-3: #d9e5fe;
|
|
91
|
+
--background-color-4: #fafdff;
|
|
92
|
+
--background-color-5: #f6f9ff;
|
|
93
|
+
--background-color-6: #f0f1f5;
|
|
94
|
+
--background-color-7: #f7f9fc;
|
|
95
|
+
--background-color-8: #eff0f2;
|
|
96
|
+
--background-color-9: #e8ebf1;
|
|
97
|
+
--background-color-10: #f6f6fa;
|
|
98
|
+
--background-color-11: #f5f7ff;
|
|
99
|
+
--background-color-12: #e8ecf3;
|
|
100
|
+
|
|
101
|
+
// 字体基础颜色
|
|
102
|
+
--color-text-base: #262626;
|
|
103
|
+
|
|
104
|
+
//辅助颜色1
|
|
105
|
+
--color-text-light1: #999;
|
|
106
|
+
|
|
107
|
+
// 辅助颜色2
|
|
108
|
+
--color-text-light2: #666;
|
|
109
|
+
|
|
110
|
+
// 背景颜色
|
|
111
|
+
--color-deep-background: #f2f4fa;
|
|
112
|
+
|
|
113
|
+
// 分割线颜色
|
|
114
|
+
--color-parting-line: #f0f0f0;
|
|
115
|
+
// 边框颜色
|
|
116
|
+
--color-border: #eaedf1;
|
|
117
|
+
// 阴影颜色
|
|
118
|
+
--color-wrapper-shadow: #d9d9d9;
|
|
119
|
+
|
|
120
|
+
// 表格单元格边框颜色
|
|
121
|
+
--table-td-border: #e6e6e6;
|
|
122
|
+
// 表格单元格背景颜色
|
|
123
|
+
--table-td-background: #f5f7fa;
|
|
124
|
+
//滚动条有颜色
|
|
125
|
+
--scrollbar-thumb-color: #d7d8dc;
|
|
126
|
+
// 通用按钮背景色
|
|
127
|
+
--el-button-common-bgc: #edf0f7;
|
|
128
|
+
|
|
129
|
+
// 字体定义规范
|
|
130
|
+
--font-size-xs: 12px;
|
|
131
|
+
--font-size-s: 13px;
|
|
132
|
+
--font-size-m: 14px;
|
|
133
|
+
--font-size-l: 15px;
|
|
134
|
+
--font-size-xl: 16px;
|
|
135
|
+
--font-size-xxl: 17px;
|
|
136
|
+
--font-size-xxxl: 18px;
|
|
137
|
+
--font-size-xxxxl: 19px;
|
|
138
|
+
--font-size-xxxxxl: 20px;
|
|
139
|
+
--font-size-xxxxxxl: 21px;
|
|
140
|
+
--font-size-xxxxxxxl: 22px;
|
|
141
|
+
|
|
142
|
+
// 边距
|
|
143
|
+
--padding-l-8: 8px;
|
|
144
|
+
--padding-l-6: 6px;
|
|
145
|
+
|
|
146
|
+
// 边框boder-radius
|
|
147
|
+
--el-border-radius-base: 8px;
|
|
148
|
+
--el-tag-border-radius: 8px;
|
|
149
|
+
// element-plus字体大小
|
|
150
|
+
--el-font-size-large: 16px;
|
|
151
|
+
}
|