AI update: תיקון דחוף לדף התשלום המשותף: כרגע כשנכנסים לדף עם פרמטרי biz ו-plan, מוטמע iframe עם קישור SmartPay קבוע (hardcoded) שפ
This commit is contained in:
@@ -136,14 +136,10 @@ body {
|
||||
animation: none;
|
||||
}
|
||||
|
||||
.spinner {
|
||||
.button-spinner {
|
||||
animation: none;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.iframe-loading .loading-text {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.card-header {
|
||||
@@ -254,51 +250,86 @@ body {
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
/* Iframe Container */
|
||||
.iframe-container {
|
||||
position: relative;
|
||||
min-height: 700px;
|
||||
background: var(--color-bg);
|
||||
/* Payment Action Section */
|
||||
.payment-action {
|
||||
padding: var(--space-xl);
|
||||
background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 100%);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.iframe-loading {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
.pay-button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: var(--space-md);
|
||||
color: var(--color-text-muted);
|
||||
font-size: 0.9375rem;
|
||||
background: var(--color-bg);
|
||||
z-index: 1;
|
||||
transition: opacity var(--transition-base);
|
||||
gap: var(--space-sm);
|
||||
width: 100%;
|
||||
max-width: 360px;
|
||||
padding: var(--space-lg) var(--space-xl);
|
||||
background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
|
||||
color: white;
|
||||
font-family: var(--font-family);
|
||||
font-size: 1.125rem;
|
||||
font-weight: 600;
|
||||
border: none;
|
||||
border-radius: var(--radius-lg);
|
||||
cursor: pointer;
|
||||
transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast);
|
||||
box-shadow: 0 4px 14px rgba(91, 76, 224, 0.4);
|
||||
}
|
||||
|
||||
.iframe-loading.hidden {
|
||||
opacity: 0;
|
||||
.pay-button:hover:not(:disabled) {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 6px 20px rgba(91, 76, 224, 0.5);
|
||||
}
|
||||
|
||||
.pay-button:active:not(:disabled) {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.pay-button:disabled {
|
||||
opacity: 0.8;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.pay-button.loading {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.spinner {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border: 3px solid var(--color-border);
|
||||
border-block-start-color: var(--color-primary);
|
||||
.pay-button-icon {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.button-spinner {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border: 2px solid rgba(255, 255, 255, 0.3);
|
||||
border-block-start-color: white;
|
||||
border-radius: 50%;
|
||||
animation: spin 0.8s linear infinite;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
#paymentFrame {
|
||||
width: 100%;
|
||||
min-height: 700px;
|
||||
border: none;
|
||||
display: block;
|
||||
.payment-note {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: var(--space-xs);
|
||||
margin-block-start: var(--space-lg);
|
||||
font-size: 0.875rem;
|
||||
color: var(--color-text-subtle);
|
||||
}
|
||||
|
||||
.note-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
color: var(--color-success);
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
/* Error State */
|
||||
@@ -411,12 +442,13 @@ body {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.iframe-container {
|
||||
min-height: 700px;
|
||||
.payment-action {
|
||||
padding: var(--space-lg);
|
||||
}
|
||||
|
||||
#paymentFrame {
|
||||
min-height: 700px;
|
||||
.pay-button {
|
||||
padding: var(--space-md) var(--space-lg);
|
||||
font-size: 1rem;
|
||||
}
|
||||
|
||||
.footer {
|
||||
|
||||
Reference in New Issue
Block a user