feat(cards): remove chip icon and add option to set default card theme for new users
This commit is contained in:
+10
-9
@@ -361,6 +361,13 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="margin-bottom: 16px;">
|
||||
<label style="display: flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 700; color: var(--text-main); cursor: pointer;">
|
||||
<input type="checkbox" id="devCardIsDefault" style="width: 17px; height: 17px; accent-color: #0284c7;">
|
||||
<span>Establecer como tarjeta predeterminada para nuevos usuarios</span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<button type="submit" id="btnDevSubmitCard" class="dev-action-btn dev-action-btn-primary" style="width: 100%; padding: 12px; justify-content: center; font-size: 0.95rem; border-radius: 12px; display: inline-flex; align-items: center; gap: 8px;">
|
||||
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/><polyline points="17 8 12 3 7 8"/><line x1="12" x2="12" y1="3" y2="15"/></svg>
|
||||
<span>Guardar y Publicar Diseño</span>
|
||||
@@ -381,10 +388,7 @@
|
||||
<div id="devLiveCardPreviewWrapper" style="position: relative; width: 100%; aspect-ratio: 1.586; border-radius: 18px; overflow: hidden; background: #0f172a; border: 1.5px solid var(--border); box-shadow: 0 10px 25px rgba(0,0,0,0.25);">
|
||||
<img id="devLiveCardBgImg" src="/img/cards/card_robo_lab.jpg" alt="Fondo" style="width: 100%; height: 100%; object-fit: cover; display: block;">
|
||||
<div id="devLiveCardOverlay" class="card-overlay" style="opacity: 1; position: absolute; inset: 0; padding: 16px 18px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none;">
|
||||
<div style="display: flex; justify-content: space-between; align-items: center;">
|
||||
<div class="card-emv-chip" style="width: 34px; height: 25px; margin: 0;">
|
||||
<div class="chip-inner-circuit"></div>
|
||||
</div>
|
||||
<div style="display: flex; justify-content: flex-end; align-items: center;">
|
||||
<span id="devLiveCardBrand" style="font-weight: 900; font-size: 0.85rem; letter-spacing: 0.5px; text-transform: uppercase; color: #ffffff; text-shadow: 0 2px 8px rgba(0,0,0,0.8); display: inline-flex; align-items: center; gap: 5px;"><span style="color: #38bdf8; font-size: 0.65rem;">●</span> SIBOPAY</span>
|
||||
</div>
|
||||
<div style="margin-top: auto; margin-bottom: 6px;">
|
||||
@@ -2148,11 +2152,8 @@
|
||||
|
||||
<!-- TARJETA DIGITAL DE MONEDERO Y SALDO (ESTILO UNIFICADO TEENS) -->
|
||||
<section class="wallet-card" id="mainWalletCard">
|
||||
<!-- ELEMENTOS DE TARJETA INTELIGENTE (CHIP Y PAGO SIN CONTACTO, SIN ASTERISCOS) -->
|
||||
<div class="card-chip-container">
|
||||
<div class="card-emv-chip" title="Monedero Electrónico Escolar">
|
||||
<div class="chip-inner-circuit"></div>
|
||||
</div>
|
||||
<!-- ELEMENTOS DE TARJETA INTELIGENTE (PAGO SIN CONTACTO, SIN ASTERISCOS) -->
|
||||
<div class="card-chip-container" style="justify-content: flex-end;">
|
||||
<div class="card-contactless-wave" title="Tecnología QR / Sin Contacto">
|
||||
<span>)</span><span>)</span><span>)</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user