Fix: Like-Icons im liked-Zustand sichtbar (weißer Stroke)
Problem: Hardgecodetes stroke='#20228a' im SVG verschwand auf dem ebenfalls blauen .liked-Hintergrund (#20228a). Fix: CSS-Override für .liked svg/svg path → stroke:#fff !important in .stat-like-btn, .comment-like-btn und .detail-like-btn.
This commit is contained in:
@@ -3002,6 +3002,7 @@ def public_frontend():
|
||||
.stat-like-btn { background:none; border:1.5px solid #e0dcd3; border-radius:999px; padding:0.2rem 0.55rem; font-size:0.7rem; cursor:pointer; color:#888; font-family:inherit; transition:all 0.15s; display:flex; align-items:center; gap:0.15rem; -webkit-tap-highlight-color:transparent; }
|
||||
.stat-like-btn:hover { border-color:#20228a; color:#20228a; background:rgba(32,34,138,0.05); }
|
||||
.stat-like-btn.liked { background:#20228a; color:#fff; border-color:#20228a; font-weight:600; }
|
||||
.stat-like-btn.liked svg, .stat-like-btn.liked svg path { stroke:#fff !important; }
|
||||
.stat-like-btn:active { transform:scale(0.94); }
|
||||
|
||||
/* Frontend filter bar */
|
||||
@@ -4743,6 +4744,7 @@ def public_detail(sub_id: int):
|
||||
.comment-like-btn {{ background:none; border:1.5px solid #e0dcd3; border-radius:999px; padding:0.15rem 0.5rem; font-size:0.68rem; cursor:pointer; color:#888; font-family:inherit; transition:all 0.15s; display:inline-flex; align-items:center; -webkit-tap-highlight-color:transparent; }}
|
||||
.comment-like-btn:hover {{ border-color:#20228a; color:#20228a; background:rgba(32,34,138,0.05); }}
|
||||
.comment-like-btn.liked {{ background:#20228a; color:#fff; border-color:#20228a; font-weight:600; }}
|
||||
.comment-like-btn.liked svg, .comment-like-btn.liked svg path {{ stroke:#fff !important; }}
|
||||
.comment-like-btn:active {{ transform:scale(0.94); }}
|
||||
.reply-info {{ font-size:0.75rem; color:#20228a; margin-bottom:0.3rem; font-weight:600; display:none; }}
|
||||
.comment-email, .comment-phone {{ padding:0.6rem 0.9rem; border:1.5px solid #ddd; border-radius:10px; font-size:0.85rem; font-family:inherit; }}
|
||||
@@ -4760,6 +4762,7 @@ def public_detail(sub_id: int):
|
||||
|
||||
.detail-like-btn:hover {{ border-color:#20228a; color:#20228a; background:rgba(32,34,138,0.05); }}
|
||||
.detail-like-btn.liked {{ background:#20228a; color:#fff; border-color:#20228a; font-weight:600; }}
|
||||
.detail-like-btn.liked svg, .detail-like-btn.liked svg path {{ stroke:#fff !important; }}
|
||||
.detail-like-btn:active {{ transform:scale(0.94); }}</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user