516 lines
14 KiB
HTML
516 lines
14 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Actorle — Design "Sunrise" (lumineux, éditorial)</title>
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link href="https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,700;1,9..144,400&family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
|
<style>
|
|
/* ============================================================
|
|
SUNRISE — Lumineux, éditorial, chaleureux
|
|
Typographie sérif pour le titre, sans-serif pour le corps
|
|
============================================================ */
|
|
|
|
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
:root {
|
|
--bg: #fef6ee;
|
|
--surface: #ffffff;
|
|
--surface-warm: #fff7ed;
|
|
--surface-tint: #ffedd5;
|
|
--orange: #ea580c;
|
|
--orange-mid: #f97316;
|
|
--orange-light: #fed7aa;
|
|
--orange-pale: #fff7ed;
|
|
--text: #1c1917;
|
|
--text-muted: #78716c;
|
|
--text-faint: #a8a29e;
|
|
--border: #e8d5c0;
|
|
--border-warm: #fdba74;
|
|
--shadow-warm: rgba(180, 100, 30, 0.08);
|
|
--radius-sm: 6px;
|
|
--radius-md: 10px;
|
|
--radius-lg: 18px;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--bg);
|
|
font-family: 'Inter', sans-serif;
|
|
color: var(--text);
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* ── Navbar ── */
|
|
.navbar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0 40px;
|
|
height: 64px;
|
|
background: var(--surface);
|
|
border-bottom: 1px solid var(--border);
|
|
box-shadow: 0 1px 0 var(--border), 0 2px 12px var(--shadow-warm);
|
|
}
|
|
|
|
.navbar-brand {
|
|
font-family: 'Fraunces', serif;
|
|
font-weight: 700;
|
|
font-size: 22px;
|
|
letter-spacing: -0.3px;
|
|
color: var(--orange);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.navbar-right {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.navbar-icon {
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
padding: 8px;
|
|
border-radius: 50%;
|
|
color: var(--text-muted);
|
|
display: flex;
|
|
align-items: center;
|
|
transition: background 0.15s, color 0.15s;
|
|
}
|
|
.navbar-icon:hover {
|
|
background: var(--surface-tint);
|
|
color: var(--orange);
|
|
}
|
|
|
|
.btn {
|
|
padding: 9px 20px;
|
|
border: none;
|
|
border-radius: 100px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
text-decoration: none;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
font-family: inherit;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--orange);
|
|
color: #fff;
|
|
}
|
|
.btn-primary:hover {
|
|
background: var(--orange-mid);
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 16px rgba(234,88,12,0.25);
|
|
}
|
|
|
|
/* ── Game grid ── */
|
|
.game-wrapper {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 56px 24px;
|
|
}
|
|
|
|
.game-header {
|
|
font-family: 'Fraunces', serif;
|
|
font-size: 15px;
|
|
color: var(--text-muted);
|
|
margin-bottom: 32px;
|
|
letter-spacing: 0.3px;
|
|
}
|
|
.game-header em {
|
|
font-style: italic;
|
|
color: var(--orange);
|
|
}
|
|
|
|
table#actors {
|
|
border-collapse: separate;
|
|
border-spacing: 5px;
|
|
}
|
|
|
|
#actors td {
|
|
width: 38px;
|
|
height: 38px;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.letter-input {
|
|
width: 38px;
|
|
height: 38px;
|
|
text-align: center;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
border: 2px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
text-transform: uppercase;
|
|
padding: 0;
|
|
background: var(--surface);
|
|
color: var(--text);
|
|
transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
|
|
font-family: inherit;
|
|
box-shadow: 0 1px 3px var(--shadow-warm);
|
|
}
|
|
|
|
.letter-input:focus {
|
|
outline: none;
|
|
border-color: var(--orange);
|
|
box-shadow: 0 0 0 3px rgba(234,88,12,0.15);
|
|
}
|
|
|
|
.letter-input.filled {
|
|
background: var(--surface-warm);
|
|
border-color: var(--border-warm);
|
|
color: var(--text);
|
|
}
|
|
|
|
.letter-highlighted {
|
|
background: var(--orange-light) !important;
|
|
border-color: var(--orange) !important;
|
|
color: var(--orange) !important;
|
|
}
|
|
|
|
/* ── Popover ── */
|
|
.popover-trigger {
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 50%;
|
|
border: 1.5px solid var(--border);
|
|
background: var(--surface);
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--text-muted);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: all 0.15s;
|
|
box-shadow: 0 1px 3px var(--shadow-warm);
|
|
}
|
|
.popover-trigger:hover {
|
|
border-color: var(--orange);
|
|
color: var(--orange);
|
|
background: var(--surface-tint);
|
|
}
|
|
|
|
.actor-popover {
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
padding: 10px 16px;
|
|
box-shadow: 0 4px 20px var(--shadow-warm);
|
|
z-index: 100;
|
|
font-size: 13px;
|
|
color: var(--text);
|
|
}
|
|
|
|
/* ── Auth ── */
|
|
.page-auth {
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 56px 24px;
|
|
}
|
|
|
|
.auth-container {
|
|
width: 100%;
|
|
max-width: 420px;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
padding: 40px;
|
|
box-shadow: 0 4px 32px var(--shadow-warm);
|
|
}
|
|
|
|
.auth-container h1 {
|
|
font-family: 'Fraunces', serif;
|
|
font-size: 26px;
|
|
font-weight: 700;
|
|
text-align: center;
|
|
margin-bottom: 8px;
|
|
color: var(--text);
|
|
}
|
|
|
|
.auth-subtitle {
|
|
text-align: center;
|
|
color: var(--text-muted);
|
|
font-size: 14px;
|
|
margin-bottom: 28px;
|
|
}
|
|
|
|
.auth-container label {
|
|
display: block;
|
|
margin-bottom: 6px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--text);
|
|
}
|
|
|
|
.auth-container input[type="email"],
|
|
.auth-container input[type="password"] {
|
|
width: 100%;
|
|
padding: 11px 14px;
|
|
margin-bottom: 16px;
|
|
border: 1.5px solid var(--border);
|
|
border-radius: var(--radius-sm);
|
|
font-size: 15px;
|
|
background: var(--surface-warm);
|
|
color: var(--text);
|
|
transition: border-color 0.15s, box-shadow 0.15s;
|
|
font-family: inherit;
|
|
}
|
|
.auth-container input:focus {
|
|
outline: none;
|
|
border-color: var(--orange);
|
|
box-shadow: 0 0 0 3px rgba(234,88,12,0.12);
|
|
}
|
|
|
|
.auth-container button[type="submit"] {
|
|
width: 100%;
|
|
padding: 12px;
|
|
background: var(--orange);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 100px;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
font-family: inherit;
|
|
letter-spacing: 0.2px;
|
|
}
|
|
.auth-container button[type="submit"]:hover {
|
|
background: var(--orange-mid);
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 6px 20px rgba(234,88,12,0.3);
|
|
}
|
|
|
|
.auth-divider {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin: 20px 0;
|
|
color: var(--text-faint);
|
|
font-size: 12px;
|
|
}
|
|
.auth-divider::before, .auth-divider::after {
|
|
content: '';
|
|
flex: 1;
|
|
height: 1px;
|
|
background: var(--border);
|
|
}
|
|
|
|
.auth-link {
|
|
text-align: center;
|
|
margin-top: 20px;
|
|
font-size: 13px;
|
|
color: var(--text-muted);
|
|
}
|
|
.auth-link a { color: var(--orange); text-decoration: none; font-weight: 600; }
|
|
.auth-link a:hover { text-decoration: underline; }
|
|
|
|
/* ── Dropdown ── */
|
|
.navbar-item { position: relative; }
|
|
|
|
.dropdown-menu {
|
|
position: absolute;
|
|
top: calc(100% + 8px);
|
|
right: 0;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
box-shadow: 0 8px 32px var(--shadow-warm), 0 2px 8px rgba(0,0,0,0.06);
|
|
min-width: 210px;
|
|
z-index: 200;
|
|
padding: 6px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.dropdown-header {
|
|
padding: 8px 12px;
|
|
font-weight: 600;
|
|
font-size: 11px;
|
|
color: var(--text-faint);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.8px;
|
|
border-bottom: 1px solid var(--border);
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.dropdown-item {
|
|
display: block;
|
|
width: 100%;
|
|
padding: 9px 12px;
|
|
text-align: left;
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
color: var(--text);
|
|
text-decoration: none;
|
|
border-radius: var(--radius-sm);
|
|
transition: background 0.12s;
|
|
font-family: inherit;
|
|
}
|
|
.dropdown-item:hover { background: var(--surface-tint); color: var(--orange); }
|
|
|
|
/* ── Badge ── */
|
|
.badge {
|
|
position: absolute;
|
|
top: 2px; right: 2px;
|
|
background: var(--orange);
|
|
color: white;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
min-width: 16px;
|
|
height: 16px;
|
|
border-radius: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0 4px;
|
|
}
|
|
|
|
/* ── Demo helpers ── */
|
|
.demo-section { margin: 40px auto; max-width: 900px; padding: 0 24px; }
|
|
.demo-label {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
color: var(--text-faint);
|
|
margin-bottom: 12px;
|
|
padding-bottom: 8px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<!-- NAVBAR — Connecté -->
|
|
<nav class="navbar">
|
|
<a href="#" class="navbar-brand">Actorle</a>
|
|
<div class="navbar-right">
|
|
<div class="navbar-item">
|
|
<button class="navbar-icon">
|
|
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"/>
|
|
<path d="M13.73 21a2 2 0 0 1-3.46 0"/>
|
|
</svg>
|
|
<span class="badge">3</span>
|
|
</button>
|
|
</div>
|
|
<div class="navbar-item">
|
|
<button class="navbar-icon">
|
|
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
|
<path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"/>
|
|
<circle cx="12" cy="7" r="4"/>
|
|
</svg>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<!-- NAVBAR — Non connecté -->
|
|
<div class="demo-section" style="margin-top:24px;">
|
|
<div class="demo-label">Navbar — non connecté</div>
|
|
<nav class="navbar" style="position:relative;">
|
|
<a href="#" class="navbar-brand">Actorle</a>
|
|
<div class="navbar-right">
|
|
<a href="#" class="btn btn-primary">Se connecter</a>
|
|
</div>
|
|
</nav>
|
|
</div>
|
|
|
|
<!-- DROPDOWN (toujours visible en preview) -->
|
|
<div class="demo-section">
|
|
<div class="demo-label">Menu utilisateur</div>
|
|
<div class="dropdown-menu" style="position:relative; display:block; top:auto;">
|
|
<div class="dropdown-header">Compte</div>
|
|
<button class="dropdown-item">Importer ses films</button>
|
|
<a href="#" class="dropdown-item">Se déconnecter</a>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- GAME GRID -->
|
|
<div class="demo-section">
|
|
<div class="demo-label">Grille de jeu</div>
|
|
<div class="game-wrapper" style="padding:24px 0;">
|
|
<p class="game-header">Trouvez l'acteur — <em>4 indices</em></p>
|
|
<table id="actors">
|
|
<tbody>
|
|
<tr>
|
|
<td><input class="letter-input letter-highlighted" maxlength="1" value="M" readonly></td>
|
|
<td><input class="letter-input filled" maxlength="1" value="A" readonly></td>
|
|
<td><input class="letter-input filled" maxlength="1" value="R" readonly></td>
|
|
<td><input class="letter-input filled" maxlength="1" value="G" readonly></td>
|
|
<td><input class="letter-input filled" maxlength="1" value="O" readonly></td>
|
|
<td><input class="letter-input filled" maxlength="1" value="T" readonly></td>
|
|
<td><input class="letter-input" maxlength="1" readonly></td>
|
|
<td><input class="letter-input" maxlength="1" readonly></td>
|
|
<td><button class="popover-trigger">?</button></td>
|
|
</tr>
|
|
<tr>
|
|
<td><input class="letter-input" maxlength="1" readonly></td>
|
|
<td><input class="letter-input filled" maxlength="1" value="B" readonly></td>
|
|
<td><input class="letter-input filled" maxlength="1" value="R" readonly></td>
|
|
<td><input class="letter-input letter-highlighted" maxlength="1" value="A" readonly></td>
|
|
<td><input class="letter-input filled" maxlength="1" value="D" readonly></td>
|
|
<td><input class="letter-input" maxlength="1" readonly></td>
|
|
<td><input class="letter-input" maxlength="1" readonly></td>
|
|
<td><input class="letter-input" maxlength="1" readonly></td>
|
|
<td><button class="popover-trigger">?</button></td>
|
|
</tr>
|
|
<tr>
|
|
<td><input class="letter-input" maxlength="1" readonly></td>
|
|
<td><input class="letter-input" maxlength="1" readonly></td>
|
|
<td><input class="letter-input" maxlength="1" readonly></td>
|
|
<td><input class="letter-input letter-highlighted" maxlength="1" readonly></td>
|
|
<td><input class="letter-input" maxlength="1" readonly></td>
|
|
<td><input class="letter-input" maxlength="1" readonly></td>
|
|
<td><input class="letter-input" maxlength="1" readonly></td>
|
|
<td><input class="letter-input" maxlength="1" readonly></td>
|
|
<td><button class="popover-trigger">?</button></td>
|
|
</tr>
|
|
<tr>
|
|
<td><input class="letter-input" maxlength="1" readonly></td>
|
|
<td><input class="letter-input" maxlength="1" readonly></td>
|
|
<td><input class="letter-input" maxlength="1" readonly></td>
|
|
<td><input class="letter-input letter-highlighted" maxlength="1" readonly></td>
|
|
<td><input class="letter-input" maxlength="1" readonly></td>
|
|
<td><input class="letter-input" maxlength="1" readonly></td>
|
|
<td><input class="letter-input" maxlength="1" readonly></td>
|
|
<td><input class="letter-input" maxlength="1" readonly></td>
|
|
<td><button class="popover-trigger">?</button></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- AUTH FORM -->
|
|
<div class="demo-section">
|
|
<div class="demo-label">Formulaire de connexion</div>
|
|
<div class="auth-container">
|
|
<h1>Bon retour</h1>
|
|
<p class="auth-subtitle">Connectez-vous pour suivre vos scores</p>
|
|
<label>Email</label>
|
|
<input type="email" placeholder="vous@exemple.fr">
|
|
<label>Mot de passe</label>
|
|
<input type="password" placeholder="••••••••">
|
|
<button type="submit">Connexion</button>
|
|
<div class="auth-link" style="margin-top:16px;">
|
|
Pas encore de compte ? <a href="#">S'inscrire</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div style="height:60px;"></div>
|
|
|
|
</body>
|
|
</html>
|