style(sxbh-ui-tail4): 剩余 4 处对比度 + charset 提到 head 首元素
- .perspective-tabs .ptab.active 底色 --amber-500 → --amber-600(白字 2.15:1 → 5.02:1) - .consult-submit 渐变 --teal-500,#0891b2 → --teal-600,#155e75(白字 2.43:1 → 5.36:1) - .float-btn 渐变同上(白图标 2.43:1 → 5.36:1) - 表单输入框边框 --gray-300 → #8595a9(1.48:1 → 3.06:1,WCAG 1.4.11 非文本对比度) - index.html <meta charset> 提到 <head> 首元素(原在 <script> 之后) 28 处对比度复算:25/28(89.3%) → 28/28(100%),最差 4.55:1 基线:d3c1fe2;不含他人未提交的「栏目分流 Tab」hunk(ptab.active 修复仅工作树/线上生效) 单:yanxue-20260930_180913-sxbh-ui-tail4-and-charset | 门控 929a1d1d(研学落笔)
This commit is contained in:
@@ -420,7 +420,8 @@ footer .sep { margin:0 10px; color:rgba(255,255,255,.5); }
|
||||
}
|
||||
.form-group input,.form-group textarea {
|
||||
width:100%; padding:10px 14px;
|
||||
border:1px solid var(--gray-300); border-radius:var(--radius-sm);
|
||||
/* tail4 2026-09-30: 输入框边框 gray-300(1.48:1) → #8595a9(3.06:1);报告建议的 --gray-400 实测仅 2.56:1 仍不达 3:1 */
|
||||
border:1px solid #8595a9; border-radius:var(--radius-sm);
|
||||
font-size:14px; font-family:inherit;
|
||||
transition:border-color .2s;
|
||||
background:#fff;
|
||||
@@ -431,7 +432,8 @@ footer .sep { margin:0 10px; color:rgba(255,255,255,.5); }
|
||||
}
|
||||
.consult-submit {
|
||||
width:100%; padding:12px; border:none; border-radius:var(--radius-sm);
|
||||
background:linear-gradient(135deg,var(--teal-500),#0891b2);
|
||||
/* tail4 2026-09-30: 白字 2.43:1 → 加深一档 = 5.36~7.27:1(WCAG 1.4.3) */
|
||||
background:linear-gradient(135deg,var(--teal-600),#155e75);
|
||||
color:#fff; font-size:15px; font-weight:600;
|
||||
cursor:pointer; transition:opacity .2s;
|
||||
}
|
||||
@@ -455,7 +457,8 @@ footer .sep { margin:0 10px; color:rgba(255,255,255,.5); }
|
||||
width:56px; height:56px; border-radius:50%;
|
||||
display:flex; align-items:center; justify-content:center;
|
||||
text-decoration:none;
|
||||
background:linear-gradient(135deg,var(--teal-500),#0891b2);
|
||||
/* tail4 2026-09-30: 白图标 2.43:1 → 加深一档 = 5.36~7.27:1(WCAG 1.4.11) */
|
||||
background:linear-gradient(135deg,var(--teal-600),#155e75);
|
||||
color:var(--white);
|
||||
box-shadow:0 6px 20px rgba(6,182,212,.35);
|
||||
transition:var(--transition);
|
||||
|
||||
Reference in New Issue
Block a user