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:
1 parent
4f2391fb64
commit
9375b1c30c
591 files changed
+1690
-11041
No files matched your search
@@ -1,10 +1,10 @@
|
||||
/**
|
||||
* Archives page (zibll archives) styles.
|
||||
* Archives page (legacy archives) styles.
|
||||
*
|
||||
* @package AKSRT
|
||||
*/
|
||||
|
||||
/* Dual-column geometry owned by layout.css site-layout float rules (Zibll). */
|
||||
/* Dual-column geometry owned by layout.css site-layout float rules (legacy). */
|
||||
|
||||
.archives-month-list {
|
||||
list-style: none;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* AKSRT 网址导航 — zibll links page shell/styles.
|
||||
* AKSRT 网址导航 — legacy links page shell/styles.
|
||||
*
|
||||
* @package AKSRT
|
||||
*/
|
||||
@@ -9,7 +9,7 @@
|
||||
padding: 0 15px 10px;
|
||||
}
|
||||
|
||||
.links-box:not(.zib-widget):not(.links-style-simple):not(.links-style-image) {
|
||||
.links-box:not(.aksrt-panel):not(.links-style-simple):not(.links-style-image) {
|
||||
margin: -5px;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
@@ -33,7 +33,7 @@
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.links-box:not(.zib-widget) .links-card {
|
||||
.links-box:not(.aksrt-panel) .links-card {
|
||||
background: var(--main-bg-color, var(--surface-1, #fff));
|
||||
}
|
||||
|
||||
@@ -109,8 +109,8 @@
|
||||
}
|
||||
|
||||
/* ---- fixed category nav ---- */
|
||||
.fixed-wrap .fixed-wrap-nav.zib-widget,
|
||||
.link-nav-box .zib-widget {
|
||||
.fixed-wrap .fixed-wrap-nav.aksrt-panel,
|
||||
.link-nav-box .aksrt-panel {
|
||||
padding: 8px 15px;
|
||||
}
|
||||
|
||||
@@ -415,7 +415,7 @@
|
||||
display: block;
|
||||
}
|
||||
|
||||
.link-nav-box > .zib-widget {
|
||||
.link-nav-box > .aksrt-panel {
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
padding: 0;
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
/**
|
||||
* AKSRT 文章导航页 — zibll postsnavs shell + admin settings.
|
||||
* AKSRT 文章导航页 — legacy postsnavs shell + admin settings.
|
||||
*
|
||||
* @package AKSRT
|
||||
*/
|
||||
|
||||
/* header card */
|
||||
/* Dual-column geometry owned by layout.css site-layout float rules (Zibll). */
|
||||
/* Dual-column geometry owned by layout.css site-layout float rules (legacy). */
|
||||
|
||||
.posts-navs .title-theme h2 {
|
||||
margin: 0;
|
||||
@@ -64,7 +64,7 @@
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.posts-nav-box .zib-widget {
|
||||
.posts-nav-box .aksrt-panel {
|
||||
background: var(--main-bg-color, var(--surface-1, #fff));
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 1px 4px var(--main-shadow, rgba(0, 0, 0, 0.06));
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
|
||||
}
|
||||
|
||||
/* 对齐 zibll: calc(20% + 100px) */
|
||||
/* 对齐 legacy: calc(20% + 100px) */
|
||||
.uc-header__cover {
|
||||
position: relative;
|
||||
padding-bottom: calc(20% + 100px);
|
||||
@@ -141,7 +141,7 @@
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* 对齐 zibll: 140px, 6px 圆角 */
|
||||
/* 对齐 legacy: 140px, 6px 圆角 */
|
||||
.uc-header__avatar img {
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
|
||||
@@ -654,7 +654,7 @@
|
||||
color: var(--color-ink-4);
|
||||
}
|
||||
|
||||
/* Zibll-style user tabs: one panel outside, flat rows inside. */
|
||||
/* legacy-style user tabs: one panel outside, flat rows inside. */
|
||||
.dashboard--public .profile-list,
|
||||
.dashboard--public .profile-comment-list,
|
||||
.uc-content #panel-posts .profile-list,
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
/**
|
||||
* AKSRT Revenue Page Styles
|
||||
* 收益中心页面样式 — zibll-aligned, responsive
|
||||
* 收益中心页面样式 — legacy-aligned, responsive
|
||||
*/
|
||||
|
||||
.aksrt-revenue-page {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/**
|
||||
* User Center — assets (wallet + points) Zibll parity
|
||||
* User Center — assets (wallet + points) legacy parity
|
||||
*/
|
||||
|
||||
.uc-balance-card {
|
||||
@@ -40,7 +40,7 @@
|
||||
padding: 16px 20px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.uc-assets-row .uc-asset-card.zib-widget {
|
||||
.uc-assets-row .uc-asset-card.aksrt-panel {
|
||||
/* defensive if class reintroduced */
|
||||
margin-bottom: 0;
|
||||
clear: none;
|
||||
@@ -86,7 +86,7 @@
|
||||
color: var(--focus-color, #f04494);
|
||||
}
|
||||
|
||||
/* Sidebar mini dual cards (Zibll) */
|
||||
/* Sidebar mini dual cards (legacy) */
|
||||
.uc-asset-mini {
|
||||
gap: 8px;
|
||||
}
|
||||
@@ -299,7 +299,7 @@ body.uc-modal-open {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
/* Asset record tabs — flat tab strip + list, no zib-widget mega-card */
|
||||
/* Asset record tabs — flat tab strip + list, no aksrt-panel mega-card */
|
||||
.uc-asset-tabs {
|
||||
margin-top: 8px;
|
||||
padding: 0;
|
||||
@@ -307,7 +307,7 @@ body.uc-modal-open {
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
.uc-asset-tabs.zib-widget {
|
||||
.uc-asset-tabs.aksrt-panel {
|
||||
background: transparent;
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
@@ -1020,7 +1020,7 @@ body.uc-modal-open {
|
||||
}
|
||||
.focus-color { color: var(--focus-color, #f59e0b); }
|
||||
|
||||
/* 用户中心「我的徽章」弹窗样式已迁至 assets/css/frontend/medal.css(zibll medal 风格)。 */
|
||||
/* 用户中心「我的徽章」弹窗样式已迁至 assets/css/frontend/medal.css(legacy medal 风格)。 */
|
||||
|
||||
.uc-points-tasks__row.is-done { opacity: .72; }
|
||||
.uc-points-tasks__progress-bar {
|
||||
@@ -1035,12 +1035,12 @@ body.uc-modal-open {
|
||||
background: linear-gradient(90deg, #22c55e, #16a34a);
|
||||
}
|
||||
|
||||
/* VIP tab — zibll 我的会员 (scoped; no dependence on homepage-only utilities) */
|
||||
/* VIP tab — legacy 我的会员 (scoped; no dependence on homepage-only utilities) */
|
||||
.uc-vip-tab {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
/* Top profile card — zibll .user-content-myvip 1:1 */
|
||||
/* Top profile card — legacy .user-content-myvip 1:1 */
|
||||
.uc-vip-tab .user-content-myvip {
|
||||
position: relative;
|
||||
display: flex;
|
||||
@@ -1067,7 +1067,7 @@ body.uc-modal-open {
|
||||
.uc-vip-tab .user-content-myvip .uc-vip-state {
|
||||
flex: 4 1 0;
|
||||
}
|
||||
/* Crown watermark — zibll .user-content-myvip .vip-img.abs-right */
|
||||
/* Crown watermark — legacy .user-content-myvip .vip-img.abs-right */
|
||||
.uc-vip-tab .user-content-myvip .vip-img,
|
||||
.uc-vip-tab .user-content-myvip .vip-img.abs-right {
|
||||
position: absolute;
|
||||
@@ -1098,7 +1098,7 @@ body.uc-modal-open {
|
||||
.uc-vip-tab .uc-vip-userbox .shrink0 {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
/* avatar-md = 55×55 circle (zibll --this-size: 55px) */
|
||||
/* avatar-md = 55×55 circle (legacy --this-size: 55px) */
|
||||
.uc-vip-tab .user-content-myvip .avatar-img {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
@@ -1156,7 +1156,7 @@ body.uc-modal-open {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/* Right status column — zibll my_vip_box */
|
||||
/* Right status column — legacy my_vip_box */
|
||||
.uc-vip-status,
|
||||
.uc-vip-tab .uc-vip-status.flex.xx {
|
||||
display: flex;
|
||||
@@ -1447,7 +1447,7 @@ html:not(.dark):not(.theme-dark) .uc-vip-level-card.level-2 .v-name {
|
||||
gap: 12px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
/* zibll: hide-sm on left profile column on mobile */
|
||||
/* legacy: hide-sm on left profile column on mobile */
|
||||
.uc-vip-tab .user-content-myvip .hide-sm,
|
||||
.uc-vip-tab .user-content-myvip .uc-vip-profile.hide-sm {
|
||||
display: none !important;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
.aksrt-user-level-icon--admin { height: 22px; }
|
||||
|
||||
.uc-level-page { display: grid; gap: 16px; }
|
||||
.uc-level-page .zib-widget {
|
||||
.uc-level-page .aksrt-panel {
|
||||
margin: 0;
|
||||
padding: 18px;
|
||||
border: 1px solid var(--color-line-soft, rgba(0,0,0,.06));
|
||||
|
||||
@@ -47,8 +47,8 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* ==================== 响应式抽屉(对齐 zibll ≤767 全宽,覆盖 display:none) ==================== */
|
||||
/* zibll 在 max-width:767 把 user-center-sidebar/content 设 width:100%;
|
||||
/* ==================== 响应式抽屉(对齐 legacy ≤767 全宽,覆盖 display:none) ==================== */
|
||||
/* legacy 在 max-width:767 把 user-center-sidebar/content 设 width:100%;
|
||||
* 本站沿用 ≤991.98 的 drawer 模式,与全站侧栏折叠点一致。 */
|
||||
@media (max-width: 991.98px) {
|
||||
body.aksrt-user-center .user-center-body,
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
/**
|
||||
* AKSRT User Center — 本人中心专属样式
|
||||
*
|
||||
* Zibll 风格两栏布局:左侧边栏 + 右侧内容区
|
||||
* 原主题风格两栏布局:左侧边栏 + 右侧内容区
|
||||
* 仅在本人中心页面加载(body.aksrt-user-center)
|
||||
*/
|
||||
|
||||
@@ -45,8 +45,8 @@ h1.uc-header__name .aksrt-identity-medal {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
/* ==================== 页面自有双栏(对齐 zibll .user-center flex,不走全站 float 壳) ==================== */
|
||||
/* DOM: sidebar first + content second(与 zibll user-center-sidebar / user-center-content 一致)。
|
||||
/* ==================== 页面自有双栏(对齐 legacy .user-center flex,不走全站 float 壳) ==================== */
|
||||
/* DOM: sidebar first + content second(与 legacy user-center-sidebar / user-center-content 一致)。
|
||||
* 选择器同时覆盖 body.aksrt-user-center 与 main.user-center / .aksrt-profile,避免 body class 漏打时失效。 */
|
||||
body.aksrt-user-center .content-wrap,
|
||||
.aksrt-profile .content-wrap,
|
||||
@@ -56,7 +56,7 @@ body.aksrt-user-center .content-wrap,
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
/* 对齐 zibll: .user-center { display:flex; gap:20px; } */
|
||||
/* 对齐 legacy: .user-center { display:flex; gap:20px; } */
|
||||
body.aksrt-user-center .user-center-body,
|
||||
body.aksrt-user-center .aksrt-profile__layout,
|
||||
.aksrt-profile .user-center-body,
|
||||
@@ -85,7 +85,7 @@ body.aksrt-user-center.site-layout-3 .user-center-body {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
/* 对齐 zibll: .user-center .user-center-sidebar { width:320px; flex-shrink:0; } */
|
||||
/* 对齐 legacy: .user-center .user-center-sidebar { width:320px; flex-shrink:0; } */
|
||||
body.aksrt-user-center .user-center-sidebar,
|
||||
body.aksrt-user-center .uc-sidebar,
|
||||
body.aksrt-user-center .aksrt-profile__aside,
|
||||
@@ -109,7 +109,7 @@ body.aksrt-user-center .aksrt-profile__aside,
|
||||
align-self: flex-start;
|
||||
}
|
||||
|
||||
/* 对齐 zibll: .user-center .user-center-content { width: calc(100% - 320px); } */
|
||||
/* 对齐 legacy: .user-center .user-center-content { width: calc(100% - 320px); } */
|
||||
body.aksrt-user-center .user-center-content,
|
||||
body.aksrt-user-center .uc-content,
|
||||
.aksrt-profile .user-center-content,
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
* User Center — VIP summary card only.
|
||||
*
|
||||
* The purchase cards below remain owned by the existing VIP/credits styles.
|
||||
* This summary intentionally mirrors their quiet Zibll card language.
|
||||
* This summary intentionally mirrors their quiet legacy card language.
|
||||
*/
|
||||
|
||||
.uc-content #panel-vip.dashboard-panel {
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* AKSRT User Home / Author Page — 公开用户主页 & 作者归档页样式
|
||||
*
|
||||
* Zibll 风格作者页布局
|
||||
* 原主题风格作者页布局
|
||||
* 在 /user/{nicename}/ 和 /author/{nicename}/ 加载
|
||||
*/
|
||||
|
||||
/* ============================================================
|
||||
* Author Hero — 统一的作者头区(与 zibll author-header 对齐)
|
||||
* Author Hero — 统一的作者头区(与 legacy author-header 对齐)
|
||||
* ============================================================ */
|
||||
.aksrt-author-hero {
|
||||
position: relative;
|
||||
@@ -120,7 +120,7 @@
|
||||
max-width: 520px;
|
||||
}
|
||||
|
||||
/* Body stats row removed for Zibll author parity; counts live in tabs. */
|
||||
/* Body stats row removed for legacy author parity; counts live in tabs. */
|
||||
.aksrt-author-hero__stats {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
@@ -399,7 +399,7 @@
|
||||
animation: panel-fade-in 0.25s ease;
|
||||
}
|
||||
|
||||
/* Public author posts follow Zibll's full-width, two-column list. */
|
||||
/* Public author posts follow legacy's full-width, two-column list. */
|
||||
@media (min-width: 992px) {
|
||||
.aksrt-user-home #panel-posts .aksrt-user-home__post-list .posts-item {
|
||||
display: inline-flex;
|
||||
@@ -498,7 +498,7 @@
|
||||
}
|
||||
|
||||
|
||||
/* Full-width public home (Zibll author: no commerce sidebar) */
|
||||
/* Full-width public home (legacy author: no commerce sidebar) */
|
||||
.aksrt-user-home .content-layout--no-sidebar .content-layout__primary {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
|
||||
Reference in new issue
Block a user