Spaces:
Paused
Paused
dushyantsingh0 commited on
Commit ·
ab51920
1
Parent(s): fea6aea
fix: resolve escalation popup alignment and dark mode visibility
Browse files
frontend/apps/customer/src/App.css
CHANGED
|
@@ -199,11 +199,11 @@
|
|
| 199 |
}
|
| 200 |
|
| 201 |
.organic-surface {
|
| 202 |
-
background: var(--
|
| 203 |
backdrop-filter: blur(24px) saturate(160%);
|
| 204 |
-webkit-backdrop-filter: blur(24px) saturate(160%);
|
| 205 |
-
border: 1px solid
|
| 206 |
-
box-shadow: var(--
|
| 207 |
border-radius: var(--organic-radius);
|
| 208 |
transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
|
| 209 |
}
|
|
|
|
| 199 |
}
|
| 200 |
|
| 201 |
.organic-surface {
|
| 202 |
+
background: var(--bg-card);
|
| 203 |
backdrop-filter: blur(24px) saturate(160%);
|
| 204 |
-webkit-backdrop-filter: blur(24px) saturate(160%);
|
| 205 |
+
border: 1px solid var(--border-subtle);
|
| 206 |
+
box-shadow: var(--shadow-xl);
|
| 207 |
border-radius: var(--organic-radius);
|
| 208 |
transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
|
| 209 |
}
|
frontend/apps/customer/src/components/ThreadView.tsx
CHANGED
|
@@ -953,13 +953,13 @@ export const ThreadView: React.FC<ThreadViewProps> = ({ ticket: initialTicket, o
|
|
| 953 |
|
| 954 |
{showConfirmEscalate && (
|
| 955 |
<div style={{ position: 'fixed', inset: 0, background: 'rgba(0,0,0,0.6)', backdropFilter: 'blur(12px)', zIndex: 1000, display: 'flex', alignItems: 'center', justifyContent: 'center', padding: 24 }}>
|
| 956 |
-
<div className="organic-surface" style={{ maxWidth: 400, width: '100%', padding:
|
| 957 |
-
<div style={{ fontSize:
|
| 958 |
-
<h2 style={{ fontSize:
|
| 959 |
-
<p style={{ fontSize:
|
| 960 |
-
<div style={{ display: 'flex', gap:
|
| 961 |
-
<button onClick={() => setShowConfirmEscalate(false)} className={styles.btnSecondary} style={{ flex: 1, height:
|
| 962 |
-
<button onClick={handleEscalate} disabled={isEscalating} className={styles.btnPrimary} style={{ flex: 1, height:
|
| 963 |
{isEscalating ? 'ESCALATING...' : 'CONFIRM'}
|
| 964 |
</button>
|
| 965 |
</div>
|
|
|
|
| 953 |
|
| 954 |
{showConfirmEscalate && (
|
| 955 |
<div style={{ position: 'fixed', inset: 0, background: 'rgba(0,0,0,0.6)', backdropFilter: 'blur(12px)', zIndex: 1000, display: 'flex', alignItems: 'center', justifyContent: 'center', padding: 24 }}>
|
| 956 |
+
<div className="organic-surface" style={{ maxWidth: 400, width: '100%', padding: 48, textAlign: 'center', borderRadius: 24, border: '1px solid var(--border-subtle)', boxShadow: 'var(--shadow-xl)' }}>
|
| 957 |
+
<div style={{ fontSize: 64, marginBottom: 24, display: 'flex', justifyContent: 'center' }}>🚨</div>
|
| 958 |
+
<h2 style={{ fontSize: 24, fontWeight: 900, marginBottom: 12, color: 'var(--text-main)', letterSpacing: '-0.02em' }}>CONFIRM ESCALATION</h2>
|
| 959 |
+
<p style={{ fontSize: 15, color: 'var(--text-muted)', lineHeight: 1.6, marginBottom: 40, opacity: 0.9 }}>This will immediately notify lead specialists for priority intervention.</p>
|
| 960 |
+
<div style={{ display: 'flex', gap: 16 }}>
|
| 961 |
+
<button onClick={() => setShowConfirmEscalate(false)} className={styles.btnSecondary} style={{ flex: 1, height: 52 }}>CANCEL</button>
|
| 962 |
+
<button onClick={handleEscalate} disabled={isEscalating} className={styles.btnPrimary} style={{ flex: 1, height: 52, background: 'var(--error)', boxShadow: '0 8px 20px rgba(239, 68, 68, 0.25)' }}>
|
| 963 |
{isEscalating ? 'ESCALATING...' : 'CONFIRM'}
|
| 964 |
</button>
|
| 965 |
</div>
|