@24city/web-console 0.1.1 → 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 +19 -0
- package/README.md +33 -4
- package/dist/account/index.js +2 -2
- package/dist/chunks/console-layout-D5YgsZYN.js +208 -0
- package/dist/chunks/{upgrade-modal-DzdKuEkJ.js → upgrade-modal-J0X79nT2.js} +295 -295
- 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 +277 -239
- 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
|
}
|
|
@@ -878,7 +884,7 @@
|
|
|
878
884
|
* 宽屏时至少铺到视口底部,内容少也不露出底下的灰色。颜色只引用 Semi 设计变量,暗色主题随之切换。
|
|
879
885
|
*/
|
|
880
886
|
|
|
881
|
-
.
|
|
887
|
+
._center_1y6np_7 {
|
|
882
888
|
display: grid;
|
|
883
889
|
width: 100%;
|
|
884
890
|
max-width: 1300px;
|
|
@@ -892,18 +898,18 @@
|
|
|
892
898
|
|
|
893
899
|
/* ---------- 左侧:身份卡片 · 套餐和积分摘要 · 分区菜单 · 退出登录 ---------- */
|
|
894
900
|
|
|
895
|
-
.
|
|
901
|
+
._aside_1y6np_21 {
|
|
896
902
|
position: sticky;
|
|
897
903
|
top: calc(var(--app-header-height) + 16px);
|
|
898
904
|
min-width: 0;
|
|
899
905
|
}
|
|
900
906
|
|
|
901
|
-
.
|
|
907
|
+
._identityCard_1y6np_27.semi-card {
|
|
902
908
|
overflow: hidden;
|
|
903
909
|
border-radius: 12px;
|
|
904
910
|
}
|
|
905
911
|
|
|
906
|
-
.
|
|
912
|
+
._identity_1y6np_27 {
|
|
907
913
|
display: flex;
|
|
908
914
|
flex-direction: column;
|
|
909
915
|
align-items: center;
|
|
@@ -913,7 +919,7 @@
|
|
|
913
919
|
text-align: center;
|
|
914
920
|
}
|
|
915
921
|
|
|
916
|
-
.
|
|
922
|
+
._identityAvatar_1y6np_42.semi-avatar {
|
|
917
923
|
width: 56px;
|
|
918
924
|
height: 56px;
|
|
919
925
|
flex: none;
|
|
@@ -926,7 +932,7 @@
|
|
|
926
932
|
font-weight: 600;
|
|
927
933
|
}
|
|
928
934
|
|
|
929
|
-
.
|
|
935
|
+
._identityText_1y6np_55 {
|
|
930
936
|
display: flex;
|
|
931
937
|
width: 100%;
|
|
932
938
|
min-width: 0;
|
|
@@ -935,7 +941,7 @@
|
|
|
935
941
|
gap: 6px;
|
|
936
942
|
}
|
|
937
943
|
|
|
938
|
-
.
|
|
944
|
+
._identityName_1y6np_64 {
|
|
939
945
|
overflow: hidden;
|
|
940
946
|
max-width: 100%;
|
|
941
947
|
min-height: 26px;
|
|
@@ -947,7 +953,7 @@
|
|
|
947
953
|
white-space: nowrap;
|
|
948
954
|
}
|
|
949
955
|
|
|
950
|
-
.
|
|
956
|
+
._identitySpace_1y6np_76 {
|
|
951
957
|
display: inline-flex;
|
|
952
958
|
max-width: 100%;
|
|
953
959
|
align-items: center;
|
|
@@ -957,19 +963,19 @@
|
|
|
957
963
|
line-height: 20px;
|
|
958
964
|
}
|
|
959
965
|
|
|
960
|
-
.
|
|
966
|
+
._identitySpace_1y6np_76 > .semi-icon {
|
|
961
967
|
flex: none;
|
|
962
968
|
color: var(--semi-color-text-2);
|
|
963
969
|
}
|
|
964
970
|
|
|
965
|
-
.
|
|
971
|
+
._identitySpaceName_1y6np_91 {
|
|
966
972
|
overflow: hidden;
|
|
967
973
|
min-width: 0;
|
|
968
974
|
text-overflow: ellipsis;
|
|
969
975
|
white-space: nowrap;
|
|
970
976
|
}
|
|
971
977
|
|
|
972
|
-
.
|
|
978
|
+
._identityRole_1y6np_98 {
|
|
973
979
|
flex: none;
|
|
974
980
|
padding: 0 6px;
|
|
975
981
|
border-radius: var(--semi-border-radius-medium);
|
|
@@ -979,7 +985,7 @@
|
|
|
979
985
|
line-height: 20px;
|
|
980
986
|
}
|
|
981
987
|
|
|
982
|
-
.
|
|
988
|
+
._identityStats_1y6np_108 {
|
|
983
989
|
display: grid;
|
|
984
990
|
margin: 0 16px 8px;
|
|
985
991
|
grid-template-columns: 1fr 1fr;
|
|
@@ -987,7 +993,7 @@
|
|
|
987
993
|
background: var(--semi-color-fill-0);
|
|
988
994
|
}
|
|
989
995
|
|
|
990
|
-
.
|
|
996
|
+
._identityStat_1y6np_108 {
|
|
991
997
|
display: flex;
|
|
992
998
|
min-width: 0;
|
|
993
999
|
flex-direction: column;
|
|
@@ -996,17 +1002,17 @@
|
|
|
996
1002
|
padding: 10px 8px;
|
|
997
1003
|
}
|
|
998
1004
|
|
|
999
|
-
.
|
|
1005
|
+
._identityStat_1y6np_108 + ._identityStat_1y6np_108 {
|
|
1000
1006
|
border-left: 1px solid var(--app-border-1);
|
|
1001
1007
|
}
|
|
1002
1008
|
|
|
1003
|
-
.
|
|
1009
|
+
._identityStatLabel_1y6np_129 {
|
|
1004
1010
|
color: var(--semi-color-text-2);
|
|
1005
1011
|
font-size: 12px;
|
|
1006
1012
|
line-height: 18px;
|
|
1007
1013
|
}
|
|
1008
1014
|
|
|
1009
|
-
.
|
|
1015
|
+
._identityStatValue_1y6np_135 {
|
|
1010
1016
|
overflow: hidden;
|
|
1011
1017
|
max-width: 100%;
|
|
1012
1018
|
color: var(--semi-color-text-0);
|
|
@@ -1018,7 +1024,7 @@
|
|
|
1018
1024
|
white-space: nowrap;
|
|
1019
1025
|
}
|
|
1020
1026
|
|
|
1021
|
-
.
|
|
1027
|
+
._nav_1y6np_147 {
|
|
1022
1028
|
display: flex;
|
|
1023
1029
|
flex-direction: column;
|
|
1024
1030
|
gap: 2px;
|
|
@@ -1027,7 +1033,7 @@
|
|
|
1027
1033
|
|
|
1028
1034
|
/* 分区菜单项:44px、8px 圆角;悬停浅灰底,当前分区浅主色底加粗。
|
|
1029
1035
|
选择器比 Semi 文字按钮的悬停规则更具体。 */
|
|
1030
|
-
.
|
|
1036
|
+
._nav_1y6np_147 ._navItem_1y6np_156.semi-button.semi-button-borderless {
|
|
1031
1037
|
display: flex;
|
|
1032
1038
|
width: 100%;
|
|
1033
1039
|
height: 44px;
|
|
@@ -1043,63 +1049,63 @@
|
|
|
1043
1049
|
}
|
|
1044
1050
|
|
|
1045
1051
|
/* Semi 把按钮子元素包进 .semi-button-content,图标、文字与箭头的间距要写在它上面 */
|
|
1046
|
-
.
|
|
1052
|
+
._nav_1y6np_147 ._navItem_1y6np_156 .semi-button-content {
|
|
1047
1053
|
display: flex;
|
|
1048
1054
|
width: 100%;
|
|
1049
1055
|
align-items: center;
|
|
1050
1056
|
gap: 10px;
|
|
1051
1057
|
}
|
|
1052
1058
|
|
|
1053
|
-
.
|
|
1059
|
+
._nav_1y6np_147 ._navItem_1y6np_156.semi-button.semi-button-borderless:hover {
|
|
1054
1060
|
background: var(--semi-color-fill-0);
|
|
1055
1061
|
color: rgb(var(--app-brand-6));
|
|
1056
1062
|
}
|
|
1057
1063
|
|
|
1058
|
-
.
|
|
1059
|
-
.
|
|
1064
|
+
._nav_1y6np_147 ._navItem_1y6np_156[aria-current='page'].semi-button.semi-button-borderless,
|
|
1065
|
+
._nav_1y6np_147 ._navItem_1y6np_156[aria-current='page'].semi-button.semi-button-borderless:hover {
|
|
1060
1066
|
background: var(--semi-color-primary-light-default);
|
|
1061
1067
|
color: rgb(var(--app-brand-6));
|
|
1062
1068
|
font-weight: 600;
|
|
1063
1069
|
}
|
|
1064
1070
|
|
|
1065
|
-
.
|
|
1071
|
+
._navIcon_1y6np_191 {
|
|
1066
1072
|
display: inline-flex;
|
|
1067
1073
|
color: var(--semi-color-text-2);
|
|
1068
1074
|
font-size: 18px;
|
|
1069
1075
|
}
|
|
1070
1076
|
|
|
1071
|
-
.
|
|
1072
|
-
.
|
|
1077
|
+
._navItem_1y6np_156:hover ._navIcon_1y6np_191,
|
|
1078
|
+
._navItem_1y6np_156[aria-current='page'] ._navIcon_1y6np_191 {
|
|
1073
1079
|
color: rgb(var(--app-brand-6));
|
|
1074
1080
|
}
|
|
1075
1081
|
|
|
1076
|
-
.
|
|
1082
|
+
._navLabel_1y6np_202 {
|
|
1077
1083
|
flex: 1 1 auto;
|
|
1078
1084
|
text-align: left;
|
|
1079
1085
|
}
|
|
1080
1086
|
|
|
1081
|
-
.
|
|
1087
|
+
._navArrow_1y6np_207 {
|
|
1082
1088
|
color: var(--semi-color-text-3);
|
|
1083
1089
|
font-size: 12px;
|
|
1084
1090
|
opacity: 0;
|
|
1085
1091
|
transition: opacity 0.2s var(--app-ease);
|
|
1086
1092
|
}
|
|
1087
1093
|
|
|
1088
|
-
.
|
|
1089
|
-
.
|
|
1094
|
+
._navItem_1y6np_156:hover ._navArrow_1y6np_207,
|
|
1095
|
+
._navItem_1y6np_156[aria-current='page'] ._navArrow_1y6np_207 {
|
|
1090
1096
|
opacity: 1;
|
|
1091
1097
|
}
|
|
1092
1098
|
|
|
1093
|
-
.
|
|
1099
|
+
._navItem_1y6np_156[aria-current='page'] ._navArrow_1y6np_207 {
|
|
1094
1100
|
color: rgb(var(--app-brand-6));
|
|
1095
1101
|
}
|
|
1096
1102
|
|
|
1097
|
-
.
|
|
1103
|
+
._asideFoot_1y6np_223 {
|
|
1098
1104
|
padding: 8px;
|
|
1099
1105
|
border-top: 1px solid var(--app-border-1);
|
|
1100
1106
|
}
|
|
1101
1107
|
|
|
1102
|
-
.
|
|
1108
|
+
._asideFoot_1y6np_223 ._logout_1y6np_228.semi-button.semi-button-borderless {
|
|
1103
1109
|
display: flex;
|
|
1104
1110
|
width: 100%;
|
|
1105
1111
|
height: 40px;
|
|
@@ -1112,7 +1118,7 @@
|
|
|
1112
1118
|
font-size: 14px;
|
|
1113
1119
|
}
|
|
1114
1120
|
|
|
1115
|
-
.
|
|
1121
|
+
._asideFoot_1y6np_223 ._logout_1y6np_228.semi-button.semi-button-borderless:hover {
|
|
1116
1122
|
background: var(--semi-color-fill-0);
|
|
1117
1123
|
color: rgb(var(--semi-red-5));
|
|
1118
1124
|
}
|
|
@@ -1120,7 +1126,7 @@
|
|
|
1120
1126
|
/* ---------- 右侧:白底面板,分区标题与各段内容 ---------- */
|
|
1121
1127
|
|
|
1122
1128
|
/* 至少高到视口底部:减去顶栏和 .center 的上下留白(16px + 40px)。 */
|
|
1123
|
-
.
|
|
1129
|
+
._main_1y6np_249 {
|
|
1124
1130
|
display: flex;
|
|
1125
1131
|
min-width: 0;
|
|
1126
1132
|
min-height: calc(100dvh - var(--app-header-height) - 56px);
|
|
@@ -1133,12 +1139,14 @@
|
|
|
1133
1139
|
box-shadow: var(--app-shadow-card);
|
|
1134
1140
|
}
|
|
1135
1141
|
|
|
1136
|
-
.
|
|
1142
|
+
._head_1y6np_262 {
|
|
1137
1143
|
padding-bottom: 20px;
|
|
1138
1144
|
border-bottom: 1px solid var(--app-border-1);
|
|
1139
1145
|
}
|
|
1140
1146
|
|
|
1141
|
-
.
|
|
1147
|
+
/* 比 Semi 的标题规则(.semi-typography-h1.semi-typography)多一个类,不依赖样式表先后 */
|
|
1148
|
+
._title_1y6np_268.semi-typography.semi-typography-h1,
|
|
1149
|
+
._title_1y6np_268.semi-typography {
|
|
1142
1150
|
margin: 0;
|
|
1143
1151
|
color: var(--semi-color-text-0);
|
|
1144
1152
|
font-size: 24px;
|
|
@@ -1146,7 +1154,7 @@
|
|
|
1146
1154
|
line-height: 32px;
|
|
1147
1155
|
}
|
|
1148
1156
|
|
|
1149
|
-
.
|
|
1157
|
+
._description_1y6np_277.semi-typography {
|
|
1150
1158
|
margin: 6px 0 0;
|
|
1151
1159
|
color: var(--semi-color-text-2);
|
|
1152
1160
|
font-size: 14px;
|
|
@@ -1155,58 +1163,58 @@
|
|
|
1155
1163
|
|
|
1156
1164
|
/* 面板里的一段内容:去掉主题给卡片的投影和底色,段标题在上,内容紧随其后;相邻两段之间一条细分隔线。
|
|
1157
1165
|
积分明细是爆款复刻里复用的卡片,包一层 .usage 套同样的平铺样式。 */
|
|
1158
|
-
.
|
|
1159
|
-
.
|
|
1166
|
+
._card_1y6np_286.semi-card,
|
|
1167
|
+
._usage_1y6np_285 > .semi-card {
|
|
1160
1168
|
border: none;
|
|
1161
1169
|
border-radius: 0;
|
|
1162
1170
|
background: transparent;
|
|
1163
1171
|
box-shadow: none;
|
|
1164
1172
|
}
|
|
1165
1173
|
|
|
1166
|
-
.
|
|
1174
|
+
._card_1y6np_286 + ._card_1y6np_286 {
|
|
1167
1175
|
padding-top: 24px;
|
|
1168
1176
|
border-top: 1px solid var(--app-border-1);
|
|
1169
1177
|
}
|
|
1170
1178
|
|
|
1171
|
-
.
|
|
1172
|
-
.
|
|
1179
|
+
._card_1y6np_286 .semi-card-header,
|
|
1180
|
+
._usage_1y6np_285 > .semi-card > .semi-card-header {
|
|
1173
1181
|
height: auto;
|
|
1174
1182
|
padding: 0;
|
|
1175
1183
|
border-bottom: none;
|
|
1176
1184
|
}
|
|
1177
1185
|
|
|
1178
|
-
.
|
|
1179
|
-
.
|
|
1186
|
+
._card_1y6np_286 .semi-card-header-wrapper-title,
|
|
1187
|
+
._usage_1y6np_285 > .semi-card > .semi-card-header .semi-card-header-wrapper-title {
|
|
1180
1188
|
font-size: 16px;
|
|
1181
1189
|
font-weight: 600;
|
|
1182
1190
|
}
|
|
1183
1191
|
|
|
1184
|
-
.
|
|
1185
|
-
.
|
|
1192
|
+
._card_1y6np_286 .semi-card-body,
|
|
1193
|
+
._usage_1y6np_285 > .semi-card > .semi-card-body {
|
|
1186
1194
|
padding: 16px 0 0;
|
|
1187
1195
|
}
|
|
1188
1196
|
|
|
1189
1197
|
/* 账号信息:两列字段,标签灰色小字在上,值在下,再下一行是说明。 */
|
|
1190
|
-
.
|
|
1198
|
+
._fields_1y6np_318 {
|
|
1191
1199
|
display: grid;
|
|
1192
1200
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1193
1201
|
gap: 20px 32px;
|
|
1194
1202
|
}
|
|
1195
1203
|
|
|
1196
|
-
.
|
|
1204
|
+
._field_1y6np_318 {
|
|
1197
1205
|
display: flex;
|
|
1198
1206
|
min-width: 0;
|
|
1199
1207
|
flex-direction: column;
|
|
1200
1208
|
gap: 6px;
|
|
1201
1209
|
}
|
|
1202
1210
|
|
|
1203
|
-
.
|
|
1211
|
+
._fieldLabel_1y6np_331 {
|
|
1204
1212
|
color: var(--semi-color-text-2);
|
|
1205
1213
|
font-size: 13px;
|
|
1206
1214
|
line-height: 20px;
|
|
1207
1215
|
}
|
|
1208
1216
|
|
|
1209
|
-
.
|
|
1217
|
+
._fieldValue_1y6np_337 {
|
|
1210
1218
|
display: flex;
|
|
1211
1219
|
min-width: 0;
|
|
1212
1220
|
flex-direction: column;
|
|
@@ -1214,7 +1222,7 @@
|
|
|
1214
1222
|
}
|
|
1215
1223
|
|
|
1216
1224
|
/* 昵称、空间名可能很长且不带空格:允许在任意位置折行,不挤进右边一列。 */
|
|
1217
|
-
.
|
|
1225
|
+
._fieldText_1y6np_345 {
|
|
1218
1226
|
display: inline-flex;
|
|
1219
1227
|
min-width: 0;
|
|
1220
1228
|
flex-wrap: wrap;
|
|
@@ -1227,19 +1235,19 @@
|
|
|
1227
1235
|
overflow-wrap: anywhere;
|
|
1228
1236
|
}
|
|
1229
1237
|
|
|
1230
|
-
.
|
|
1238
|
+
._fieldMuted_1y6np_358 {
|
|
1231
1239
|
color: var(--semi-color-text-2);
|
|
1232
1240
|
font-size: 14px;
|
|
1233
1241
|
font-weight: 400;
|
|
1234
1242
|
}
|
|
1235
1243
|
|
|
1236
|
-
.
|
|
1244
|
+
._fieldHint_1y6np_364 {
|
|
1237
1245
|
color: var(--semi-color-text-2);
|
|
1238
1246
|
font-size: 12px;
|
|
1239
1247
|
line-height: 18px;
|
|
1240
1248
|
}
|
|
1241
1249
|
|
|
1242
|
-
.
|
|
1250
|
+
._mono_1y6np_370.semi-typography {
|
|
1243
1251
|
margin: 0;
|
|
1244
1252
|
color: var(--semi-color-text-0);
|
|
1245
1253
|
font-family: var(--font-family-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
|
|
@@ -1248,17 +1256,17 @@
|
|
|
1248
1256
|
word-break: break-all;
|
|
1249
1257
|
}
|
|
1250
1258
|
|
|
1251
|
-
.
|
|
1259
|
+
._inlineTag_1y6np_379.semi-tag {
|
|
1252
1260
|
margin: 0;
|
|
1253
1261
|
}
|
|
1254
1262
|
|
|
1255
1263
|
/* 一行设置:40px 浅主色图标块、标题与说明、右侧按钮;行之间细分隔线。 */
|
|
1256
|
-
.
|
|
1264
|
+
._settingList_1y6np_384 {
|
|
1257
1265
|
display: flex;
|
|
1258
1266
|
flex-direction: column;
|
|
1259
1267
|
}
|
|
1260
1268
|
|
|
1261
|
-
.
|
|
1269
|
+
._settingRow_1y6np_389 {
|
|
1262
1270
|
display: flex;
|
|
1263
1271
|
align-items: center;
|
|
1264
1272
|
gap: 16px;
|
|
@@ -1266,15 +1274,15 @@
|
|
|
1266
1274
|
border-bottom: 1px solid var(--app-border-1);
|
|
1267
1275
|
}
|
|
1268
1276
|
|
|
1269
|
-
.
|
|
1277
|
+
._settingList_1y6np_384 > ._settingRow_1y6np_389:first-child {
|
|
1270
1278
|
padding-top: 4px;
|
|
1271
1279
|
}
|
|
1272
1280
|
|
|
1273
|
-
.
|
|
1281
|
+
._settingList_1y6np_384 > ._settingRow_1y6np_389:last-child {
|
|
1274
1282
|
border-bottom: none;
|
|
1275
1283
|
}
|
|
1276
1284
|
|
|
1277
|
-
.
|
|
1285
|
+
._settingIcon_1y6np_405 {
|
|
1278
1286
|
display: inline-flex;
|
|
1279
1287
|
width: 40px;
|
|
1280
1288
|
height: 40px;
|
|
@@ -1287,7 +1295,7 @@
|
|
|
1287
1295
|
font-size: 20px;
|
|
1288
1296
|
}
|
|
1289
1297
|
|
|
1290
|
-
.
|
|
1298
|
+
._settingText_1y6np_418 {
|
|
1291
1299
|
display: flex;
|
|
1292
1300
|
min-width: 0;
|
|
1293
1301
|
flex: 1 1 auto;
|
|
@@ -1295,24 +1303,24 @@
|
|
|
1295
1303
|
gap: 4px;
|
|
1296
1304
|
}
|
|
1297
1305
|
|
|
1298
|
-
.
|
|
1306
|
+
._settingTitle_1y6np_426 {
|
|
1299
1307
|
color: var(--semi-color-text-0);
|
|
1300
1308
|
font-size: 15px;
|
|
1301
1309
|
font-weight: 500;
|
|
1302
1310
|
line-height: 22px;
|
|
1303
1311
|
}
|
|
1304
1312
|
|
|
1305
|
-
.
|
|
1313
|
+
._settingDescription_1y6np_433 {
|
|
1306
1314
|
color: var(--semi-color-text-2);
|
|
1307
1315
|
font-size: 13px;
|
|
1308
1316
|
line-height: 20px;
|
|
1309
1317
|
}
|
|
1310
1318
|
|
|
1311
|
-
.
|
|
1319
|
+
._settingAction_1y6np_439 {
|
|
1312
1320
|
flex: none;
|
|
1313
1321
|
}
|
|
1314
1322
|
|
|
1315
|
-
.
|
|
1323
|
+
._note_1y6np_443 {
|
|
1316
1324
|
display: flex;
|
|
1317
1325
|
align-items: flex-start;
|
|
1318
1326
|
gap: 8px;
|
|
@@ -1325,20 +1333,20 @@
|
|
|
1325
1333
|
line-height: 20px;
|
|
1326
1334
|
}
|
|
1327
1335
|
|
|
1328
|
-
.
|
|
1336
|
+
._note_1y6np_443 > .semi-icon {
|
|
1329
1337
|
flex: none;
|
|
1330
1338
|
margin-top: 3px;
|
|
1331
1339
|
color: rgb(var(--semi-green-5));
|
|
1332
1340
|
}
|
|
1333
1341
|
|
|
1334
1342
|
/* 去账号中心的按钮:文字后一个小外链图标。 */
|
|
1335
|
-
.
|
|
1343
|
+
._centerLink_1y6np_463.semi-button {
|
|
1336
1344
|
display: inline-flex;
|
|
1337
1345
|
align-items: center;
|
|
1338
1346
|
gap: 6px;
|
|
1339
1347
|
}
|
|
1340
1348
|
|
|
1341
|
-
.
|
|
1349
|
+
._centerLinkIcon_1y6np_469 {
|
|
1342
1350
|
font-size: 12px;
|
|
1343
1351
|
opacity: 0.75;
|
|
1344
1352
|
}
|
|
@@ -1346,14 +1354,14 @@
|
|
|
1346
1354
|
/* ---------- 套餐、积分的主卡片:浅主色渐变,大号数值,右侧操作;底部一行说明 ---------- */
|
|
1347
1355
|
|
|
1348
1356
|
/* 面板里唯一自成一块的内容:细描边代替主题的卡片投影,圆角比面板小一档。 */
|
|
1349
|
-
.
|
|
1357
|
+
._heroCard_1y6np_477.semi-card {
|
|
1350
1358
|
overflow: hidden;
|
|
1351
1359
|
border: 1px solid var(--app-border-2);
|
|
1352
1360
|
border-radius: 10px;
|
|
1353
1361
|
box-shadow: none;
|
|
1354
1362
|
}
|
|
1355
1363
|
|
|
1356
|
-
.
|
|
1364
|
+
._hero_1y6np_477 {
|
|
1357
1365
|
display: flex;
|
|
1358
1366
|
align-items: center;
|
|
1359
1367
|
justify-content: space-between;
|
|
@@ -1364,13 +1372,13 @@
|
|
|
1364
1372
|
linear-gradient(135deg, rgb(var(--app-brand-1)) 0%, var(--semi-color-bg-1) 72%);
|
|
1365
1373
|
}
|
|
1366
1374
|
|
|
1367
|
-
.
|
|
1375
|
+
._hero_1y6np_477[data-tone='warning'] {
|
|
1368
1376
|
background:
|
|
1369
1377
|
radial-gradient(120% 160% at 100% 0%, rgba(var(--semi-orange-2), 0.3) 0%, transparent 55%),
|
|
1370
1378
|
linear-gradient(135deg, rgb(var(--semi-orange-0)) 0%, var(--semi-color-bg-1) 72%);
|
|
1371
1379
|
}
|
|
1372
1380
|
|
|
1373
|
-
.
|
|
1381
|
+
._heroMain_1y6np_501 {
|
|
1374
1382
|
display: flex;
|
|
1375
1383
|
min-width: 0;
|
|
1376
1384
|
flex: 1 1 auto;
|
|
@@ -1379,7 +1387,7 @@
|
|
|
1379
1387
|
}
|
|
1380
1388
|
|
|
1381
1389
|
/* “当前套餐 · 空间名”一行显示,空间名太长时省略,完整名称在悬停提示里。 */
|
|
1382
|
-
.
|
|
1390
|
+
._heroEyebrow_1y6np_510 {
|
|
1383
1391
|
display: inline-flex;
|
|
1384
1392
|
max-width: 100%;
|
|
1385
1393
|
align-items: center;
|
|
@@ -1389,23 +1397,23 @@
|
|
|
1389
1397
|
line-height: 20px;
|
|
1390
1398
|
}
|
|
1391
1399
|
|
|
1392
|
-
.
|
|
1400
|
+
._heroEyebrow_1y6np_510 > .semi-icon {
|
|
1393
1401
|
flex: none;
|
|
1394
1402
|
color: rgb(var(--app-brand-6));
|
|
1395
1403
|
}
|
|
1396
1404
|
|
|
1397
|
-
.
|
|
1405
|
+
._heroEyebrowText_1y6np_525 {
|
|
1398
1406
|
overflow: hidden;
|
|
1399
1407
|
min-width: 0;
|
|
1400
1408
|
text-overflow: ellipsis;
|
|
1401
1409
|
white-space: nowrap;
|
|
1402
1410
|
}
|
|
1403
1411
|
|
|
1404
|
-
.
|
|
1412
|
+
._hero_1y6np_477[data-tone='warning'] ._heroEyebrow_1y6np_510 > .semi-icon {
|
|
1405
1413
|
color: rgb(var(--semi-orange-5));
|
|
1406
1414
|
}
|
|
1407
1415
|
|
|
1408
|
-
.
|
|
1416
|
+
._heroValue_1y6np_536 {
|
|
1409
1417
|
color: var(--semi-color-text-0);
|
|
1410
1418
|
font-size: 32px;
|
|
1411
1419
|
font-variant-numeric: tabular-nums;
|
|
@@ -1415,7 +1423,7 @@
|
|
|
1415
1423
|
overflow-wrap: anywhere;
|
|
1416
1424
|
}
|
|
1417
1425
|
|
|
1418
|
-
.
|
|
1426
|
+
._heroMeta_1y6np_546 {
|
|
1419
1427
|
display: inline-flex;
|
|
1420
1428
|
flex-wrap: wrap;
|
|
1421
1429
|
align-items: center;
|
|
@@ -1425,11 +1433,11 @@
|
|
|
1425
1433
|
line-height: 20px;
|
|
1426
1434
|
}
|
|
1427
1435
|
|
|
1428
|
-
.
|
|
1436
|
+
._heroMeta_1y6np_546 .semi-tag {
|
|
1429
1437
|
margin: 0;
|
|
1430
1438
|
}
|
|
1431
1439
|
|
|
1432
|
-
.
|
|
1440
|
+
._heroActions_1y6np_560 {
|
|
1433
1441
|
display: flex;
|
|
1434
1442
|
flex: none;
|
|
1435
1443
|
flex-wrap: wrap;
|
|
@@ -1438,7 +1446,7 @@
|
|
|
1438
1446
|
gap: 8px;
|
|
1439
1447
|
}
|
|
1440
1448
|
|
|
1441
|
-
.
|
|
1449
|
+
._heroFoot_1y6np_569 {
|
|
1442
1450
|
display: flex;
|
|
1443
1451
|
min-height: 44px;
|
|
1444
1452
|
box-sizing: border-box;
|
|
@@ -1452,11 +1460,11 @@
|
|
|
1452
1460
|
line-height: 20px;
|
|
1453
1461
|
}
|
|
1454
1462
|
|
|
1455
|
-
.
|
|
1463
|
+
._heroFoot_1y6np_569 > .semi-button {
|
|
1456
1464
|
flex: none;
|
|
1457
1465
|
}
|
|
1458
1466
|
|
|
1459
|
-
.
|
|
1467
|
+
._ownerOnly_1y6np_587 {
|
|
1460
1468
|
padding: 0 4px;
|
|
1461
1469
|
color: var(--semi-color-text-2);
|
|
1462
1470
|
font-size: 13px;
|
|
@@ -1465,34 +1473,34 @@
|
|
|
1465
1473
|
/* ---------- 窄屏:身份卡片在上(横排),分区菜单一行横排,退出登录收进右上角账号下拉 ---------- */
|
|
1466
1474
|
|
|
1467
1475
|
@media (max-width: 768px) {
|
|
1468
|
-
.
|
|
1476
|
+
._center_1y6np_7 {
|
|
1469
1477
|
padding: 8px 0 24px;
|
|
1470
1478
|
grid-template-columns: minmax(0, 1fr);
|
|
1471
1479
|
gap: 16px;
|
|
1472
1480
|
}
|
|
1473
1481
|
|
|
1474
|
-
.
|
|
1482
|
+
._aside_1y6np_21 {
|
|
1475
1483
|
position: static;
|
|
1476
1484
|
}
|
|
1477
1485
|
|
|
1478
|
-
.
|
|
1486
|
+
._identity_1y6np_27 {
|
|
1479
1487
|
flex-direction: row;
|
|
1480
1488
|
padding: 16px;
|
|
1481
1489
|
text-align: left;
|
|
1482
1490
|
}
|
|
1483
1491
|
|
|
1484
|
-
.
|
|
1492
|
+
._identityText_1y6np_55 {
|
|
1485
1493
|
align-items: flex-start;
|
|
1486
1494
|
}
|
|
1487
1495
|
|
|
1488
|
-
.
|
|
1496
|
+
._nav_1y6np_147 {
|
|
1489
1497
|
flex-direction: row;
|
|
1490
1498
|
overflow-x: auto;
|
|
1491
1499
|
scrollbar-width: none;
|
|
1492
1500
|
}
|
|
1493
1501
|
|
|
1494
1502
|
/* 三个分区平分一行,只留文字 */
|
|
1495
|
-
.
|
|
1503
|
+
._nav_1y6np_147 ._navItem_1y6np_156.semi-button.semi-button-borderless {
|
|
1496
1504
|
width: auto;
|
|
1497
1505
|
min-width: 0;
|
|
1498
1506
|
height: 40px;
|
|
@@ -1502,83 +1510,83 @@
|
|
|
1502
1510
|
font-size: 14px;
|
|
1503
1511
|
}
|
|
1504
1512
|
|
|
1505
|
-
.
|
|
1513
|
+
._navLabel_1y6np_202 {
|
|
1506
1514
|
flex: none;
|
|
1507
1515
|
white-space: nowrap;
|
|
1508
1516
|
}
|
|
1509
1517
|
|
|
1510
|
-
.
|
|
1511
|
-
.
|
|
1512
|
-
.
|
|
1518
|
+
._navIcon_1y6np_191,
|
|
1519
|
+
._navArrow_1y6np_207,
|
|
1520
|
+
._asideFoot_1y6np_223 {
|
|
1513
1521
|
display: none;
|
|
1514
1522
|
}
|
|
1515
1523
|
|
|
1516
1524
|
/* 身份卡片在上面,面板不再需要铺满视口 */
|
|
1517
|
-
.
|
|
1525
|
+
._main_1y6np_249 {
|
|
1518
1526
|
min-height: 0;
|
|
1519
1527
|
gap: 20px;
|
|
1520
1528
|
padding: 20px 16px 24px;
|
|
1521
1529
|
}
|
|
1522
1530
|
|
|
1523
|
-
.
|
|
1531
|
+
._head_1y6np_262 {
|
|
1524
1532
|
padding-bottom: 16px;
|
|
1525
1533
|
}
|
|
1526
1534
|
|
|
1527
|
-
.
|
|
1535
|
+
._card_1y6np_286 + ._card_1y6np_286 {
|
|
1528
1536
|
padding-top: 20px;
|
|
1529
1537
|
}
|
|
1530
1538
|
|
|
1531
|
-
.
|
|
1532
|
-
.
|
|
1539
|
+
._card_1y6np_286 .semi-card-body,
|
|
1540
|
+
._usage_1y6np_285 > .semi-card > .semi-card-body {
|
|
1533
1541
|
padding-top: 12px;
|
|
1534
1542
|
}
|
|
1535
1543
|
|
|
1536
|
-
.
|
|
1544
|
+
._fields_1y6np_318 {
|
|
1537
1545
|
grid-template-columns: minmax(0, 1fr);
|
|
1538
1546
|
}
|
|
1539
1547
|
|
|
1540
1548
|
/* 窄屏一行设置:图标在左,标题、说明和按钮都在右边一列 */
|
|
1541
|
-
.
|
|
1549
|
+
._settingRow_1y6np_389 {
|
|
1542
1550
|
display: grid;
|
|
1543
1551
|
grid-template-columns: 40px minmax(0, 1fr);
|
|
1544
1552
|
align-items: start;
|
|
1545
1553
|
gap: 10px 16px;
|
|
1546
1554
|
}
|
|
1547
1555
|
|
|
1548
|
-
.
|
|
1556
|
+
._settingAction_1y6np_439 {
|
|
1549
1557
|
grid-column: 2;
|
|
1550
1558
|
}
|
|
1551
1559
|
|
|
1552
|
-
.
|
|
1560
|
+
._hero_1y6np_477 {
|
|
1553
1561
|
flex-direction: column;
|
|
1554
1562
|
align-items: flex-start;
|
|
1555
1563
|
padding: 20px;
|
|
1556
1564
|
}
|
|
1557
1565
|
|
|
1558
|
-
.
|
|
1566
|
+
._heroValue_1y6np_536 {
|
|
1559
1567
|
font-size: 28px;
|
|
1560
1568
|
line-height: 36px;
|
|
1561
1569
|
}
|
|
1562
1570
|
|
|
1563
|
-
.
|
|
1571
|
+
._heroActions_1y6np_560 {
|
|
1564
1572
|
justify-content: flex-start;
|
|
1565
1573
|
}
|
|
1566
1574
|
|
|
1567
|
-
.
|
|
1575
|
+
._heroFoot_1y6np_569 {
|
|
1568
1576
|
flex-direction: column;
|
|
1569
1577
|
align-items: flex-start;
|
|
1570
1578
|
padding: 10px 20px 12px;
|
|
1571
1579
|
}
|
|
1572
1580
|
|
|
1573
1581
|
/* 订单记录这类文字按钮与上面的说明左对齐 */
|
|
1574
|
-
.
|
|
1582
|
+
._heroFoot_1y6np_569 > .semi-button {
|
|
1575
1583
|
padding-right: 0;
|
|
1576
1584
|
padding-left: 0;
|
|
1577
1585
|
}
|
|
1578
1586
|
}
|
|
1579
1587
|
|
|
1580
1588
|
/* 当前套餐读取中的骨架:两行,宽度不超过主卡片的文字区。 */
|
|
1581
|
-
.
|
|
1589
|
+
._heroSkeleton_1y6np_709 {
|
|
1582
1590
|
width: 240px;
|
|
1583
1591
|
max-width: 100%;
|
|
1584
1592
|
}
|
|
@@ -2304,14 +2312,14 @@
|
|
|
2304
2312
|
* 选中项浅主色底。尺寸取自有米有数页面的计算样式。颜色只引用 Semi 设计变量。
|
|
2305
2313
|
*/
|
|
2306
2314
|
|
|
2307
|
-
.
|
|
2315
|
+
._layout_1pk01_6 {
|
|
2308
2316
|
min-height: 100dvh;
|
|
2309
2317
|
background: transparent;
|
|
2310
2318
|
}
|
|
2311
2319
|
|
|
2312
2320
|
/* ---------- 顶栏:60px,logo · 产品模块 · 空间与账号 ---------- */
|
|
2313
2321
|
|
|
2314
|
-
.
|
|
2322
|
+
._header_1pk01_13 {
|
|
2315
2323
|
position: sticky;
|
|
2316
2324
|
top: 0;
|
|
2317
2325
|
z-index: 100;
|
|
@@ -2327,12 +2335,12 @@
|
|
|
2327
2335
|
box-shadow 0.2s var(--app-ease);
|
|
2328
2336
|
}
|
|
2329
2337
|
|
|
2330
|
-
.
|
|
2338
|
+
._header_1pk01_13[data-scrolled='true'] {
|
|
2331
2339
|
background: var(--semi-color-bg-1);
|
|
2332
2340
|
box-shadow: 0 4px 4px rgba(var(--semi-grey-9), 0.04);
|
|
2333
2341
|
}
|
|
2334
2342
|
|
|
2335
|
-
.
|
|
2343
|
+
._headerLeft_1pk01_34 {
|
|
2336
2344
|
display: flex;
|
|
2337
2345
|
min-width: 0;
|
|
2338
2346
|
height: 100%;
|
|
@@ -2340,7 +2348,7 @@
|
|
|
2340
2348
|
gap: 40px;
|
|
2341
2349
|
}
|
|
2342
2350
|
|
|
2343
|
-
.
|
|
2351
|
+
._logo_1pk01_42.semi-button {
|
|
2344
2352
|
display: inline-flex;
|
|
2345
2353
|
height: 40px;
|
|
2346
2354
|
flex-shrink: 0;
|
|
@@ -2350,19 +2358,19 @@
|
|
|
2350
2358
|
background: transparent;
|
|
2351
2359
|
}
|
|
2352
2360
|
|
|
2353
|
-
.
|
|
2361
|
+
._logo_1pk01_42.semi-button:hover {
|
|
2354
2362
|
background: transparent;
|
|
2355
2363
|
}
|
|
2356
2364
|
|
|
2357
2365
|
/* 30px 产品图标(叠卡复刻,浅橙渐变圆角底自带在 SVG 里,与 public/favicon.svg 是同一张),与公开首页顶栏同一尺寸;宽屏再接一段 16px 字标。 */
|
|
2358
|
-
.
|
|
2366
|
+
._logoMark_1pk01_57 {
|
|
2359
2367
|
display: inline-block;
|
|
2360
2368
|
width: 30px;
|
|
2361
2369
|
height: 30px;
|
|
2362
2370
|
flex: none;
|
|
2363
2371
|
}
|
|
2364
2372
|
|
|
2365
|
-
.
|
|
2373
|
+
._logoText_1pk01_64.semi-typography {
|
|
2366
2374
|
display: none;
|
|
2367
2375
|
color: var(--semi-color-text-0);
|
|
2368
2376
|
font-size: 16px;
|
|
@@ -2371,7 +2379,7 @@
|
|
|
2371
2379
|
white-space: nowrap;
|
|
2372
2380
|
}
|
|
2373
2381
|
|
|
2374
|
-
.
|
|
2382
|
+
._modules_1pk01_73 {
|
|
2375
2383
|
display: flex;
|
|
2376
2384
|
height: 100%;
|
|
2377
2385
|
align-items: stretch;
|
|
@@ -2381,7 +2389,7 @@
|
|
|
2381
2389
|
/* 模块菜单:16px 文字(素材平台前有平台图标),选中主色加粗,下方一条与图标加文字同宽的 2px 主色短线。
|
|
2382
2390
|
悬停只变文字颜色:Semi 文字按钮悬停、按下时铺的灰底,按下时的缩小和聚焦时的灰圈都去掉
|
|
2383
2391
|
(选择器要比 Semi 文字按钮的悬停规则更具体),键盘聚焦改为文字外一圈主色描边。 */
|
|
2384
|
-
.
|
|
2392
|
+
._modules_1pk01_73 ._module_1pk01_73.semi-button.semi-button-borderless {
|
|
2385
2393
|
position: relative;
|
|
2386
2394
|
display: inline-flex;
|
|
2387
2395
|
height: 100%;
|
|
@@ -2396,30 +2404,30 @@
|
|
|
2396
2404
|
font-weight: 400;
|
|
2397
2405
|
}
|
|
2398
2406
|
|
|
2399
|
-
.
|
|
2400
|
-
.
|
|
2401
|
-
.
|
|
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 {
|
|
2402
2410
|
background: transparent;
|
|
2403
2411
|
box-shadow: none;
|
|
2404
2412
|
scale: none;
|
|
2405
2413
|
}
|
|
2406
2414
|
|
|
2407
|
-
.
|
|
2415
|
+
._modules_1pk01_73 ._module_1pk01_73.semi-button.semi-button-borderless:hover {
|
|
2408
2416
|
color: rgb(var(--app-brand-6));
|
|
2409
2417
|
}
|
|
2410
2418
|
|
|
2411
|
-
.
|
|
2419
|
+
._modules_1pk01_73 ._module_1pk01_73.semi-button.semi-button-borderless:focus-visible ._moduleText_1pk01_110 {
|
|
2412
2420
|
border-radius: 4px;
|
|
2413
2421
|
outline: 2px solid rgb(var(--app-brand-6));
|
|
2414
2422
|
outline-offset: 4px;
|
|
2415
2423
|
}
|
|
2416
2424
|
|
|
2417
|
-
.
|
|
2425
|
+
._modules_1pk01_73 ._module_1pk01_73[aria-current='page'].semi-button.semi-button-borderless {
|
|
2418
2426
|
color: rgb(var(--app-brand-6));
|
|
2419
2427
|
font-weight: 600;
|
|
2420
2428
|
}
|
|
2421
2429
|
|
|
2422
|
-
.
|
|
2430
|
+
._moduleText_1pk01_110 {
|
|
2423
2431
|
position: relative;
|
|
2424
2432
|
display: inline-flex;
|
|
2425
2433
|
align-items: center;
|
|
@@ -2428,11 +2436,11 @@
|
|
|
2428
2436
|
white-space: nowrap;
|
|
2429
2437
|
}
|
|
2430
2438
|
|
|
2431
|
-
.
|
|
2439
|
+
._moduleIcon_1pk01_130 {
|
|
2432
2440
|
display: inline-flex;
|
|
2433
2441
|
}
|
|
2434
2442
|
|
|
2435
|
-
.
|
|
2443
|
+
._moduleInk_1pk01_134 {
|
|
2436
2444
|
position: absolute;
|
|
2437
2445
|
bottom: 10px;
|
|
2438
2446
|
left: 0;
|
|
@@ -2447,12 +2455,12 @@
|
|
|
2447
2455
|
transform 0.2s var(--app-ease);
|
|
2448
2456
|
}
|
|
2449
2457
|
|
|
2450
|
-
.
|
|
2458
|
+
._module_1pk01_73[aria-current='page'] ._moduleInk_1pk01_134 {
|
|
2451
2459
|
opacity: 1;
|
|
2452
2460
|
transform: scaleX(1);
|
|
2453
2461
|
}
|
|
2454
2462
|
|
|
2455
|
-
.
|
|
2463
|
+
._headerRight_1pk01_154.semi-space {
|
|
2456
2464
|
min-width: 0;
|
|
2457
2465
|
flex-wrap: nowrap;
|
|
2458
2466
|
}
|
|
@@ -2461,13 +2469,13 @@
|
|
|
2461
2469
|
|
|
2462
2470
|
/* ---------- 侧栏:232px,224px 白底圆角面板 ---------- */
|
|
2463
2471
|
|
|
2464
|
-
.
|
|
2472
|
+
._body_1pk01_163.semi-layout {
|
|
2465
2473
|
min-height: calc(100dvh - var(--app-header-height));
|
|
2466
2474
|
flex-direction: row;
|
|
2467
2475
|
background: transparent;
|
|
2468
2476
|
}
|
|
2469
2477
|
|
|
2470
|
-
.
|
|
2478
|
+
._sider_1pk01_169 {
|
|
2471
2479
|
position: sticky;
|
|
2472
2480
|
z-index: 50;
|
|
2473
2481
|
top: var(--app-header-height);
|
|
@@ -2477,18 +2485,18 @@
|
|
|
2477
2485
|
transition: width 0.2s var(--app-ease);
|
|
2478
2486
|
}
|
|
2479
2487
|
|
|
2480
|
-
.
|
|
2488
|
+
._sider_1pk01_169[data-collapsed='true'] {
|
|
2481
2489
|
width: 24px;
|
|
2482
2490
|
}
|
|
2483
2491
|
|
|
2484
|
-
.
|
|
2492
|
+
._siderInner_1pk01_183 {
|
|
2485
2493
|
position: relative;
|
|
2486
2494
|
height: 100%;
|
|
2487
2495
|
box-sizing: border-box;
|
|
2488
2496
|
padding: 8px 0 8px 8px;
|
|
2489
2497
|
}
|
|
2490
2498
|
|
|
2491
|
-
.
|
|
2499
|
+
._panel_1pk01_190 {
|
|
2492
2500
|
display: flex;
|
|
2493
2501
|
width: 224px;
|
|
2494
2502
|
height: 100%;
|
|
@@ -2503,11 +2511,11 @@
|
|
|
2503
2511
|
}
|
|
2504
2512
|
|
|
2505
2513
|
/* 收起:面板移出窄条外;指针移上窄条或点开后浮出,白底加投影盖在内容上。 */
|
|
2506
|
-
.
|
|
2514
|
+
._siderInner_1pk01_183[data-collapsed='true'] {
|
|
2507
2515
|
padding: 8px 0;
|
|
2508
2516
|
}
|
|
2509
2517
|
|
|
2510
|
-
.
|
|
2518
|
+
._siderInner_1pk01_183[data-collapsed='true'] ._panel_1pk01_190 {
|
|
2511
2519
|
position: absolute;
|
|
2512
2520
|
top: 8px;
|
|
2513
2521
|
left: 8px;
|
|
@@ -2519,13 +2527,13 @@
|
|
|
2519
2527
|
transform: translateX(calc(-100% - 16px));
|
|
2520
2528
|
}
|
|
2521
2529
|
|
|
2522
|
-
.
|
|
2530
|
+
._siderInner_1pk01_183[data-collapsed='true'][data-peek='true'] ._panel_1pk01_190 {
|
|
2523
2531
|
opacity: 1;
|
|
2524
2532
|
pointer-events: auto;
|
|
2525
2533
|
transform: translateX(0);
|
|
2526
2534
|
}
|
|
2527
2535
|
|
|
2528
|
-
.
|
|
2536
|
+
._expandButton_1pk01_227.semi-button {
|
|
2529
2537
|
width: 24px;
|
|
2530
2538
|
height: 48px;
|
|
2531
2539
|
padding: 0;
|
|
@@ -2536,12 +2544,12 @@
|
|
|
2536
2544
|
color: var(--semi-color-text-2);
|
|
2537
2545
|
}
|
|
2538
2546
|
|
|
2539
|
-
.
|
|
2547
|
+
._expandButton_1pk01_227.semi-button:hover {
|
|
2540
2548
|
color: rgb(var(--app-brand-6));
|
|
2541
2549
|
}
|
|
2542
2550
|
|
|
2543
2551
|
/* 菜单:分组标题 13px 灰色,菜单项 40px、8px 圆角、18px 灰色图标。每个分组一段 Semi Nav,分组标题由外壳渲染。 */
|
|
2544
|
-
.
|
|
2552
|
+
._menu_1pk01_243 {
|
|
2545
2553
|
display: flex;
|
|
2546
2554
|
overflow-y: auto;
|
|
2547
2555
|
min-height: 0;
|
|
@@ -2552,16 +2560,21 @@
|
|
|
2552
2560
|
scrollbar-width: none;
|
|
2553
2561
|
}
|
|
2554
2562
|
|
|
2555
|
-
.
|
|
2563
|
+
._menuGroup_1pk01_254 {
|
|
2556
2564
|
margin: 0 0 20px;
|
|
2557
2565
|
}
|
|
2558
2566
|
|
|
2559
|
-
.
|
|
2567
|
+
._menuGroup_1pk01_254:first-child {
|
|
2560
2568
|
margin-top: 8px;
|
|
2561
2569
|
}
|
|
2562
2570
|
|
|
2571
|
+
/* 没有标题的分组(例如“我的内容”最上面的两项)后面紧跟下一组的标题,只隔菜单项自带的 4px。 */
|
|
2572
|
+
._menuGroupPlain_1pk01_263 {
|
|
2573
|
+
margin-bottom: 0;
|
|
2574
|
+
}
|
|
2575
|
+
|
|
2563
2576
|
/* 分组标题(行业、内容管理)比菜单项浅:介于次要文字和占位文字之间的灰 */
|
|
2564
|
-
.
|
|
2577
|
+
._menuGroupTitle_1pk01_268 {
|
|
2565
2578
|
height: 24px;
|
|
2566
2579
|
margin: 0 0 6px;
|
|
2567
2580
|
padding: 0 12px;
|
|
@@ -2572,7 +2585,7 @@
|
|
|
2572
2585
|
}
|
|
2573
2586
|
|
|
2574
2587
|
/* Semi 的 Nav 自带 240px 宽、右边框和内边距,这里只要它的列表。 */
|
|
2575
|
-
.
|
|
2588
|
+
._menuList_1pk01_279.semi-navigation {
|
|
2576
2589
|
display: block;
|
|
2577
2590
|
width: 100%;
|
|
2578
2591
|
padding: 0;
|
|
@@ -2580,14 +2593,21 @@
|
|
|
2580
2593
|
background: transparent;
|
|
2581
2594
|
}
|
|
2582
2595
|
|
|
2583
|
-
.
|
|
2584
|
-
.
|
|
2596
|
+
._menuList_1pk01_279 .semi-navigation-inner,
|
|
2597
|
+
._menuList_1pk01_279 .semi-navigation-list-wrapper {
|
|
2585
2598
|
width: 100%;
|
|
2586
2599
|
}
|
|
2587
2600
|
|
|
2601
|
+
/* Semi 竖向导航的列表顶部自带 12px 内边距,每个分组都会多出一截。 */
|
|
2602
|
+
._menuList_1pk01_279 .semi-navigation-list-wrapper {
|
|
2603
|
+
padding-top: 0;
|
|
2604
|
+
}
|
|
2605
|
+
|
|
2588
2606
|
/* 比 Semi 的 .semi-navigation-list > .semi-navigation-item-normal 多一个类,不依赖样式表先后 */
|
|
2589
|
-
.
|
|
2607
|
+
._menuList_1pk01_279 .semi-navigation-list .semi-navigation-item {
|
|
2590
2608
|
height: 40px;
|
|
2609
|
+
/* Semi 的菜单项是 flex 但不居中,它靠 8px 上下内边距和 20px 行高对齐;这里改成 40px 行高,图标要垂直居中 */
|
|
2610
|
+
align-items: center;
|
|
2591
2611
|
margin: 0 0 4px;
|
|
2592
2612
|
padding: 0 12px;
|
|
2593
2613
|
border-radius: var(--app-radius-card);
|
|
@@ -2598,7 +2618,7 @@
|
|
|
2598
2618
|
line-height: 40px;
|
|
2599
2619
|
}
|
|
2600
2620
|
|
|
2601
|
-
.
|
|
2621
|
+
._menuList_1pk01_279 .semi-navigation-item-icon {
|
|
2602
2622
|
min-width: 0;
|
|
2603
2623
|
margin-right: 10px;
|
|
2604
2624
|
color: var(--semi-color-text-2);
|
|
@@ -2606,35 +2626,35 @@
|
|
|
2606
2626
|
}
|
|
2607
2627
|
|
|
2608
2628
|
/* Semi 给 Nav 图标加了 size="large"(20px),这里统一 18px */
|
|
2609
|
-
.
|
|
2629
|
+
._menuList_1pk01_279 .semi-navigation-item-icon .semi-icon {
|
|
2610
2630
|
font-size: 18px;
|
|
2611
2631
|
}
|
|
2612
2632
|
|
|
2613
|
-
.
|
|
2633
|
+
._menuList_1pk01_279 .semi-navigation-item-text {
|
|
2614
2634
|
min-width: 0;
|
|
2615
2635
|
flex: 1;
|
|
2616
2636
|
}
|
|
2617
2637
|
|
|
2618
2638
|
/* 比 Semi 的悬停规则(.semi-navigation-item-normal:hover:not(.semi-navigation-item-selected))多一个类,不依赖样式表先后 */
|
|
2619
|
-
.
|
|
2639
|
+
._menuList_1pk01_279 .semi-navigation-item.semi-navigation-item-normal:not(.semi-navigation-item-disabled):hover {
|
|
2620
2640
|
background: var(--semi-color-fill-0);
|
|
2621
2641
|
color: rgb(var(--app-brand-6));
|
|
2622
2642
|
}
|
|
2623
2643
|
|
|
2624
|
-
.
|
|
2625
|
-
.
|
|
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 {
|
|
2626
2646
|
color: rgb(var(--app-brand-6));
|
|
2627
2647
|
}
|
|
2628
2648
|
|
|
2629
|
-
.
|
|
2630
|
-
.
|
|
2649
|
+
._menuList_1pk01_279 .semi-navigation-item.semi-navigation-item-selected,
|
|
2650
|
+
._menuList_1pk01_279 .semi-navigation-item.semi-navigation-item-selected:hover {
|
|
2631
2651
|
background: var(--semi-color-primary-light-default);
|
|
2632
2652
|
color: rgb(var(--app-brand-6));
|
|
2633
2653
|
font-weight: 600;
|
|
2634
2654
|
}
|
|
2635
2655
|
|
|
2636
2656
|
/* 行业菜单项:名称占满,右边是置顶按钮。没置顶的悬停(或键盘聚焦)才出现,置顶的一直显示为主色。 */
|
|
2637
|
-
.
|
|
2657
|
+
._industryItem_1pk01_348 {
|
|
2638
2658
|
display: flex;
|
|
2639
2659
|
min-width: 0;
|
|
2640
2660
|
align-items: center;
|
|
@@ -2642,15 +2662,15 @@
|
|
|
2642
2662
|
gap: 4px;
|
|
2643
2663
|
}
|
|
2644
2664
|
|
|
2645
|
-
.
|
|
2665
|
+
._industryName_1pk01_356 {
|
|
2646
2666
|
overflow: hidden;
|
|
2647
2667
|
min-width: 0;
|
|
2648
2668
|
text-overflow: ellipsis;
|
|
2649
2669
|
white-space: nowrap;
|
|
2650
2670
|
}
|
|
2651
2671
|
|
|
2652
|
-
.
|
|
2653
|
-
.
|
|
2672
|
+
._menu_1pk01_243 ._pinButton_1pk01_363.semi-button,
|
|
2673
|
+
._menu_1pk01_243 ._pinButtonActive_1pk01_364.semi-button {
|
|
2654
2674
|
width: 24px;
|
|
2655
2675
|
height: 24px;
|
|
2656
2676
|
flex-shrink: 0;
|
|
@@ -2660,35 +2680,35 @@
|
|
|
2660
2680
|
color: var(--semi-color-text-2);
|
|
2661
2681
|
}
|
|
2662
2682
|
|
|
2663
|
-
.
|
|
2683
|
+
._menu_1pk01_243 ._pinButton_1pk01_363.semi-button {
|
|
2664
2684
|
opacity: 0;
|
|
2665
2685
|
}
|
|
2666
2686
|
|
|
2667
|
-
.
|
|
2668
|
-
.
|
|
2687
|
+
._menuList_1pk01_279 .semi-navigation-item:hover ._pinButton_1pk01_363.semi-button,
|
|
2688
|
+
._menu_1pk01_243 ._pinButton_1pk01_363.semi-button:focus-visible {
|
|
2669
2689
|
opacity: 1;
|
|
2670
2690
|
}
|
|
2671
2691
|
|
|
2672
2692
|
/* 比 Semi 文字按钮的悬停规则更具体,不依赖样式表先后 */
|
|
2673
|
-
.
|
|
2674
|
-
.
|
|
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 {
|
|
2675
2695
|
background: var(--semi-color-fill-2);
|
|
2676
2696
|
color: rgb(var(--app-brand-6));
|
|
2677
2697
|
}
|
|
2678
2698
|
|
|
2679
|
-
.
|
|
2699
|
+
._menu_1pk01_243 ._pinButtonActive_1pk01_364.semi-button {
|
|
2680
2700
|
color: rgb(var(--app-brand-6));
|
|
2681
2701
|
}
|
|
2682
2702
|
|
|
2683
2703
|
/* 菜单项里图标的通用间距、字号不作用在置顶按钮上 */
|
|
2684
|
-
.
|
|
2685
|
-
.
|
|
2704
|
+
._menuList_1pk01_279 .semi-navigation-item ._pinButton_1pk01_363 .semi-icon,
|
|
2705
|
+
._menuList_1pk01_279 .semi-navigation-item ._pinButtonActive_1pk01_364 .semi-icon {
|
|
2686
2706
|
margin: 0;
|
|
2687
2707
|
color: inherit;
|
|
2688
2708
|
font-size: 14px;
|
|
2689
2709
|
}
|
|
2690
2710
|
|
|
2691
|
-
.
|
|
2711
|
+
._collapseButton_1pk01_402.semi-button {
|
|
2692
2712
|
display: flex;
|
|
2693
2713
|
width: 100%;
|
|
2694
2714
|
height: 40px;
|
|
@@ -2703,13 +2723,13 @@
|
|
|
2703
2723
|
font-weight: 400;
|
|
2704
2724
|
}
|
|
2705
2725
|
|
|
2706
|
-
.
|
|
2726
|
+
._collapseButton_1pk01_402.semi-button:hover {
|
|
2707
2727
|
background: transparent;
|
|
2708
2728
|
color: rgb(var(--app-brand-6));
|
|
2709
2729
|
}
|
|
2710
2730
|
|
|
2711
2731
|
/* 窄屏浮出菜单时的点击遮罩,点空白处收起。 */
|
|
2712
|
-
.
|
|
2732
|
+
._mask_1pk01_423 {
|
|
2713
2733
|
position: fixed;
|
|
2714
2734
|
z-index: 40;
|
|
2715
2735
|
inset: var(--app-header-height) 0 0;
|
|
@@ -2718,25 +2738,25 @@
|
|
|
2718
2738
|
|
|
2719
2739
|
/* ---------- 内容区:与侧栏面板隔开 20px,右侧留 24px ---------- */
|
|
2720
2740
|
|
|
2721
|
-
.
|
|
2741
|
+
._content_1pk01_432 {
|
|
2722
2742
|
min-width: 0;
|
|
2723
2743
|
padding: 8px 24px 24px 20px;
|
|
2724
2744
|
}
|
|
2725
2745
|
|
|
2726
2746
|
/* 个人中心没有侧栏:左右留白相同,页面自己居中。 */
|
|
2727
|
-
.
|
|
2747
|
+
._contentCentered_1pk01_438 {
|
|
2728
2748
|
padding: 8px 24px 24px;
|
|
2729
2749
|
}
|
|
2730
2750
|
|
|
2731
2751
|
/* 横向溢出用 clip 裁掉:不能用 hidden,按规范 overflow-y 会随之变成 auto,内容区成了不滚动的滚动容器,
|
|
2732
2752
|
* 页面里的 position: sticky(内容广场的吸顶搜索与筛选条)就失效了。 */
|
|
2733
|
-
.
|
|
2753
|
+
._body_1pk01_163 > ._content_1pk01_432 {
|
|
2734
2754
|
flex: 1 1 auto;
|
|
2735
2755
|
overflow-x: clip;
|
|
2736
2756
|
overflow-y: visible;
|
|
2737
2757
|
}
|
|
2738
2758
|
|
|
2739
|
-
.
|
|
2759
|
+
._contentInner_1pk01_450 {
|
|
2740
2760
|
display: flex;
|
|
2741
2761
|
max-width: var(--app-content-max-width);
|
|
2742
2762
|
margin: 0 auto;
|
|
@@ -2745,51 +2765,51 @@
|
|
|
2745
2765
|
}
|
|
2746
2766
|
|
|
2747
2767
|
@media (min-width: 1440px) {
|
|
2748
|
-
.
|
|
2768
|
+
._logoText_1pk01_64.semi-typography {
|
|
2749
2769
|
display: inline;
|
|
2750
2770
|
}
|
|
2751
2771
|
}
|
|
2752
2772
|
|
|
2753
2773
|
@media (max-width: 576px) {
|
|
2754
|
-
.
|
|
2774
|
+
._header_1pk01_13 {
|
|
2755
2775
|
padding: 0 12px;
|
|
2756
2776
|
}
|
|
2757
2777
|
|
|
2758
|
-
.
|
|
2778
|
+
._headerLeft_1pk01_34 {
|
|
2759
2779
|
gap: 12px;
|
|
2760
2780
|
}
|
|
2761
2781
|
|
|
2762
|
-
.
|
|
2782
|
+
._modules_1pk01_73 {
|
|
2763
2783
|
gap: 16px;
|
|
2764
2784
|
}
|
|
2765
2785
|
|
|
2766
|
-
.
|
|
2786
|
+
._modules_1pk01_73 ._module_1pk01_73.semi-button.semi-button-borderless {
|
|
2767
2787
|
font-size: 15px;
|
|
2768
2788
|
}
|
|
2769
2789
|
|
|
2770
2790
|
/* 手机上顶栏放不下,平台图标收起,只留文字。 */
|
|
2771
|
-
.
|
|
2791
|
+
._moduleIcon_1pk01_130 {
|
|
2772
2792
|
display: none;
|
|
2773
2793
|
}
|
|
2774
2794
|
|
|
2775
|
-
.
|
|
2795
|
+
._wallet_1pk01_486 {
|
|
2776
2796
|
display: none;
|
|
2777
2797
|
}
|
|
2778
2798
|
|
|
2779
|
-
.
|
|
2799
|
+
._content_1pk01_432 {
|
|
2780
2800
|
padding: 8px 12px 16px 12px;
|
|
2781
2801
|
}
|
|
2782
2802
|
}
|
|
2783
2803
|
|
|
2784
2804
|
/* 产品图标由 BrandMark 写入内联背景图(runtime-config 的 brand.markUrl)。 */
|
|
2785
|
-
.
|
|
2805
|
+
._logoMark_1pk01_57 {
|
|
2786
2806
|
background-position: center;
|
|
2787
2807
|
background-size: contain;
|
|
2788
2808
|
background-repeat: no-repeat;
|
|
2789
2809
|
}
|
|
2790
2810
|
|
|
2791
2811
|
/* 没有图标的产品:字标放在主色渐变的圆角方块里。 */
|
|
2792
|
-
.
|
|
2812
|
+
._letterMark_1pk01_503 {
|
|
2793
2813
|
display: inline-flex;
|
|
2794
2814
|
flex: none;
|
|
2795
2815
|
align-items: center;
|
|
@@ -2844,15 +2864,21 @@
|
|
|
2844
2864
|
font-size: 1em;
|
|
2845
2865
|
}
|
|
2846
2866
|
/*
|
|
2847
|
-
* @24city/web-console 的主题:Semi Design
|
|
2848
|
-
*
|
|
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 的选择器“多一个类”。
|
|
2849
2873
|
*
|
|
2850
2874
|
* 品牌主色不写在这里:产品在 runtime-config.json 的 brand.primaryColor 给一个色值,@24city/web-console/theme 的 applyBrand
|
|
2851
2875
|
* 在首屏渲染前由它生成十级色板(--app-brand-1..10)并写到 body 上,同时把 Semi 的主色、链接色和聚焦描边映射到这组颜色。
|
|
2852
2876
|
* 其余颜色(中性灰、状态色、字色)由本文件定死,产品不得覆盖(@24city/web-console/testing 的守卫测试会检查)。
|
|
2853
2877
|
*/
|
|
2854
2878
|
|
|
2855
|
-
|
|
2879
|
+
@layer semi {
|
|
2880
|
+
|
|
2881
|
+
/* Semi 把同一批变量定义在 body 上,与本文件同在 semi 层;这里用 html body 高一级,不依赖样式表先后。
|
|
2856
2882
|
暗色主题 body[theme-mode='dark'] 优先级更高,不受影响。 */
|
|
2857
2883
|
html body {
|
|
2858
2884
|
/* 中性灰色板(参照小红书聚光):Semi 默认灰偏蓝,后台感重。Semi 的文字、填充、边框都由这组灰推出
|
|
@@ -2897,7 +2923,8 @@ html body {
|
|
|
2897
2923
|
--app-shadow-popup: 0 0 1px rgba(var(--semi-grey-9), 0.2), 0 8px 24px rgba(var(--semi-grey-9), 0.12);
|
|
2898
2924
|
--app-shadow-raised: 0 0 1px rgba(var(--semi-grey-9), 0.24), 0 1px 2px rgba(var(--semi-grey-9), 0.08);
|
|
2899
2925
|
--semi-shadow-elevated: var(--app-shadow-popup);
|
|
2900
|
-
|
|
2926
|
+
/* 页面底色是不透明的灰(与 Arco 时代的 #F5F5F5 相同):半透明的填充色叠在本来就灰的页面底上会更深更脏。 */
|
|
2927
|
+
--app-page-bg: rgb(var(--semi-grey-1));
|
|
2901
2928
|
/* 页面底色参照有米有数:自上而下极浅的灰白渐变。吸顶条用同一渐变并固定在视口上(background-attachment: fixed),
|
|
2902
2929
|
* 与页面逐像素一致,看不出接缝。 */
|
|
2903
2930
|
--app-page-gradient: linear-gradient(rgb(var(--semi-grey-1)), rgb(var(--semi-grey-0)));
|
|
@@ -2955,6 +2982,15 @@ body .semi-button {
|
|
|
2955
2982
|
scale 0.1s var(--app-ease);
|
|
2956
2983
|
}
|
|
2957
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
|
+
|
|
2958
2994
|
/* 按下反馈用独立的 scale 属性:它与 transform 叠加而不是替换。若写成 transform: scale(),
|
|
2959
2995
|
* 靠 transform: translate() 定位的按钮(如居中的浮层按钮)按下时会跳开,松开时指针已不在按钮上,
|
|
2960
2996
|
* 点击就丢了。 */
|
|
@@ -3222,3 +3258,5 @@ body .semi-space {
|
|
|
3222
3258
|
animation-iteration-count: 1 !important;
|
|
3223
3259
|
}
|
|
3224
3260
|
}
|
|
3261
|
+
|
|
3262
|
+
}
|