@24city/web-console 0.1.2 → 0.1.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/CHANGELOG.md +14 -0
- package/README.md +31 -4
- package/dist/account/index.js +2 -2
- package/dist/chunks/console-layout-D5YgsZYN.js +208 -0
- package/dist/chunks/{upgrade-modal-_psMAWRK.js → upgrade-modal-J0X79nT2.js} +1 -1
- package/dist/chunks/{wallet-badge-CnyMLpUO.js → wallet-badge-BXu-WxJa.js} +54 -54
- package/dist/index.js +3 -3
- package/dist/layout/index.js +1 -1
- package/dist/styles.css +168 -132
- package/dist/testing/guard.d.ts +5 -0
- package/dist/testing/guard.js +46 -36
- package/dist/vite.d.ts +24 -0
- package/dist/vite.js +24 -0
- package/package.json +6 -1
- package/dist/chunks/console-layout-BibioK5M.js +0 -198
package/dist/styles.css
CHANGED
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
* 展开 344px 白色卡片:12px 圆角、柔和投影,身份行 → 套餐区(plan-panel.module.css)→ 个人中心 → 退出登录。
|
|
123
123
|
*/
|
|
124
124
|
|
|
125
|
-
.
|
|
125
|
+
._trigger_cxn03_6.semi-button {
|
|
126
126
|
display: inline-flex;
|
|
127
127
|
width: 40px;
|
|
128
128
|
height: 40px;
|
|
@@ -135,42 +135,48 @@
|
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
/* 文字按钮的悬停、按下和展开态:比 Semi 的悬停规则多一个类。 */
|
|
138
|
-
.
|
|
139
|
-
.
|
|
140
|
-
.
|
|
138
|
+
._trigger_cxn03_6.semi-button.semi-button-borderless:not(.semi-button-disabled):hover,
|
|
139
|
+
._trigger_cxn03_6.semi-button.semi-button-borderless:not(.semi-button-disabled):active,
|
|
140
|
+
._trigger_cxn03_6.semi-button[aria-expanded='true'] {
|
|
141
141
|
background: rgba(var(--app-brand-6), 0.08);
|
|
142
142
|
}
|
|
143
143
|
|
|
144
144
|
/* ---------- 头像 ---------- */
|
|
145
145
|
|
|
146
|
-
.
|
|
146
|
+
._avatarWrap_cxn03_27 {
|
|
147
147
|
position: relative;
|
|
148
148
|
display: inline-flex;
|
|
149
149
|
flex: none;
|
|
150
150
|
border-radius: 50%;
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
-
.
|
|
153
|
+
._avatar_cxn03_27.semi-avatar {
|
|
154
154
|
background: linear-gradient(135deg, rgb(var(--app-brand-4)) 0%, rgb(var(--app-brand-6)) 100%);
|
|
155
155
|
color: var(--semi-color-white);
|
|
156
156
|
font-weight: 600;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
|
|
159
|
+
/* Semi 在头像里的文字上写死了字号(small 是 12px),字号由头像本身决定。 */
|
|
160
|
+
._avatar_cxn03_27 .semi-avatar-label {
|
|
161
|
+
font-size: inherit;
|
|
162
|
+
line-height: 1;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
._avatarWrap_cxn03_27[data-size='large'] ._avatar_cxn03_27.semi-avatar {
|
|
160
166
|
box-shadow: 0 0 0 2px var(--semi-color-bg-1), 0 0 0 3px rgb(var(--semi-grey-2));
|
|
161
167
|
font-size: 22px;
|
|
162
168
|
}
|
|
163
169
|
|
|
164
|
-
.
|
|
170
|
+
._avatarWrap_cxn03_27[data-size='small'] ._avatar_cxn03_27.semi-avatar {
|
|
165
171
|
font-size: 15px;
|
|
166
172
|
}
|
|
167
173
|
|
|
168
174
|
/* 会员:金色描边 + 右下角小皇冠。 */
|
|
169
|
-
.
|
|
175
|
+
._avatarWrap_cxn03_27[data-member='true'] ._avatar_cxn03_27.semi-avatar {
|
|
170
176
|
box-shadow: 0 0 0 2px var(--semi-color-bg-1), 0 0 0 3.5px rgb(var(--semi-amber-4));
|
|
171
177
|
}
|
|
172
178
|
|
|
173
|
-
.
|
|
179
|
+
._avatarWrap_cxn03_27[data-member='true']::after {
|
|
174
180
|
position: absolute;
|
|
175
181
|
right: -3px;
|
|
176
182
|
bottom: -2px;
|
|
@@ -182,7 +188,7 @@
|
|
|
182
188
|
content: '';
|
|
183
189
|
}
|
|
184
190
|
|
|
185
|
-
.
|
|
191
|
+
._avatarWrap_cxn03_27[data-size='large'][data-member='true']::after {
|
|
186
192
|
width: 20px;
|
|
187
193
|
height: 20px;
|
|
188
194
|
background-size: 14px;
|
|
@@ -190,7 +196,7 @@
|
|
|
190
196
|
|
|
191
197
|
/* ---------- 卡片 ---------- */
|
|
192
198
|
|
|
193
|
-
.
|
|
199
|
+
._card_cxn03_80 {
|
|
194
200
|
width: 344px;
|
|
195
201
|
max-height: calc(100dvh - 76px);
|
|
196
202
|
overflow-y: auto;
|
|
@@ -200,7 +206,7 @@
|
|
|
200
206
|
box-shadow: 0 0 1px rgba(var(--semi-grey-9), 0.2), 0 12px 32px rgba(var(--semi-grey-9), 0.12);
|
|
201
207
|
}
|
|
202
208
|
|
|
203
|
-
.
|
|
209
|
+
._identity_cxn03_90 {
|
|
204
210
|
display: flex;
|
|
205
211
|
min-width: 0;
|
|
206
212
|
align-items: center;
|
|
@@ -208,7 +214,7 @@
|
|
|
208
214
|
padding: 0 4px;
|
|
209
215
|
}
|
|
210
216
|
|
|
211
|
-
.
|
|
217
|
+
._who_cxn03_98 {
|
|
212
218
|
display: flex;
|
|
213
219
|
min-width: 0;
|
|
214
220
|
flex: 1;
|
|
@@ -217,14 +223,14 @@
|
|
|
217
223
|
gap: 4px;
|
|
218
224
|
}
|
|
219
225
|
|
|
220
|
-
.
|
|
226
|
+
._nameRow_cxn03_107 {
|
|
221
227
|
display: flex;
|
|
222
228
|
max-width: 100%;
|
|
223
229
|
align-items: center;
|
|
224
230
|
gap: 6px;
|
|
225
231
|
}
|
|
226
232
|
|
|
227
|
-
.
|
|
233
|
+
._name_cxn03_107 {
|
|
228
234
|
overflow: hidden;
|
|
229
235
|
color: var(--semi-color-text-0);
|
|
230
236
|
font-size: 16px;
|
|
@@ -234,7 +240,7 @@
|
|
|
234
240
|
white-space: nowrap;
|
|
235
241
|
}
|
|
236
242
|
|
|
237
|
-
.
|
|
243
|
+
._planChip_cxn03_124 {
|
|
238
244
|
display: inline-flex;
|
|
239
245
|
height: 20px;
|
|
240
246
|
flex: none;
|
|
@@ -248,23 +254,23 @@
|
|
|
248
254
|
white-space: nowrap;
|
|
249
255
|
}
|
|
250
256
|
|
|
251
|
-
.
|
|
257
|
+
._planChip_cxn03_124[data-tone='free'] {
|
|
252
258
|
background: var(--semi-color-fill-1);
|
|
253
259
|
color: var(--semi-color-text-2);
|
|
254
260
|
}
|
|
255
261
|
|
|
256
|
-
.
|
|
262
|
+
._planChip_cxn03_124[data-tone='member'] {
|
|
257
263
|
padding-left: 4px;
|
|
258
264
|
background: linear-gradient(90deg, rgb(var(--semi-amber-1)), rgb(var(--semi-amber-3)));
|
|
259
265
|
color: rgb(var(--semi-amber-9));
|
|
260
266
|
}
|
|
261
267
|
|
|
262
|
-
.
|
|
268
|
+
._planChip_cxn03_124[data-tone='warning'] {
|
|
263
269
|
background: rgb(var(--semi-orange-0));
|
|
264
270
|
color: rgb(var(--semi-orange-6));
|
|
265
271
|
}
|
|
266
272
|
|
|
267
|
-
.
|
|
273
|
+
._diamond_cxn03_154 {
|
|
268
274
|
width: 14px;
|
|
269
275
|
height: 14px;
|
|
270
276
|
background: url('./assets/diamond-BuDSsnw-.webp') center / contain no-repeat;
|
|
@@ -272,8 +278,8 @@
|
|
|
272
278
|
|
|
273
279
|
/* 当前空间:一行小字,多个空间时整行是按钮,点开在下面列出空间。
|
|
274
280
|
卡片里的文字按钮都写成“.card .x:global(.semi-button.semi-button-borderless)”,悬停时比 Semi 文字按钮的悬停规则多一个类。 */
|
|
275
|
-
.
|
|
276
|
-
.
|
|
281
|
+
._card_cxn03_80 ._spaceToggle_cxn03_162.semi-button.semi-button-borderless,
|
|
282
|
+
._spaceStatic_cxn03_163 {
|
|
277
283
|
display: inline-flex;
|
|
278
284
|
max-width: 100%;
|
|
279
285
|
height: 22px;
|
|
@@ -287,26 +293,26 @@
|
|
|
287
293
|
font-weight: 400;
|
|
288
294
|
}
|
|
289
295
|
|
|
290
|
-
.
|
|
291
|
-
.
|
|
292
|
-
.
|
|
296
|
+
._card_cxn03_80 ._spaceToggle_cxn03_162.semi-button.semi-button-borderless:hover,
|
|
297
|
+
._card_cxn03_80 ._spaceToggle_cxn03_162.semi-button.semi-button-borderless:active,
|
|
298
|
+
._card_cxn03_80 ._spaceToggle_cxn03_162.semi-button.semi-button-borderless[aria-expanded='true'] {
|
|
293
299
|
background: var(--semi-color-fill-1);
|
|
294
300
|
color: var(--semi-color-text-1);
|
|
295
301
|
}
|
|
296
302
|
|
|
297
|
-
.
|
|
303
|
+
._spaceSwitchText_cxn03_184 {
|
|
298
304
|
flex: none;
|
|
299
305
|
margin-left: 2px;
|
|
300
306
|
color: rgb(var(--app-brand-6));
|
|
301
307
|
}
|
|
302
308
|
|
|
303
|
-
.
|
|
309
|
+
._spaceName_cxn03_190 {
|
|
304
310
|
overflow: hidden;
|
|
305
311
|
text-overflow: ellipsis;
|
|
306
312
|
white-space: nowrap;
|
|
307
313
|
}
|
|
308
314
|
|
|
309
|
-
.
|
|
315
|
+
._spaceType_cxn03_196 {
|
|
310
316
|
flex: none;
|
|
311
317
|
padding: 0 5px;
|
|
312
318
|
border-radius: 4px;
|
|
@@ -316,7 +322,7 @@
|
|
|
316
322
|
line-height: 16px;
|
|
317
323
|
}
|
|
318
324
|
|
|
319
|
-
.
|
|
325
|
+
._spaceList_cxn03_206 {
|
|
320
326
|
display: flex;
|
|
321
327
|
flex-direction: column;
|
|
322
328
|
margin-top: 12px;
|
|
@@ -325,7 +331,7 @@
|
|
|
325
331
|
border-radius: 10px;
|
|
326
332
|
}
|
|
327
333
|
|
|
328
|
-
.
|
|
334
|
+
._card_cxn03_80 ._spaceOption_cxn03_215.semi-button.semi-button-borderless {
|
|
329
335
|
display: flex;
|
|
330
336
|
height: 36px;
|
|
331
337
|
align-items: center;
|
|
@@ -337,35 +343,35 @@
|
|
|
337
343
|
font-weight: 400;
|
|
338
344
|
}
|
|
339
345
|
|
|
340
|
-
.
|
|
341
|
-
.
|
|
346
|
+
._card_cxn03_80 ._spaceOption_cxn03_215.semi-button.semi-button-borderless:hover,
|
|
347
|
+
._card_cxn03_80 ._spaceOption_cxn03_215.semi-button.semi-button-borderless:active {
|
|
342
348
|
background: var(--semi-color-fill-1);
|
|
343
349
|
color: var(--semi-color-text-0);
|
|
344
350
|
}
|
|
345
351
|
|
|
346
|
-
.
|
|
352
|
+
._card_cxn03_80 ._spaceOption_cxn03_215.semi-button.semi-button-borderless[aria-current='true'] {
|
|
347
353
|
color: rgb(var(--app-brand-6));
|
|
348
354
|
}
|
|
349
355
|
|
|
350
|
-
.
|
|
356
|
+
._spaceCheck_cxn03_237 {
|
|
351
357
|
display: inline-flex;
|
|
352
358
|
width: 20px;
|
|
353
359
|
flex: none;
|
|
354
360
|
}
|
|
355
361
|
|
|
356
|
-
.
|
|
362
|
+
._plan_cxn03_124 {
|
|
357
363
|
margin-top: 16px;
|
|
358
364
|
}
|
|
359
365
|
|
|
360
366
|
/* ---------- 个人中心与退出 ---------- */
|
|
361
367
|
|
|
362
|
-
.
|
|
368
|
+
._links_cxn03_249 {
|
|
363
369
|
display: flex;
|
|
364
370
|
flex-direction: column;
|
|
365
371
|
margin-top: 8px;
|
|
366
372
|
}
|
|
367
373
|
|
|
368
|
-
.
|
|
374
|
+
._card_cxn03_80 ._link_cxn03_249.semi-button.semi-button-borderless {
|
|
369
375
|
display: flex;
|
|
370
376
|
height: 44px;
|
|
371
377
|
align-items: center;
|
|
@@ -378,54 +384,54 @@
|
|
|
378
384
|
font-weight: 400;
|
|
379
385
|
}
|
|
380
386
|
|
|
381
|
-
.
|
|
387
|
+
._card_cxn03_80 ._link_cxn03_249 .semi-button-content {
|
|
382
388
|
display: flex;
|
|
383
389
|
width: 100%;
|
|
384
390
|
align-items: center;
|
|
385
391
|
gap: 10px;
|
|
386
392
|
}
|
|
387
393
|
|
|
388
|
-
.
|
|
389
|
-
.
|
|
394
|
+
._card_cxn03_80 ._link_cxn03_249.semi-button.semi-button-borderless:hover,
|
|
395
|
+
._card_cxn03_80 ._link_cxn03_249.semi-button.semi-button-borderless:active {
|
|
390
396
|
background: var(--semi-color-fill-1);
|
|
391
397
|
color: var(--semi-color-text-0);
|
|
392
398
|
}
|
|
393
399
|
|
|
394
|
-
.
|
|
395
|
-
.
|
|
400
|
+
._card_cxn03_80 ._link_cxn03_249.semi-button.semi-button-borderless[aria-current='page'],
|
|
401
|
+
._card_cxn03_80 ._link_cxn03_249.semi-button.semi-button-borderless[aria-current='page']:hover {
|
|
396
402
|
background: rgb(var(--app-brand-1));
|
|
397
403
|
color: rgb(var(--app-brand-6));
|
|
398
404
|
}
|
|
399
405
|
|
|
400
|
-
.
|
|
406
|
+
._linkIcon_cxn03_287 {
|
|
401
407
|
display: inline-flex;
|
|
402
408
|
flex: none;
|
|
403
409
|
color: var(--semi-color-text-2);
|
|
404
410
|
font-size: 16px;
|
|
405
411
|
}
|
|
406
412
|
|
|
407
|
-
.
|
|
413
|
+
._card_cxn03_80 ._link_cxn03_249.semi-button.semi-button-borderless[aria-current='page'] ._linkIcon_cxn03_287 {
|
|
408
414
|
color: rgb(var(--app-brand-6));
|
|
409
415
|
}
|
|
410
416
|
|
|
411
|
-
.
|
|
417
|
+
._linkLabel_cxn03_298 {
|
|
412
418
|
flex: 1;
|
|
413
419
|
text-align: left;
|
|
414
420
|
}
|
|
415
421
|
|
|
416
|
-
.
|
|
422
|
+
._linkArrow_cxn03_303 {
|
|
417
423
|
flex: none;
|
|
418
424
|
color: var(--semi-color-text-3);
|
|
419
425
|
font-size: 12px;
|
|
420
426
|
}
|
|
421
427
|
|
|
422
|
-
.
|
|
428
|
+
._divider_cxn03_309 {
|
|
423
429
|
height: 1px;
|
|
424
430
|
margin: 4px 0;
|
|
425
431
|
background: var(--semi-color-fill-1);
|
|
426
432
|
}
|
|
427
433
|
|
|
428
|
-
.
|
|
434
|
+
._card_cxn03_80 ._logout_cxn03_315.semi-button.semi-button-borderless {
|
|
429
435
|
height: 44px;
|
|
430
436
|
border-radius: 8px;
|
|
431
437
|
color: rgb(var(--semi-red-5));
|
|
@@ -433,14 +439,14 @@
|
|
|
433
439
|
font-weight: 400;
|
|
434
440
|
}
|
|
435
441
|
|
|
436
|
-
.
|
|
437
|
-
.
|
|
442
|
+
._card_cxn03_80 ._logout_cxn03_315.semi-button.semi-button-borderless:hover,
|
|
443
|
+
._card_cxn03_80 ._logout_cxn03_315.semi-button.semi-button-borderless:active {
|
|
438
444
|
background: rgb(var(--semi-red-0));
|
|
439
445
|
color: rgb(var(--semi-red-5));
|
|
440
446
|
}
|
|
441
447
|
|
|
442
448
|
@media (max-width: 576px) {
|
|
443
|
-
.
|
|
449
|
+
._card_cxn03_80 {
|
|
444
450
|
width: calc(100vw - 24px);
|
|
445
451
|
}
|
|
446
452
|
}
|
|
@@ -2306,14 +2312,14 @@
|
|
|
2306
2312
|
* 选中项浅主色底。尺寸取自有米有数页面的计算样式。颜色只引用 Semi 设计变量。
|
|
2307
2313
|
*/
|
|
2308
2314
|
|
|
2309
|
-
.
|
|
2315
|
+
._layout_1pk01_6 {
|
|
2310
2316
|
min-height: 100dvh;
|
|
2311
2317
|
background: transparent;
|
|
2312
2318
|
}
|
|
2313
2319
|
|
|
2314
2320
|
/* ---------- 顶栏:60px,logo · 产品模块 · 空间与账号 ---------- */
|
|
2315
2321
|
|
|
2316
|
-
.
|
|
2322
|
+
._header_1pk01_13 {
|
|
2317
2323
|
position: sticky;
|
|
2318
2324
|
top: 0;
|
|
2319
2325
|
z-index: 100;
|
|
@@ -2329,12 +2335,12 @@
|
|
|
2329
2335
|
box-shadow 0.2s var(--app-ease);
|
|
2330
2336
|
}
|
|
2331
2337
|
|
|
2332
|
-
.
|
|
2338
|
+
._header_1pk01_13[data-scrolled='true'] {
|
|
2333
2339
|
background: var(--semi-color-bg-1);
|
|
2334
2340
|
box-shadow: 0 4px 4px rgba(var(--semi-grey-9), 0.04);
|
|
2335
2341
|
}
|
|
2336
2342
|
|
|
2337
|
-
.
|
|
2343
|
+
._headerLeft_1pk01_34 {
|
|
2338
2344
|
display: flex;
|
|
2339
2345
|
min-width: 0;
|
|
2340
2346
|
height: 100%;
|
|
@@ -2342,7 +2348,7 @@
|
|
|
2342
2348
|
gap: 40px;
|
|
2343
2349
|
}
|
|
2344
2350
|
|
|
2345
|
-
.
|
|
2351
|
+
._logo_1pk01_42.semi-button {
|
|
2346
2352
|
display: inline-flex;
|
|
2347
2353
|
height: 40px;
|
|
2348
2354
|
flex-shrink: 0;
|
|
@@ -2352,19 +2358,19 @@
|
|
|
2352
2358
|
background: transparent;
|
|
2353
2359
|
}
|
|
2354
2360
|
|
|
2355
|
-
.
|
|
2361
|
+
._logo_1pk01_42.semi-button:hover {
|
|
2356
2362
|
background: transparent;
|
|
2357
2363
|
}
|
|
2358
2364
|
|
|
2359
2365
|
/* 30px 产品图标(叠卡复刻,浅橙渐变圆角底自带在 SVG 里,与 public/favicon.svg 是同一张),与公开首页顶栏同一尺寸;宽屏再接一段 16px 字标。 */
|
|
2360
|
-
.
|
|
2366
|
+
._logoMark_1pk01_57 {
|
|
2361
2367
|
display: inline-block;
|
|
2362
2368
|
width: 30px;
|
|
2363
2369
|
height: 30px;
|
|
2364
2370
|
flex: none;
|
|
2365
2371
|
}
|
|
2366
2372
|
|
|
2367
|
-
.
|
|
2373
|
+
._logoText_1pk01_64.semi-typography {
|
|
2368
2374
|
display: none;
|
|
2369
2375
|
color: var(--semi-color-text-0);
|
|
2370
2376
|
font-size: 16px;
|
|
@@ -2373,7 +2379,7 @@
|
|
|
2373
2379
|
white-space: nowrap;
|
|
2374
2380
|
}
|
|
2375
2381
|
|
|
2376
|
-
.
|
|
2382
|
+
._modules_1pk01_73 {
|
|
2377
2383
|
display: flex;
|
|
2378
2384
|
height: 100%;
|
|
2379
2385
|
align-items: stretch;
|
|
@@ -2383,7 +2389,7 @@
|
|
|
2383
2389
|
/* 模块菜单:16px 文字(素材平台前有平台图标),选中主色加粗,下方一条与图标加文字同宽的 2px 主色短线。
|
|
2384
2390
|
悬停只变文字颜色:Semi 文字按钮悬停、按下时铺的灰底,按下时的缩小和聚焦时的灰圈都去掉
|
|
2385
2391
|
(选择器要比 Semi 文字按钮的悬停规则更具体),键盘聚焦改为文字外一圈主色描边。 */
|
|
2386
|
-
.
|
|
2392
|
+
._modules_1pk01_73 ._module_1pk01_73.semi-button.semi-button-borderless {
|
|
2387
2393
|
position: relative;
|
|
2388
2394
|
display: inline-flex;
|
|
2389
2395
|
height: 100%;
|
|
@@ -2398,30 +2404,30 @@
|
|
|
2398
2404
|
font-weight: 400;
|
|
2399
2405
|
}
|
|
2400
2406
|
|
|
2401
|
-
.
|
|
2402
|
-
.
|
|
2403
|
-
.
|
|
2407
|
+
._modules_1pk01_73 ._module_1pk01_73.semi-button.semi-button-borderless:hover,
|
|
2408
|
+
._modules_1pk01_73 ._module_1pk01_73.semi-button.semi-button-borderless:active,
|
|
2409
|
+
._modules_1pk01_73 ._module_1pk01_73.semi-button.semi-button-borderless:focus-visible {
|
|
2404
2410
|
background: transparent;
|
|
2405
2411
|
box-shadow: none;
|
|
2406
2412
|
scale: none;
|
|
2407
2413
|
}
|
|
2408
2414
|
|
|
2409
|
-
.
|
|
2415
|
+
._modules_1pk01_73 ._module_1pk01_73.semi-button.semi-button-borderless:hover {
|
|
2410
2416
|
color: rgb(var(--app-brand-6));
|
|
2411
2417
|
}
|
|
2412
2418
|
|
|
2413
|
-
.
|
|
2419
|
+
._modules_1pk01_73 ._module_1pk01_73.semi-button.semi-button-borderless:focus-visible ._moduleText_1pk01_110 {
|
|
2414
2420
|
border-radius: 4px;
|
|
2415
2421
|
outline: 2px solid rgb(var(--app-brand-6));
|
|
2416
2422
|
outline-offset: 4px;
|
|
2417
2423
|
}
|
|
2418
2424
|
|
|
2419
|
-
.
|
|
2425
|
+
._modules_1pk01_73 ._module_1pk01_73[aria-current='page'].semi-button.semi-button-borderless {
|
|
2420
2426
|
color: rgb(var(--app-brand-6));
|
|
2421
2427
|
font-weight: 600;
|
|
2422
2428
|
}
|
|
2423
2429
|
|
|
2424
|
-
.
|
|
2430
|
+
._moduleText_1pk01_110 {
|
|
2425
2431
|
position: relative;
|
|
2426
2432
|
display: inline-flex;
|
|
2427
2433
|
align-items: center;
|
|
@@ -2430,11 +2436,11 @@
|
|
|
2430
2436
|
white-space: nowrap;
|
|
2431
2437
|
}
|
|
2432
2438
|
|
|
2433
|
-
.
|
|
2439
|
+
._moduleIcon_1pk01_130 {
|
|
2434
2440
|
display: inline-flex;
|
|
2435
2441
|
}
|
|
2436
2442
|
|
|
2437
|
-
.
|
|
2443
|
+
._moduleInk_1pk01_134 {
|
|
2438
2444
|
position: absolute;
|
|
2439
2445
|
bottom: 10px;
|
|
2440
2446
|
left: 0;
|
|
@@ -2449,12 +2455,12 @@
|
|
|
2449
2455
|
transform 0.2s var(--app-ease);
|
|
2450
2456
|
}
|
|
2451
2457
|
|
|
2452
|
-
.
|
|
2458
|
+
._module_1pk01_73[aria-current='page'] ._moduleInk_1pk01_134 {
|
|
2453
2459
|
opacity: 1;
|
|
2454
2460
|
transform: scaleX(1);
|
|
2455
2461
|
}
|
|
2456
2462
|
|
|
2457
|
-
.
|
|
2463
|
+
._headerRight_1pk01_154.semi-space {
|
|
2458
2464
|
min-width: 0;
|
|
2459
2465
|
flex-wrap: nowrap;
|
|
2460
2466
|
}
|
|
@@ -2463,13 +2469,13 @@
|
|
|
2463
2469
|
|
|
2464
2470
|
/* ---------- 侧栏:232px,224px 白底圆角面板 ---------- */
|
|
2465
2471
|
|
|
2466
|
-
.
|
|
2472
|
+
._body_1pk01_163.semi-layout {
|
|
2467
2473
|
min-height: calc(100dvh - var(--app-header-height));
|
|
2468
2474
|
flex-direction: row;
|
|
2469
2475
|
background: transparent;
|
|
2470
2476
|
}
|
|
2471
2477
|
|
|
2472
|
-
.
|
|
2478
|
+
._sider_1pk01_169 {
|
|
2473
2479
|
position: sticky;
|
|
2474
2480
|
z-index: 50;
|
|
2475
2481
|
top: var(--app-header-height);
|
|
@@ -2479,18 +2485,18 @@
|
|
|
2479
2485
|
transition: width 0.2s var(--app-ease);
|
|
2480
2486
|
}
|
|
2481
2487
|
|
|
2482
|
-
.
|
|
2488
|
+
._sider_1pk01_169[data-collapsed='true'] {
|
|
2483
2489
|
width: 24px;
|
|
2484
2490
|
}
|
|
2485
2491
|
|
|
2486
|
-
.
|
|
2492
|
+
._siderInner_1pk01_183 {
|
|
2487
2493
|
position: relative;
|
|
2488
2494
|
height: 100%;
|
|
2489
2495
|
box-sizing: border-box;
|
|
2490
2496
|
padding: 8px 0 8px 8px;
|
|
2491
2497
|
}
|
|
2492
2498
|
|
|
2493
|
-
.
|
|
2499
|
+
._panel_1pk01_190 {
|
|
2494
2500
|
display: flex;
|
|
2495
2501
|
width: 224px;
|
|
2496
2502
|
height: 100%;
|
|
@@ -2505,11 +2511,11 @@
|
|
|
2505
2511
|
}
|
|
2506
2512
|
|
|
2507
2513
|
/* 收起:面板移出窄条外;指针移上窄条或点开后浮出,白底加投影盖在内容上。 */
|
|
2508
|
-
.
|
|
2514
|
+
._siderInner_1pk01_183[data-collapsed='true'] {
|
|
2509
2515
|
padding: 8px 0;
|
|
2510
2516
|
}
|
|
2511
2517
|
|
|
2512
|
-
.
|
|
2518
|
+
._siderInner_1pk01_183[data-collapsed='true'] ._panel_1pk01_190 {
|
|
2513
2519
|
position: absolute;
|
|
2514
2520
|
top: 8px;
|
|
2515
2521
|
left: 8px;
|
|
@@ -2521,13 +2527,13 @@
|
|
|
2521
2527
|
transform: translateX(calc(-100% - 16px));
|
|
2522
2528
|
}
|
|
2523
2529
|
|
|
2524
|
-
.
|
|
2530
|
+
._siderInner_1pk01_183[data-collapsed='true'][data-peek='true'] ._panel_1pk01_190 {
|
|
2525
2531
|
opacity: 1;
|
|
2526
2532
|
pointer-events: auto;
|
|
2527
2533
|
transform: translateX(0);
|
|
2528
2534
|
}
|
|
2529
2535
|
|
|
2530
|
-
.
|
|
2536
|
+
._expandButton_1pk01_227.semi-button {
|
|
2531
2537
|
width: 24px;
|
|
2532
2538
|
height: 48px;
|
|
2533
2539
|
padding: 0;
|
|
@@ -2538,12 +2544,12 @@
|
|
|
2538
2544
|
color: var(--semi-color-text-2);
|
|
2539
2545
|
}
|
|
2540
2546
|
|
|
2541
|
-
.
|
|
2547
|
+
._expandButton_1pk01_227.semi-button:hover {
|
|
2542
2548
|
color: rgb(var(--app-brand-6));
|
|
2543
2549
|
}
|
|
2544
2550
|
|
|
2545
2551
|
/* 菜单:分组标题 13px 灰色,菜单项 40px、8px 圆角、18px 灰色图标。每个分组一段 Semi Nav,分组标题由外壳渲染。 */
|
|
2546
|
-
.
|
|
2552
|
+
._menu_1pk01_243 {
|
|
2547
2553
|
display: flex;
|
|
2548
2554
|
overflow-y: auto;
|
|
2549
2555
|
min-height: 0;
|
|
@@ -2554,16 +2560,21 @@
|
|
|
2554
2560
|
scrollbar-width: none;
|
|
2555
2561
|
}
|
|
2556
2562
|
|
|
2557
|
-
.
|
|
2563
|
+
._menuGroup_1pk01_254 {
|
|
2558
2564
|
margin: 0 0 20px;
|
|
2559
2565
|
}
|
|
2560
2566
|
|
|
2561
|
-
.
|
|
2567
|
+
._menuGroup_1pk01_254:first-child {
|
|
2562
2568
|
margin-top: 8px;
|
|
2563
2569
|
}
|
|
2564
2570
|
|
|
2571
|
+
/* 没有标题的分组(例如“我的内容”最上面的两项)后面紧跟下一组的标题,只隔菜单项自带的 4px。 */
|
|
2572
|
+
._menuGroupPlain_1pk01_263 {
|
|
2573
|
+
margin-bottom: 0;
|
|
2574
|
+
}
|
|
2575
|
+
|
|
2565
2576
|
/* 分组标题(行业、内容管理)比菜单项浅:介于次要文字和占位文字之间的灰 */
|
|
2566
|
-
.
|
|
2577
|
+
._menuGroupTitle_1pk01_268 {
|
|
2567
2578
|
height: 24px;
|
|
2568
2579
|
margin: 0 0 6px;
|
|
2569
2580
|
padding: 0 12px;
|
|
@@ -2574,7 +2585,7 @@
|
|
|
2574
2585
|
}
|
|
2575
2586
|
|
|
2576
2587
|
/* Semi 的 Nav 自带 240px 宽、右边框和内边距,这里只要它的列表。 */
|
|
2577
|
-
.
|
|
2588
|
+
._menuList_1pk01_279.semi-navigation {
|
|
2578
2589
|
display: block;
|
|
2579
2590
|
width: 100%;
|
|
2580
2591
|
padding: 0;
|
|
@@ -2582,14 +2593,21 @@
|
|
|
2582
2593
|
background: transparent;
|
|
2583
2594
|
}
|
|
2584
2595
|
|
|
2585
|
-
.
|
|
2586
|
-
.
|
|
2596
|
+
._menuList_1pk01_279 .semi-navigation-inner,
|
|
2597
|
+
._menuList_1pk01_279 .semi-navigation-list-wrapper {
|
|
2587
2598
|
width: 100%;
|
|
2588
2599
|
}
|
|
2589
2600
|
|
|
2601
|
+
/* Semi 竖向导航的列表顶部自带 12px 内边距,每个分组都会多出一截。 */
|
|
2602
|
+
._menuList_1pk01_279 .semi-navigation-list-wrapper {
|
|
2603
|
+
padding-top: 0;
|
|
2604
|
+
}
|
|
2605
|
+
|
|
2590
2606
|
/* 比 Semi 的 .semi-navigation-list > .semi-navigation-item-normal 多一个类,不依赖样式表先后 */
|
|
2591
|
-
.
|
|
2607
|
+
._menuList_1pk01_279 .semi-navigation-list .semi-navigation-item {
|
|
2592
2608
|
height: 40px;
|
|
2609
|
+
/* Semi 的菜单项是 flex 但不居中,它靠 8px 上下内边距和 20px 行高对齐;这里改成 40px 行高,图标要垂直居中 */
|
|
2610
|
+
align-items: center;
|
|
2593
2611
|
margin: 0 0 4px;
|
|
2594
2612
|
padding: 0 12px;
|
|
2595
2613
|
border-radius: var(--app-radius-card);
|
|
@@ -2600,7 +2618,7 @@
|
|
|
2600
2618
|
line-height: 40px;
|
|
2601
2619
|
}
|
|
2602
2620
|
|
|
2603
|
-
.
|
|
2621
|
+
._menuList_1pk01_279 .semi-navigation-item-icon {
|
|
2604
2622
|
min-width: 0;
|
|
2605
2623
|
margin-right: 10px;
|
|
2606
2624
|
color: var(--semi-color-text-2);
|
|
@@ -2608,35 +2626,35 @@
|
|
|
2608
2626
|
}
|
|
2609
2627
|
|
|
2610
2628
|
/* Semi 给 Nav 图标加了 size="large"(20px),这里统一 18px */
|
|
2611
|
-
.
|
|
2629
|
+
._menuList_1pk01_279 .semi-navigation-item-icon .semi-icon {
|
|
2612
2630
|
font-size: 18px;
|
|
2613
2631
|
}
|
|
2614
2632
|
|
|
2615
|
-
.
|
|
2633
|
+
._menuList_1pk01_279 .semi-navigation-item-text {
|
|
2616
2634
|
min-width: 0;
|
|
2617
2635
|
flex: 1;
|
|
2618
2636
|
}
|
|
2619
2637
|
|
|
2620
2638
|
/* 比 Semi 的悬停规则(.semi-navigation-item-normal:hover:not(.semi-navigation-item-selected))多一个类,不依赖样式表先后 */
|
|
2621
|
-
.
|
|
2639
|
+
._menuList_1pk01_279 .semi-navigation-item.semi-navigation-item-normal:not(.semi-navigation-item-disabled):hover {
|
|
2622
2640
|
background: var(--semi-color-fill-0);
|
|
2623
2641
|
color: rgb(var(--app-brand-6));
|
|
2624
2642
|
}
|
|
2625
2643
|
|
|
2626
|
-
.
|
|
2627
|
-
.
|
|
2644
|
+
._menuList_1pk01_279 .semi-navigation-item.semi-navigation-item-normal:hover .semi-navigation-item-icon,
|
|
2645
|
+
._menuList_1pk01_279 .semi-navigation-item.semi-navigation-item-selected .semi-navigation-item-icon {
|
|
2628
2646
|
color: rgb(var(--app-brand-6));
|
|
2629
2647
|
}
|
|
2630
2648
|
|
|
2631
|
-
.
|
|
2632
|
-
.
|
|
2649
|
+
._menuList_1pk01_279 .semi-navigation-item.semi-navigation-item-selected,
|
|
2650
|
+
._menuList_1pk01_279 .semi-navigation-item.semi-navigation-item-selected:hover {
|
|
2633
2651
|
background: var(--semi-color-primary-light-default);
|
|
2634
2652
|
color: rgb(var(--app-brand-6));
|
|
2635
2653
|
font-weight: 600;
|
|
2636
2654
|
}
|
|
2637
2655
|
|
|
2638
2656
|
/* 行业菜单项:名称占满,右边是置顶按钮。没置顶的悬停(或键盘聚焦)才出现,置顶的一直显示为主色。 */
|
|
2639
|
-
.
|
|
2657
|
+
._industryItem_1pk01_348 {
|
|
2640
2658
|
display: flex;
|
|
2641
2659
|
min-width: 0;
|
|
2642
2660
|
align-items: center;
|
|
@@ -2644,15 +2662,15 @@
|
|
|
2644
2662
|
gap: 4px;
|
|
2645
2663
|
}
|
|
2646
2664
|
|
|
2647
|
-
.
|
|
2665
|
+
._industryName_1pk01_356 {
|
|
2648
2666
|
overflow: hidden;
|
|
2649
2667
|
min-width: 0;
|
|
2650
2668
|
text-overflow: ellipsis;
|
|
2651
2669
|
white-space: nowrap;
|
|
2652
2670
|
}
|
|
2653
2671
|
|
|
2654
|
-
.
|
|
2655
|
-
.
|
|
2672
|
+
._menu_1pk01_243 ._pinButton_1pk01_363.semi-button,
|
|
2673
|
+
._menu_1pk01_243 ._pinButtonActive_1pk01_364.semi-button {
|
|
2656
2674
|
width: 24px;
|
|
2657
2675
|
height: 24px;
|
|
2658
2676
|
flex-shrink: 0;
|
|
@@ -2662,35 +2680,35 @@
|
|
|
2662
2680
|
color: var(--semi-color-text-2);
|
|
2663
2681
|
}
|
|
2664
2682
|
|
|
2665
|
-
.
|
|
2683
|
+
._menu_1pk01_243 ._pinButton_1pk01_363.semi-button {
|
|
2666
2684
|
opacity: 0;
|
|
2667
2685
|
}
|
|
2668
2686
|
|
|
2669
|
-
.
|
|
2670
|
-
.
|
|
2687
|
+
._menuList_1pk01_279 .semi-navigation-item:hover ._pinButton_1pk01_363.semi-button,
|
|
2688
|
+
._menu_1pk01_243 ._pinButton_1pk01_363.semi-button:focus-visible {
|
|
2671
2689
|
opacity: 1;
|
|
2672
2690
|
}
|
|
2673
2691
|
|
|
2674
2692
|
/* 比 Semi 文字按钮的悬停规则更具体,不依赖样式表先后 */
|
|
2675
|
-
.
|
|
2676
|
-
.
|
|
2693
|
+
._menu_1pk01_243 ._pinButton_1pk01_363.semi-button.semi-button-borderless:hover,
|
|
2694
|
+
._menu_1pk01_243 ._pinButtonActive_1pk01_364.semi-button.semi-button-borderless:hover {
|
|
2677
2695
|
background: var(--semi-color-fill-2);
|
|
2678
2696
|
color: rgb(var(--app-brand-6));
|
|
2679
2697
|
}
|
|
2680
2698
|
|
|
2681
|
-
.
|
|
2699
|
+
._menu_1pk01_243 ._pinButtonActive_1pk01_364.semi-button {
|
|
2682
2700
|
color: rgb(var(--app-brand-6));
|
|
2683
2701
|
}
|
|
2684
2702
|
|
|
2685
2703
|
/* 菜单项里图标的通用间距、字号不作用在置顶按钮上 */
|
|
2686
|
-
.
|
|
2687
|
-
.
|
|
2704
|
+
._menuList_1pk01_279 .semi-navigation-item ._pinButton_1pk01_363 .semi-icon,
|
|
2705
|
+
._menuList_1pk01_279 .semi-navigation-item ._pinButtonActive_1pk01_364 .semi-icon {
|
|
2688
2706
|
margin: 0;
|
|
2689
2707
|
color: inherit;
|
|
2690
2708
|
font-size: 14px;
|
|
2691
2709
|
}
|
|
2692
2710
|
|
|
2693
|
-
.
|
|
2711
|
+
._collapseButton_1pk01_402.semi-button {
|
|
2694
2712
|
display: flex;
|
|
2695
2713
|
width: 100%;
|
|
2696
2714
|
height: 40px;
|
|
@@ -2705,13 +2723,13 @@
|
|
|
2705
2723
|
font-weight: 400;
|
|
2706
2724
|
}
|
|
2707
2725
|
|
|
2708
|
-
.
|
|
2726
|
+
._collapseButton_1pk01_402.semi-button:hover {
|
|
2709
2727
|
background: transparent;
|
|
2710
2728
|
color: rgb(var(--app-brand-6));
|
|
2711
2729
|
}
|
|
2712
2730
|
|
|
2713
2731
|
/* 窄屏浮出菜单时的点击遮罩,点空白处收起。 */
|
|
2714
|
-
.
|
|
2732
|
+
._mask_1pk01_423 {
|
|
2715
2733
|
position: fixed;
|
|
2716
2734
|
z-index: 40;
|
|
2717
2735
|
inset: var(--app-header-height) 0 0;
|
|
@@ -2720,25 +2738,25 @@
|
|
|
2720
2738
|
|
|
2721
2739
|
/* ---------- 内容区:与侧栏面板隔开 20px,右侧留 24px ---------- */
|
|
2722
2740
|
|
|
2723
|
-
.
|
|
2741
|
+
._content_1pk01_432 {
|
|
2724
2742
|
min-width: 0;
|
|
2725
2743
|
padding: 8px 24px 24px 20px;
|
|
2726
2744
|
}
|
|
2727
2745
|
|
|
2728
2746
|
/* 个人中心没有侧栏:左右留白相同,页面自己居中。 */
|
|
2729
|
-
.
|
|
2747
|
+
._contentCentered_1pk01_438 {
|
|
2730
2748
|
padding: 8px 24px 24px;
|
|
2731
2749
|
}
|
|
2732
2750
|
|
|
2733
2751
|
/* 横向溢出用 clip 裁掉:不能用 hidden,按规范 overflow-y 会随之变成 auto,内容区成了不滚动的滚动容器,
|
|
2734
2752
|
* 页面里的 position: sticky(内容广场的吸顶搜索与筛选条)就失效了。 */
|
|
2735
|
-
.
|
|
2753
|
+
._body_1pk01_163 > ._content_1pk01_432 {
|
|
2736
2754
|
flex: 1 1 auto;
|
|
2737
2755
|
overflow-x: clip;
|
|
2738
2756
|
overflow-y: visible;
|
|
2739
2757
|
}
|
|
2740
2758
|
|
|
2741
|
-
.
|
|
2759
|
+
._contentInner_1pk01_450 {
|
|
2742
2760
|
display: flex;
|
|
2743
2761
|
max-width: var(--app-content-max-width);
|
|
2744
2762
|
margin: 0 auto;
|
|
@@ -2747,51 +2765,51 @@
|
|
|
2747
2765
|
}
|
|
2748
2766
|
|
|
2749
2767
|
@media (min-width: 1440px) {
|
|
2750
|
-
.
|
|
2768
|
+
._logoText_1pk01_64.semi-typography {
|
|
2751
2769
|
display: inline;
|
|
2752
2770
|
}
|
|
2753
2771
|
}
|
|
2754
2772
|
|
|
2755
2773
|
@media (max-width: 576px) {
|
|
2756
|
-
.
|
|
2774
|
+
._header_1pk01_13 {
|
|
2757
2775
|
padding: 0 12px;
|
|
2758
2776
|
}
|
|
2759
2777
|
|
|
2760
|
-
.
|
|
2778
|
+
._headerLeft_1pk01_34 {
|
|
2761
2779
|
gap: 12px;
|
|
2762
2780
|
}
|
|
2763
2781
|
|
|
2764
|
-
.
|
|
2782
|
+
._modules_1pk01_73 {
|
|
2765
2783
|
gap: 16px;
|
|
2766
2784
|
}
|
|
2767
2785
|
|
|
2768
|
-
.
|
|
2786
|
+
._modules_1pk01_73 ._module_1pk01_73.semi-button.semi-button-borderless {
|
|
2769
2787
|
font-size: 15px;
|
|
2770
2788
|
}
|
|
2771
2789
|
|
|
2772
2790
|
/* 手机上顶栏放不下,平台图标收起,只留文字。 */
|
|
2773
|
-
.
|
|
2791
|
+
._moduleIcon_1pk01_130 {
|
|
2774
2792
|
display: none;
|
|
2775
2793
|
}
|
|
2776
2794
|
|
|
2777
|
-
.
|
|
2795
|
+
._wallet_1pk01_486 {
|
|
2778
2796
|
display: none;
|
|
2779
2797
|
}
|
|
2780
2798
|
|
|
2781
|
-
.
|
|
2799
|
+
._content_1pk01_432 {
|
|
2782
2800
|
padding: 8px 12px 16px 12px;
|
|
2783
2801
|
}
|
|
2784
2802
|
}
|
|
2785
2803
|
|
|
2786
2804
|
/* 产品图标由 BrandMark 写入内联背景图(runtime-config 的 brand.markUrl)。 */
|
|
2787
|
-
.
|
|
2805
|
+
._logoMark_1pk01_57 {
|
|
2788
2806
|
background-position: center;
|
|
2789
2807
|
background-size: contain;
|
|
2790
2808
|
background-repeat: no-repeat;
|
|
2791
2809
|
}
|
|
2792
2810
|
|
|
2793
2811
|
/* 没有图标的产品:字标放在主色渐变的圆角方块里。 */
|
|
2794
|
-
.
|
|
2812
|
+
._letterMark_1pk01_503 {
|
|
2795
2813
|
display: inline-flex;
|
|
2796
2814
|
flex: none;
|
|
2797
2815
|
align-items: center;
|
|
@@ -2846,15 +2864,21 @@
|
|
|
2846
2864
|
font-size: 1em;
|
|
2847
2865
|
}
|
|
2848
2866
|
/*
|
|
2849
|
-
* @24city/web-console 的主题:Semi Design
|
|
2850
|
-
*
|
|
2867
|
+
* @24city/web-console 的主题:24.city 用户端统一的中性灰色板、圆角、阴影、密度与组件细节,是对 Semi Design 默认样式的细调。
|
|
2868
|
+
* Semi 各组件的样式随组件引入,由产品的构建收集;消费方只需再引入本文件。
|
|
2869
|
+
*
|
|
2870
|
+
* 分层:产品的 vite.config.ts 用 `@24city/web-console/vite` 的 semiCssLayer() 把 Semi 自带的样式放进级联层 `semi`,
|
|
2871
|
+
* 本主题也写在 `semi` 层里,与 Semi 同层、按选择器优先级细调 Semi;产品与本包组件的 CSS Modules 不在任何层里,
|
|
2872
|
+
* 一律排在 Semi 与主题之上,不必再比 Semi 的选择器“多一个类”。
|
|
2851
2873
|
*
|
|
2852
2874
|
* 品牌主色不写在这里:产品在 runtime-config.json 的 brand.primaryColor 给一个色值,@24city/web-console/theme 的 applyBrand
|
|
2853
2875
|
* 在首屏渲染前由它生成十级色板(--app-brand-1..10)并写到 body 上,同时把 Semi 的主色、链接色和聚焦描边映射到这组颜色。
|
|
2854
2876
|
* 其余颜色(中性灰、状态色、字色)由本文件定死,产品不得覆盖(@24city/web-console/testing 的守卫测试会检查)。
|
|
2855
2877
|
*/
|
|
2856
2878
|
|
|
2857
|
-
|
|
2879
|
+
@layer semi {
|
|
2880
|
+
|
|
2881
|
+
/* Semi 把同一批变量定义在 body 上,与本文件同在 semi 层;这里用 html body 高一级,不依赖样式表先后。
|
|
2858
2882
|
暗色主题 body[theme-mode='dark'] 优先级更高,不受影响。 */
|
|
2859
2883
|
html body {
|
|
2860
2884
|
/* 中性灰色板(参照小红书聚光):Semi 默认灰偏蓝,后台感重。Semi 的文字、填充、边框都由这组灰推出
|
|
@@ -2899,7 +2923,8 @@ html body {
|
|
|
2899
2923
|
--app-shadow-popup: 0 0 1px rgba(var(--semi-grey-9), 0.2), 0 8px 24px rgba(var(--semi-grey-9), 0.12);
|
|
2900
2924
|
--app-shadow-raised: 0 0 1px rgba(var(--semi-grey-9), 0.24), 0 1px 2px rgba(var(--semi-grey-9), 0.08);
|
|
2901
2925
|
--semi-shadow-elevated: var(--app-shadow-popup);
|
|
2902
|
-
|
|
2926
|
+
/* 页面底色是不透明的灰(与 Arco 时代的 #F5F5F5 相同):半透明的填充色叠在本来就灰的页面底上会更深更脏。 */
|
|
2927
|
+
--app-page-bg: rgb(var(--semi-grey-1));
|
|
2903
2928
|
/* 页面底色参照有米有数:自上而下极浅的灰白渐变。吸顶条用同一渐变并固定在视口上(background-attachment: fixed),
|
|
2904
2929
|
* 与页面逐像素一致,看不出接缝。 */
|
|
2905
2930
|
--app-page-gradient: linear-gradient(rgb(var(--semi-grey-1)), rgb(var(--semi-grey-0)));
|
|
@@ -2957,6 +2982,15 @@ body .semi-button {
|
|
|
2957
2982
|
scale 0.1s var(--app-ease);
|
|
2958
2983
|
}
|
|
2959
2984
|
|
|
2985
|
+
/* Semi 把按钮的子元素包进 .semi-button-content:写在按钮上的间距、排列方向和对齐由它继承,
|
|
2986
|
+
* 产品和本包的按钮在自己的类上写 gap、flex-direction、align-items 就生效(不用 icon 属性时)。
|
|
2987
|
+
* 用 icon 属性时 Semi 另有 8px 的图标间距,与 Arco 时代一致。 */
|
|
2988
|
+
body .semi-button-content {
|
|
2989
|
+
flex-direction: inherit;
|
|
2990
|
+
align-items: inherit;
|
|
2991
|
+
gap: inherit;
|
|
2992
|
+
}
|
|
2993
|
+
|
|
2960
2994
|
/* 按下反馈用独立的 scale 属性:它与 transform 叠加而不是替换。若写成 transform: scale(),
|
|
2961
2995
|
* 靠 transform: translate() 定位的按钮(如居中的浮层按钮)按下时会跳开,松开时指针已不在按钮上,
|
|
2962
2996
|
* 点击就丢了。 */
|
|
@@ -3224,3 +3258,5 @@ body .semi-space {
|
|
|
3224
3258
|
animation-iteration-count: 1 !important;
|
|
3225
3259
|
}
|
|
3226
3260
|
}
|
|
3261
|
+
|
|
3262
|
+
}
|