front/src/views/h5/admin-center/styles/tokens.less
zzh 44d39ffa26
All checks were successful
Build and Deploy Front / deploy (push) Successful in 3m31s
feat: 全局视口适配地基,官网精选线路上移
统一断点/Token 与跨端规范,窄屏收紧页面壳;精选线路区上移 50px。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-12-03 15:38:27 +08:00

54 lines
1.4 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* H5 管理端视觉 Token(对齐客户中心,仅作用于 /h5/admin 壳)
*/
.h5-admin-layout {
--h5-bg: #f5f6f8;
--h5-bg-hero: #f5f6f8;
--h5-surface: #ffffff;
--h5-text: #1d2129;
--h5-text-2: #4e5969;
--h5-text-3: #86909c;
--h5-border: #e5e6eb;
--h5-border-soft: #f2f3f5;
--h5-radius: 16px;
--h5-radius-sm: 12px;
/* 背景块用纯色,不做内阴影 */
--h5-shadow: none;
--h5-shadow-lift: none;
--h5-well-bg: #f0f3f4;
--h5-well-shadow: none;
--h5-well-shadow-deep: none;
--h5-warning: #ff7d00;
--h5-warning-bg: #fff7e8;
--h5-danger: #f53f3f;
--h5-danger-bg: #ffece8;
--h5-success: #00b42a;
--h5-success-bg: #e8ffea;
--h5-primary-soft: color-mix(in srgb, var(--app-primary-color) 12%, #fff);
--h5-primary-softer: color-mix(in srgb, var(--app-primary-color) 8%, #fff);
--h5-safe-bottom: env(safe-area-inset-bottom, 0px);
--h5-dock-bottom-inset: max(8px, calc(var(--h5-safe-bottom) - 12px));
--h5-dock-side-inset: var(--app-space-4, 16px);
--h5-dock-height: 68px;
--h5-dock-radius: calc(var(--h5-dock-height) / 2);
--h5-dock-offset: calc(var(--h5-dock-height) + var(--h5-dock-bottom-inset) + 6px);
background: var(--h5-bg);
color: var(--h5-text);
}
.h5-enter {
animation: h5-admin-rise-in 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes h5-admin-rise-in {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}