chore(branding): remove leftover upstream theme identifiers

The theme was renamed Zibll/子比 → AKSRT → Jio, but upstream branding
survived the sweeps in CSS classes, the SVG sprite prefix, a persisted
widget field ID, JS events, admin Vue class names, test infrastructure
and docblocks.

Renames:
- zib-widget / zib-widget-wrap / zib-slider → jio-widget-box /
  jio-widget-box-wrap / jio-slider-box (jio-widget is taken by the modern
  widget shell, jio-box-* by the card primitives)
- zib-partners-scroll + zps-* → jio-partners-scroll + jps-*
- zib-combo-info-card + zci-* → jio-combo-info-card + jci-*
- zibsvg- → jiosvg-, including the exported picker helpers and the
  fa-zibsvg- family-prefix guard
- zibpay_type → pay_type; the dual-read fallback in PostQuery collapses
  to a single key
- [zibajax="submit"] dropped (no PHP emitter); zib_ajax.success →
  jio_ajax.success
- aks-* admin Vue classes → jio-*
- zib_palette() → palette()

User-facing vendor traces are gone: the floating "more" button default no
longer ships a zibll.com link or 子比主题 marketing copy, the notice
widget ships no preset promo entries, and the four 官网教程 links are
removed from the post-list admin schema.

Test infrastructure renamed to neutral names (docker-compose.reference.yml,
Caddyfile, article-baseline.json, modern-widgets-contract.test.cjs) with
their DB/volume/env/slug identifiers following.

Kept intentionally, documented in tests/fixtures/README.md: the golden
fixture reference fingerprint (a SHA-256 record of an external directory,
read by validate-widget-golden / generate-widget-golden-fixture /
audit-widget-system), the doesNotMatch guards that prove the old tokens are
gone, and the reference theme's own meta key in the visual fixtures.

No backward-compat or data migration: saved widget configs holding old
icon keys or the old field ID silently lose them, per the project's
rewrite-over-compatibility rule.

Verified: 132/132 node contract tests, php tests/widget-system/run.php
(146 assertions), audit-admin-contracts, audit-psr4-paths and
validate-widget-golden all green; tracked bundles regenerated and in sync.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
kate522andClaude Opus 5 committed 2026-11-02 00:06:54 +08:00
1 parent 42cc64106d
commit 427968a721
188 files changed
+915 -967

No files matched your search

+19 -19
View File
@@ -175,12 +175,12 @@ body.jio-user-center .uc-content,
}
/* 侧栏卡片间距:1:1 参考主题。参考侧栏是普通块流,每张卡片自带 mb20
(zib-widget 默认也是 20px),≤640px 由 mb10-sm 收到 10px。
(jio-widget-box 默认也是 20px),≤640px 由 mb10-sm 收到 10px。
本站侧栏不用 gap,间距全部由卡片自己的 margin-bottom 承担。 */
.uc-sidebar > .uc-sidebar-statistics,
.uc-sidebar > .uc-sidebar-vip,
.uc-sidebar > .uc-sidebar__pair,
.uc-sidebar-centers > .zib-widget,
.uc-sidebar-centers > .jio-widget-box,
.uc-sidebar > .uc-sidebar-iconbox {
margin-bottom: 20px;
}
@@ -189,7 +189,7 @@ body.jio-user-center .uc-content,
.uc-sidebar > .uc-sidebar-statistics,
.uc-sidebar > .uc-sidebar-vip,
.uc-sidebar > .uc-sidebar__pair,
.uc-sidebar-centers > .zib-widget,
.uc-sidebar-centers > .jio-widget-box,
.uc-sidebar > .uc-sidebar-iconbox {
margin-bottom: 10px;
}
@@ -410,11 +410,11 @@ body.jio-user-center .uc-content,
}
/* 文章 / 评论 / 收藏 / 粉丝:1:1 参考主题 zib_user_center_page_sidebar_statistics()。
参考主题没有给 .user-statistics-item 写专门样式,外观全部来自 zib-widget padding-10
/* 文章 / 评论 / 收藏 / 粉丝:1:1 同构 sidebar statistics。
侧栏统计项没有专门样式,外观全部来自 jio-widget-box padding-10
与 em14 / em09 opacity5 mt6;链接交互来自全局 a / a:hover 与 a[href] 过渡:
常态正文色,悬停/聚焦切到 --focus-color,color 0.2s 过渡,无下划线、无 outline。 */
.uc-sidebar-statistics.zib-widget {
.uc-sidebar-statistics.jio-widget-box {
clear: both;
line-height: 1.42857143;
background-color: var(--main-bg-color);
@@ -443,7 +443,7 @@ body.jio-user-center .uc-content,
}
}
/* VIP 入口:1:1 参考主题 zib_user_center_page_sidebar_vip(),外观全部来自
/* VIP 入口:1:1 同构 sidebar vip,外观全部来自
payvip-icon / badg / btn-block / abs-right。这里只补 <a> 与侧栏 gap 带来的差异。 */
.uc-sidebar .uc-sidebar-vip,
.uc-sidebar .uc-sidebar-vip:hover,
@@ -452,7 +452,7 @@ body.jio-user-center .uc-content,
text-decoration: none;
}
/* legacy-utilities 把 .abs-right 改成 top:0/right:0,恢复参考主题的垂直居中几何。 */
/* legacy-utilities 把 .abs-right 改成 top:0/right:0,恢复垂直居中几何。 */
.uc-sidebar-vip > .abs-right {
top: 50%;
right: 0.7em;
@@ -465,9 +465,9 @@ body.jio-user-center .uc-content,
vertical-align: -0.1em;
}
/* 创作中心 / 推广中心:1:1 参考主题 zib_user_center_page_sidebar_income_rebate()。
.zib-widget 在本站不是全局类,在侧栏内按参考原值落地。 */
.uc-sidebar-centers > .zib-widget {
/* 创作中心 / 推广中心:1:1 同构 sidebar income/rebate 入口。
.jio-widget-box 在本站不是全局类,在侧栏内按同名原值落地。 */
.uc-sidebar-centers > .jio-widget-box {
clear: both;
background-color: var(--main-bg-color);
padding: 10px;
@@ -477,8 +477,8 @@ body.jio-user-center .uc-content,
text-decoration: none;
}
.uc-sidebar-centers > .zib-widget:hover,
.uc-sidebar-centers > .zib-widget:focus {
.uc-sidebar-centers > .jio-widget-box:hover,
.uc-sidebar-centers > .jio-widget-box:focus {
color: var(--main-color);
}
@@ -542,13 +542,13 @@ body.jio-user-center .uc-content,
.uc-summary-card--wallet .uc-summary-card__body { color: #3978d6; }
.uc-summary-card--points .uc-summary-card__body { color: #ba7a0a; }
/* 我的服务 / 功能设置:1:1 参考主题 zib_user_center_page_sidebar_button_1/2()。
外壳为 zib-widget padding-6,标题为普通字重的 padding-6 ml3;
网格项只继承正文色,参考主题没有 hover / 选中变色。
参考主题正文行高是 bootstrap 的 1.42857143,本站 body 为 1.6,
/* 我的服务 / 功能设置:1:1 同构 sidebar button 1/2。
外壳为 jio-widget-box padding-6,标题为普通字重的 padding-6 ml3;
网格项只继承正文色,无 hover / 选中变色。
正文行高是 bootstrap 的 1.42857143,本站 body 为 1.6,
标题、图标、文字三行会各自被撑高,这里恢复参考行高。 */
/* widgets/frontend.css 在 main.min.css 之后加载,其 .zib-widget{padding:15px} 会盖掉 .padding-6,这里按参考值锁回 6px。 */
.uc-sidebar-iconbox.zib-widget {
/* widgets/frontend.css 在 main.min.css 之后加载,其 .jio-widget-box{padding:15px} 会盖掉 .padding-6,这里按参考值锁回 6px。 */
.uc-sidebar-iconbox.jio-widget-box {
clear: both;
padding: 6px;
line-height: 1.42857143;