mirror of
https://github.com/qingchencloud/clawpanel.git
synced 2026-05-06 20:02:49 +08:00
fix: show original icon color in promo capsule
This commit is contained in:
@@ -1635,7 +1635,7 @@
|
||||
.promo-fab-icon{width:48px;height:48px;border-radius:14px;background:linear-gradient(135deg,#f97316,#ef4444);box-shadow:0 4px 16px rgba(239,68,68,.3);display:flex;align-items:center;justify-content:center;position:relative}
|
||||
.promo-fab-icon::after{content:'';position:absolute;inset:-3px;border-radius:17px;border:2px solid rgba(239,68,68,.2);animation:promoPulse 2.5s ease-in-out infinite}
|
||||
@keyframes promoPulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:0;transform:scale(1.1)}}
|
||||
.promo-fab-icon img{width:28px;height:28px;border-radius:6px;filter:brightness(0) invert(1)}
|
||||
.promo-fab-icon img{width:28px;height:28px;border-radius:6px}
|
||||
.promo-fab-ad{position:absolute;top:-6px;right:-6px;padding:1px 5px;border-radius:4px;font-size:9px;font-weight:700;color:#fff;background:rgba(0,0,0,.45);backdrop-filter:blur(4px);line-height:1.3;letter-spacing:.5px}
|
||||
.promo-fab-text{font-size:11px;font-weight:600;color:var(--accent,#6366f1);background:var(--bg-card,rgba(255,255,255,.85));backdrop-filter:blur(8px);padding:3px 10px;border-radius:8px;border:1px solid var(--border,rgba(0,0,0,.06));box-shadow:0 2px 8px rgba(0,0,0,.06);white-space:nowrap;overflow:hidden;min-width:20px;max-width:120px}
|
||||
html.dark .promo-fab-text{background:rgba(18,18,26,.8);color:#818cf8}
|
||||
|
||||
Reference in New Issue
Block a user