update theme
This commit is contained in:
@@ -1,152 +1,240 @@
|
||||
body {
|
||||
background-color: skyblue;
|
||||
font-family: 'Noto Sans', sans-serif;
|
||||
/* ============================================================
|
||||
SUNRISE — Lumineux, éditorial, chaleureux
|
||||
============================================================ */
|
||||
|
||||
*, *::before, *::after { box-sizing: border-box; }
|
||||
|
||||
:root {
|
||||
--bg: #fef6ee;
|
||||
--surface: #ffffff;
|
||||
--surface-warm: #fff7ed;
|
||||
--surface-tint: #ffedd5;
|
||||
--orange: #ea580c;
|
||||
--orange-mid: #f97316;
|
||||
--orange-light: #fed7aa;
|
||||
--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;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* ── Game grid ── */
|
||||
|
||||
#actors {
|
||||
border-collapse: collapse;
|
||||
margin: 40px auto;
|
||||
border-collapse: separate;
|
||||
border-spacing: 5px;
|
||||
margin: 56px auto;
|
||||
}
|
||||
|
||||
#actors td {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.letter-input {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
border: 2px solid #d1d5db;
|
||||
border-radius: 4px;
|
||||
font-family: 'Inter', sans-serif;
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
border: 2px solid var(--border);
|
||||
border-radius: var(--radius-sm);
|
||||
text-transform: uppercase;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
background: var(--surface);
|
||||
color: var(--text);
|
||||
transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
|
||||
box-shadow: 0 1px 3px var(--shadow-warm);
|
||||
}
|
||||
|
||||
.letter-input:focus {
|
||||
outline: none;
|
||||
border-color: #2563eb;
|
||||
border-color: var(--orange);
|
||||
box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
|
||||
}
|
||||
|
||||
.letter-highlighted {
|
||||
background-color: #fecaca;
|
||||
border-color: #dc2626;
|
||||
background-color: var(--orange-light);
|
||||
border-color: var(--orange);
|
||||
color: var(--orange);
|
||||
}
|
||||
|
||||
/* ── Popover ── */
|
||||
|
||||
.popover-trigger {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border-radius: 50%;
|
||||
border: 1px solid #d1d5db;
|
||||
background: white;
|
||||
border: 1.5px solid var(--border);
|
||||
background: var(--surface);
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
color: #6b7280;
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: var(--text-muted);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: border-color 0.15s, color 0.15s, background 0.15s;
|
||||
box-shadow: 0 1px 3px var(--shadow-warm);
|
||||
}
|
||||
|
||||
.popover-trigger:hover {
|
||||
background: #f3f4f6;
|
||||
border-color: var(--orange);
|
||||
color: var(--orange);
|
||||
background: var(--surface-tint);
|
||||
}
|
||||
|
||||
.actor-popover {
|
||||
background: white;
|
||||
border: 1px solid #d1d5db;
|
||||
border-radius: 8px;
|
||||
padding: 12px 16px;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
||||
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: 14px;
|
||||
font-size: 13px;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
/* ── Auth pages ── */
|
||||
|
||||
.auth-container {
|
||||
max-width: 400px;
|
||||
max-width: 420px;
|
||||
margin: 80px auto;
|
||||
padding: 32px;
|
||||
background: white;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
||||
padding: 40px;
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-lg);
|
||||
box-shadow: 0 4px 32px var(--shadow-warm);
|
||||
}
|
||||
|
||||
.auth-container h1 {
|
||||
margin: 0 0 24px;
|
||||
font-family: 'Fraunces', serif;
|
||||
font-size: 26px;
|
||||
font-weight: 700;
|
||||
text-align: center;
|
||||
margin: 0 0 28px;
|
||||
letter-spacing: -0.3px;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.auth-container label {
|
||||
display: block;
|
||||
margin-bottom: 4px;
|
||||
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: 8px 12px;
|
||||
padding: 11px 14px;
|
||||
margin-bottom: 16px;
|
||||
border: 1px solid #ccc;
|
||||
border-radius: 4px;
|
||||
font-size: 16px;
|
||||
box-sizing: border-box;
|
||||
border: 1.5px solid var(--border);
|
||||
border-radius: var(--radius-sm);
|
||||
font-size: 15px;
|
||||
font-family: 'Inter', sans-serif;
|
||||
background: var(--surface-warm);
|
||||
color: var(--text);
|
||||
transition: border-color 0.15s, box-shadow 0.15s;
|
||||
}
|
||||
|
||||
.auth-container input[type="email"]:focus,
|
||||
.auth-container input[type="password"]: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: 10px;
|
||||
background: #2563eb;
|
||||
padding: 12px;
|
||||
background: var(--orange);
|
||||
color: white;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
font-size: 16px;
|
||||
border-radius: 100px;
|
||||
font-family: 'Inter', sans-serif;
|
||||
font-size: 15px;
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
|
||||
}
|
||||
|
||||
.auth-container button[type="submit"]:hover {
|
||||
background: #1d4ed8;
|
||||
background: var(--orange-mid);
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 6px 20px rgba(234, 88, 12, 0.3);
|
||||
}
|
||||
|
||||
.auth-error {
|
||||
background: #fef2f2;
|
||||
color: #dc2626;
|
||||
padding: 12px;
|
||||
border-radius: 4px;
|
||||
border-radius: var(--radius-sm);
|
||||
margin-bottom: 16px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.auth-link {
|
||||
text-align: center;
|
||||
margin-top: 16px;
|
||||
margin-top: 20px;
|
||||
font-size: 13px;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.auth-link a {
|
||||
color: #2563eb;
|
||||
color: var(--orange);
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Navbar */
|
||||
.auth-link a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* ── Navbar ── */
|
||||
|
||||
.navbar {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 8px 24px;
|
||||
background: white;
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
|
||||
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: 18px;
|
||||
color: #1f2937;
|
||||
font-size: 22px;
|
||||
letter-spacing: -0.3px;
|
||||
color: var(--orange);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.navbar-left,
|
||||
.navbar-right {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.navbar-item {
|
||||
@@ -159,24 +247,27 @@ body {
|
||||
cursor: pointer;
|
||||
padding: 8px;
|
||||
border-radius: 50%;
|
||||
color: #4b5563;
|
||||
position: relative;
|
||||
color: var(--text-muted);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
transition: background 0.15s, color 0.15s;
|
||||
}
|
||||
|
||||
.navbar-icon:hover {
|
||||
background: #f3f4f6;
|
||||
background: var(--surface-tint);
|
||||
color: var(--orange);
|
||||
}
|
||||
|
||||
/* Badge */
|
||||
/* ── Badge ── */
|
||||
|
||||
.badge {
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
right: 2px;
|
||||
background: #dc2626;
|
||||
background: var(--orange);
|
||||
color: white;
|
||||
font-size: 11px;
|
||||
font-size: 10px;
|
||||
font-weight: 700;
|
||||
min-width: 16px;
|
||||
height: 16px;
|
||||
@@ -187,62 +278,70 @@ body {
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
/* Dropdown */
|
||||
/* ── Dropdown ── */
|
||||
|
||||
.dropdown-menu {
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
top: calc(100% + 8px);
|
||||
right: 0;
|
||||
background: white;
|
||||
border: 1px solid #e5e7eb;
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
||||
min-width: 200px;
|
||||
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: 4px 0;
|
||||
margin-top: 4px;
|
||||
padding: 6px;
|
||||
}
|
||||
|
||||
.dropdown-header {
|
||||
padding: 8px 16px;
|
||||
padding: 8px 12px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
font-size: 13px;
|
||||
color: #6b7280;
|
||||
border-bottom: 1px solid #e5e7eb;
|
||||
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: 8px 16px;
|
||||
padding: 9px 12px;
|
||||
text-align: left;
|
||||
background: none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
font-family: 'Inter', sans-serif;
|
||||
font-size: 14px;
|
||||
color: #1f2937;
|
||||
color: var(--text);
|
||||
text-decoration: none;
|
||||
border-radius: var(--radius-sm);
|
||||
transition: background 0.12s, color 0.12s;
|
||||
}
|
||||
|
||||
.dropdown-item:hover {
|
||||
background: #f3f4f6;
|
||||
background: var(--surface-tint);
|
||||
color: var(--orange);
|
||||
}
|
||||
|
||||
.dropdown-empty {
|
||||
padding: 12px 16px;
|
||||
color: #9ca3af;
|
||||
color: var(--text-faint);
|
||||
font-size: 13px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Notifications */
|
||||
/* ── Notifications ── */
|
||||
|
||||
.notifications-list {
|
||||
max-height: 300px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.notification-item {
|
||||
padding: 8px 16px;
|
||||
border-bottom: 1px solid #f3f4f6;
|
||||
padding: 10px 16px;
|
||||
border-bottom: 1px solid var(--surface-warm);
|
||||
}
|
||||
|
||||
.notification-item:last-child {
|
||||
@@ -250,25 +349,26 @@ body {
|
||||
}
|
||||
|
||||
.notification-item p {
|
||||
margin: 0 0 2px;
|
||||
margin: 0 0 3px;
|
||||
font-size: 13px;
|
||||
color: #1f2937;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.notification-item time {
|
||||
font-size: 11px;
|
||||
color: #9ca3af;
|
||||
color: var(--text-faint);
|
||||
}
|
||||
|
||||
.notification-unread {
|
||||
background: #eff6ff;
|
||||
background: var(--surface-warm);
|
||||
}
|
||||
|
||||
/* Modal */
|
||||
/* ── Modal ── */
|
||||
|
||||
.modal-overlay {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
background: rgba(0, 0, 0, 0.4);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -280,78 +380,100 @@ body {
|
||||
}
|
||||
|
||||
.modal {
|
||||
background: white;
|
||||
border-radius: 12px;
|
||||
background: var(--surface);
|
||||
border-radius: var(--radius-lg);
|
||||
width: 100%;
|
||||
max-width: 480px;
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
|
||||
box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
|
||||
}
|
||||
|
||||
.modal-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 16px 24px;
|
||||
border-bottom: 1px solid #e5e7eb;
|
||||
padding: 20px 28px;
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.modal-header h2 {
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.modal-close {
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 24px;
|
||||
font-size: 22px;
|
||||
cursor: pointer;
|
||||
color: #6b7280;
|
||||
color: var(--text-muted);
|
||||
padding: 0;
|
||||
line-height: 1;
|
||||
transition: color 0.12s;
|
||||
}
|
||||
|
||||
.modal-close:hover {
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.modal-body {
|
||||
padding: 24px;
|
||||
padding: 24px 28px;
|
||||
}
|
||||
|
||||
.modal-body p {
|
||||
margin: 0 0 16px;
|
||||
color: #4b5563;
|
||||
color: var(--text-muted);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.modal-footer {
|
||||
padding: 16px 24px;
|
||||
border-top: 1px solid #e5e7eb;
|
||||
padding: 16px 28px;
|
||||
border-top: 1px solid var(--border);
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* ── Buttons ── */
|
||||
|
||||
.btn {
|
||||
padding: 8px 20px;
|
||||
padding: 9px 20px;
|
||||
border: none;
|
||||
border-radius: 6px;
|
||||
border-radius: 100px;
|
||||
font-family: 'Inter', sans-serif;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background: #2563eb;
|
||||
background: var(--orange);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background: #1d4ed8;
|
||||
background: var(--orange-mid);
|
||||
transform: translateY(-1px);
|
||||
box-shadow: 0 4px 16px rgba(234, 88, 12, 0.25);
|
||||
}
|
||||
|
||||
.btn-primary:disabled {
|
||||
background: #93c5fd;
|
||||
background: var(--orange-light);
|
||||
color: var(--text-muted);
|
||||
cursor: not-allowed;
|
||||
transform: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
/* ── Modal feedback ── */
|
||||
|
||||
.modal-feedback {
|
||||
margin-top: 12px;
|
||||
padding: 8px 12px;
|
||||
border-radius: 4px;
|
||||
padding: 10px 14px;
|
||||
border-radius: var(--radius-sm);
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user