Redesign client cabinet UI with capsule nav and card layouts
This commit is contained in:
@@ -1,12 +1,72 @@
|
||||
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&display=swap');
|
||||
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
:root {
|
||||
--brand-primary: #0f766e;
|
||||
--brand-secondary: #1d4ed8;
|
||||
--brand-primary: #139957;
|
||||
--brand-primary-deep: #0d854a;
|
||||
--brand-secondary: #ff5600;
|
||||
--brand-surface: #f4fbf7;
|
||||
--brand-muted: #d8eee1;
|
||||
--brand-ink: #0f2f20;
|
||||
}
|
||||
|
||||
body {
|
||||
@apply bg-base-200 text-base-content;
|
||||
font-family: 'Manrope', 'Segoe UI', sans-serif;
|
||||
@apply text-base-content;
|
||||
background:
|
||||
radial-gradient(circle at 8% 10%, rgba(19, 153, 87, 0.3), transparent 35%),
|
||||
radial-gradient(circle at 92% 0%, rgba(255, 86, 0, 0.16), transparent 28%),
|
||||
linear-gradient(160deg, #f7fcf9 0%, #edf7f0 44%, #f4fbf7 100%);
|
||||
color: var(--brand-ink);
|
||||
}
|
||||
|
||||
.lk-shell {
|
||||
@apply min-h-screen;
|
||||
}
|
||||
|
||||
.surface-card {
|
||||
border: 1px solid color-mix(in srgb, var(--brand-primary) 16%, #ffffff 84%);
|
||||
background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(244, 251, 247, 0.9));
|
||||
box-shadow: 0 20px 48px rgba(13, 133, 74, 0.1);
|
||||
}
|
||||
|
||||
.glass-capsule {
|
||||
border: 1px solid rgba(255, 255, 255, 0.42);
|
||||
background: linear-gradient(120deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.12));
|
||||
backdrop-filter: blur(10px);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
|
||||
}
|
||||
|
||||
.lk-nav-link {
|
||||
@apply inline-flex items-center gap-2 rounded-full px-4 py-2 text-sm font-semibold transition-all duration-200;
|
||||
color: rgba(255, 255, 255, 0.85);
|
||||
}
|
||||
|
||||
.lk-nav-link:hover {
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.lk-nav-link-active {
|
||||
background: #ffffff;
|
||||
color: var(--brand-primary-deep);
|
||||
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
|
||||
}
|
||||
|
||||
.product-card-anim {
|
||||
animation: product-card-in 0.55s ease-out both;
|
||||
}
|
||||
|
||||
@keyframes product-card-in {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(14px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user