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
@@ -37,7 +37,7 @@ body {
|
||||
background-color: var(--surface-page);
|
||||
}
|
||||
|
||||
/* zibll compat: global link composite transition */
|
||||
/* legacy compat: global link composite transition */
|
||||
a[href] {
|
||||
transition: color 0.2s, background 0.3s, opacity 0.3s, box-shadow 0.3s, transform 0.3s;
|
||||
}
|
||||
@@ -79,9 +79,9 @@ a[href] {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
/* Zibll dual-column float math expects a padding-free main.container.
|
||||
/* legacy dual-column float math expects a padding-free main.container.
|
||||
* Bootstrap 5 also defines .container (max-width ladder + padding-x).
|
||||
* Force Zibll geometry after Bootstrap so negative-margin sidebars land correctly. */
|
||||
* Force legacy geometry after Bootstrap so negative-margin sidebars land correctly. */
|
||||
.container,
|
||||
main.container,
|
||||
.site-main.container {
|
||||
@@ -96,7 +96,7 @@ main.container,
|
||||
--bs-gutter-y: 0;
|
||||
}
|
||||
|
||||
/* Header multifunc icon cards need horizontal gutter (zibll content rows).
|
||||
/* Header multifunc icon cards need horizontal gutter (legacy content rows).
|
||||
* Global .container padding is 0 for dual-column float math. */
|
||||
.header-slider-card.container {
|
||||
padding-left: 15px;
|
||||
@@ -106,7 +106,7 @@ main.container,
|
||||
|
||||
/* Header multifunc icon cards: pin typography baseline so cards render
|
||||
* identically on all pages. .px12-sm is only defined globally in
|
||||
* zibll-utilities.css, which is @import'd by the single-post aggregator;
|
||||
* legacy-utilities.css, which is @import'd by the single-post aggregator;
|
||||
* vendor CSS pins it at <=640px / .sidebar / .mobile-nav-widget only. */
|
||||
.header-slider-card .icon-cover-card {
|
||||
font-size: 12px;
|
||||
@@ -175,7 +175,7 @@ main.container,
|
||||
}
|
||||
|
||||
/* Soft pad only when the float dual-column is collapsed.
|
||||
* Match Zibll bootstrap container pad (15px) rather than 10px. */
|
||||
* Match legacy bootstrap container pad (15px) rather than 10px. */
|
||||
@media (max-width: 991.98px) {
|
||||
.container,
|
||||
main.container {
|
||||
@@ -246,7 +246,7 @@ main.container,
|
||||
}
|
||||
|
||||
/* No-wrap inline name rows — keep the level icon on the same line as the name.
|
||||
* The non-standard <name> element (zibll compat) plus .user-name / author-hero /
|
||||
* The non-standard <name> element (legacy compat) plus .user-name / author-hero /
|
||||
* uc-header name rows must not flex-wrap, or the badge drops to a new line.
|
||||
* The comment header may still wrap (avatar + name + like can overflow on
|
||||
* narrow viewports), so it keeps flex-wrap but the inner <name> never does. */
|
||||
|
||||
Reference in new issue
Block a user