🎯 Features implemented: - Multi-language speech recognition (EN, FR, ES, DE) - CV upload and parsing with regex-escaped skills extraction - Authelia authentication integration for n8n webhook - Complete n8n workflow for AI question generation - Real-time language switching with enhanced UI - Professional authentication modal with dual login options 🔧 Technical stack: - Angular 18 with standalone components and signals - TypeScript with strict typing and interfaces - Authelia session-based authentication - n8n workflow automation with OpenAI integration - PDF.js for CV text extraction - Web Speech API for voice recognition 🛠️ Infrastructure: - Secure authentication flow with proper error handling - Environment-based configuration for dev/prod - Comprehensive documentation and workflow templates - Clean project structure with proper git ignore rules 🔒 Security features: - Cookie-based session management with CORS - Protected n8n webhooks via Authelia - Graceful fallback to local processing - Secure redirect handling and session persistence 🚀 Generated with Claude Code (https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
315 lines
5.5 KiB
SCSS
315 lines
5.5 KiB
SCSS
// Global styles for the Interview Assistant application
|
|
.app-container {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
// Header styles
|
|
.app-header {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1000;
|
|
|
|
.header-content {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 1rem 2rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 2rem;
|
|
|
|
.app-title {
|
|
margin: 0;
|
|
font-size: 1.5rem;
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.app-nav {
|
|
display: flex;
|
|
gap: 1.5rem;
|
|
|
|
.nav-link {
|
|
color: rgba(255, 255, 255, 0.9);
|
|
text-decoration: none;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 6px;
|
|
transition: all 0.3s ease;
|
|
font-weight: 500;
|
|
white-space: nowrap;
|
|
|
|
&:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: white;
|
|
}
|
|
|
|
&.active {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
color: white;
|
|
font-weight: 600;
|
|
}
|
|
}
|
|
}
|
|
|
|
.header-actions {
|
|
.btn {
|
|
padding: 0.5rem 1rem;
|
|
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
background: transparent;
|
|
color: white;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-weight: 500;
|
|
transition: all 0.3s ease;
|
|
white-space: nowrap;
|
|
|
|
&.btn-outline {
|
|
&:hover {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
border-color: rgba(255, 255, 255, 0.5);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Main content area
|
|
.app-main {
|
|
flex: 1;
|
|
padding: 2rem 0;
|
|
background-color: #f8f9fa;
|
|
min-height: calc(100vh - 120px); // Account for header and footer
|
|
}
|
|
|
|
// Footer styles
|
|
.app-footer {
|
|
background: #343a40;
|
|
color: #dee2e6;
|
|
padding: 2rem 0;
|
|
margin-top: auto;
|
|
|
|
.footer-content {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 2rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
|
|
p {
|
|
margin: 0;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.footer-links {
|
|
display: flex;
|
|
gap: 1.5rem;
|
|
|
|
.footer-link {
|
|
color: #adb5bd;
|
|
text-decoration: none;
|
|
font-size: 0.9rem;
|
|
transition: color 0.3s ease;
|
|
|
|
&:hover {
|
|
color: #dee2e6;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Responsive design
|
|
@media (max-width: 768px) {
|
|
.app-header .header-content {
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
padding: 1rem;
|
|
|
|
.app-nav {
|
|
order: 2;
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
|
|
.header-actions {
|
|
order: 3;
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
.app-main {
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
.app-footer .footer-content {
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
text-align: center;
|
|
padding: 0 1rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.app-header .header-content {
|
|
.app-title {
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.app-nav {
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
|
|
.nav-link {
|
|
text-align: center;
|
|
padding: 0.75rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.app-footer .footer-content .footer-links {
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
}
|
|
|
|
// Global utility classes
|
|
.btn {
|
|
display: inline-block;
|
|
padding: 0.75rem 1.5rem;
|
|
border: none;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 1rem;
|
|
font-weight: 500;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
transition: all 0.3s ease;
|
|
line-height: 1.5;
|
|
|
|
&.btn-primary {
|
|
background-color: #007bff;
|
|
color: white;
|
|
|
|
&:hover {
|
|
background-color: #0056b3;
|
|
transform: translateY(-1px);
|
|
}
|
|
}
|
|
|
|
&.btn-success {
|
|
background-color: #28a745;
|
|
color: white;
|
|
|
|
&:hover {
|
|
background-color: #1e7e34;
|
|
transform: translateY(-1px);
|
|
}
|
|
}
|
|
|
|
&.btn-danger {
|
|
background-color: #dc3545;
|
|
color: white;
|
|
|
|
&:hover {
|
|
background-color: #c82333;
|
|
transform: translateY(-1px);
|
|
}
|
|
}
|
|
|
|
&.btn-secondary {
|
|
background-color: #6c757d;
|
|
color: white;
|
|
|
|
&:hover {
|
|
background-color: #545b62;
|
|
transform: translateY(-1px);
|
|
}
|
|
}
|
|
|
|
&.btn-outline {
|
|
background-color: transparent;
|
|
border: 1px solid #6c757d;
|
|
color: #6c757d;
|
|
|
|
&:hover {
|
|
background-color: #6c757d;
|
|
color: white;
|
|
}
|
|
}
|
|
|
|
&:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
transform: none !important;
|
|
}
|
|
}
|
|
|
|
// Container utility
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 1rem;
|
|
}
|
|
|
|
// Text utilities
|
|
.text-center {
|
|
text-align: center;
|
|
}
|
|
|
|
.text-muted {
|
|
color: #6c757d;
|
|
}
|
|
|
|
// Spacing utilities
|
|
.mt-1 { margin-top: 0.25rem; }
|
|
.mt-2 { margin-top: 0.5rem; }
|
|
.mt-3 { margin-top: 1rem; }
|
|
.mt-4 { margin-top: 1.5rem; }
|
|
.mt-5 { margin-top: 3rem; }
|
|
|
|
.mb-1 { margin-bottom: 0.25rem; }
|
|
.mb-2 { margin-bottom: 0.5rem; }
|
|
.mb-3 { margin-bottom: 1rem; }
|
|
.mb-4 { margin-bottom: 1.5rem; }
|
|
.mb-5 { margin-bottom: 3rem; }
|
|
|
|
.p-1 { padding: 0.25rem; }
|
|
.p-2 { padding: 0.5rem; }
|
|
.p-3 { padding: 1rem; }
|
|
.p-4 { padding: 1.5rem; }
|
|
.p-5 { padding: 3rem; }
|
|
|
|
// Animation utilities
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; }
|
|
to { opacity: 1; }
|
|
}
|
|
|
|
@keyframes slideUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
.fade-in {
|
|
animation: fadeIn 0.3s ease-in;
|
|
}
|
|
|
|
.slide-up {
|
|
animation: slideUp 0.3s ease-out;
|
|
} |