fix: 增强卡片删除按钮可见性,加边框和更大尺寸
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
ae12cd3710
commit
c30805c103
@@ -169,11 +169,12 @@
|
||||
.food-card__icon { font-size: 22px; }
|
||||
.food-card__name { font-size: 14px; font-weight: 600; flex: 1; }
|
||||
.food-card__delete {
|
||||
width: 22px; height: 22px; border-radius: 4px; border: none;
|
||||
background: rgba(255,77,79,0.1); color: rgba(255,77,79,0.7); font-size: 11px;
|
||||
width: 24px; height: 24px; border-radius: 4px; border: 1px solid rgba(255,77,79,0.2);
|
||||
background: rgba(255,77,79,0.12); color: rgba(255,77,79,0.85); font-size: 13px;
|
||||
cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
.food-card__delete:hover { background: rgba(255,77,79,0.25); color: #ff6b6d; }
|
||||
.food-card__delete:hover { background: rgba(255,77,79,0.25); color: #ff4d4f; border-color: rgba(255,77,79,0.4); }
|
||||
.food-card__spec { font-size: 11px; color: #40a9ff; background: rgba(24,144,255,0.12); padding: 3px 8px; border-radius: 4px; display: inline-block; align-self: flex-start; }
|
||||
.food-card__progress { display: flex; flex-direction: column; gap: 4px; }
|
||||
.food-card__progress-label { font-size: 11px; color: rgba(255,255,255,0.4); }
|
||||
|
||||
Reference in New Issue
Block a user