refactor(assets): vendor 资产迁入标准目录并全仓去除 zibll 标识

- assets/vendor 全量迁移: fontawesome5→assets/fontawesome5, css→assets/css,
  js→assets/js/runtime(避开 14 个同名自有文件), img 合并去重→assets/img,
  fonts→assets/fonts; 删除 assets/vendor
- libs 五个与 widgets/third-party 字节相同的库不重复入库, loader paths 改指向
- 运行时切换: _win.uri=assets 根, loader baseUrl=/js/runtime, enlighter 注入
  路径同步; PHP 7 个引用文件切换并改名 $zibll_*→$runtime_*
- 去品牌: Qinver 头注释/品牌 console.log/演示链接清除, 默认文案中性化
- 功能标识符改名: zib__→aksrt__, zib_ajax→aksrt_ajax, window.zib→
  window.aksrtLegacy, zibllblock/*→aksrtblock/*, .zib-widget→.aksrt-panel,
  .zib-slider→.aksrt-slider, zib_menu_options meta 键等
- 自有 CSS 改名: legacy-utilities/compat-vars/footer shell
- admin SPA 重建; 契约测试同步(路径/断言/文件更名)
- 例外保留: tests/visual 对照环境与 fixtures 前缀(外部 Zibll 产品引用)

验证: php -l 133 个改动文件通过; runtime 86 个 JS node --check 通过;
契约测试 68/70(2 个失败经 stash 对照确认为存量问题)
This commit is contained in:
kate522 committed 2026-08-22 16:16:30 +08:00
1 parent 4f2391fb64
commit 9375b1c30c
591 files changed
+1690 -11041

No files matched your search

+46 -46
View File
@@ -1,13 +1,13 @@
/**
* AKSRT Design Tokens v7 — 1:1 Zibll Alignment
* AKSRT Design Tokens v7 — 1:1 legacy Alignment
* ------------------------------------------------------------
* 单一真理源(Single Source of Truth)
* 所有颜色、字体、间距、动效都从此处读取,禁止在组件内硬编码。
* 严格对齐 zibll main.css 的视觉值。
* 严格对齐 legacy main.css 的视觉值。
*/
:root {
/* ===== Primary — Zibll theme-color (#f04494 pink) ===== */
/* ===== Primary — legacy theme-color (#f04494 pink) ===== */
--color-primary: #f04494;
--color-primary-hover: #e0307e;
--color-primary-active: #c9206d;
@@ -15,19 +15,19 @@
--color-primary-softer: rgba(240, 68, 148, 0.05);
--color-on-primary: #FFFFFF;
/* ===== Ink (text) — 对齐 zibll --key-color / --main-color / --muted-color ===== */
--color-ink: #333333; /* zibll --key-color */
--color-ink-2: #4e5358; /* zibll --main-color */
--color-ink-3: #777777; /* zibll --muted-color */
--color-ink-4: #999999; /* zibll --muted-2-color */
/* ===== Ink (text) — 对齐 legacy --key-color / --main-color / --muted-color ===== */
--color-ink: #333333; /* legacy --key-color */
--color-ink-2: #4e5358; /* legacy --main-color */
--color-ink-3: #777777; /* legacy --muted-color */
--color-ink-4: #999999; /* legacy --muted-2-color */
/* ===== Surface — 对齐 zibll --body-bg-color / --main-bg-color / --muted-bg-color ===== */
--surface-page: #f5f6f7; /* zibll --body-bg-color */
--surface-1: #FFFFFF; /* zibll --main-bg-color */
--surface-2: #eeeeee; /* zibll --muted-bg-color */
/* ===== Surface — 对齐 legacy --body-bg-color / --main-bg-color / --muted-bg-color ===== */
--surface-page: #f5f6f7; /* legacy --body-bg-color */
--surface-1: #FFFFFF; /* legacy --main-bg-color */
--surface-2: #eeeeee; /* legacy --muted-bg-color */
--surface-3: #e8e8e8; /* 输入框 / code */
/* ===== Borders — 对齐 zibll --main-border-color ===== */
/* ===== Borders — 对齐 legacy --main-border-color ===== */
--color-line: rgba(50, 50, 50, 0.06);
--color-line-soft: rgba(0, 0, 0, 0.03);
@@ -37,12 +37,12 @@
--color-error: #EF4444;
--color-info: #3B82F6;
/* ===== Accent (action green — zibll tabbar/CTA) ===== */
/* ===== Accent (action green — legacy tabbar/CTA) ===== */
--color-accent: #18a058;
--color-accent-soft: rgba(24, 160, 88, 0.12);
--color-accent-shadow: rgba(24, 160, 88, 0.28);
/* ===== Fonts — 对齐 zibll(系统默认字体栈)===== */
/* ===== Fonts — 对齐 legacy(系统默认字体栈)===== */
--font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
--font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
--font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
@@ -61,7 +61,7 @@
--text-5xl: 3.75rem; /* 60 */
--leading-tight: 1.2;
--leading-snug: 1.4;
--leading-normal: 1.6; /* zibll body line-height */
--leading-normal: 1.6; /* legacy body line-height */
--leading-relaxed: 1.6;
/* ===== Spacing (4px base) ===== */
@@ -78,7 +78,7 @@
--space-11: 80px;
--space-12: 96px;
/* ===== Radius — 对齐 zibll --main-radius: 8px ===== */
/* ===== Radius — 对齐 legacy --main-radius: 8px ===== */
--radius-sm: 4px;
--radius: 8px;
--radius-lg: 8px;
@@ -86,13 +86,13 @@
--radius-pill: 100px;
--radius-avatar: 50%;
/* ===== Shadows — 对齐 zibll --main-shadow: rgba(116,116,116,0.08) ===== */
/* ===== Shadows — 对齐 legacy --main-shadow: rgba(116,116,116,0.08) ===== */
--shadow-sm: 0 0 10px rgba(116, 116, 116, 0.08);
--shadow: 0 0 10px rgba(116, 116, 116, 0.08);
--shadow-lg: 0 0 10px rgba(116, 116, 116, 0.12);
--shadow-drawer: 0 8px 40px rgba(0, 0, 0, 0.20);
/* ===== Layout — 对齐 zibll --mian-max-width: 1200px ===== */
/* ===== Layout — 对齐 legacy --mian-max-width: 1200px ===== */
--nav-height: 60px;
--container: 1200px;
--container-wide: 1440px;
@@ -110,7 +110,7 @@
--dur: 0.25s;
--dur-slow: 0.4s;
/* ===== Focus Ring — 对齐 zibll focus-shadow-color ===== */
/* ===== Focus Ring — 对齐 legacy focus-shadow-color ===== */
--focus-ring: 0 0 2px 3px rgba(253, 83, 161, 0.4);
/* ===== Z-index layers ===== */
@@ -123,13 +123,13 @@
--z-toast: 700;
--z-tooltip: 800;
/* ===== Button sizes — 对齐 zibll ===== */
/* ===== Button sizes — 对齐 legacy ===== */
--radius-btn: 4px;
--btn-sm-h: 28px;
--btn-md-h: 34px;
--btn-lg-h: 44px;
/* ===== Card density — 对齐 zibll .box-body { padding: 15px } ===== */
/* ===== Card density — 对齐 legacy .box-body { padding: 15px } ===== */
--card-padding: 15px;
--card-padding-sm: 10px;
--card-gap: 16px;
@@ -165,7 +165,7 @@
--transition-fast: 0.15s ease;
--transition-base: 0.25s ease;
/* ===== Composite / Context tokens — 对齐 zibll ===== */
/* ===== Composite / Context tokens — 对齐 legacy ===== */
--header-bg: var(--blur-bg);
--header-color: var(--color-ink-2);
--footer-bg: var(--surface-1);
@@ -184,7 +184,7 @@
--mini-radius: calc(var(--radius) / 1.4);
--single-cover-scale: 35%;
/* ===== Avatar size system — Zibll --this-size 等价 ===== */
/* ===== Avatar size system — legacy --this-size 等价 ===== */
--aksrt-avatar-size-xs: 24px;
--aksrt-avatar-size-sm: 32px;
--aksrt-avatar-size: 40px;
@@ -251,7 +251,7 @@
}
/* ============================================================
* Blur-bg fallback cascade (mirrors zibll behaviour)
* Blur-bg fallback cascade (mirrors legacy behaviour)
* ============================================================ */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
:root {
@@ -277,7 +277,7 @@ body.dialog-open .float-right .float-btn {
}
/* ============================================================
* Dark Theme — 对齐 zibll .dark-theme (#292a2d 范围)
* Dark Theme — 对齐 legacy .dark-theme (#292a2d 范围)
* ============================================================ */
html.dark {
--color-ink: #f8fafc;
@@ -494,12 +494,12 @@ a:hover {
}
}
/**
* AKSRT Typography — 1:1 Zibll Alignment
* AKSRT Typography — 1:1 legacy Alignment
*
* 对齐 zibll main.css 的排版系统
* 对齐 legacy main.css 的排版系统
*/
/* ===== 全局标题 — 对齐 zibll line 8947 ===== */
/* ===== 全局标题 — 对齐 legacy line 8947 ===== */
h1, h2, h3, h4, h5, h6 {
font-weight: 700;
margin: 20px 0 10px;
@@ -513,7 +513,7 @@ h4 { font-size: 16px; }
h5 { font-size: 15px; }
h6 { font-size: 14px; }
/* ===== 文章正文 — 对齐 zibll line 8740 ===== */
/* ===== 文章正文 — 对齐 legacy line 8740 ===== */
.wp-posts-content,
.entry-content,
.prose {
@@ -523,7 +523,7 @@ h6 { font-size: 14px; }
min-height: 90px;
}
/* ===== 文章内标题 — 对齐 zibll line 8947 ===== */
/* ===== 文章内标题 — 对齐 legacy line 8947 ===== */
.wp-posts-content h1,
.wp-posts-content h2,
.wp-posts-content h3,
@@ -560,7 +560,7 @@ h6 { font-size: 14px; }
.entry-content h4,
.prose h4 { font-size: 16px; }
/* ===== 段落 — 对齐 zibll line 8999 ===== */
/* ===== 段落 — 对齐 legacy line 8999 ===== */
.wp-posts-content p,
.entry-content p,
.prose p {
@@ -568,7 +568,7 @@ h6 { font-size: 14px; }
word-wrap: break-word;
}
/* ===== 链接 — 对齐 zibll line 8836 ===== */
/* ===== 链接 — 对齐 legacy line 8836 ===== */
.wp-posts-content a,
.entry-content a,
.prose a {
@@ -582,7 +582,7 @@ h6 { font-size: 14px; }
color: var(--focus-color, #f04494);
}
/* ===== 图片 — 对齐 zibll line 8850 ===== */
/* ===== 图片 — 对齐 legacy line 8850 ===== */
.wp-posts-content img,
.entry-content img,
.prose img {
@@ -592,7 +592,7 @@ h6 { font-size: 14px; }
margin: auto;
}
/* ===== 内联代码 — 对齐 zibll line 8844 ===== */
/* ===== 内联代码 — 对齐 legacy line 8844 ===== */
.wp-posts-content code:not(pre code),
.entry-content code:not(pre code),
.prose code:not(pre code) {
@@ -602,7 +602,7 @@ h6 { font-size: 14px; }
font-size: 0.9em;
}
/* ===== 代码块 — 对齐 zibll ===== */
/* ===== 代码块 — 对齐 legacy ===== */
.wp-posts-content pre,
.entry-content pre,
.prose pre {
@@ -626,7 +626,7 @@ h6 { font-size: 14px; }
font-size: inherit;
}
/* ===== 表格 — 对齐 zibll line 8897 ===== */
/* ===== 表格 — 对齐 legacy line 8897 ===== */
.wp-posts-content table,
.entry-content table,
.prose table {
@@ -659,7 +659,7 @@ h6 { font-size: 14px; }
background-color: rgba(240, 68, 148, 0.05);
}
/* ===== 列表 — 对齐 zibll line 8977 ===== */
/* ===== 列表 — 对齐 legacy line 8977 ===== */
.wp-posts-content ul,
.wp-posts-content ol,
.entry-content ul,
@@ -676,7 +676,7 @@ h6 { font-size: 14px; }
margin-bottom: 10px;
}
/* ===== 引用 — 对齐 zibll line 680 ===== */
/* ===== 引用 — 对齐 legacy line 680 ===== */
.wp-posts-content blockquote,
.entry-content blockquote,
.prose blockquote {
@@ -695,7 +695,7 @@ h6 { font-size: 14px; }
margin-bottom: 0;
}
/* ===== 水平分割线 — 对齐 zibll line 676 ===== */
/* ===== 水平分割线 — 对齐 legacy line 676 ===== */
hr {
border-color: var(--main-border-color, rgba(50, 50, 50, 0.06));
}
@@ -705,9 +705,9 @@ strong, b {
font-weight: 700;
}
/**
* AKSRT Buttons — 1:1 Zibll Alignment
* AKSRT Buttons — 1:1 legacy Alignment
*
* 对齐 zibll .but 系统:
* 对齐 legacy .but 系统:
* - 正常字重 (normal)
* - 4px 圆角
* - 灰色默认背景
@@ -746,7 +746,7 @@ strong, b {
.btn-sm { --btn-h: 28px; --btn-px: 8px; font-size: var(--text-xs); }
.btn-lg { --btn-h: 44px; --btn-px: 18px; font-size: var(--text-base); }
/* === Default (gray background, like zibll .but default) === */
/* === Default (gray background, like legacy .but default) === */
.btn {
background: rgba(136, 136, 136, 0.1);
color: #888;
@@ -836,9 +836,9 @@ strong, b {
width: 100%;
}
/**
* AKSRT Forms — 1:1 Zibll Alignment
* AKSRT Forms — 1:1 legacy Alignment
*
* 对齐 zibll .form-control:
* 对齐 legacy .form-control:
* - 灰色背景 (#f5f6f7)
* - 透明边框
* - 34px 高度
@@ -870,7 +870,7 @@ strong, b {
color: var(--color-error);
}
/* ===== Input / Textarea / Select — 对齐 zibll .form-control ===== */
/* ===== Input / Textarea / Select — 对齐 legacy .form-control ===== */
.input,
.textarea,
.select,