UI: complete redesign — warm atelier style, Manrope font, burnt orange accent, shadow-based cards

This commit is contained in:
2026-05-29 13:34:58 +03:00
parent 7fa7394739
commit 4bf9ea22dd
20 changed files with 493 additions and 496 deletions

View File

@@ -2,29 +2,31 @@
@plugin "tailwindcss-animate";
:root {
--bg: #fafaf9;
--surface: #ffffff;
--surface-hover: #f5f5f4;
--fg: #0c0c0c;
--fg-secondary: #737373;
--fg-tertiary: #a3a3a3;
--primary: #2563eb;
--primary-hover: #1d4ed8;
--primary-light: #eff6ff;
--primary-soft: rgba(37, 99, 235, 0.06);
--secondary: #f5f5f4;
--border: #e7e5e4;
--border-light: #f0efed;
--danger: #dc2626;
--danger-hover: #b91c1c;
--danger-light: #fef2f2;
--success: #16a34a;
--success-light: #f0fdf4;
--radius: 10px;
--bg: #F5F3EE;
--surface: #FFFFFF;
--surface-hover: #F9F7F3;
--fg: #1C1917;
--fg-secondary: #78716C;
--fg-tertiary: #A8A29E;
--accent: #C2410C;
--accent-hover: #9A3412;
--accent-soft: rgba(194, 65, 12, 0.07);
--accent-light: #FFF7ED;
--secondary: #F5F3EE;
--border: #E7E5E4;
--border-light: #F0EDE8;
--danger: #DC2626;
--danger-hover: #B91C1C;
--danger-light: #FEF2F2;
--success: #15803D;
--success-light: #F0FDF4;
--radius: 12px;
--radius-lg: 16px;
--shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
--shadow-md: 0 4px 16px rgba(0,0,0,0.06);
--shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
--radius-xl: 24px;
--shadow-sm: 0 1px 2px rgba(28,25,23,0.04);
--shadow-md: 0 2px 8px rgba(28,25,23,0.06);
--shadow-lg: 0 8px 24px rgba(28,25,23,0.08);
--shadow-xl: 0 16px 48px rgba(28,25,23,0.12);
}
* { border-color: var(--border); }
@@ -32,142 +34,143 @@
body {
background: var(--bg);
color: var(--fg);
font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display",
"Segoe UI", Roboto, sans-serif;
font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
line-height: 1.5;
letter-spacing: -0.015em;
line-height: 1.6;
letter-spacing: -0.01em;
}
::selection { background: var(--primary); color: white; }
::selection { background: var(--accent); color: white; }
/* ── Animations ── */
@keyframes rise {
from { opacity: 0; transform: translateY(10px); }
@keyframes fade-up {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes scale-in {
from { opacity: 0; transform: scale(0.95); }
from { opacity: 0; transform: scale(0.96); }
to { opacity: 1; transform: scale(1); }
}
@keyframes pop {
0% { transform: scale(1); }
40% { transform: scale(1.3); }
50% { transform: scale(1.25); }
100% { transform: scale(1); }
}
@keyframes toast-in {
from { opacity: 0; transform: translateY(12px) scale(0.95); }
from { opacity: 0; transform: translateY(8px) scale(0.96); }
to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes skeleton {
0% { opacity: 0.5; }
50% { opacity: 1; }
100% { opacity: 0.5; }
@keyframes shimmer {
0% { background-position: -200% 0; }
100% { background-position: 200% 0; }
}
@keyframes slide-up {
from { transform: translateY(100%); }
to { transform: translateY(0); }
}
.animate-rise { animation: rise 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.animate-scale-in { animation: scale-in 0.25s cubic-bezier(0.16, 1, 0.3, 1); }
.animate-pop { animation: pop 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.animate-toast-in { animation: toast-in 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.animate-skeleton { animation: skeleton 1.5s ease-in-out infinite; }
.animate-fade-up { animation: fade-up 0.4s cubic-bezier(0.16, 1, 0.3, 1) both; }
.animate-fade-in { animation: fade-in 0.3s ease both; }
.animate-scale-in { animation: scale-in 0.25s cubic-bezier(0.16, 1, 0.3, 1) both; }
.animate-pop { animation: pop 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.animate-toast-in { animation: toast-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) both; }
.animate-slide-up { animation: slide-up 0.35s cubic-bezier(0.16, 1, 0.3, 1) both; }
/* ── Card ── */
.stagger-1 { animation-delay: 30ms; }
.stagger-2 { animation-delay: 60ms; }
.stagger-3 { animation-delay: 90ms; }
.skeleton-shimmer {
background: linear-gradient(90deg, var(--border-light) 25%, var(--border) 50%, var(--border-light) 75%);
background-size: 200% 100%;
animation: shimmer 1.5s ease infinite;
}
.card {
background: var(--surface);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-sm);
transition: box-shadow 0.2s, transform 0.15s;
transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card-hover:hover {
box-shadow: var(--shadow-md);
transform: translateY(-1px);
}
.card-interactive:hover {
box-shadow: var(--shadow-md);
}
/* ── Avatar ── */
.avatar {
.avatar-colored {
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: 600;
font-weight: 700;
color: white;
background: var(--primary);
user-select: none;
}
/* ── Button Icon ── */
.btn-icon {
.btn-ghost {
display: inline-flex;
align-items: center;
justify-content: center;
border-radius: 9999px;
border-radius: 50%;
transition: background 0.15s, transform 0.1s;
cursor: pointer;
border: none;
background: transparent;
}
.btn-icon:active { transform: scale(0.88); }
/* ── Tags ── */
.btn-ghost:active { transform: scale(0.9); }
.btn-ghost:hover { background: var(--border-light); }
.tag {
display: inline-flex;
align-items: center;
gap: 0.25rem;
padding: 0.125rem 0.625rem;
padding: 0.15rem 0.55rem;
border-radius: 9999px;
font-size: 0.6875rem;
font-weight: 600;
letter-spacing: 0.01em;
}
/* ── Gradient text ── */
.text-gradient {
background: linear-gradient(135deg, #2563eb, #7c3aed);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* ── Focus ── */
.focus-ring {
transition: border-color 0.15s, box-shadow 0.15s;
}
.focus-ring:focus {
border-color: var(--primary);
box-shadow: 0 0 0 3px var(--primary-soft);
border-color: var(--accent);
box-shadow: 0 0 0 3px var(--accent-soft);
outline: none;
}
/* ── Utility ── */
.text-secondary { color: var(--fg-secondary); }
.text-tertiary { color: var(--fg-tertiary); }
/* ── Glass nav ── */
.glass {
background: rgba(255,255,255,0.72);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border-bottom: 1px solid rgba(231,229,228,0.5);
.nav-glass {
background: rgba(245, 243, 238, 0.85);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
}
/* ── Image shimmer ── */
.img-shimmer {
position: relative;
overflow: hidden;
.divider {
height: 1px;
background: var(--border-light);
width: 100%;
}
.img-shimmer::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
animation: skeleton 1.5s ease-in-out infinite;
.stat-value {
font-variant-numeric: tabular-nums;
font-weight: 700;
letter-spacing: -0.02em;
}
.page-enter { opacity: 0; }
.page-enter-active { opacity: 1; transition: opacity 0.2s ease; }
@media (max-width: 640px) {
.mobile-full { border-radius: 0 !important; margin-left: -1rem; margin-right: -1rem; width: calc(100% + 2rem); }
}