Feat: Complete smart contact matching, CRM features integration, and premium glassmorphism UI
All checks were successful
Build & Push Friends Image to Gitea Registry / build-and-push (push) Successful in 10s

This commit is contained in:
Kroonk
2026-05-22 18:04:28 +02:00
parent d812944d5a
commit 9f62eebed6
4 changed files with 791 additions and 115 deletions

View File

@@ -28,7 +28,7 @@
--down: #fb7185;
--cyan: #67e8f9;
--radius: 8px;
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
html {
@@ -406,3 +406,244 @@ input::placeholder {
flex: 1;
}
}
/* Typography: Outfit for headers */
h1, h2, h3, .brand h1, .section-kicker, .eyebrow, .tab-btn {
font-family: 'Outfit', 'Inter', sans-serif;
letter-spacing: -0.02em;
}
/* Tabs & Navigation */
.tab-nav {
display: flex;
gap: 8px;
margin-top: 8px;
margin-bottom: 24px;
padding: 6px;
background: rgba(17, 22, 36, 0.65);
border: 1px solid var(--border);
border-radius: var(--radius);
backdrop-filter: blur(12px);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
.tab-btn {
flex: 1;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
min-height: 44px;
padding: 0 16px;
color: var(--muted);
background: transparent;
border: 1px solid transparent;
font-size: 0.95rem;
font-weight: 600;
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.tab-btn i, .tab-btn svg {
width: 16px;
height: 16px;
stroke-width: 2.2px;
}
.tab-btn:hover {
color: var(--text);
background: rgba(255, 255, 255, 0.04);
}
.tab-btn.is-active {
color: #062027;
background: linear-gradient(135deg, #67e8f9 0%, #c084fc 100%);
font-weight: 700;
box-shadow: 0 8px 24px rgba(103, 232, 249, 0.22);
border-color: transparent;
}
/* Tab Views Show/Hide */
.tab-view {
display: none !important;
}
.tab-view.is-active {
display: block !important;
animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(6px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Contact Details View Styles */
.contact-details-view {
background: rgba(17, 22, 36, 0.74);
border: 1px solid var(--border);
border-radius: var(--radius);
backdrop-filter: blur(14px);
padding: 24px;
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.info-placeholder {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 48px 24px;
color: var(--dim);
text-align: center;
}
.placeholder-icon {
width: 48px;
height: 48px;
margin-bottom: 16px;
color: var(--dim);
opacity: 0.6;
}
.contact-header {
display: flex;
align-items: center;
gap: 20px;
margin-bottom: 28px;
padding-bottom: 20px;
border-bottom: 1px solid var(--border);
}
.contact-avatar {
display: flex;
align-items: center;
justify-content: center;
width: 68px;
height: 68px;
border-radius: 50%;
background: linear-gradient(135deg, #38bdf8 0%, #c084fc 100%);
color: #070914;
font-family: 'Outfit', sans-serif;
font-size: 1.8rem;
font-weight: 800;
box-shadow: 0 8px 24px rgba(192, 132, 252, 0.25);
border: 2px solid rgba(255, 255, 255, 0.15);
}
.contact-header h2 {
font-size: 1.6rem;
font-weight: 700;
color: #fff;
line-height: 1.2;
}
.contact-header .eyebrow {
margin-top: 4px;
font-size: 0.75rem;
color: var(--cyan);
}
.contact-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 16px;
}
.info-item {
display: flex;
flex-direction: column;
gap: 8px;
padding: 16px;
background: rgba(7, 9, 20, 0.38);
border: 1px solid var(--border);
border-radius: var(--radius);
transition: border-color 0.2s ease;
}
.info-item:hover {
border-color: var(--border-strong);
}
.info-label {
display: inline-flex;
align-items: center;
gap: 6px;
font-size: 0.75rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.08em;
color: var(--muted);
}
.info-label i, .info-label svg {
width: 14px;
height: 14px;
color: var(--cyan);
}
.info-value {
font-size: 1.05rem;
font-weight: 500;
color: var(--text);
overflow-wrap: break-word;
}
/* New Contact Form Styles */
.new-contact-form {
margin-top: 0;
}
.new-contact-form form {
display: flex;
flex-direction: column;
gap: 18px;
margin-top: 24px;
}
.new-contact-form label {
font-weight: 600;
color: var(--text);
}
.new-contact-form label input,
.new-contact-form label textarea {
margin-top: 6px;
}
/* Voice Microphone Pulsing Recording Animation */
.mic-pulse-circle {
display: inline-block;
width: 10px;
height: 10px;
border-radius: 50%;
background: var(--muted);
margin-right: 8px;
transition: all 0.3s ease;
}
.mic-pulse-circle.recording {
background: var(--down);
box-shadow: 0 0 0 0 rgba(251, 113, 133, 0.7);
animation: mic-pulse 1.5s infinite ease-in-out;
}
@keyframes mic-pulse {
0% {
transform: scale(0.9);
box-shadow: 0 0 0 0 rgba(251, 113, 133, 0.8);
}
70% {
transform: scale(1.1);
box-shadow: 0 0 0 10px rgba(251, 113, 133, 0);
}
100% {
transform: scale(0.9);
box-shadow: 0 0 0 0 rgba(251, 113, 133, 0);
}
}