ProjectGenesis commited on
Commit
136799f
·
verified ·
1 Parent(s): 5b9e292

Remove border trail animation ONLY for the button "KYC Status: Unverified"

Browse files
Files changed (1) hide show
  1. index.html +41 -2
index.html CHANGED
@@ -68,6 +68,35 @@
68
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
69
  z-index: 1;
70
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  .pill-button:hover {
72
  box-shadow: 0 0 10px 2px;
73
  }
@@ -147,6 +176,11 @@
147
  .accordion[aria-expanded="true"] .accordion-content {
148
  max-height: 500px;
149
  }
 
 
 
 
 
150
  @keyframes glow {
151
  0% { box-shadow: 0 0 0px 0px rgba(255, 106, 0, 0.6); }
152
  50% { box-shadow: 0 0 10px 3px rgba(255, 106, 0, 0.8); }
@@ -166,6 +200,11 @@
166
  .bg-orange-accent-gradient {
167
  background: linear-gradient(90deg, #FF6A00, transparent);
168
  }
 
 
 
 
 
169
  .flex-\[0_0_auto\] { flex: 0 0 auto; }
170
 
171
  /* Mobile specific */
@@ -312,7 +351,7 @@
312
  <div class="flex flex-wrap gap-3">
313
  <button class="pill-button pill-button-secondary bg-[rgba(0,228,255,0.15)]">Redeem Balance</button>
314
  <button id="btn-convert" class="pill-button pill-button-primary"><span class="text-white">Payment Method</span></button>
315
- <button class="pill-button pill-button-secondary bg-[rgba(255,0,0,0.15)] hover:bg-[rgba(255,0,0,0.2)]">
316
  <span class="text-[#FF4D4D]">KYC Status: Unverified</span>
317
  </button>
318
  </div>
@@ -409,7 +448,7 @@
409
  <td class="py-3">Blackjack Table #7</td>
410
  <td class="py-3 font-['Orbitron']">-4.50</td>
411
  <td class="py-3">
412
- <span class="status-pill bg-[rgba(255,106,0,0.1)] text-white">Redeem</span>
413
  </td>
414
  <td class="py-3">
415
  <span class="status-pill bg-[rgba(60,226,122,0.1)] text-[#3CE27A]">Settled</span>
 
68
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
69
  z-index: 1;
70
  }
71
+ .pill-button::before {
72
+ --a: 0turn;
73
+ content: "";
74
+ position: absolute;
75
+ inset: 0;
76
+ border-radius: 9999px;
77
+ padding: 3px;
78
+ background: conic-gradient(from var(--a),
79
+ rgba(255, 255, 0, 0.9),
80
+ rgba(255, 165, 0, 0.9),
81
+ transparent,
82
+ rgba(255, 255, 0, 0.9));
83
+ animation: border-spin 3s linear infinite;
84
+ -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
85
+ -webkit-mask-composite: xor;
86
+ mask-composite: exclude;
87
+ z-index: -1;
88
+ }
89
+ .pill-button::after {
90
+ content: "";
91
+ position: absolute;
92
+ top: 2px;
93
+ left: 2px;
94
+ right: 2px;
95
+ bottom: 2px;
96
+ background: rgba(30, 30, 30, 0.9);
97
+ border-radius: 100px;
98
+ z-index: -1;
99
+ }
100
  .pill-button:hover {
101
  box-shadow: 0 0 10px 2px;
102
  }
 
176
  .accordion[aria-expanded="true"] .accordion-content {
177
  max-height: 500px;
178
  }
179
+ @keyframes border-spin {
180
+ to {
181
+ --a: 1turn;
182
+ }
183
+ }
184
  @keyframes glow {
185
  0% { box-shadow: 0 0 0px 0px rgba(255, 106, 0, 0.6); }
186
  50% { box-shadow: 0 0 10px 3px rgba(255, 106, 0, 0.8); }
 
200
  .bg-orange-accent-gradient {
201
  background: linear-gradient(90deg, #FF6A00, transparent);
202
  }
203
+ @property --a {
204
+ syntax: '<angle>';
205
+ inherits: false;
206
+ initial-value: 0turn;
207
+ }
208
  .flex-\[0_0_auto\] { flex: 0 0 auto; }
209
 
210
  /* Mobile specific */
 
351
  <div class="flex flex-wrap gap-3">
352
  <button class="pill-button pill-button-secondary bg-[rgba(0,228,255,0.15)]">Redeem Balance</button>
353
  <button id="btn-convert" class="pill-button pill-button-primary"><span class="text-white">Payment Method</span></button>
354
+ <button class="bg-[rgba(255,0,0,0.15)] hover:bg-[rgba(255,0,0,0.2)] rounded-full px-4 py-2 text-sm">
355
  <span class="text-[#FF4D4D]">KYC Status: Unverified</span>
356
  </button>
357
  </div>
 
448
  <td class="py-3">Blackjack Table #7</td>
449
  <td class="py-3 font-['Orbitron']">-4.50</td>
450
  <td class="py-3">
451
+ <span class="status-pill bg-[rgba(255,106,0,0.1)] text-white">Purchase SC</span>
452
  </td>
453
  <td class="py-3">
454
  <span class="status-pill bg-[rgba(60,226,122,0.1)] text-[#3CE27A]">Settled</span>