feat: Add premium login design system inspired by telecom aesthetics
- Create comprehensive theme system with professional color palette - Implement flat design login mockups for both dark and light themes - Add telecom-inspired glassmorphism effects and micro-interactions - Include Quantic Telecom reference design for professional styling - Generate responsive login interfaces with premium animations - Support both flat and gradient design variations 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,738 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="fr">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Connexion - AperoNight | Plateforme Événementielle Premium</title>
|
||||||
|
<script src="https://cdn.tailwindcss.com"></script>
|
||||||
|
<script src="https://unpkg.com/lucide@latest/dist/umd/lucide.min.js"></script>
|
||||||
|
<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=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="aperonight_premium_light_theme.css">
|
||||||
|
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: var(--font-sans) !important;
|
||||||
|
background: var(--background) !important;
|
||||||
|
min-height: 100vh !important;
|
||||||
|
position: relative !important;
|
||||||
|
overflow-x: hidden !important;
|
||||||
|
color: var(--foreground) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Light theme background patterns */
|
||||||
|
body::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
background-image:
|
||||||
|
radial-gradient(circle at 2px 2px, var(--dot-color) 1px, transparent 1px);
|
||||||
|
background-size: 40px 40px;
|
||||||
|
opacity: 0.3;
|
||||||
|
z-index: 0;
|
||||||
|
animation: dotFlow 30s linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
body::after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
background:
|
||||||
|
linear-gradient(90deg, transparent 48%, var(--connection-color) 50%, transparent 52%),
|
||||||
|
linear-gradient(0deg, transparent 48%, var(--connection-color) 50%, transparent 52%);
|
||||||
|
background-size: 100px 100px;
|
||||||
|
opacity: 0.12;
|
||||||
|
z-index: 0;
|
||||||
|
animation: connectionFlow 20s linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes dotFlow {
|
||||||
|
0% { transform: translate(0, 0); }
|
||||||
|
100% { transform: translate(40px, 40px); }
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes connectionFlow {
|
||||||
|
0% { transform: translate(0, 0); }
|
||||||
|
100% { transform: translate(100px, 100px); }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Page entrance orchestration */
|
||||||
|
.page-container {
|
||||||
|
animation: pageLoad 1000ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
|
||||||
|
opacity: 0;
|
||||||
|
transform: translateY(50px);
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes pageLoad {
|
||||||
|
to {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Brand reveal animation */
|
||||||
|
.brand-container {
|
||||||
|
animation: brandReveal 1400ms ease-out 300ms forwards;
|
||||||
|
opacity: 0;
|
||||||
|
transform: scale(0.7);
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes brandReveal {
|
||||||
|
to {
|
||||||
|
opacity: 1;
|
||||||
|
transform: scale(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Premium card elevation - light theme */
|
||||||
|
.login-card {
|
||||||
|
background: var(--glass-bg) !important;
|
||||||
|
backdrop-filter: var(--glass-backdrop) !important;
|
||||||
|
border: 1px solid var(--glass-border) !important;
|
||||||
|
border-radius: var(--radius-2xl) !important;
|
||||||
|
box-shadow: var(--shadow-2xl) !important;
|
||||||
|
animation: cardElevate 800ms cubic-bezier(0.34, 1.56, 0.64, 1) 600ms forwards;
|
||||||
|
opacity: 0;
|
||||||
|
transform: translateY(40px);
|
||||||
|
transition: all 400ms ease-out;
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-card::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: -100%;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background: linear-gradient(
|
||||||
|
90deg,
|
||||||
|
transparent,
|
||||||
|
rgba(59, 130, 246, 0.05),
|
||||||
|
transparent
|
||||||
|
);
|
||||||
|
transition: left 0.6s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-card:hover::before {
|
||||||
|
left: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-card:hover {
|
||||||
|
transform: var(--hover-lift) var(--hover-scale);
|
||||||
|
box-shadow: var(--shadow-2xl), var(--shadow-electric);
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes cardElevate {
|
||||||
|
to {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Professional input styling - light theme */
|
||||||
|
.input-group {
|
||||||
|
position: relative;
|
||||||
|
margin-bottom: 1.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-field {
|
||||||
|
width: 100%;
|
||||||
|
padding: 1.25rem 3.5rem 1.25rem 1.25rem;
|
||||||
|
border: 2px solid var(--input-border);
|
||||||
|
border-radius: var(--radius-lg);
|
||||||
|
background: var(--input);
|
||||||
|
color: var(--card-foreground);
|
||||||
|
font-size: 1rem;
|
||||||
|
font-weight: 500;
|
||||||
|
transition: all 250ms ease-out;
|
||||||
|
outline: none;
|
||||||
|
font-family: var(--font-sans);
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-field:focus {
|
||||||
|
border-color: var(--primary);
|
||||||
|
box-shadow: var(--shadow-electric), var(--focus-ring);
|
||||||
|
transform: scale(1.01);
|
||||||
|
background: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-field:focus + .floating-label {
|
||||||
|
transform: translateY(-12px) scale(0.85);
|
||||||
|
color: var(--primary);
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.floating-label {
|
||||||
|
position: absolute;
|
||||||
|
left: 1.25rem;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
background: var(--input);
|
||||||
|
padding: 0 0.75rem;
|
||||||
|
color: var(--muted-foreground);
|
||||||
|
pointer-events: none;
|
||||||
|
transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
|
||||||
|
font-weight: 500;
|
||||||
|
font-family: var(--font-sans);
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-field:not(:placeholder-shown) + .floating-label {
|
||||||
|
transform: translateY(-12px) scale(0.85);
|
||||||
|
background: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Security toggle with premium feel - light theme */
|
||||||
|
.security-toggle {
|
||||||
|
position: absolute;
|
||||||
|
right: 1.25rem;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
background: none;
|
||||||
|
border: none;
|
||||||
|
color: var(--muted-foreground);
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all 200ms ease-out;
|
||||||
|
opacity: 0.7;
|
||||||
|
padding: 0.5rem;
|
||||||
|
border-radius: var(--radius-sm);
|
||||||
|
}
|
||||||
|
|
||||||
|
.security-toggle:hover {
|
||||||
|
opacity: 1;
|
||||||
|
color: var(--primary);
|
||||||
|
background: var(--primary-light);
|
||||||
|
transform: translateY(-50%) rotate(180deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Flat button styling - light theme */
|
||||||
|
.login-button {
|
||||||
|
width: 100%;
|
||||||
|
padding: 1.25rem;
|
||||||
|
background: var(--primary) !important;
|
||||||
|
border: none;
|
||||||
|
border-radius: var(--radius-lg);
|
||||||
|
color: var(--primary-foreground);
|
||||||
|
font-size: 1.1rem;
|
||||||
|
font-weight: 700;
|
||||||
|
font-family: var(--font-display);
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all 300ms ease-out;
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.05em;
|
||||||
|
box-shadow: var(--shadow-md);
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-button:hover {
|
||||||
|
transform: var(--hover-lift);
|
||||||
|
box-shadow: var(--shadow-lg);
|
||||||
|
background: var(--primary-hover) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-button:active {
|
||||||
|
transform: scale(0.97);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Premium ripple effect */
|
||||||
|
.login-button::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
border-radius: 50%;
|
||||||
|
background: rgba(255, 255, 255, 0.25);
|
||||||
|
transition: width 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
|
||||||
|
height 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-button:active::before {
|
||||||
|
width: 400px;
|
||||||
|
height: 400px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Sophisticated checkbox - light theme */
|
||||||
|
.premium-checkbox {
|
||||||
|
appearance: none;
|
||||||
|
width: 1.5rem;
|
||||||
|
height: 1.5rem;
|
||||||
|
border: 2px solid var(--input-border);
|
||||||
|
border-radius: var(--radius-sm);
|
||||||
|
background: var(--input);
|
||||||
|
cursor: pointer;
|
||||||
|
position: relative;
|
||||||
|
transition: all 200ms ease-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
.premium-checkbox:checked {
|
||||||
|
background: var(--primary);
|
||||||
|
border-color: var(--primary);
|
||||||
|
animation: securityCheck 400ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
|
||||||
|
}
|
||||||
|
|
||||||
|
.premium-checkbox:checked::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 2px;
|
||||||
|
left: 5px;
|
||||||
|
width: 6px;
|
||||||
|
height: 10px;
|
||||||
|
border: solid white;
|
||||||
|
border-width: 0 2px 2px 0;
|
||||||
|
transform: rotate(45deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes securityCheck {
|
||||||
|
0% { transform: scale(0); }
|
||||||
|
50% { transform: scale(1.2); }
|
||||||
|
100% { transform: scale(1); }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Professional link styling - light theme */
|
||||||
|
.premium-link {
|
||||||
|
color: var(--accent);
|
||||||
|
text-decoration: none;
|
||||||
|
position: relative;
|
||||||
|
transition: all 250ms ease-out;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
.premium-link::after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
bottom: -2px;
|
||||||
|
left: 0;
|
||||||
|
width: 0;
|
||||||
|
height: 2px;
|
||||||
|
background: var(--accent);
|
||||||
|
transition: width 250ms ease-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
.premium-link:hover {
|
||||||
|
color: var(--primary);
|
||||||
|
}
|
||||||
|
|
||||||
|
.premium-link:hover::after {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Validation states - light theme */
|
||||||
|
.input-error {
|
||||||
|
border-color: var(--destructive) !important;
|
||||||
|
animation: errorShake 400ms cubic-bezier(0.36, 0, 0.66, -0.56);
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes errorShake {
|
||||||
|
0%, 100% { transform: translateX(0); }
|
||||||
|
25% { transform: translateX(-10px); }
|
||||||
|
75% { transform: translateX(10px); }
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-success {
|
||||||
|
border-color: var(--success) !important;
|
||||||
|
box-shadow: 0 0 0 3px var(--success-light);
|
||||||
|
animation: validationSuccess 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes validationSuccess {
|
||||||
|
0% { transform: scale(1); }
|
||||||
|
50% { transform: scale(1.02); border-color: var(--success); }
|
||||||
|
100% { transform: scale(1); }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Premium loading states - light theme */
|
||||||
|
.skeleton {
|
||||||
|
background: var(--muted);
|
||||||
|
animation: skeletonPulse 2s ease-in-out infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes skeletonPulse {
|
||||||
|
0%, 100% { opacity: 0.8; }
|
||||||
|
50% { opacity: 0.4; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Logo styling - light theme */
|
||||||
|
.logo-container {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo-glow {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Trust indicators - light theme */
|
||||||
|
.trust-badge {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.5rem;
|
||||||
|
padding: 0.5rem 1rem;
|
||||||
|
background: var(--success-light);
|
||||||
|
color: var(--success);
|
||||||
|
border-radius: var(--radius-full);
|
||||||
|
font-size: 0.875rem;
|
||||||
|
font-weight: 600;
|
||||||
|
border: 1px solid var(--success);
|
||||||
|
transition: all 300ms ease-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
.trust-badge:hover {
|
||||||
|
transform: scale(1.05);
|
||||||
|
box-shadow: var(--shadow-md);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Professional footer - light theme */
|
||||||
|
.pro-footer {
|
||||||
|
background: rgba(59, 130, 246, 0.08);
|
||||||
|
backdrop-filter: blur(10px);
|
||||||
|
border-radius: var(--radius-lg);
|
||||||
|
padding: 1rem;
|
||||||
|
margin-top: 2rem;
|
||||||
|
border: 1px solid rgba(59, 130, 246, 0.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Light theme brand colors */
|
||||||
|
.brand-text-primary {
|
||||||
|
color: var(--primary) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.brand-text-secondary {
|
||||||
|
color: var(--primary-dark) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.brand-text-muted {
|
||||||
|
color: var(--muted-foreground) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-link {
|
||||||
|
color: var(--primary) !important;
|
||||||
|
opacity: 0.8;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer-link:hover {
|
||||||
|
opacity: 1;
|
||||||
|
color: var(--primary-hover) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.status-text {
|
||||||
|
color: var(--muted-foreground) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Responsive enhancements */
|
||||||
|
@media (max-width: 640px) {
|
||||||
|
.login-card {
|
||||||
|
margin: 1rem;
|
||||||
|
padding: 2rem 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-field {
|
||||||
|
padding: 1rem 3rem 1rem 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-button {
|
||||||
|
font-size: 1rem;
|
||||||
|
padding: 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Advanced accessibility */
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
*, *::before, *::after {
|
||||||
|
animation-duration: 0.01ms !important;
|
||||||
|
animation-iteration-count: 1 !important;
|
||||||
|
transition-duration: 0.01ms !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* High contrast mode support */
|
||||||
|
@media (prefers-contrast: high) {
|
||||||
|
.login-card {
|
||||||
|
border: 3px solid var(--primary);
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-field:focus {
|
||||||
|
outline: 3px solid var(--primary);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="page-container relative z-10 flex items-center justify-center min-h-screen p-4">
|
||||||
|
<div class="w-full max-w-lg">
|
||||||
|
<!-- Premium Brand Section - Light Theme -->
|
||||||
|
<div class="brand-container text-center mb-10">
|
||||||
|
<div class="relative inline-block mb-6">
|
||||||
|
<div class="logo-glow"></div>
|
||||||
|
<div class="relative w-20 h-20 mx-auto bg-blue-600 rounded-2xl flex items-center justify-center logo-container">
|
||||||
|
<i data-lucide="calendar-check" class="w-10 h-10 text-white"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h1 class="text-3xl font-bold brand-text-primary mb-2 font-display">AperoNight</h1>
|
||||||
|
<p class="brand-text-secondary text-lg font-medium mb-2">Plateforme Événementielle Premium</p>
|
||||||
|
<p class="brand-text-muted text-sm opacity-90">Connexion sécurisée • Interface professionnelle</p>
|
||||||
|
|
||||||
|
<div class="flex justify-center mt-4">
|
||||||
|
<div class="trust-badge">
|
||||||
|
<i data-lucide="shield-check" class="w-4 h-4"></i>
|
||||||
|
<span>Connexion Sécurisée</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Premium Login Card -->
|
||||||
|
<div class="login-card p-8">
|
||||||
|
<div class="text-center mb-8">
|
||||||
|
<h2 class="text-xl font-bold text-gray-800 mb-2 font-display">Accès Dashboard</h2>
|
||||||
|
<p class="text-gray-600 text-sm">Gérez vos événements en toute simplicité</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<form class="space-y-6">
|
||||||
|
<!-- Email professionnel -->
|
||||||
|
<div class="input-group">
|
||||||
|
<input
|
||||||
|
type="email"
|
||||||
|
class="input-field"
|
||||||
|
placeholder=" "
|
||||||
|
required
|
||||||
|
id="email"
|
||||||
|
>
|
||||||
|
<label class="floating-label" for="email">Email professionnel</label>
|
||||||
|
<div class="absolute right-3 top-1/2 transform -translate-y-1/2">
|
||||||
|
<i data-lucide="mail" class="w-5 h-5 text-gray-400"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Mot de passe sécurisé -->
|
||||||
|
<div class="input-group">
|
||||||
|
<input
|
||||||
|
type="password"
|
||||||
|
class="input-field"
|
||||||
|
placeholder=" "
|
||||||
|
required
|
||||||
|
id="password"
|
||||||
|
>
|
||||||
|
<label class="floating-label" for="password">Mot de passe sécurisé</label>
|
||||||
|
<button type="button" class="security-toggle" onclick="togglePassword()">
|
||||||
|
<i data-lucide="lock" class="w-5 h-5"></i>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Options de connexion -->
|
||||||
|
<div class="flex items-center justify-between">
|
||||||
|
<label class="flex items-center space-x-3 cursor-pointer group">
|
||||||
|
<input type="checkbox" class="premium-checkbox" id="remember">
|
||||||
|
<span class="text-sm text-gray-700 group-hover:text-gray-900 transition-colors">
|
||||||
|
Maintenir la connexion
|
||||||
|
</span>
|
||||||
|
</label>
|
||||||
|
<div class="flex items-center space-x-1 text-xs text-gray-500">
|
||||||
|
<i data-lucide="timer" class="w-3 h-3"></i>
|
||||||
|
<span>30 jours</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Bouton de connexion premium -->
|
||||||
|
<button type="submit" class="login-button group">
|
||||||
|
<span class="relative z-10 flex items-center justify-center gap-2">
|
||||||
|
<i data-lucide="log-in" class="w-5 h-5"></i>
|
||||||
|
Accéder au Dashboard
|
||||||
|
</span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<!-- Options de récupération -->
|
||||||
|
<div class="text-center space-y-3">
|
||||||
|
<a href="#" class="premium-link text-sm">Mot de passe oublié ?</a>
|
||||||
|
<div class="flex items-center justify-center space-x-4 text-xs text-gray-500">
|
||||||
|
<span class="flex items-center gap-1">
|
||||||
|
<i data-lucide="smartphone" class="w-3 h-3"></i>
|
||||||
|
2FA disponible
|
||||||
|
</span>
|
||||||
|
<span class="flex items-center gap-1">
|
||||||
|
<i data-lucide="key" class="w-3 h-3"></i>
|
||||||
|
SSO Enterprise
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Professional Footer - Light Theme -->
|
||||||
|
<div class="pro-footer text-center space-y-3">
|
||||||
|
<div class="flex items-center justify-center space-x-6 text-sm">
|
||||||
|
<a href="#" class="footer-link transition-colors flex items-center gap-1">
|
||||||
|
<i data-lucide="life-buoy" class="w-4 h-4"></i>
|
||||||
|
Support Pro
|
||||||
|
</a>
|
||||||
|
<a href="#" class="footer-link transition-colors flex items-center gap-1">
|
||||||
|
<i data-lucide="shield" class="w-4 h-4"></i>
|
||||||
|
Sécurité Renforcée
|
||||||
|
</a>
|
||||||
|
<a href="#" class="footer-link transition-colors flex items-center gap-1">
|
||||||
|
<i data-lucide="zap" class="w-4 h-4"></i>
|
||||||
|
API Premium
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<p class="text-xs status-text">© 2024 AperoNight • Plateforme Événementielle Premium • Tous droits réservés</p>
|
||||||
|
<div class="flex items-center justify-center space-x-2 text-xs status-text">
|
||||||
|
<span class="flex items-center gap-1">
|
||||||
|
<div class="w-2 h-2 bg-green-500 rounded-full animate-pulse"></div>
|
||||||
|
Système opérationnel
|
||||||
|
</span>
|
||||||
|
<span>•</span>
|
||||||
|
<span>99.9% uptime</span>
|
||||||
|
<span>•</span>
|
||||||
|
<span>GDPR compliant</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Initialize Lucide icons
|
||||||
|
lucide.createIcons();
|
||||||
|
|
||||||
|
// Enhanced password toggle
|
||||||
|
function togglePassword() {
|
||||||
|
const passwordField = document.getElementById('password');
|
||||||
|
const toggleIcon = document.querySelector('.security-toggle i');
|
||||||
|
|
||||||
|
if (passwordField.type === 'password') {
|
||||||
|
passwordField.type = 'text';
|
||||||
|
toggleIcon.setAttribute('data-lucide', 'unlock');
|
||||||
|
} else {
|
||||||
|
passwordField.type = 'password';
|
||||||
|
toggleIcon.setAttribute('data-lucide', 'lock');
|
||||||
|
}
|
||||||
|
|
||||||
|
lucide.createIcons();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Professional form validation
|
||||||
|
const form = document.querySelector('form');
|
||||||
|
const emailField = document.getElementById('email');
|
||||||
|
const passwordField = document.getElementById('password');
|
||||||
|
|
||||||
|
form.addEventListener('submit', function(e) {
|
||||||
|
e.preventDefault();
|
||||||
|
|
||||||
|
// Reset states
|
||||||
|
emailField.classList.remove('input-error', 'input-success');
|
||||||
|
passwordField.classList.remove('input-error', 'input-success');
|
||||||
|
|
||||||
|
let isValid = true;
|
||||||
|
|
||||||
|
// Professional email validation
|
||||||
|
const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
||||||
|
if (!emailRegex.test(emailField.value)) {
|
||||||
|
emailField.classList.add('input-error');
|
||||||
|
isValid = false;
|
||||||
|
showNotification('Email invalide', 'error');
|
||||||
|
} else {
|
||||||
|
emailField.classList.add('input-success');
|
||||||
|
}
|
||||||
|
|
||||||
|
// Secure password validation
|
||||||
|
if (passwordField.value.length < 8) {
|
||||||
|
passwordField.classList.add('input-error');
|
||||||
|
isValid = false;
|
||||||
|
showNotification('Mot de passe trop court (min. 8 caractères)', 'error');
|
||||||
|
} else {
|
||||||
|
passwordField.classList.add('input-success');
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isValid) {
|
||||||
|
// Premium loading state
|
||||||
|
const button = document.querySelector('.login-button');
|
||||||
|
const originalContent = button.innerHTML;
|
||||||
|
button.innerHTML = `
|
||||||
|
<div class="flex items-center justify-center space-x-2">
|
||||||
|
<div class="animate-spin w-5 h-5 border-2 border-white border-t-transparent rounded-full"></div>
|
||||||
|
<span>Connexion sécurisée...</span>
|
||||||
|
</div>
|
||||||
|
`;
|
||||||
|
|
||||||
|
setTimeout(() => {
|
||||||
|
showNotification('Connexion réussie ! Redirection...', 'success');
|
||||||
|
setTimeout(() => {
|
||||||
|
button.innerHTML = originalContent;
|
||||||
|
}, 1500);
|
||||||
|
}, 2000);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Real-time validation
|
||||||
|
emailField.addEventListener('input', function() {
|
||||||
|
this.classList.remove('input-error', 'input-success');
|
||||||
|
});
|
||||||
|
|
||||||
|
passwordField.addEventListener('input', function() {
|
||||||
|
this.classList.remove('input-error', 'input-success');
|
||||||
|
});
|
||||||
|
|
||||||
|
// Professional notification system
|
||||||
|
function showNotification(message, type) {
|
||||||
|
const notification = document.createElement('div');
|
||||||
|
notification.className = `
|
||||||
|
fixed top-4 right-4 z-50 p-4 rounded-lg shadow-2xl max-w-sm
|
||||||
|
${type === 'success' ? 'bg-green-500 text-white' : 'bg-red-500 text-white'}
|
||||||
|
transform transition-all duration-300 ease-out translate-x-full
|
||||||
|
`;
|
||||||
|
notification.innerHTML = `
|
||||||
|
<div class="flex items-center space-x-2">
|
||||||
|
<i data-lucide="${type === 'success' ? 'check-circle' : 'alert-circle'}" class="w-5 h-5"></i>
|
||||||
|
<span class="font-medium">${message}</span>
|
||||||
|
</div>
|
||||||
|
`;
|
||||||
|
|
||||||
|
document.body.appendChild(notification);
|
||||||
|
lucide.createIcons();
|
||||||
|
|
||||||
|
setTimeout(() => {
|
||||||
|
notification.style.transform = 'translateX(0)';
|
||||||
|
}, 100);
|
||||||
|
|
||||||
|
setTimeout(() => {
|
||||||
|
notification.style.transform = 'translateX(100%)';
|
||||||
|
setTimeout(() => {
|
||||||
|
document.body.removeChild(notification);
|
||||||
|
}, 300);
|
||||||
|
}, 3000);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Enhanced floating label behavior
|
||||||
|
document.querySelectorAll('.input-field').forEach(input => {
|
||||||
|
input.addEventListener('focus', function() {
|
||||||
|
this.nextElementSibling.style.background = 'white';
|
||||||
|
});
|
||||||
|
|
||||||
|
input.addEventListener('blur', function() {
|
||||||
|
if (!this.value) {
|
||||||
|
this.nextElementSibling.style.background = 'var(--input)';
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
// Professional interaction tracking
|
||||||
|
console.log('🌟 AperoNight Premium Light Login Interface Loaded');
|
||||||
|
console.log('✅ Security features: 2FA, SSO, GDPR compliance');
|
||||||
|
console.log('🎨 Theme: Professional Event Platform - Light Mode');
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -0,0 +1,125 @@
|
|||||||
|
:root {
|
||||||
|
/* AperoNight Premium Light Theme - Professional Event Platform */
|
||||||
|
|
||||||
|
/* Base Colors - Clean Light Background with Professional Accents */
|
||||||
|
--background: oklch(0.9800 0.0050 240);
|
||||||
|
--foreground: oklch(0.1500 0.0200 240);
|
||||||
|
--surface: oklch(0.9600 0.0080 240);
|
||||||
|
--surface-elevated: oklch(0.9400 0.0120 240);
|
||||||
|
|
||||||
|
/* Card & Dialog surfaces */
|
||||||
|
--card: oklch(1.0000 0 0);
|
||||||
|
--card-foreground: oklch(0.1500 0.0200 240);
|
||||||
|
--popover: oklch(1.0000 0 0);
|
||||||
|
--popover-foreground: oklch(0.1500 0.0200 240);
|
||||||
|
|
||||||
|
/* Primary - Professional Electric Blue */
|
||||||
|
--primary: oklch(0.5200 0.2200 220);
|
||||||
|
--primary-foreground: oklch(0.9900 0.0050 220);
|
||||||
|
--primary-hover: oklch(0.4600 0.2400 220);
|
||||||
|
--primary-light: oklch(0.9200 0.1000 220);
|
||||||
|
--primary-dark: oklch(0.3800 0.2600 220);
|
||||||
|
|
||||||
|
/* Secondary - Sophisticated Light Gray */
|
||||||
|
--secondary: oklch(0.9200 0.0100 240);
|
||||||
|
--secondary-foreground: oklch(0.3000 0.0300 240);
|
||||||
|
--secondary-hover: oklch(0.8800 0.0150 240);
|
||||||
|
|
||||||
|
/* Accent - Vibrant Cyan (Events Energy) */
|
||||||
|
--accent: oklch(0.6500 0.2400 200);
|
||||||
|
--accent-foreground: oklch(0.9900 0.0050 200);
|
||||||
|
--accent-light: oklch(0.9400 0.1200 200);
|
||||||
|
--accent-dark: oklch(0.5000 0.2800 200);
|
||||||
|
|
||||||
|
/* Success - Event Success Green */
|
||||||
|
--success: oklch(0.6000 0.2000 140);
|
||||||
|
--success-foreground: oklch(0.9800 0.0100 140);
|
||||||
|
--success-light: oklch(0.9600 0.0800 140);
|
||||||
|
|
||||||
|
/* Warning - Premium Amber */
|
||||||
|
--warning: oklch(0.7200 0.1800 60);
|
||||||
|
--warning-foreground: oklch(0.2500 0.0400 60);
|
||||||
|
--warning-light: oklch(0.9600 0.0800 60);
|
||||||
|
|
||||||
|
/* Error - Professional Red */
|
||||||
|
--destructive: oklch(0.5600 0.2200 20);
|
||||||
|
--destructive-foreground: oklch(0.9800 0.0100 20);
|
||||||
|
--destructive-light: oklch(0.9600 0.1000 20);
|
||||||
|
|
||||||
|
/* Muted tones */
|
||||||
|
--muted: oklch(0.9400 0.0100 240);
|
||||||
|
--muted-foreground: oklch(0.5200 0.0300 240);
|
||||||
|
--muted-dark: oklch(0.8800 0.0200 240);
|
||||||
|
|
||||||
|
/* Borders and inputs */
|
||||||
|
--border: oklch(0.8800 0.0200 240);
|
||||||
|
--input: oklch(0.9800 0.0080 240);
|
||||||
|
--input-border: oklch(0.8600 0.0300 240);
|
||||||
|
--ring: oklch(0.5200 0.2200 220);
|
||||||
|
|
||||||
|
/* Typography - Premium Event Platform */
|
||||||
|
--font-sans: 'Inter', 'Plus Jakarta Sans', system-ui, sans-serif;
|
||||||
|
--font-display: 'Space Grotesk', 'Outfit', system-ui, sans-serif;
|
||||||
|
--font-mono: 'JetBrains Mono', 'Fira Code', monospace;
|
||||||
|
|
||||||
|
/* Spacing and layout */
|
||||||
|
--radius: 0.75rem;
|
||||||
|
--spacing: 1rem;
|
||||||
|
|
||||||
|
/* Light theme shadow system */
|
||||||
|
--shadow-xs: 0 1px 3px 0 hsl(240 15% 15% / 0.08), 0 1px 2px -1px hsl(240 15% 15% / 0.06);
|
||||||
|
--shadow-sm: 0 2px 6px -1px hsl(240 15% 15% / 0.10), 0 2px 4px -2px hsl(240 15% 15% / 0.08);
|
||||||
|
--shadow: 0 4px 8px -2px hsl(240 15% 15% / 0.12), 0 2px 4px -2px hsl(240 15% 15% / 0.08);
|
||||||
|
--shadow-md: 0 8px 16px -4px hsl(240 15% 15% / 0.14), 0 4px 6px -2px hsl(240 15% 15% / 0.10);
|
||||||
|
--shadow-lg: 0 16px 24px -4px hsl(240 15% 15% / 0.16), 0 8px 8px -4px hsl(240 15% 15% / 0.08);
|
||||||
|
--shadow-xl: 0 20px 32px -8px hsl(240 15% 15% / 0.18), 0 8px 16px -8px hsl(240 15% 15% / 0.10);
|
||||||
|
--shadow-2xl: 0 32px 64px -12px hsl(240 15% 15% / 0.22);
|
||||||
|
|
||||||
|
/* Subtle accent shadows for light theme */
|
||||||
|
--shadow-electric: 0 4px 16px -2px hsl(220 80% 60% / 0.15), 0 2px 8px -2px hsl(220 80% 60% / 0.10);
|
||||||
|
--shadow-accent: 0 4px 16px -2px hsl(200 80% 60% / 0.18), 0 2px 8px -2px hsl(200 80% 60% / 0.12);
|
||||||
|
|
||||||
|
/* Light theme gradients */
|
||||||
|
--gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
|
||||||
|
--gradient-background: linear-gradient(135deg,
|
||||||
|
oklch(0.9800 0.0050 240) 0%,
|
||||||
|
oklch(0.9600 0.0080 235) 25%,
|
||||||
|
oklch(0.9400 0.0120 230) 50%,
|
||||||
|
oklch(0.9600 0.0080 225) 75%,
|
||||||
|
oklch(0.9800 0.0050 220) 100%);
|
||||||
|
--gradient-card: linear-gradient(135deg,
|
||||||
|
oklch(1.0000 0 0) 0%,
|
||||||
|
oklch(0.9900 0.0050 235) 100%);
|
||||||
|
|
||||||
|
/* Light theme pattern overlays */
|
||||||
|
--grid-color: oklch(0.8500 0.0300 240);
|
||||||
|
--dot-color: oklch(0.8000 0.0400 220);
|
||||||
|
--connection-color: oklch(0.7500 0.0800 210);
|
||||||
|
|
||||||
|
/* Light glassmorphism */
|
||||||
|
--glass-bg: oklch(1.0000 0 0 / 0.85);
|
||||||
|
--glass-border: oklch(0.8800 0.0200 240 / 0.25);
|
||||||
|
--glass-backdrop: blur(16px) saturate(180%);
|
||||||
|
|
||||||
|
/* Professional interaction states */
|
||||||
|
--hover-lift: translateY(-2px);
|
||||||
|
--hover-scale: scale(1.02);
|
||||||
|
--focus-ring: 0 0 0 3px var(--ring);
|
||||||
|
|
||||||
|
/* Event-specific colors for light theme */
|
||||||
|
--event-vip: oklch(0.6800 0.2200 45);
|
||||||
|
--event-premium: oklch(0.5800 0.2000 280);
|
||||||
|
--event-standard: oklch(0.6200 0.1600 160);
|
||||||
|
--event-available: oklch(0.6000 0.1800 140);
|
||||||
|
--event-limited: oklch(0.7000 0.1800 50);
|
||||||
|
--event-sold-out: oklch(0.5800 0.2000 15);
|
||||||
|
|
||||||
|
/* Radius variations */
|
||||||
|
--radius-xs: calc(var(--radius) - 4px);
|
||||||
|
--radius-sm: calc(var(--radius) - 2px);
|
||||||
|
--radius-md: var(--radius);
|
||||||
|
--radius-lg: calc(var(--radius) + 4px);
|
||||||
|
--radius-xl: calc(var(--radius) + 8px);
|
||||||
|
--radius-2xl: calc(var(--radius) + 12px);
|
||||||
|
--radius-full: 9999px;
|
||||||
|
}
|
||||||
710
.superdesign/design_iterations/aperonight_premium_login_1.html
Normal file
710
.superdesign/design_iterations/aperonight_premium_login_1.html
Normal file
@@ -0,0 +1,710 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="fr">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Connexion - AperoNight | Plateforme Événementielle Premium</title>
|
||||||
|
<script src="https://cdn.tailwindcss.com"></script>
|
||||||
|
<script src="https://unpkg.com/lucide@latest/dist/umd/lucide.min.js"></script>
|
||||||
|
<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=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="aperonight_premium_theme.css">
|
||||||
|
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: var(--font-sans) !important;
|
||||||
|
background: oklch(0.1200 0.0300 240) !important;
|
||||||
|
min-height: 100vh !important;
|
||||||
|
position: relative !important;
|
||||||
|
overflow-x: hidden !important;
|
||||||
|
color: var(--foreground) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Advanced background patterns */
|
||||||
|
body::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
background-image:
|
||||||
|
radial-gradient(circle at 2px 2px, var(--dot-color) 1px, transparent 1px);
|
||||||
|
background-size: 40px 40px;
|
||||||
|
opacity: 0.4;
|
||||||
|
z-index: 0;
|
||||||
|
animation: dotFlow 30s linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
body::after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
background:
|
||||||
|
linear-gradient(90deg, transparent 48%, var(--connection-color) 50%, transparent 52%),
|
||||||
|
linear-gradient(0deg, transparent 48%, var(--connection-color) 50%, transparent 52%);
|
||||||
|
background-size: 100px 100px;
|
||||||
|
opacity: 0.15;
|
||||||
|
z-index: 0;
|
||||||
|
animation: connectionFlow 20s linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes dotFlow {
|
||||||
|
0% { transform: translate(0, 0); }
|
||||||
|
100% { transform: translate(40px, 40px); }
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes connectionFlow {
|
||||||
|
0% { transform: translate(0, 0); }
|
||||||
|
100% { transform: translate(100px, 100px); }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Page entrance orchestration */
|
||||||
|
.page-container {
|
||||||
|
animation: pageLoad 1000ms cubic-bezier(0.23, 1, 0.32, 1) forwards;
|
||||||
|
opacity: 0;
|
||||||
|
transform: translateY(50px);
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes pageLoad {
|
||||||
|
to {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Brand reveal animation */
|
||||||
|
.brand-container {
|
||||||
|
animation: brandReveal 1400ms ease-out 300ms forwards;
|
||||||
|
opacity: 0;
|
||||||
|
transform: scale(0.7);
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes brandReveal {
|
||||||
|
to {
|
||||||
|
opacity: 1;
|
||||||
|
transform: scale(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Premium card elevation */
|
||||||
|
.login-card {
|
||||||
|
background: var(--glass-bg) !important;
|
||||||
|
backdrop-filter: var(--glass-backdrop) !important;
|
||||||
|
border: 1px solid var(--glass-border) !important;
|
||||||
|
border-radius: var(--radius-2xl) !important;
|
||||||
|
box-shadow: var(--shadow-2xl) !important;
|
||||||
|
animation: cardElevate 800ms cubic-bezier(0.34, 1.56, 0.64, 1) 600ms forwards;
|
||||||
|
opacity: 0;
|
||||||
|
transform: translateY(40px);
|
||||||
|
transition: all 400ms ease-out;
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-card::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: -100%;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background: linear-gradient(
|
||||||
|
90deg,
|
||||||
|
transparent,
|
||||||
|
rgba(255, 255, 255, 0.1),
|
||||||
|
transparent
|
||||||
|
);
|
||||||
|
transition: left 0.6s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-card:hover::before {
|
||||||
|
left: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-card:hover {
|
||||||
|
transform: var(--hover-lift) var(--hover-scale);
|
||||||
|
box-shadow: var(--shadow-2xl), var(--shadow-electric);
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes cardElevate {
|
||||||
|
to {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Professional input styling */
|
||||||
|
.input-group {
|
||||||
|
position: relative;
|
||||||
|
margin-bottom: 1.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-field {
|
||||||
|
width: 100%;
|
||||||
|
padding: 1.25rem 3.5rem 1.25rem 1.25rem;
|
||||||
|
border: 2px solid var(--input-border);
|
||||||
|
border-radius: var(--radius-lg);
|
||||||
|
background: var(--input);
|
||||||
|
color: var(--card-foreground);
|
||||||
|
font-size: 1rem;
|
||||||
|
font-weight: 500;
|
||||||
|
transition: all 250ms ease-out;
|
||||||
|
outline: none;
|
||||||
|
font-family: var(--font-sans);
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-field:focus {
|
||||||
|
border-color: var(--primary);
|
||||||
|
box-shadow: var(--shadow-electric), var(--focus-ring);
|
||||||
|
transform: scale(1.01);
|
||||||
|
background: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-field:focus + .floating-label {
|
||||||
|
transform: translateY(-12px) scale(0.85);
|
||||||
|
color: var(--primary);
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.floating-label {
|
||||||
|
position: absolute;
|
||||||
|
left: 1.25rem;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
background: var(--input);
|
||||||
|
padding: 0 0.75rem;
|
||||||
|
color: var(--muted-foreground);
|
||||||
|
pointer-events: none;
|
||||||
|
transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
|
||||||
|
font-weight: 500;
|
||||||
|
font-family: var(--font-sans);
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-field:not(:placeholder-shown) + .floating-label {
|
||||||
|
transform: translateY(-12px) scale(0.85);
|
||||||
|
background: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Security toggle with premium feel */
|
||||||
|
.security-toggle {
|
||||||
|
position: absolute;
|
||||||
|
right: 1.25rem;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
background: none;
|
||||||
|
border: none;
|
||||||
|
color: var(--muted-foreground);
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all 200ms ease-out;
|
||||||
|
opacity: 0.7;
|
||||||
|
padding: 0.5rem;
|
||||||
|
border-radius: var(--radius-sm);
|
||||||
|
}
|
||||||
|
|
||||||
|
.security-toggle:hover {
|
||||||
|
opacity: 1;
|
||||||
|
color: var(--primary);
|
||||||
|
background: var(--primary-light);
|
||||||
|
transform: translateY(-50%) rotate(180deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Flat button styling */
|
||||||
|
.login-button {
|
||||||
|
width: 100%;
|
||||||
|
padding: 1.25rem;
|
||||||
|
background: var(--primary) !important;
|
||||||
|
border: none;
|
||||||
|
border-radius: var(--radius-lg);
|
||||||
|
color: var(--primary-foreground);
|
||||||
|
font-size: 1.1rem;
|
||||||
|
font-weight: 700;
|
||||||
|
font-family: var(--font-display);
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all 300ms ease-out;
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
text-transform: uppercase;
|
||||||
|
letter-spacing: 0.05em;
|
||||||
|
box-shadow: var(--shadow-md);
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-button:hover {
|
||||||
|
transform: var(--hover-lift);
|
||||||
|
box-shadow: var(--shadow-lg);
|
||||||
|
background: var(--primary-hover) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-button:active {
|
||||||
|
transform: scale(0.97);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Premium ripple effect */
|
||||||
|
.login-button::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
border-radius: 50%;
|
||||||
|
background: rgba(255, 255, 255, 0.25);
|
||||||
|
transition: width 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
|
||||||
|
height 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-button:active::before {
|
||||||
|
width: 400px;
|
||||||
|
height: 400px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Sophisticated checkbox */
|
||||||
|
.premium-checkbox {
|
||||||
|
appearance: none;
|
||||||
|
width: 1.5rem;
|
||||||
|
height: 1.5rem;
|
||||||
|
border: 2px solid var(--input-border);
|
||||||
|
border-radius: var(--radius-sm);
|
||||||
|
background: var(--input);
|
||||||
|
cursor: pointer;
|
||||||
|
position: relative;
|
||||||
|
transition: all 200ms ease-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
.premium-checkbox:checked {
|
||||||
|
background: var(--primary);
|
||||||
|
border-color: var(--primary);
|
||||||
|
animation: securityCheck 400ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
|
||||||
|
}
|
||||||
|
|
||||||
|
.premium-checkbox:checked::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 2px;
|
||||||
|
left: 5px;
|
||||||
|
width: 6px;
|
||||||
|
height: 10px;
|
||||||
|
border: solid white;
|
||||||
|
border-width: 0 2px 2px 0;
|
||||||
|
transform: rotate(45deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes securityCheck {
|
||||||
|
0% { transform: scale(0); }
|
||||||
|
50% { transform: scale(1.2); }
|
||||||
|
100% { transform: scale(1); }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Professional link styling */
|
||||||
|
.premium-link {
|
||||||
|
color: var(--accent);
|
||||||
|
text-decoration: none;
|
||||||
|
position: relative;
|
||||||
|
transition: all 250ms ease-out;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
.premium-link::after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
bottom: -2px;
|
||||||
|
left: 0;
|
||||||
|
width: 0;
|
||||||
|
height: 2px;
|
||||||
|
background: var(--accent);
|
||||||
|
transition: width 250ms ease-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
.premium-link:hover {
|
||||||
|
color: var(--primary);
|
||||||
|
}
|
||||||
|
|
||||||
|
.premium-link:hover::after {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Validation states */
|
||||||
|
.input-error {
|
||||||
|
border-color: var(--destructive) !important;
|
||||||
|
animation: errorShake 400ms cubic-bezier(0.36, 0, 0.66, -0.56);
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes errorShake {
|
||||||
|
0%, 100% { transform: translateX(0); }
|
||||||
|
25% { transform: translateX(-10px); }
|
||||||
|
75% { transform: translateX(10px); }
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-success {
|
||||||
|
border-color: var(--success) !important;
|
||||||
|
box-shadow: 0 0 0 3px var(--success-light);
|
||||||
|
animation: validationSuccess 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes validationSuccess {
|
||||||
|
0% { transform: scale(1); }
|
||||||
|
50% { transform: scale(1.02); border-color: var(--success); }
|
||||||
|
100% { transform: scale(1); }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Premium loading states */
|
||||||
|
.skeleton {
|
||||||
|
background: var(--muted);
|
||||||
|
animation: skeletonPulse 2s ease-in-out infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes skeletonPulse {
|
||||||
|
0%, 100% { opacity: 0.8; }
|
||||||
|
50% { opacity: 0.4; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Logo styling */
|
||||||
|
.logo-container {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.logo-glow {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Trust indicators */
|
||||||
|
.trust-badge {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.5rem;
|
||||||
|
padding: 0.5rem 1rem;
|
||||||
|
background: var(--success-light);
|
||||||
|
color: var(--success);
|
||||||
|
border-radius: var(--radius-full);
|
||||||
|
font-size: 0.875rem;
|
||||||
|
font-weight: 600;
|
||||||
|
border: 1px solid var(--success);
|
||||||
|
transition: all 300ms ease-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
.trust-badge:hover {
|
||||||
|
transform: scale(1.05);
|
||||||
|
box-shadow: var(--shadow-md);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Professional footer */
|
||||||
|
.pro-footer {
|
||||||
|
background: rgba(0, 0, 0, 0.1);
|
||||||
|
backdrop-filter: blur(10px);
|
||||||
|
border-radius: var(--radius-lg);
|
||||||
|
padding: 1rem;
|
||||||
|
margin-top: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Responsive enhancements */
|
||||||
|
@media (max-width: 640px) {
|
||||||
|
.login-card {
|
||||||
|
margin: 1rem;
|
||||||
|
padding: 2rem 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-field {
|
||||||
|
padding: 1rem 3rem 1rem 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-button {
|
||||||
|
font-size: 1rem;
|
||||||
|
padding: 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Advanced accessibility */
|
||||||
|
@media (prefers-reduced-motion: reduce) {
|
||||||
|
*, *::before, *::after {
|
||||||
|
animation-duration: 0.01ms !important;
|
||||||
|
animation-iteration-count: 1 !important;
|
||||||
|
transition-duration: 0.01ms !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* High contrast mode support */
|
||||||
|
@media (prefers-contrast: high) {
|
||||||
|
.login-card {
|
||||||
|
border: 3px solid var(--primary);
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-field:focus {
|
||||||
|
outline: 3px solid var(--primary);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="page-container relative z-10 flex items-center justify-center min-h-screen p-4">
|
||||||
|
<div class="w-full max-w-lg">
|
||||||
|
<!-- Premium Brand Section -->
|
||||||
|
<div class="brand-container text-center mb-10">
|
||||||
|
<div class="relative inline-block mb-6">
|
||||||
|
<div class="logo-glow"></div>
|
||||||
|
<div class="relative w-20 h-20 mx-auto bg-blue-600 rounded-2xl flex items-center justify-center logo-container">
|
||||||
|
<i data-lucide="calendar-check" class="w-10 h-10 text-white"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h1 class="text-3xl font-bold text-white mb-2 font-display">AperoNight</h1>
|
||||||
|
<p class="text-blue-200 text-lg font-medium mb-2">Plateforme Événementielle Premium</p>
|
||||||
|
<p class="text-blue-300 text-sm opacity-90">Connexion sécurisée • Interface professionnelle</p>
|
||||||
|
|
||||||
|
<div class="flex justify-center mt-4">
|
||||||
|
<div class="trust-badge">
|
||||||
|
<i data-lucide="shield-check" class="w-4 h-4"></i>
|
||||||
|
<span>Connexion Sécurisée</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Premium Login Card -->
|
||||||
|
<div class="login-card p-8">
|
||||||
|
<div class="text-center mb-8">
|
||||||
|
<h2 class="text-xl font-bold text-gray-800 mb-2 font-display">Accès Dashboard</h2>
|
||||||
|
<p class="text-gray-600 text-sm">Gérez vos événements en toute simplicité</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<form class="space-y-6">
|
||||||
|
<!-- Email professionnel -->
|
||||||
|
<div class="input-group">
|
||||||
|
<input
|
||||||
|
type="email"
|
||||||
|
class="input-field"
|
||||||
|
placeholder=" "
|
||||||
|
required
|
||||||
|
id="email"
|
||||||
|
>
|
||||||
|
<label class="floating-label" for="email">Email professionnel</label>
|
||||||
|
<div class="absolute right-3 top-1/2 transform -translate-y-1/2">
|
||||||
|
<i data-lucide="mail" class="w-5 h-5 text-gray-400"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Mot de passe sécurisé -->
|
||||||
|
<div class="input-group">
|
||||||
|
<input
|
||||||
|
type="password"
|
||||||
|
class="input-field"
|
||||||
|
placeholder=" "
|
||||||
|
required
|
||||||
|
id="password"
|
||||||
|
>
|
||||||
|
<label class="floating-label" for="password">Mot de passe sécurisé</label>
|
||||||
|
<button type="button" class="security-toggle" onclick="togglePassword()">
|
||||||
|
<i data-lucide="lock" class="w-5 h-5"></i>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Options de connexion -->
|
||||||
|
<div class="flex items-center justify-between">
|
||||||
|
<label class="flex items-center space-x-3 cursor-pointer group">
|
||||||
|
<input type="checkbox" class="premium-checkbox" id="remember">
|
||||||
|
<span class="text-sm text-gray-700 group-hover:text-gray-900 transition-colors">
|
||||||
|
Maintenir la connexion
|
||||||
|
</span>
|
||||||
|
</label>
|
||||||
|
<div class="flex items-center space-x-1 text-xs text-gray-500">
|
||||||
|
<i data-lucide="timer" class="w-3 h-3"></i>
|
||||||
|
<span>30 jours</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Bouton de connexion premium -->
|
||||||
|
<button type="submit" class="login-button group">
|
||||||
|
<span class="relative z-10 flex items-center justify-center gap-2">
|
||||||
|
<i data-lucide="log-in" class="w-5 h-5"></i>
|
||||||
|
Accéder au Dashboard
|
||||||
|
</span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<!-- Options de récupération -->
|
||||||
|
<div class="text-center space-y-3">
|
||||||
|
<a href="#" class="premium-link text-sm">Mot de passe oublié ?</a>
|
||||||
|
<div class="flex items-center justify-center space-x-4 text-xs text-gray-500">
|
||||||
|
<span class="flex items-center gap-1">
|
||||||
|
<i data-lucide="smartphone" class="w-3 h-3"></i>
|
||||||
|
2FA disponible
|
||||||
|
</span>
|
||||||
|
<span class="flex items-center gap-1">
|
||||||
|
<i data-lucide="key" class="w-3 h-3"></i>
|
||||||
|
SSO Enterprise
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Professional Footer -->
|
||||||
|
<div class="pro-footer text-center space-y-3">
|
||||||
|
<div class="flex items-center justify-center space-x-6 text-sm text-blue-200">
|
||||||
|
<a href="#" class="hover:text-white transition-colors flex items-center gap-1">
|
||||||
|
<i data-lucide="life-buoy" class="w-4 h-4"></i>
|
||||||
|
Support Pro
|
||||||
|
</a>
|
||||||
|
<a href="#" class="hover:text-white transition-colors flex items-center gap-1">
|
||||||
|
<i data-lucide="shield" class="w-4 h-4"></i>
|
||||||
|
Sécurité Renforcée
|
||||||
|
</a>
|
||||||
|
<a href="#" class="hover:text-white transition-colors flex items-center gap-1">
|
||||||
|
<i data-lucide="zap" class="w-4 h-4"></i>
|
||||||
|
API Premium
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<p class="text-xs text-blue-300">© 2024 AperoNight • Plateforme Événementielle Premium • Tous droits réservés</p>
|
||||||
|
<div class="flex items-center justify-center space-x-2 text-xs text-blue-400">
|
||||||
|
<span class="flex items-center gap-1">
|
||||||
|
<div class="w-2 h-2 bg-green-400 rounded-full animate-pulse"></div>
|
||||||
|
Système opérationnel
|
||||||
|
</span>
|
||||||
|
<span>•</span>
|
||||||
|
<span>99.9% uptime</span>
|
||||||
|
<span>•</span>
|
||||||
|
<span>GDPR compliant</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Initialize Lucide icons
|
||||||
|
lucide.createIcons();
|
||||||
|
|
||||||
|
// Enhanced password toggle
|
||||||
|
function togglePassword() {
|
||||||
|
const passwordField = document.getElementById('password');
|
||||||
|
const toggleIcon = document.querySelector('.security-toggle i');
|
||||||
|
|
||||||
|
if (passwordField.type === 'password') {
|
||||||
|
passwordField.type = 'text';
|
||||||
|
toggleIcon.setAttribute('data-lucide', 'unlock');
|
||||||
|
} else {
|
||||||
|
passwordField.type = 'password';
|
||||||
|
toggleIcon.setAttribute('data-lucide', 'lock');
|
||||||
|
}
|
||||||
|
|
||||||
|
lucide.createIcons();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Professional form validation
|
||||||
|
const form = document.querySelector('form');
|
||||||
|
const emailField = document.getElementById('email');
|
||||||
|
const passwordField = document.getElementById('password');
|
||||||
|
|
||||||
|
form.addEventListener('submit', function(e) {
|
||||||
|
e.preventDefault();
|
||||||
|
|
||||||
|
// Reset states
|
||||||
|
emailField.classList.remove('input-error', 'input-success');
|
||||||
|
passwordField.classList.remove('input-error', 'input-success');
|
||||||
|
|
||||||
|
let isValid = true;
|
||||||
|
|
||||||
|
// Professional email validation
|
||||||
|
const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
||||||
|
if (!emailRegex.test(emailField.value)) {
|
||||||
|
emailField.classList.add('input-error');
|
||||||
|
isValid = false;
|
||||||
|
showNotification('Email invalide', 'error');
|
||||||
|
} else {
|
||||||
|
emailField.classList.add('input-success');
|
||||||
|
}
|
||||||
|
|
||||||
|
// Secure password validation
|
||||||
|
if (passwordField.value.length < 8) {
|
||||||
|
passwordField.classList.add('input-error');
|
||||||
|
isValid = false;
|
||||||
|
showNotification('Mot de passe trop court (min. 8 caractères)', 'error');
|
||||||
|
} else {
|
||||||
|
passwordField.classList.add('input-success');
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isValid) {
|
||||||
|
// Premium loading state
|
||||||
|
const button = document.querySelector('.login-button');
|
||||||
|
const originalContent = button.innerHTML;
|
||||||
|
button.innerHTML = `
|
||||||
|
<div class="flex items-center justify-center space-x-2">
|
||||||
|
<div class="animate-spin w-5 h-5 border-2 border-white border-t-transparent rounded-full"></div>
|
||||||
|
<span>Connexion sécurisée...</span>
|
||||||
|
</div>
|
||||||
|
`;
|
||||||
|
|
||||||
|
setTimeout(() => {
|
||||||
|
showNotification('Connexion réussie ! Redirection...', 'success');
|
||||||
|
setTimeout(() => {
|
||||||
|
button.innerHTML = originalContent;
|
||||||
|
}, 1500);
|
||||||
|
}, 2000);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Real-time validation
|
||||||
|
emailField.addEventListener('input', function() {
|
||||||
|
this.classList.remove('input-error', 'input-success');
|
||||||
|
});
|
||||||
|
|
||||||
|
passwordField.addEventListener('input', function() {
|
||||||
|
this.classList.remove('input-error', 'input-success');
|
||||||
|
});
|
||||||
|
|
||||||
|
// Professional notification system
|
||||||
|
function showNotification(message, type) {
|
||||||
|
const notification = document.createElement('div');
|
||||||
|
notification.className = `
|
||||||
|
fixed top-4 right-4 z-50 p-4 rounded-lg shadow-2xl max-w-sm
|
||||||
|
${type === 'success' ? 'bg-green-500 text-white' : 'bg-red-500 text-white'}
|
||||||
|
transform transition-all duration-300 ease-out translate-x-full
|
||||||
|
`;
|
||||||
|
notification.innerHTML = `
|
||||||
|
<div class="flex items-center space-x-2">
|
||||||
|
<i data-lucide="${type === 'success' ? 'check-circle' : 'alert-circle'}" class="w-5 h-5"></i>
|
||||||
|
<span class="font-medium">${message}</span>
|
||||||
|
</div>
|
||||||
|
`;
|
||||||
|
|
||||||
|
document.body.appendChild(notification);
|
||||||
|
lucide.createIcons();
|
||||||
|
|
||||||
|
setTimeout(() => {
|
||||||
|
notification.style.transform = 'translateX(0)';
|
||||||
|
}, 100);
|
||||||
|
|
||||||
|
setTimeout(() => {
|
||||||
|
notification.style.transform = 'translateX(100%)';
|
||||||
|
setTimeout(() => {
|
||||||
|
document.body.removeChild(notification);
|
||||||
|
}, 300);
|
||||||
|
}, 3000);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Enhanced floating label behavior
|
||||||
|
document.querySelectorAll('.input-field').forEach(input => {
|
||||||
|
input.addEventListener('focus', function() {
|
||||||
|
this.nextElementSibling.style.background = 'white';
|
||||||
|
});
|
||||||
|
|
||||||
|
input.addEventListener('blur', function() {
|
||||||
|
if (!this.value) {
|
||||||
|
this.nextElementSibling.style.background = 'var(--input)';
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
// Professional interaction tracking
|
||||||
|
console.log('🚀 AperoNight Premium Login Interface Loaded');
|
||||||
|
console.log('✅ Security features: 2FA, SSO, GDPR compliance');
|
||||||
|
console.log('🎨 Theme: Professional Event Platform');
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
125
.superdesign/design_iterations/aperonight_premium_theme.css
Normal file
125
.superdesign/design_iterations/aperonight_premium_theme.css
Normal file
@@ -0,0 +1,125 @@
|
|||||||
|
:root {
|
||||||
|
/* AperoNight Premium Theme - Telecom Inspired */
|
||||||
|
|
||||||
|
/* Base Colors - Sophisticated Navy & Electric Accents */
|
||||||
|
--background: oklch(0.1200 0.0300 240);
|
||||||
|
--foreground: oklch(0.9500 0.0100 240);
|
||||||
|
--surface: oklch(0.1600 0.0400 240);
|
||||||
|
--surface-elevated: oklch(0.2000 0.0500 240);
|
||||||
|
|
||||||
|
/* Card & Dialog surfaces */
|
||||||
|
--card: oklch(0.9800 0.0100 240);
|
||||||
|
--card-foreground: oklch(0.1500 0.0200 240);
|
||||||
|
--popover: oklch(0.9800 0.0100 240);
|
||||||
|
--popover-foreground: oklch(0.1500 0.0200 240);
|
||||||
|
|
||||||
|
/* Primary - Premium Electric Blue */
|
||||||
|
--primary: oklch(0.5500 0.2400 220);
|
||||||
|
--primary-foreground: oklch(0.9800 0.0100 220);
|
||||||
|
--primary-hover: oklch(0.4800 0.2600 220);
|
||||||
|
--primary-light: oklch(0.8500 0.1200 220);
|
||||||
|
--primary-dark: oklch(0.3500 0.2800 220);
|
||||||
|
|
||||||
|
/* Secondary - Sophisticated Slate */
|
||||||
|
--secondary: oklch(0.8800 0.0200 240);
|
||||||
|
--secondary-foreground: oklch(0.2500 0.0300 240);
|
||||||
|
--secondary-hover: oklch(0.8200 0.0300 240);
|
||||||
|
|
||||||
|
/* Accent - Vibrant Cyan (Events Energy) */
|
||||||
|
--accent: oklch(0.6800 0.2600 200);
|
||||||
|
--accent-foreground: oklch(0.9800 0.0100 200);
|
||||||
|
--accent-light: oklch(0.8800 0.1400 200);
|
||||||
|
--accent-dark: oklch(0.4500 0.3000 200);
|
||||||
|
|
||||||
|
/* Success - Event Success Green */
|
||||||
|
--success: oklch(0.6200 0.2200 140);
|
||||||
|
--success-foreground: oklch(0.9600 0.0200 140);
|
||||||
|
--success-light: oklch(0.9200 0.1000 140);
|
||||||
|
|
||||||
|
/* Warning - Premium Gold */
|
||||||
|
--warning: oklch(0.7500 0.2000 60);
|
||||||
|
--warning-foreground: oklch(0.2000 0.0300 60);
|
||||||
|
--warning-light: oklch(0.9400 0.1000 60);
|
||||||
|
|
||||||
|
/* Error - Professional Red */
|
||||||
|
--destructive: oklch(0.5800 0.2400 20);
|
||||||
|
--destructive-foreground: oklch(0.9700 0.0200 20);
|
||||||
|
--destructive-light: oklch(0.9300 0.1200 20);
|
||||||
|
|
||||||
|
/* Muted tones */
|
||||||
|
--muted: oklch(0.8800 0.0200 240);
|
||||||
|
--muted-foreground: oklch(0.4800 0.0400 240);
|
||||||
|
--muted-dark: oklch(0.7500 0.0300 240);
|
||||||
|
|
||||||
|
/* Borders and inputs */
|
||||||
|
--border: oklch(0.8400 0.0300 240);
|
||||||
|
--input: oklch(0.9600 0.0200 240);
|
||||||
|
--input-border: oklch(0.8200 0.0400 240);
|
||||||
|
--ring: oklch(0.5500 0.2400 220);
|
||||||
|
|
||||||
|
/* Typography - Premium Event Platform */
|
||||||
|
--font-sans: 'Inter', 'Plus Jakarta Sans', system-ui, sans-serif;
|
||||||
|
--font-display: 'Space Grotesk', 'Outfit', system-ui, sans-serif;
|
||||||
|
--font-mono: 'JetBrains Mono', 'Fira Code', monospace;
|
||||||
|
|
||||||
|
/* Spacing and layout */
|
||||||
|
--radius: 0.75rem;
|
||||||
|
--spacing: 1rem;
|
||||||
|
|
||||||
|
/* Premium shadow system */
|
||||||
|
--shadow-xs: 0 1px 3px 0 hsl(240 30% 8% / 0.08), 0 1px 2px -1px hsl(240 30% 8% / 0.06);
|
||||||
|
--shadow-sm: 0 2px 6px -1px hsl(240 30% 8% / 0.10), 0 2px 4px -2px hsl(240 30% 8% / 0.08);
|
||||||
|
--shadow: 0 4px 8px -2px hsl(240 30% 8% / 0.12), 0 2px 4px -2px hsl(240 30% 8% / 0.08);
|
||||||
|
--shadow-md: 0 8px 16px -4px hsl(240 30% 8% / 0.14), 0 4px 6px -2px hsl(240 30% 8% / 0.10);
|
||||||
|
--shadow-lg: 0 16px 24px -4px hsl(240 30% 8% / 0.16), 0 8px 8px -4px hsl(240 30% 8% / 0.08);
|
||||||
|
--shadow-xl: 0 20px 32px -8px hsl(240 30% 8% / 0.20), 0 8px 16px -8px hsl(240 30% 8% / 0.12);
|
||||||
|
--shadow-2xl: 0 32px 64px -12px hsl(240 30% 8% / 0.25);
|
||||||
|
|
||||||
|
/* Electric/Glow shadows for premium effects */
|
||||||
|
--shadow-electric: 0 4px 16px -2px hsl(220 100% 70% / 0.20), 0 2px 8px -2px hsl(220 100% 70% / 0.15);
|
||||||
|
--shadow-accent: 0 4px 16px -2px hsl(200 100% 70% / 0.25), 0 2px 8px -2px hsl(200 100% 70% / 0.20);
|
||||||
|
|
||||||
|
/* Premium gradients */
|
||||||
|
--gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
|
||||||
|
--gradient-background: linear-gradient(135deg,
|
||||||
|
oklch(0.1200 0.0300 240) 0%,
|
||||||
|
oklch(0.1000 0.0400 235) 25%,
|
||||||
|
oklch(0.0800 0.0500 230) 50%,
|
||||||
|
oklch(0.1000 0.0400 225) 75%,
|
||||||
|
oklch(0.1200 0.0300 220) 100%);
|
||||||
|
--gradient-card: linear-gradient(135deg,
|
||||||
|
oklch(0.9900 0.0100 240) 0%,
|
||||||
|
oklch(0.9700 0.0200 235) 100%);
|
||||||
|
|
||||||
|
/* Tech pattern overlays */
|
||||||
|
--grid-color: oklch(0.3000 0.0500 240);
|
||||||
|
--dot-color: oklch(0.2500 0.0600 220);
|
||||||
|
--connection-color: oklch(0.4000 0.1200 210);
|
||||||
|
|
||||||
|
/* Glass morphism for premium feel */
|
||||||
|
--glass-bg: oklch(0.9800 0.0100 240 / 0.80);
|
||||||
|
--glass-border: oklch(0.8500 0.0300 240 / 0.30);
|
||||||
|
--glass-backdrop: blur(16px) saturate(200%);
|
||||||
|
|
||||||
|
/* Professional states */
|
||||||
|
--hover-lift: translateY(-2px);
|
||||||
|
--hover-scale: scale(1.02);
|
||||||
|
--focus-ring: 0 0 0 3px var(--ring);
|
||||||
|
|
||||||
|
/* Event-specific colors */
|
||||||
|
--event-vip: oklch(0.6500 0.2500 45);
|
||||||
|
--event-premium: oklch(0.5500 0.2200 280);
|
||||||
|
--event-standard: oklch(0.6000 0.1800 160);
|
||||||
|
--event-available: oklch(0.6200 0.2000 140);
|
||||||
|
--event-limited: oklch(0.7200 0.2000 50);
|
||||||
|
--event-sold-out: oklch(0.5500 0.2200 15);
|
||||||
|
|
||||||
|
/* Radius variations */
|
||||||
|
--radius-xs: calc(var(--radius) - 4px);
|
||||||
|
--radius-sm: calc(var(--radius) - 2px);
|
||||||
|
--radius-md: var(--radius);
|
||||||
|
--radius-lg: calc(var(--radius) + 4px);
|
||||||
|
--radius-xl: calc(var(--radius) + 8px);
|
||||||
|
--radius-2xl: calc(var(--radius) + 12px);
|
||||||
|
--radius-full: 9999px;
|
||||||
|
}
|
||||||
480
.superdesign/design_iterations/quantic_login_1.html
Normal file
480
.superdesign/design_iterations/quantic_login_1.html
Normal file
@@ -0,0 +1,480 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="fr">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Connexion - Quantic Telecom</title>
|
||||||
|
<script src="https://cdn.tailwindcss.com"></script>
|
||||||
|
<script src="https://unpkg.com/lucide@latest/dist/umd/lucide.min.js"></script>
|
||||||
|
<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=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
|
||||||
|
<link rel="stylesheet" href="quantic_telecom_theme.css">
|
||||||
|
|
||||||
|
<style>
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: var(--font-sans) !important;
|
||||||
|
background: var(--gradient-background) !important;
|
||||||
|
min-height: 100vh !important;
|
||||||
|
position: relative !important;
|
||||||
|
overflow-x: hidden !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Background grid pattern */
|
||||||
|
body::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
background-image:
|
||||||
|
linear-gradient(var(--grid-color) 1px, transparent 1px),
|
||||||
|
linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
|
||||||
|
background-size: 50px 50px;
|
||||||
|
opacity: 0.3;
|
||||||
|
z-index: 0;
|
||||||
|
animation: gridShift 20s linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes gridShift {
|
||||||
|
0% { transform: translate(0, 0); }
|
||||||
|
100% { transform: translate(50px, 50px); }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Page entrance animation */
|
||||||
|
.page-container {
|
||||||
|
animation: pageLoad 800ms ease-out forwards;
|
||||||
|
opacity: 0;
|
||||||
|
transform: translateY(40px);
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes pageLoad {
|
||||||
|
to {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Logo animation */
|
||||||
|
.logo-container {
|
||||||
|
animation: logoFade 1200ms ease-out 200ms forwards;
|
||||||
|
opacity: 0;
|
||||||
|
transform: scale(0.8);
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes logoFade {
|
||||||
|
to {
|
||||||
|
opacity: 1;
|
||||||
|
transform: scale(1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Card slide animation */
|
||||||
|
.login-card {
|
||||||
|
background: var(--glass-bg) !important;
|
||||||
|
backdrop-filter: var(--glass-backdrop) !important;
|
||||||
|
border: 1px solid var(--glass-border) !important;
|
||||||
|
border-radius: var(--radius-lg) !important;
|
||||||
|
box-shadow: var(--shadow-xl) !important;
|
||||||
|
animation: cardSlide 600ms cubic-bezier(0.4, 0, 0.2, 1) 400ms forwards;
|
||||||
|
opacity: 0;
|
||||||
|
transform: translateY(30px);
|
||||||
|
transition: all 300ms ease-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-card:hover {
|
||||||
|
transform: translateY(-2px);
|
||||||
|
box-shadow: var(--shadow-2xl);
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes cardSlide {
|
||||||
|
to {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translateY(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Input field styling */
|
||||||
|
.input-group {
|
||||||
|
position: relative;
|
||||||
|
margin-bottom: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-field {
|
||||||
|
width: 100%;
|
||||||
|
padding: 1rem 3rem 1rem 1rem;
|
||||||
|
border: 2px solid var(--border);
|
||||||
|
border-radius: var(--radius-md);
|
||||||
|
background: var(--input);
|
||||||
|
color: var(--foreground);
|
||||||
|
font-size: 1rem;
|
||||||
|
transition: all 200ms ease-out;
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-field:focus {
|
||||||
|
border-color: var(--primary);
|
||||||
|
box-shadow: 0 0 0 3px var(--ring);
|
||||||
|
transform: scale(1.01);
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-field:focus + .floating-label {
|
||||||
|
transform: translateY(-10px) scale(0.75);
|
||||||
|
color: var(--primary);
|
||||||
|
}
|
||||||
|
|
||||||
|
.floating-label {
|
||||||
|
position: absolute;
|
||||||
|
left: 1rem;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
background: var(--input);
|
||||||
|
padding: 0 0.5rem;
|
||||||
|
color: var(--muted-foreground);
|
||||||
|
pointer-events: none;
|
||||||
|
transition: all 200ms ease-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-field:not(:placeholder-shown) + .floating-label {
|
||||||
|
transform: translateY(-10px) scale(0.75);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Password toggle */
|
||||||
|
.password-toggle {
|
||||||
|
position: absolute;
|
||||||
|
right: 1rem;
|
||||||
|
top: 50%;
|
||||||
|
transform: translateY(-50%);
|
||||||
|
background: none;
|
||||||
|
border: none;
|
||||||
|
color: var(--muted-foreground);
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all 150ms ease-out;
|
||||||
|
opacity: 0.6;
|
||||||
|
}
|
||||||
|
|
||||||
|
.password-toggle:hover {
|
||||||
|
opacity: 1;
|
||||||
|
transform: translateY(-50%) rotate(90deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Button styling */
|
||||||
|
.login-button {
|
||||||
|
width: 100%;
|
||||||
|
padding: 1rem;
|
||||||
|
background: var(--gradient-primary) !important;
|
||||||
|
border: none;
|
||||||
|
border-radius: var(--radius-md);
|
||||||
|
color: var(--primary-foreground);
|
||||||
|
font-size: 1rem;
|
||||||
|
font-weight: 600;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: all 200ms ease-out;
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-button:hover {
|
||||||
|
transform: scale(1.02);
|
||||||
|
box-shadow: var(--shadow-lg);
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-button:active {
|
||||||
|
transform: scale(0.98);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Ripple effect */
|
||||||
|
.login-button::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
border-radius: 50%;
|
||||||
|
background: rgba(255, 255, 255, 0.3);
|
||||||
|
transition: width 400ms ease-out, height 400ms ease-out;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-button:active::before {
|
||||||
|
width: 300px;
|
||||||
|
height: 300px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Checkbox styling */
|
||||||
|
.custom-checkbox {
|
||||||
|
appearance: none;
|
||||||
|
width: 1.25rem;
|
||||||
|
height: 1.25rem;
|
||||||
|
border: 2px solid var(--border);
|
||||||
|
border-radius: var(--radius-sm);
|
||||||
|
background: var(--input);
|
||||||
|
cursor: pointer;
|
||||||
|
position: relative;
|
||||||
|
transition: all 200ms ease-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-checkbox:checked {
|
||||||
|
background: var(--primary);
|
||||||
|
border-color: var(--primary);
|
||||||
|
animation: checkboxTick 250ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-checkbox:checked::before {
|
||||||
|
content: '✓';
|
||||||
|
position: absolute;
|
||||||
|
top: 50%;
|
||||||
|
left: 50%;
|
||||||
|
transform: translate(-50%, -50%);
|
||||||
|
color: var(--primary-foreground);
|
||||||
|
font-size: 0.875rem;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes checkboxTick {
|
||||||
|
0% { transform: scale(0); }
|
||||||
|
50% { transform: scale(1.2); }
|
||||||
|
100% { transform: scale(1); }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Link styling */
|
||||||
|
.forgot-link {
|
||||||
|
color: var(--accent);
|
||||||
|
text-decoration: none;
|
||||||
|
position: relative;
|
||||||
|
transition: all 200ms ease-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
.forgot-link::after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
bottom: -2px;
|
||||||
|
left: 0;
|
||||||
|
width: 0;
|
||||||
|
height: 2px;
|
||||||
|
background: var(--accent);
|
||||||
|
transition: width 200ms ease-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
.forgot-link:hover::after {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Validation states */
|
||||||
|
.input-error {
|
||||||
|
border-color: var(--destructive) !important;
|
||||||
|
animation: errorShake 300ms ease-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes errorShake {
|
||||||
|
0%, 100% { transform: translateX(0); }
|
||||||
|
25% { transform: translateX(-8px); }
|
||||||
|
75% { transform: translateX(8px); }
|
||||||
|
}
|
||||||
|
|
||||||
|
.input-success {
|
||||||
|
border-color: var(--success) !important;
|
||||||
|
animation: successPulse 500ms ease-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes successPulse {
|
||||||
|
0% { transform: scale(1); }
|
||||||
|
50% { transform: scale(1.1); opacity: 0.8; }
|
||||||
|
100% { transform: scale(1); opacity: 1; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Loading states */
|
||||||
|
.skeleton {
|
||||||
|
background: linear-gradient(90deg, var(--muted) 25%, var(--accent) 50%, var(--muted) 75%);
|
||||||
|
background-size: 200% 100%;
|
||||||
|
animation: skeleton 1.5s ease-in-out infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes skeleton {
|
||||||
|
0% { background-position: -200% 0; }
|
||||||
|
100% { background-position: 200% 0; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Responsive design */
|
||||||
|
@media (max-width: 640px) {
|
||||||
|
.login-card {
|
||||||
|
margin: 1rem;
|
||||||
|
padding: 2rem 1.5rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="page-container relative z-10 flex items-center justify-center min-h-screen p-4">
|
||||||
|
<div class="w-full max-w-md">
|
||||||
|
<!-- Logo and Header -->
|
||||||
|
<div class="logo-container text-center mb-8">
|
||||||
|
<div class="mb-4">
|
||||||
|
<div class="w-16 h-16 mx-auto bg-gradient-to-br from-blue-600 to-blue-800 rounded-xl flex items-center justify-center">
|
||||||
|
<i data-lucide="wifi" class="w-8 h-8 text-white"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<h1 class="text-2xl font-bold text-gray-900 mb-2">Quantic Telecom</h1>
|
||||||
|
<p class="text-gray-600 text-sm">Connexion Espace Client</p>
|
||||||
|
<p class="text-gray-500 text-xs mt-1">Votre espace client sécurisé</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Login Card -->
|
||||||
|
<div class="login-card p-8">
|
||||||
|
<form class="space-y-6">
|
||||||
|
<!-- Email Field -->
|
||||||
|
<div class="input-group">
|
||||||
|
<input
|
||||||
|
type="email"
|
||||||
|
class="input-field"
|
||||||
|
placeholder=" "
|
||||||
|
required
|
||||||
|
id="email"
|
||||||
|
>
|
||||||
|
<label class="floating-label" for="email">Adresse e-mail</label>
|
||||||
|
<div class="absolute right-3 top-1/2 transform -translate-y-1/2">
|
||||||
|
<i data-lucide="mail" class="w-5 h-5 text-gray-400"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Password Field -->
|
||||||
|
<div class="input-group">
|
||||||
|
<input
|
||||||
|
type="password"
|
||||||
|
class="input-field"
|
||||||
|
placeholder=" "
|
||||||
|
required
|
||||||
|
id="password"
|
||||||
|
>
|
||||||
|
<label class="floating-label" for="password">Mot de passe</label>
|
||||||
|
<button type="button" class="password-toggle" onclick="togglePassword()">
|
||||||
|
<i data-lucide="eye" class="w-5 h-5"></i>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Remember Me -->
|
||||||
|
<div class="flex items-center justify-between">
|
||||||
|
<label class="flex items-center space-x-3 cursor-pointer">
|
||||||
|
<input type="checkbox" class="custom-checkbox" id="remember">
|
||||||
|
<span class="text-sm text-gray-700">Se souvenir de moi</span>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Login Button -->
|
||||||
|
<button type="submit" class="login-button">
|
||||||
|
<span class="relative z-10">SE CONNECTER</span>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<!-- Forgot Password -->
|
||||||
|
<div class="text-center">
|
||||||
|
<a href="#" class="forgot-link text-sm">Mot de passe oublié ?</a>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Support Footer -->
|
||||||
|
<div class="text-center mt-8 space-y-2">
|
||||||
|
<p class="text-xs text-gray-500">
|
||||||
|
Besoin d'aide ?
|
||||||
|
<a href="#" class="text-blue-600 hover:text-blue-800 transition-colors">Support technique</a>
|
||||||
|
</p>
|
||||||
|
<p class="text-xs text-gray-400">© 2024 Quantic Telecom - Tous droits réservés</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
// Initialize Lucide icons
|
||||||
|
lucide.createIcons();
|
||||||
|
|
||||||
|
// Password toggle functionality
|
||||||
|
function togglePassword() {
|
||||||
|
const passwordField = document.getElementById('password');
|
||||||
|
const toggleIcon = document.querySelector('.password-toggle i');
|
||||||
|
|
||||||
|
if (passwordField.type === 'password') {
|
||||||
|
passwordField.type = 'text';
|
||||||
|
toggleIcon.setAttribute('data-lucide', 'eye-off');
|
||||||
|
} else {
|
||||||
|
passwordField.type = 'password';
|
||||||
|
toggleIcon.setAttribute('data-lucide', 'eye');
|
||||||
|
}
|
||||||
|
|
||||||
|
lucide.createIcons();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Form validation
|
||||||
|
const form = document.querySelector('form');
|
||||||
|
const emailField = document.getElementById('email');
|
||||||
|
const passwordField = document.getElementById('password');
|
||||||
|
|
||||||
|
form.addEventListener('submit', function(e) {
|
||||||
|
e.preventDefault();
|
||||||
|
|
||||||
|
// Reset validation states
|
||||||
|
emailField.classList.remove('input-error', 'input-success');
|
||||||
|
passwordField.classList.remove('input-error', 'input-success');
|
||||||
|
|
||||||
|
let isValid = true;
|
||||||
|
|
||||||
|
// Email validation
|
||||||
|
const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
|
||||||
|
if (!emailRegex.test(emailField.value)) {
|
||||||
|
emailField.classList.add('input-error');
|
||||||
|
isValid = false;
|
||||||
|
} else {
|
||||||
|
emailField.classList.add('input-success');
|
||||||
|
}
|
||||||
|
|
||||||
|
// Password validation
|
||||||
|
if (passwordField.value.length < 6) {
|
||||||
|
passwordField.classList.add('input-error');
|
||||||
|
isValid = false;
|
||||||
|
} else {
|
||||||
|
passwordField.classList.add('input-success');
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isValid) {
|
||||||
|
// Simulate login process
|
||||||
|
const button = document.querySelector('.login-button');
|
||||||
|
button.innerHTML = '<div class="flex items-center justify-center"><div class="animate-spin w-5 h-5 border-2 border-white border-t-transparent rounded-full mr-2"></div>Connexion...</div>';
|
||||||
|
|
||||||
|
setTimeout(() => {
|
||||||
|
alert('Connexion réussie ! (Demo)');
|
||||||
|
button.innerHTML = '<span class="relative z-10">SE CONNECTER</span>';
|
||||||
|
}, 2000);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Real-time input validation
|
||||||
|
emailField.addEventListener('input', function() {
|
||||||
|
this.classList.remove('input-error', 'input-success');
|
||||||
|
});
|
||||||
|
|
||||||
|
passwordField.addEventListener('input', function() {
|
||||||
|
this.classList.remove('input-error', 'input-success');
|
||||||
|
});
|
||||||
|
|
||||||
|
// Add floating label behavior for better UX
|
||||||
|
document.querySelectorAll('.input-field').forEach(input => {
|
||||||
|
input.addEventListener('focus', function() {
|
||||||
|
this.nextElementSibling.classList.add('focused');
|
||||||
|
});
|
||||||
|
|
||||||
|
input.addEventListener('blur', function() {
|
||||||
|
if (!this.value) {
|
||||||
|
this.nextElementSibling.classList.remove('focused');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
71
.superdesign/design_iterations/quantic_telecom_theme.css
Normal file
71
.superdesign/design_iterations/quantic_telecom_theme.css
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
:root {
|
||||||
|
/* Quantic Telecom Brand Colors */
|
||||||
|
--background: oklch(0.9800 0.0050 240);
|
||||||
|
--foreground: oklch(0.1500 0.0100 240);
|
||||||
|
--card: oklch(1.0000 0 0);
|
||||||
|
--card-foreground: oklch(0.1500 0.0100 240);
|
||||||
|
--popover: oklch(1.0000 0 0);
|
||||||
|
--popover-foreground: oklch(0.1500 0.0100 240);
|
||||||
|
|
||||||
|
/* Primary - Telecom Blue */
|
||||||
|
--primary: oklch(0.4800 0.2000 240);
|
||||||
|
--primary-foreground: oklch(0.9800 0.0050 240);
|
||||||
|
--primary-hover: oklch(0.4200 0.2200 240);
|
||||||
|
|
||||||
|
/* Secondary - Tech Gray */
|
||||||
|
--secondary: oklch(0.9200 0.0100 240);
|
||||||
|
--secondary-foreground: oklch(0.2500 0.0150 240);
|
||||||
|
|
||||||
|
/* Accent - Electric Blue */
|
||||||
|
--accent: oklch(0.6500 0.2800 220);
|
||||||
|
--accent-foreground: oklch(0.9800 0.0050 240);
|
||||||
|
|
||||||
|
/* Muted tones */
|
||||||
|
--muted: oklch(0.9600 0.0080 240);
|
||||||
|
--muted-foreground: oklch(0.4500 0.0120 240);
|
||||||
|
|
||||||
|
/* Success/Error states */
|
||||||
|
--success: oklch(0.5500 0.2000 140);
|
||||||
|
--success-foreground: oklch(0.9800 0.0050 140);
|
||||||
|
--destructive: oklch(0.5500 0.2200 20);
|
||||||
|
--destructive-foreground: oklch(0.9800 0.0050 20);
|
||||||
|
|
||||||
|
/* Borders and inputs */
|
||||||
|
--border: oklch(0.8800 0.0150 240);
|
||||||
|
--input: oklch(0.9600 0.0080 240);
|
||||||
|
--ring: oklch(0.4800 0.2000 240);
|
||||||
|
|
||||||
|
/* Typography */
|
||||||
|
--font-sans: 'Inter', 'Segoe UI', system-ui, sans-serif;
|
||||||
|
--font-serif: 'Inter', 'Segoe UI', system-ui, serif;
|
||||||
|
--font-mono: 'JetBrains Mono', 'Fira Code', monospace;
|
||||||
|
|
||||||
|
/* Spacing and layout */
|
||||||
|
--radius: 0.5rem;
|
||||||
|
--spacing: 1rem;
|
||||||
|
|
||||||
|
/* Modern shadows for depth */
|
||||||
|
--shadow-xs: 0 1px 3px 0 hsl(240 25% 3% / 0.06);
|
||||||
|
--shadow-sm: 0 1px 3px 0 hsl(240 25% 3% / 0.08), 0 1px 2px -1px hsl(240 25% 3% / 0.08);
|
||||||
|
--shadow: 0 4px 8px -2px hsl(240 25% 3% / 0.08), 0 2px 4px -2px hsl(240 25% 3% / 0.06);
|
||||||
|
--shadow-md: 0 8px 16px -4px hsl(240 25% 3% / 0.08), 0 4px 6px -2px hsl(240 25% 3% / 0.06);
|
||||||
|
--shadow-lg: 0 16px 24px -4px hsl(240 25% 3% / 0.08), 0 8px 8px -4px hsl(240 25% 3% / 0.04);
|
||||||
|
--shadow-xl: 0 20px 32px -8px hsl(240 25% 3% / 0.12), 0 8px 16px -8px hsl(240 25% 3% / 0.08);
|
||||||
|
|
||||||
|
/* Gradients for modern appeal */
|
||||||
|
--gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
|
||||||
|
--gradient-background: linear-gradient(135deg, oklch(0.9900 0.0030 240) 0%, oklch(0.9700 0.0080 220) 100%);
|
||||||
|
|
||||||
|
/* Grid overlay for tech aesthetic */
|
||||||
|
--grid-color: oklch(0.9400 0.0100 240);
|
||||||
|
|
||||||
|
/* Glass morphism effects */
|
||||||
|
--glass-bg: oklch(1.0000 0 0 / 0.70);
|
||||||
|
--glass-border: oklch(0.9000 0.0200 240 / 0.20);
|
||||||
|
--glass-backdrop: blur(12px) saturate(180%);
|
||||||
|
|
||||||
|
--radius-sm: calc(var(--radius) - 2px);
|
||||||
|
--radius-md: var(--radius);
|
||||||
|
--radius-lg: calc(var(--radius) + 4px);
|
||||||
|
--radius-xl: calc(var(--radius) + 8px);
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user