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:
1 parent
42cc64106d
commit
427968a721
188 files changed
+915
-967
No files matched your search
@@ -83,7 +83,7 @@ ul.breadcrumb > li:last-child,
|
||||
|
||||
/* Video footer breadcrumb — legacy .single-video .breadcrumb:标题在下方
|
||||
footer(flex jsb at 行)不叠加封面,只归零内边距,保留基础弱化样式
|
||||
(opacity .6 与 12px 下边距),对齐 zibll main.css。 */
|
||||
(opacity .6 与 12px 下边距)。 */
|
||||
.single-video .breadcrumb {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@@ -286,8 +286,8 @@ body.jio-modal-runtime-open {
|
||||
transition: opacity 0.15s ease;
|
||||
}
|
||||
|
||||
/* ---- 禁封用户弹窗(参考主题 set_user_ban 模态框几何 1:1)----
|
||||
参考主题 zib_get_edit_user_ban_link 未传 data-class → 走 Bootstrap 默认
|
||||
/* ---- 禁封用户弹窗(set_user_ban 模态框几何 1:1)----
|
||||
编辑入口未传 data-class → 走 Bootstrap 默认
|
||||
.modal-dialog(>=768px 宽 600px);data-height=360 → .modal-content 初始
|
||||
高度 360 后动画至内容高度;mobile-bottom → <769px 底部抽屉。
|
||||
此处以 min-height:360px 复刻初始高度契约,桌面宽取 600px。 */
|
||||
@@ -339,7 +339,7 @@ body.jio-modal-runtime-open {
|
||||
padding: 2px 6px;
|
||||
}
|
||||
|
||||
/* 解封视图多彩横幅(参考主题 zib_get_modal_colorful_header('c-yellow', ...)):
|
||||
/* 解封视图多彩横幅(多彩横幅头契约:c-yellow 配色变体):
|
||||
120px 高绝对定位横幅 + 旋转彩斑,后续表单整体下移 120px。 */
|
||||
.jio-user-ban-modal .modal-colorful-header,
|
||||
.jio-user-ban-modal .colorful-bg,
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
display: flow-root;
|
||||
}
|
||||
|
||||
#jio-submit-form .zib-widget {
|
||||
#jio-submit-form .jio-widget-box {
|
||||
margin-bottom: 15px;
|
||||
padding: 15px;
|
||||
border-radius: var(--main-radius, 8px);
|
||||
@@ -726,7 +726,7 @@ body.jio-editor-media-open {
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.newposts-wrap .zib-widget {
|
||||
.newposts-wrap .jio-widget-box {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* Canonical Zibll 9.0 paid-content card shell. */
|
||||
.zib-widget.pay-box {
|
||||
/* Paid-content card shell. */
|
||||
.jio-widget-box.pay-box {
|
||||
clear: both;
|
||||
margin-bottom: 20px;
|
||||
padding: 15px;
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
color: var(--color-primary, #f04494);
|
||||
}
|
||||
|
||||
/* .widget a 的链接色不得覆盖 .but / .img-badge 自身配色(zibll 的 zib-widget 不设置链接色) */
|
||||
/* .widget a 的链接色不得覆盖 .but / .img-badge 自身配色(jio-widget-box 不设置链接色) */
|
||||
.widget a.but,
|
||||
.widget a.img-badge {
|
||||
color: var(--this-color, #fff);
|
||||
|
||||
@@ -94,7 +94,7 @@
|
||||
|
||||
|
||||
/* ===== Video footer (legacy single-video-footer) ===== */
|
||||
/* 内边距沿用 legacy 契约 .single-video-footer{padding:15px}(与 zibll 一致),
|
||||
/* 内边距沿用 legacy 契约 .single-video-footer{padding:15px},
|
||||
面包屑在 flex jsb at 行首,不再额外包装。 */
|
||||
.single-head-cover .single-video-footer .article-title {
|
||||
font-size: clamp(1.1rem, 2.4vw, 1.45rem); font-weight: 700; margin: 8px 0 0; line-height: 1.35;
|
||||
|
||||
@@ -383,8 +383,8 @@ html.dark .article-end-separator span {
|
||||
|
||||
|
||||
|
||||
/* ===== Zibll .zib-widget base (正文下方卡片堆栈依赖) ===== */
|
||||
.zib-widget {
|
||||
/* ===== .jio-widget-box base (正文下方卡片堆栈依赖) ===== */
|
||||
.jio-widget-box {
|
||||
clear: both;
|
||||
background-color: var(--main-bg-color);
|
||||
padding: 15px;
|
||||
@@ -392,7 +392,7 @@ html.dark .article-end-separator span {
|
||||
border-radius: var(--main-radius);
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.zib-widget.nobottom.notop {
|
||||
.jio-widget-box.nobottom.notop {
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
*/
|
||||
|
||||
/* VIP now uses the shared modal runtime host.
|
||||
壳几何 1:1 对齐 Zibll modal_pay_uservip:
|
||||
壳几何 1:1 对齐 modal_pay_uservip:
|
||||
- 宽度 = bootstrap3 ≥768px 的 .modal-dialog 600px,配合
|
||||
.modal.flex .modal-dialog 的 max-width: calc(100% - 20px)
|
||||
- 高度 = .modal.flex .modal-content 的 max-height: calc(100vh - 20px)
|
||||
|
||||
Reference in new issue
Block a user