Skip to content
Merged
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=Outfit:wght@300;400;600&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600;700&display=swap" rel="stylesheet">
</head>

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

.blur-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
inset: 0;
z-index: 200;
display: flex;
justify-content: center;
align-items: center;
background: rgba(15, 23, 42, 0.8);
background: rgba(0, 0, 0, 0.88);
padding: 1rem;
padding-bottom: calc(1rem + env(safe-area-inset-bottom));
animation: fadeIn 0.3s ease;
animation: fadeIn 0.25s 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: 120px;
height: 120px;
width: 110px;
height: 110px;
border-radius: 50%;
background: var(--glass);
margin: 0 auto 1.5rem;
background: rgba(0, 10, 0, 0.9);
margin-bottom: 1rem;
border: 2px solid var(--primary);
box-shadow: var(--glow-md), inset var(--glow-sm);
position: relative;
overflow: hidden;
}

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

@keyframes shimmer {
0% {
background-position: 200% 0;
}
.shimmer {
animation: callPulse 1.8s ease-in-out infinite;
}

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

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

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

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

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

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

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

#chat-container {
width: 100%;
max-width: 800px;
max-width: 820px;
height: 100%;
max-height: 800px;
max-height: 820px;
display: flex;
flex-direction: column;
border-radius: 2rem;
border-radius: 0.25rem;
overflow: hidden;
opacity: 1;
transition: all 0.3s ease;
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);
}

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

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

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

.input-container {
display: flex;
gap: 0.75rem;
gap: 0.625rem;
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.75rem 1rem;
background: rgba(0, 0, 0, 0.2);
border: 1px solid var(--glass-border);
border-radius: 0.75rem;
color: white;
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);
font-family: inherit;
font-size: 1rem;
transition: all 0.2s;
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;
}

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

.message-input::placeholder {
color: var(--text-muted);
box-shadow: var(--glow-sm);
}

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

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

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

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