v0.10.22: 落地页 scaffold 校对(smart-gateways 15 节中 10 节对齐)

- EAEL info-box:默认标题外距 8/16(设置覆盖)、title-section 外距改由页面 custom_css p
  控制(修复首页 H4 回归)、图片 display:block、icon-on-top/left 类名
- image widget:支持 space(%) 宽度(92/99/80% 三类图与原站全等)
- 列宽度:Landing 内嵌 section 外层列 populated auto(620→610)与四列行中间列
  calc(100%-8px)(310/302/302/310 实测)
- button widget:selected_icon 图标(star/fire-alt)→ content-wrapper flex + 1em 图标盒
- HTML 块:.ele-choose-prtocol/.ele-choose-platform ul 去 UA 外距
- 实测 smart-gateways 10/15 节与原站误差 ≤8px;首页 626ce49/9f202ea 回归修复
- 待办已记入 docs:8e90920 EAEL tabs、391a1ee Toggle DOM、a36c301 内嵌模板 27143
- bun test 11 pass;版本 0.10.22
This commit is contained in:
bigcode
2026-11-02 13:19:54 +08:00
parent ddeeca3293
commit 07774c715f
4 changed files with 70 additions and 4 deletions
+33
View File
@@ -45,6 +45,8 @@
.fa-facebook-f::before { content: "\f39e"; }
.fa-discord::before { content: "\f392"; }
.fa-tiktok::before { content: "\e07b"; }
.fa-star::before { content: "\f005"; }
.fa-fire-alt::before { content: "\f7e4"; }
.fa-twitter::before { content: "\f099"; }
/* # 字体 Font Awesome Solid / Regular(页脚返回顶部图标 fas fa-chevron-up、
@@ -532,6 +534,8 @@
.eael-infobox .infobox-content .infobox-title-section .title {
width: max-content; max-width: 100%; overflow-wrap: break-word; word-break: break-word;
}
.eael-infobox.icon-on-top .infobox-content .title { margin: 8px 0 16px; line-height: 1.2; }
.eael-infobox.icon-on-top .infobox-icon img { display: block; width: 100%; height: auto; }
.eael-infobox.icon-on-left .infobox-content .title { line-height: 1; margin: 0 0 10px 0; }
.eael-infobox .infobox-content p { margin: 0 0 15px; }
/* 内容里的 ul/ol:hello-elementor 主题 reset(H14 药丸列表实测 margin 0,
@@ -979,3 +983,32 @@ body.dialog-prevent-scroll { overflow: hidden; }
[data-el="d761846"] .woocommerce-pagination ul.page-numbers .current { background: #E9E6ED; color: #816F98; }
[data-el="d761846"] .woocommerce-pagination ul.page-numbers .dots { color: #333; }
/* Elementor 按钮图标布局(Landing 页 New/HOT 徽章:flex 内容行 + 1em 图标) */
.el-btn .elementor-button-content-wrapper { display: flex; align-items: center; gap: 5px; }
.el-btn .elementor-button-icon { display: flex; align-items: center; justify-content: center; width: 1em; height: 1em; line-height: 1; }
.el-btn .elementor-button-icon i { font-size: 1em; line-height: 1; width: 1em; text-align: center; }
.el-btn .elementor-button-text { display: block; }
/* Landing 智能网关:四列卡片行中间两列 populated 宽 = 100% - 8px(左右 margin 4px,
* 首末列维持 100% 溢出语义,原站 flex 收缩实测 310/302/302/310) */
[data-el="a3bcae8"] .el-col:nth-child(2) > div,
[data-el="a3bcae8"] .el-col:nth-child(3) > div,
[data-el="dfb16c6"] .el-col:nth-child(2) > div,
[data-el="dfb16c6"] .el-col:nth-child(3) > div { width: calc(100% - 8px) !important; }
/* Landing 智能网关 de5742a:内嵌 section 的外层列带 margin-right/left 10px,
* populated 宽 auto(原站 620 列 → 610 内层节,内层列 305) */
[data-el="64ebb3a"] > div,
[data-el="fce8a34"] > div { width: auto !important; }
/* Landing 智能网关:协议入口 HTML 块(.ele-choose-prtocol)列表无 UA 外边距
* (原站主题 reset:ul margin 0;custom_css 只给了 padding 0) */
.content-html .ele-choose-prtocol ul,
.content-html .ele-choose-platform ul { margin: 0; }
/* Landing 智能网关 9b87079/7c15af8:内嵌 section 外层列同样带 margin(620 → 610) */
[data-el="491df15"] > div,
[data-el="71f7329"] > div,
[data-el="2ec9a62"] > div,
[data-el="7bdf4c0"] > div { width: auto !important; }