fix: particule clic plus visible (plus grosse, glow, durée 1.2s) + label /clic explicite

This commit is contained in:
2026-03-20 16:22:29 +01:00
parent b475fb8953
commit 2db3c12fc6
2 changed files with 10 additions and 7 deletions

View File

@@ -19,7 +19,7 @@ export function CockpitHeader() {
</span> </span>
</div> </div>
<div className="gp-stat"> <div className="gp-stat">
<span className="gp-label">Ponte</span> <span className="gp-label">/clic</span>
<span className="gp-value">{formatNumber(clickGain)}</span> <span className="gp-value">{formatNumber(clickGain)}</span>
</div> </div>
<div className="gp-stat"> <div className="gp-stat">

View File

@@ -84,22 +84,25 @@
position: fixed; position: fixed;
pointer-events: none; pointer-events: none;
font-family: var(--font); font-family: var(--font);
font-size: 1.2rem; font-size: 1.6rem;
font-weight: 700; font-weight: 800;
color: #34d399; color: #34d399;
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); text-shadow: 0 0 8px rgba(52, 211, 153, 0.6), 0 2px 4px rgba(0, 0, 0, 0.7);
z-index: 100; z-index: 100;
animation: float-up 0.8s ease-out forwards; animation: float-up 1.2s ease-out forwards;
} }
@keyframes float-up { @keyframes float-up {
0% { 0% {
opacity: 1; opacity: 1;
transform: translateY(0) scale(1); transform: translateY(0) scale(1.2);
}
60% {
opacity: 0.9;
} }
100% { 100% {
opacity: 0; opacity: 0;
transform: translateY(-60px) scale(1.3); transform: translateY(-80px) scale(1.5);
} }
} }