feat(qr): reubicar logo y marca SiboPay en cabecera inmersiva, correccion de error H y logo de la S en el centro del QR
This commit is contained in:
+78
-8
@@ -478,7 +478,7 @@ body.dark-mode .wallet-card:not([class*="theme-"]) {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
justify-content: flex-start;
|
||||
padding: calc(16px + var(--safe-top)) 20px calc(24px + var(--safe-bottom)) 20px;
|
||||
box-sizing: border-box;
|
||||
overflow-y: auto;
|
||||
@@ -494,27 +494,69 @@ body.dark-mode .modal-qr-sibopay-immersive {
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 44%;
|
||||
min-height: 230px;
|
||||
height: 52%;
|
||||
min-height: 310px;
|
||||
background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
|
||||
border-bottom-left-radius: 36px;
|
||||
border-bottom-right-radius: 36px;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: center;
|
||||
padding-top: calc(34px + var(--safe-top));
|
||||
padding-top: calc(48px + var(--safe-top));
|
||||
box-sizing: border-box;
|
||||
z-index: 1;
|
||||
box-shadow: 0 8px 24px rgba(2, 132, 199, 0.25);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.qr-immersive-brand-header {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.qr-immersive-brand-logo-wrap {
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
border-radius: 50%;
|
||||
background: #ffffff;
|
||||
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 4px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.qr-immersive-brand-logo {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
border-radius: 50%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.qr-immersive-brand-title {
|
||||
color: #ffffff;
|
||||
font-size: 2.25rem;
|
||||
font-size: 2.15rem;
|
||||
font-weight: 900;
|
||||
letter-spacing: -0.6px;
|
||||
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
|
||||
line-height: 1.1;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
|
||||
}
|
||||
|
||||
.qr-immersive-brand-title span {
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.qr-immersive-brand-title .brand-pay-text {
|
||||
color: #38bdf8;
|
||||
font-weight: 900;
|
||||
margin-left: 1px;
|
||||
text-shadow: 0 2px 10px rgba(56, 189, 248, 0.5);
|
||||
}
|
||||
|
||||
.qr-immersive-content {
|
||||
@@ -526,7 +568,7 @@ body.dark-mode .modal-qr-sibopay-immersive {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 18px;
|
||||
margin-top: calc(56px + var(--safe-top));
|
||||
margin-top: calc(152px + var(--safe-top));
|
||||
animation: zoomIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
|
||||
}
|
||||
|
||||
@@ -621,6 +663,34 @@ body.dark-mode .qr-frame-corner {
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.qr-center-logo-badge {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
background: #ffffff;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 3px;
|
||||
box-sizing: border-box;
|
||||
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
|
||||
z-index: 10;
|
||||
border: 2.5px solid #ffffff;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.qr-center-logo-img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
border-radius: 50%;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.qr-card-token-text {
|
||||
margin-top: 18px;
|
||||
font-family: monospace;
|
||||
|
||||
+15
-3
@@ -12,7 +12,7 @@
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||
<meta name="apple-mobile-web-app-title" content="SiboPay">
|
||||
<meta name="mobile-web-app-capable" content="yes">
|
||||
<link rel="stylesheet" href="/css/styles.css?v=11.1">
|
||||
<link rel="stylesheet" href="/css/styles.css?v=11.2">
|
||||
<link rel="stylesheet" href="/css/desktop.css?v=2.1">
|
||||
<style>
|
||||
/* Transiciones suaves */
|
||||
@@ -1633,9 +1633,16 @@
|
||||
|
||||
<!-- MODAL INMERSIVO: CÓDIGO QR PARA PRESENTAR EN LA SODA (DISEÑO SIBOPAY EXACTO) -->
|
||||
<div class="modal-qr-sibopay-immersive" id="modalQr" style="display: none;" onclick="closeQrModal(event)">
|
||||
<!-- FONDO SUPERIOR CELESTE CON TÍTULO SIBOPAY -->
|
||||
<!-- FONDO SUPERIOR CELESTE CON LOGO Y MARCA SIBOPAY -->
|
||||
<div class="qr-immersive-bg-header">
|
||||
<div class="qr-immersive-brand-title">SiboPay</div>
|
||||
<div class="qr-immersive-brand-header">
|
||||
<div class="qr-immersive-brand-logo-wrap">
|
||||
<img src="/img/sibopay-emblem.png" alt="SiboPay" class="qr-immersive-brand-logo">
|
||||
</div>
|
||||
<div class="qr-immersive-brand-title">
|
||||
<span>Sibo</span><strong class="brand-pay-text">Pay</strong>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- CONTENEDOR CENTRAL: TARJETA BLANCA Y BOTÓN CERRAR -->
|
||||
@@ -1650,6 +1657,11 @@
|
||||
<div class="qr-frame-corner bottom-right"></div>
|
||||
|
||||
<img id="qrDisplayImg" class="qr-immersive-code-img" src="" alt="Código QR">
|
||||
|
||||
<!-- LOGO DE LA 'S' EN EL CENTRO DEL QR -->
|
||||
<div class="qr-center-logo-badge" title="SiboPay">
|
||||
<img src="/img/sibopay-emblem.png" alt="S" class="qr-center-logo-img">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="qr-card-token-text" id="qrTokenDisplay">
|
||||
|
||||
Reference in New Issue
Block a user