From a92a3205be6bdee9f311fe741f67795fa6e3118a Mon Sep 17 00:00:00 2001 From: 6d486f49 Date: Thu, 4 Jun 2026 17:12:17 -0400 Subject: [PATCH] ... --- Components/Inputs/CooldownButtonComponent.razor | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/Components/Inputs/CooldownButtonComponent.razor b/Components/Inputs/CooldownButtonComponent.razor index 73c5b1f..dc09bdf 100644 --- a/Components/Inputs/CooldownButtonComponent.razor +++ b/Components/Inputs/CooldownButtonComponent.razor @@ -9,9 +9,7 @@ @if (_isCooldown) { -
+
@_remainingSeconds
} @@ -50,7 +48,6 @@ transform: scale(0.97); } .cooldown-btn:disabled { - opacity: 0; cursor: default; } .cooldown-btn-text { @@ -60,19 +57,29 @@ position: absolute; inset: 0; border-radius: 12px; - background: rgba(22, 22, 24, 0.82); display: flex; align-items: center; justify-content: center; pointer-events: none; user-select: none; } + .cooldown-overlay::before { + content: ''; + position: absolute; + inset: 0; + border-radius: inherit; + background: rgba(22, 22, 24, 0.45); + mask-image: conic-gradient(transparent 0deg, transparent var(--angle), #000 var(--angle), #000 360deg); + -webkit-mask-image: conic-gradient(transparent 0deg, transparent var(--angle), #000 var(--angle), #000 360deg); + } .cooldown-label { font-size: 1.6rem; font-weight: 900; color: #999; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); pointer-events: none; + position: relative; + z-index: 1; }