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

+12 -12
View File
@@ -1,7 +1,7 @@
/**
* AKSRT Buttons — 1:1 Zibll Alignment
* AKSRT Buttons — 1:1 legacy Alignment
*
* 对齐 zibll .but 系统:
* 对齐 legacy .but 系统:
* - 正常字重 (normal)
* - 4px 圆角
* - 灰色默认背景
@@ -22,7 +22,7 @@
height: var(--btn-h);
padding: 0 var(--btn-px);
font-size: var(--text-sm);
font-weight: normal; /* zibll .but: normal — was 500 */
font-weight: normal; /* legacy .but: normal — was 500 */
line-height: 1.44;
border: 1px solid transparent;
border-radius: var(--radius-btn);
@@ -42,7 +42,7 @@
.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;
@@ -141,18 +141,18 @@
}
/* ============================================================
* Zibll .but / .badg compat layer — 1:1 zibll main.css (.but system)
* legacy .but / .badg compat layer — 1:1 legacy main.css (.but system)
* ------------------------------------------------------------
* Additive: does NOT alter the AKSRT .btn system above. Lets reused
* zibll-style markup (.but / .badg / .b-* / .jb-* / .c-* / .but-group /
* legacy-style markup (.but / .badg / .b-* / .jb-* / .c-* / .but-group /
* .but-average / .toggle-radius) render via the --this-* context-coloring vars.
* The --this-* DEFAULTS are set on the base rule here (BEFORE the .b-*/.jb-*
* modifiers) so the cascade resolves colored variants correctly; scoped to
* .but/.badg (never :root) so .float-btn's own var(--this-*, fallback) stays intact.
* Consumes --focus-color-opacity* from zibll-compat-vars.css.
* Consumes --focus-color-opacity* from compat-vars.css.
* ============================================================ */
/* Base (zibll .but / .badg) */
/* Base (legacy .but / .badg) */
.but,
.badg {
display: inline-block;
@@ -254,7 +254,7 @@
.active.badg.hollow,
.active > .hollow:not(.vip-tag) { --this-color: var(--focus-color); }
/* toggle-radius (round 29px toggle) — zibll 1:1 */
/* toggle-radius (round 29px toggle) — legacy 1:1 */
.toggle-radius {
background: var(--this-bg);
width: 29px;
@@ -266,7 +266,7 @@
vertical-align: text-top;
--this-bg: var(--main-border-color);
}
/* zibll groups these with abs-* : absolute + vertical center; then pin left/right 0 */
/* legacy groups these with abs-* : absolute + vertical center; then pin left/right 0 */
.toggle-radius .fa,
.toggle-radius .icon,
.toggle-radius > i {
@@ -308,7 +308,7 @@
.b-purple { --this-bg: #d448f5; }
.b-black { --this-bg: #121517; }
/* gradient modifiers (zibll .jb-*) */
/* gradient modifiers (legacy .jb-*) */
.jb-red { --this-bg: linear-gradient(135deg, #fd7a64 10%, #fb2d2d 100%); }
.jb-yellow { --this-bg: linear-gradient(135deg, #f99d4d 10%, #f7631d 100%); }
.jb-blue { --this-bg: linear-gradient(135deg, #59c3fb 10%, #268df7 100%); }
@@ -318,7 +318,7 @@
.jb-vip1 { --this-bg: linear-gradient(25deg, #eabe7b 10%, #f5e3c7 70%, #edc788 100%); --this-color: #866127; }
.jb-vip2 { --this-bg: linear-gradient(317deg, #4d4c4c 30%, #7b7b7b 70%, #5f5c5c 100%); --this-color: #ddd; }
/* text-color modifiers (zibll .c-*) — set --this-color + light --this-bg */
/* text-color modifiers (legacy .c-*) — set --this-color + light --this-bg */
.c-theme, .c-gray, .c-white, .c-red, .c-red-2, .c-yellow, .c-blue, .c-blue-2,
.c-green, .c-cyan, .c-purple { color: var(--this-color); }
.c-theme { --this-color: var(--focus-color); --this-bg: var(--focus-color-opacity1); }