头像面板:按钮文字居中,关闭叉加大加深 v26101028

Co-Authored-By: AI 助手
This commit is contained in:
karlcarlo
2026-10-11 15:15:54 +00:00
parent ef73ea7463
commit b32bda8375
3 changed files with 11 additions and 2 deletions

View File

@@ -7,7 +7,7 @@
<meta name="mobile-web-app-capable" content="yes"> <meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-capable" content="yes">
<title>兜爸心选 · 孕育陪伴</title> <title>兜爸心选 · 孕育陪伴</title>
<!-- V:26101027 缓存版本标记:改 css/js 时同步 bump 该值(与 js/app.js 的 VER 同源),静态资源按 mtime 走 ETag 自动刷新 --> <!-- V:26101028 缓存版本标记:改 css/js 时同步 bump 该值(与 js/app.js 的 VER 同源),静态资源按 mtime 走 ETag 自动刷新 -->
<link rel="stylesheet" href="mama-box.css"> <link rel="stylesheet" href="mama-box.css">
<link rel="stylesheet" href="night.css"> <link rel="stylesheet" href="night.css">
<!-- 夜晚模式:首屏绘制前就按上次的选择加 class,避免先白后黑闪一下(开关在首页右上角 #nightBtn,逻辑见 app.js) --> <!-- 夜晚模式:首屏绘制前就按上次的选择加 class,避免先白后黑闪一下(开关在首页右上角 #nightBtn,逻辑见 app.js) -->

View File

@@ -3,7 +3,7 @@
(function () { (function () {
'use strict'; 'use strict';
/* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */ /* 页面版本号(YYMMDD+序号):显示在「关于兜爸心选」页底部;bump 时同步 head 注释与 ?v= */
var VER = '26101027'; var VER = '26101028';
const $ = (s, c) => (c || document).querySelector(s); const $ = (s, c) => (c || document).querySelector(s);
const $$ = (s, c) => Array.from((c || document).querySelectorAll(s)); const $$ = (s, c) => Array.from((c || document).querySelectorAll(s));

View File

@@ -4847,3 +4847,12 @@ a.skip:focus{left:16px;top:16px}
.ms-bal::after{content:"›";margin-left:2px;font-size:17px;line-height:1;color:rgba(255,255,255,.9)} .ms-bal::after{content:"›";margin-left:2px;font-size:17px;line-height:1;color:rgba(255,255,255,.9)}
.ms-bal.hide,.ms-go.hide{display:none} .ms-bal.hide,.ms-go.hide{display:none}
/* 统一头像面板(/_bridge/avatar-picker.js)在首页的样式补丁(2026-10-11 用户):
首页全局 button{text-align:left} 把面板两颗按钮的字挤到了左边 → 居中;
右上角关闭叉原来是浅灰底浅灰字,看不清 → 加大、深色叉、白底描边 */
.avp-btn{text-align:center;display:flex;align-items:center;justify-content:center}
.avp-x{width:36px!important;height:36px!important;display:grid;place-items:center;padding:0;
background:#fff!important;color:var(--ink)!important;font-size:24px!important;font-weight:500;line-height:1;
box-shadow:0 0 0 1.5px #E7DCD5,0 3px 10px rgba(90,50,35,.12)}
.avp-x:active{transform:scale(.92)}