记一下弹窗压到半屏以内:标题一行、今天卡合成一条、宫格5列;修关闭弹窗阴影漏到屏幕底部 (v26100182)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
32
mama-box.css
32
mama-box.css
@@ -4063,3 +4063,35 @@ a.skip:focus{left:16px;top:16px}
|
||||
/* 2026-10-02 用户:入口星星小一点、少一点,别挡住「X周孕妈悄悄话」那行字 —— 星星只放在文字行之间 / 四周空处(见 index.html),不再放大 */
|
||||
.we-sky i{transform:scale(1);opacity:.85;filter:drop-shadow(0 0 1.5px rgba(255,255,255,.6))}
|
||||
@keyframes weTw{0%,100%{opacity:.9;transform:scale(1)}50%{opacity:.2;transform:scale(.55)}}
|
||||
|
||||
/* ================= 「记一下」弹窗压到半屏以内(2026-10-02 二改)=================
|
||||
用户:「弹出的框尽量别超过 1/2」。标题一行、今天卡合成一条细条、宫格 5 列小图标;工具多了宫格自己滚。 */
|
||||
.sheet{max-height:50%}
|
||||
.sheet-grip{padding:8px 0 2px}
|
||||
.sheet-head{align-items:center;padding:4px 18px 10px 22px}
|
||||
.sheet-head>div{display:flex;align-items:baseline;gap:10px;min-width:0}
|
||||
.sheet-head h2{font-size:19px;letter-spacing:0;flex:none}
|
||||
.sheet-head p.sk-sub{margin:0;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
||||
.sheet-close{width:30px;height:30px;font-size:0}
|
||||
.sheet-scroll{padding:0 16px calc(12px + env(safe-area-inset-bottom))}
|
||||
.sk-today{gap:10px;margin:0 2px 14px;padding:9px 10px 9px 12px;border-radius:16px}
|
||||
.sk-ring{width:36px;height:36px}
|
||||
.sk-ring circle{stroke-width:5}
|
||||
.sk-ring b{font-size:14px}
|
||||
.sk-tt{gap:2px}
|
||||
.sk-tt>b{font-size:14px}
|
||||
.sk-tt>span{display:block;font-size:11.5px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
|
||||
.sk-today .sk-go{flex:none;margin:0;padding:0 14px;height:30px;border-radius:99px;font-size:12.5px;font-weight:700;color:#fff;
|
||||
background:linear-gradient(135deg,#F09A80,#E07560);box-shadow:0 4px 10px rgba(224,117,96,.28)}
|
||||
.sk-today .sk-go.hide{display:none}
|
||||
.sk-today .sk-go:active{transform:scale(.94)}
|
||||
.apps-grid{grid-template-columns:repeat(5,1fr);grid-auto-rows:auto;gap:14px 4px;align-content:start}
|
||||
.apps-grid .app{gap:5px;font-size:11px;min-width:0;line-height:1.25}
|
||||
.apps-grid .app .a-ico{width:42px;height:42px}
|
||||
.apps-grid .a-ico-letter{width:42px;border-radius:14px;font-size:17px}
|
||||
.apps-grid .a-n{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10.5px;letter-spacing:-.4px}
|
||||
.apps-grid .app.is-done::after{top:-4px;right:calc(50% - 27px);width:15px;height:15px;background-size:10px}
|
||||
#appsGrid{grid-auto-rows:auto;max-height:none;overflow:visible;padding:6px 0 0}
|
||||
/* 2026-10-02 修:关着的弹窗/弹层都停在屏幕下沿外(translateY(102%)),但向上的 box-shadow 会漏进屏幕底部约 30px,
|
||||
六七个叠起来就是底部一条发灰发糊的带子(压在「记一下」最后一行字和首页底部上)。关着时不要阴影。 */
|
||||
.modal:not(.show),.sheet:not(.show){box-shadow:none!important}
|
||||
|
||||
Reference in New Issue
Block a user