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

+34 -34
View File
@@ -72,24 +72,24 @@ body {
text-align: center;
color: var(--color-ink-3);
}/**
* Zibll Variable Compatibility Layer — Global Bridge
* legacy Variable Compatibility Layer — Global Bridge
*
* Maps Zibll CSS variable names to AKSRT design tokens.
* This file allows existing Zibll-style markup and third-party components
* that reference Zibll variables to work correctly in AKSRT.
* Maps legacy CSS variable names to AKSRT design tokens.
* This file allows existing legacy-style markup and third-party components
* that reference legacy variables to work correctly in AKSRT.
*
* @package AKSRT
*/
/* ============================================================
* Global bridge (all pages)
* Maps Zibll variables → AKSRT tokens so any Zibll-style markup works.
* Maps legacy variables → AKSRT tokens so any legacy-style markup works.
* ============================================================ */
:root {
/* Layout (zibll typo preserved for compat) */
/* Layout (legacy typo preserved for compat) */
--mian-max-width: var(--container, 1200px);
/* Theme color — now matches zibll #f04494 */
/* Theme color — now matches legacy #f04494 */
--theme-color: var(--color-primary, #f04494);
--focus-color: var(--color-primary, #f04494);
--focus-shadow-color: var(--color-primary-soft, rgba(253, 83, 161, 0.4));
@@ -124,14 +124,14 @@ body {
--footer-bg: var(--surface-1);
--footer-color: var(--color-ink-4);
/* Cards — 对齐 zibll 70% */
/* Cards — 对齐 legacy 70% */
--posts-card-scale: 70%;
--posts-list-scale: 70%;
--single-cover-scale: 35%;
}
/* ============================================================
* Dark mode bridge — 对齐 zibll dark theme
* Dark mode bridge — 对齐 legacy dark theme
* ============================================================ */
html.dark {
--theme-color: var(--color-primary);
@@ -155,9 +155,9 @@ html.dark {
--footer-color: var(--color-ink-4);
}
/**
* AKSRT Card Primitives — 1:1 Zibll Alignment
* AKSRT Card Primitives — 1:1 legacy Alignment
*
* 对齐 zibll 的 .theme-box / .box-bg / .box-body / .box-header:
* 对齐 legacy 的 .theme-box / .box-bg / .box-body / .box-header:
* 阴影优先,无边框,8px 圆角,15px 内边距。
*
* @package AKSRT
@@ -165,7 +165,7 @@ html.dark {
/* ============================================================
* .aksrt-theme-box — 完整卡片原语(阴影 + 圆角 + 表面)
* 对齐 zibll .theme-box + .box-bg
* 对齐 legacy .theme-box + .box-bg
* ============================================================ */
.aksrt-theme-box {
border: none;
@@ -189,7 +189,7 @@ html.dark {
/* ============================================================
* .aksrt-box-body / .aksrt-box-header — 内边距区段
* 对齐 zibll .box-body / .box-header { padding: 15px }
* 对齐 legacy .box-body / .box-header { padding: 15px }
* ============================================================ */
.aksrt-box-body,
.aksrt-box-header {
@@ -211,7 +211,7 @@ html.dark {
/* ============================================================
* .aksrt-muted-box — 柔和背景嵌套
* 对齐 zibll .muted-box
* 对齐 legacy .muted-box
* ============================================================ */
.aksrt-muted-box {
background-color: var(--surface-2);
@@ -227,7 +227,7 @@ html.dark {
}
/* ============================================================
* Zibll 兼容别名
* legacy 兼容别名
* ============================================================ */
.theme-box {
background: var(--surface-1);
@@ -316,7 +316,7 @@ html.dark .theme-box:hover {
* AKSRT Overlay / Glass Primitives
*
* Provides backdrop-filter glass surfaces used by header, footer-tabbar,
* floating buttons and search overlays — matching zibll's blur system.
* floating buttons and search overlays — matching legacy's blur system.
*
* @package AKSRT
*/
@@ -333,7 +333,7 @@ html.dark .theme-box:hover {
/* ============================================================
* Glass on site-nav (when using fixed/sticky mode)
* Applied via .site-nav--blur already; this adds the zibll-grade
* Applied via .site-nav--blur already; this adds the legacy-grade
* saturate(5) blur(20px) instead of the lighter saturate(1.5) blur(18px).
* ============================================================ */
.site-nav--glass {
@@ -355,7 +355,7 @@ html.dark .site-nav--glass.is-scrolled {
/* ============================================================
* Glass on footer-tabbar (already uses backdrop-filter in footer.css;
* this class can be toggled to match zibll's exact blur spec)
* this class can be toggled to match legacy's exact blur spec)
* ============================================================ */
.footer-tabbar--glass {
-webkit-backdrop-filter: saturate(5) blur(20px);
@@ -380,7 +380,7 @@ html.dark .footer-tabbar--glass {
}
/* ============================================================
* Scroll shadow on glass header (zibll: .body-scroll .header)
* Scroll shadow on glass header (legacy: .body-scroll .header)
* ============================================================ */
body.has-scrolled .site-nav--glass {
box-shadow: 0 4px 10px rgba(20, 28, 48, 0.06);
@@ -581,14 +581,14 @@ ul.nav-desktop a,
background var(--dur-fast, 0.15s) var(--ease);
}
/* Hover — 对齐 zibll: 仅变色,无背景 */
/* Hover — 对齐 legacy: 仅变色,无背景 */
ul.nav-desktop a:hover,
.nav-desktop--fallback a:hover {
color: var(--color-primary);
background: transparent;
}
/* Active page — 对齐 zibll: 顶部彩色条指示器 */
/* Active page — 对齐 legacy: 顶部彩色条指示器 */
ul.nav-desktop .current-menu-item > a,
ul.nav-desktop .current_page_item > a {
color: var(--color-primary);
@@ -1624,7 +1624,7 @@ html.dark .mega-menu__panel > .menu-item:hover {
background: var(--color-primary-soft, rgba(240, 68, 148, 0.08));
color: var(--color-primary);
}
/* ========== 面包屑 — 对齐 zibll .breadcrumb ========== */
/* ========== 面包屑 — 对齐 legacy .breadcrumb ========== */
.breadcrumbs {
font-size: 13px;
color: var(--muted-2-color, #999);
@@ -2025,7 +2025,7 @@ html.dark .mega-menu__panel > .menu-item:hover {
pointer-events: none;
}
/* ========== 移动端/平板隐藏侧栏(与 zibll 一致:991px 以下隐藏) ========== */
/* ========== 移动端/平板隐藏侧栏(与 legacy 一致:991px 以下隐藏) ========== */
@media (max-width: 991px) {
.content-layout__aside {
display: none;
@@ -2086,7 +2086,7 @@ body.aksrt-bg-overlay .site-wrapper {
overflow: hidden;
}
/* ============================================================
* AKSRT Footer — v4.0 Zibll-Inspired
* AKSRT Footer — v4.0 legacy-Inspired
*
* 包含:
* - 页脚主体(Bootstrap Grid)
@@ -2257,9 +2257,9 @@ body.aksrt-bg-overlay .site-wrapper {
}
/* ============================================================
* 浮动右侧按钮组(模仿 zibll float-right)
* 浮动右侧按钮组(模仿 legacy float-right)
* ============================================================ */
/* 对齐 zibll: bottom 60px, z-index 1030 */
/* 对齐 legacy: bottom 60px, z-index 1030 */
.float-right-btns {
position: fixed;
right: 20px;
@@ -2271,7 +2271,7 @@ body.aksrt-bg-overlay .site-wrapper {
transition: opacity 0.3s ease;
}
/* 对齐 zibll: 40px, 1.4em icon */
/* 对齐 legacy: 40px, 1.4em icon */
.float-btn {
display: flex;
align-items: center;
@@ -2350,7 +2350,7 @@ html.dark #float-theme-toggle .float-btn__icon-sun {
}
/* ============================================================
* 移动端底部 Tab 栏(模仿 zibll footer-tabbar)
* 移动端底部 Tab 栏(模仿 legacy footer-tabbar)
* ============================================================ */
.footer-tabbar {
display: none;
@@ -2411,7 +2411,7 @@ html.dark #float-theme-toggle .float-btn__icon-sun {
position: relative;
}
/* 对齐 zibll: 24px 图标 */
/* 对齐 legacy: 24px 图标 */
.tabbar-item i {
font-size: 24px;
line-height: 1;
@@ -5197,7 +5197,7 @@ html.dark .aksrt-lang-switch__dropdown {
/* ============================================================
* 14. 图片懒加载 blur-to-sharp 过渡
* 模仿 zibll 的 lazy_blur 效果
* 模仿 legacy 的 lazy_blur 效果
* ============================================================ */
img.lazyload,
img.lazyloaded,
@@ -5239,7 +5239,7 @@ img.lazyloaded {
/* ============================================================
* 16. FPS 加速模式:低端设备禁用 backdrop-filter
* 模仿 zibll 的 body.fps-accelerat 模式
* 模仿 legacy 的 body.fps-accelerat 模式
* ============================================================ */
body.fps-accelerat .site-nav,
body.fps-accelerat .footer-tabbar,
@@ -5258,7 +5258,7 @@ body.dialog-open .site-nav {
/* ============================================================
* 17. .blur-bg 通用工具类
* 模仿 zibll 的 .blur-bg,可在任意元素上应用毛玻璃效果
* 模仿 legacy 的 .blur-bg,可在任意元素上应用毛玻璃效果
* ============================================================ */
.aksrt-blur-bg {
background: var(--blur-bg);
@@ -5278,7 +5278,7 @@ body.dialog-open .site-nav {
/* ============================================================
* 19. 全站动效节奏统一
* 模仿 zibll 的统一 hover / slide / blur / drawer 语言
* 模仿 legacy 的统一 hover / slide / blur / drawer 语言
* ============================================================ */
/* --- 全局过渡基线 --- */
@@ -5562,7 +5562,7 @@ html.dark * {
}
/* ============================================================
* 底部弹出 Sheet — 对齐 zibll .modal.bottom
* 底部弹出 Sheet — 对齐 legacy .modal.bottom
* ============================================================ */
.aksrt-modal--bottom .aksrt-modal-auth__card,
.modal.bottom .modal-dialog {