Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>Chat E2EE - Minimal & Secure</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap" rel="stylesheet">
</head>

<body>
Expand Down
88 changes: 43 additions & 45 deletions client/src/components/CallOverlay/CallOverlay.css
Original file line number Diff line number Diff line change
@@ -1,92 +1,90 @@
/**
* Call overlay styles – terminal theme
* Call overlay styles
*/

.blur-overlay {
position: fixed;
inset: 0;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 200;
display: flex;
justify-content: center;
align-items: center;
background: rgba(0, 0, 0, 0.88);
background: rgba(15, 23, 42, 0.8);
padding: 1rem;
padding-bottom: calc(1rem + env(safe-area-inset-bottom));
animation: fadeIn 0.25s ease;
animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
from {
opacity: 0;
}

to {
opacity: 1;
}
}

.call-info {
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
}

/* Terminal-style pulsing avatar */
.call-avatar {
width: 110px;
height: 110px;
width: 120px;
height: 120px;
border-radius: 50%;
background: rgba(0, 10, 0, 0.9);
margin-bottom: 1rem;
background: var(--glass);
margin: 0 auto 1.5rem;
border: 2px solid var(--primary);
box-shadow: var(--glow-md), inset var(--glow-sm);
position: relative;
overflow: hidden;
}

.call-avatar::after {
content: '';
position: absolute;
inset: 0;
border-radius: 50%;
background: radial-gradient(circle at 40% 35%, var(--primary-dim), transparent 60%);
}

.shimmer {
animation: callPulse 1.8s ease-in-out infinite;
background: linear-gradient(90deg, var(--glass) 25%, rgba(99, 102, 241, 0.2) 50%, var(--glass) 75%);
background-size: 200% 100%;
animation: shimmer 1.5s infinite;
}

@keyframes callPulse {
0%, 100% { box-shadow: var(--glow-md), inset var(--glow-sm); }
50% { box-shadow: var(--glow-lg), inset var(--glow-md); }
@keyframes shimmer {
0% {
background-position: 200% 0;
}

100% {
background-position: -200% 0;
}
}

.call-status {
font-size: 1.25rem;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--primary);
text-shadow: var(--glow-md);
font-size: 1.5rem;
margin-bottom: 0.5rem;
color: white;
}

.call-duration {
color: var(--text-muted);
margin-bottom: 1.75rem;
font-size: 0.95rem;
letter-spacing: 0.12em;
font-variant-numeric: tabular-nums;
margin-bottom: 2rem;
font-size: 1.1rem;
}

/* Mobile responsive */
@media (max-width: 480px) {
.blur-overlay {
padding: 1rem;
}

.call-avatar {
width: 90px;
height: 90px;
width: 100px;
height: 100px;
}

.call-status {
font-size: 1.05rem;
font-size: 1.25rem;
}

.call-duration {
margin-bottom: 1.25rem;
margin-bottom: 1.5rem;
}
}
}
17 changes: 8 additions & 9 deletions client/src/components/ChatContainer/ChatContainer.css
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
/**
* Chat container styles – terminal theme
* Chat container styles
*/

#chat-container {
width: 100%;
max-width: 820px;
max-width: 800px;
height: 100%;
max-height: 820px;
max-height: 800px;
display: flex;
flex-direction: column;
border-radius: 0.25rem;
border-radius: 2rem;
overflow: hidden;
border: 1px solid var(--glass-border);
box-shadow: var(--glow-sm), 0 0 60px rgba(0, 0, 0, 0.8);
background: rgba(0, 8, 0, 0.95);
opacity: 1;
transition: all 0.3s ease;
}

#chat-container.hidden {
display: none;
opacity: 0;
}

/* Mobile responsive */
Expand All @@ -26,6 +26,5 @@
max-width: 100%;
max-height: 100%;
border-radius: 0;
border: none;
}
}
}
55 changes: 19 additions & 36 deletions client/src/components/ChatContainer/ChatFooter.css
Original file line number Diff line number Diff line change
@@ -1,65 +1,48 @@
/**
* Chat footer styles – terminal theme
* Chat footer styles
*/

.chat-footer {
padding: 0.875rem 1.25rem;
border-top: 1px solid var(--glass-border);
background: rgba(0, 10, 0, 0.98);
flex-shrink: 0;
padding: 1.5rem;
}

.input-container {
display: flex;
gap: 0.625rem;
gap: 0.75rem;
align-items: center;
}

/* Terminal prompt prefix */
.input-container::before {
content: '>';
color: var(--primary);
font-size: 1rem;
font-weight: 700;
flex-shrink: 0;
text-shadow: var(--glow-sm);
user-select: none;
}

.message-input {
flex: 1;
padding: 0.65rem 0.9rem;
background: rgba(0, 5, 0, 0.85);
border: 1px solid rgba(0, 255, 65, 0.2);
border-radius: 0.2rem;
color: var(--text);
padding: 0.75rem 1rem;
background: rgba(0, 0, 0, 0.2);
border: 1px solid var(--glass-border);
border-radius: 0.75rem;
color: white;
font-family: inherit;
font-size: 0.9rem;
transition: border-color 0.15s ease, box-shadow 0.15s ease;
caret-color: var(--primary);
min-width: 0;
}

.message-input::placeholder {
color: var(--text-muted);
opacity: 0.6;
font-size: 1rem;
transition: all 0.2s;
}

.message-input:focus {
outline: none;
border-color: var(--primary);
box-shadow: var(--glow-sm);
background: rgba(0, 0, 0, 0.4);
}

.message-input::placeholder {
color: var(--text-muted);
}

.message-input:disabled {
opacity: 0.4;
opacity: 0.6;
cursor: not-allowed;
}

/* Mobile responsive */
@media (max-width: 480px) {
.chat-footer {
padding: 0.75rem 1rem;
padding: 0.75rem;
padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
}

Expand All @@ -69,6 +52,6 @@

.message-input {
font-size: 16px;
/* Prevents iOS zoom */
/* Prevents zoom on iOS */
}
}
}
Loading
Loading