update
This commit is contained in:
@@ -2,33 +2,81 @@
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
/* Custom scrollbar styles */
|
||||
/* Luxury Hotel Design System - Custom Properties */
|
||||
:root {
|
||||
/* Luxury Gold Palette */
|
||||
--luxury-gold: #d4af37;
|
||||
--luxury-gold-light: #f5d76e;
|
||||
--luxury-gold-dark: #c9a227;
|
||||
--luxury-gold-accent: #e8c547;
|
||||
|
||||
/* Luxury Dark Palette */
|
||||
--luxury-black: #0f0f0f;
|
||||
--luxury-black-light: #1a1a1a;
|
||||
--luxury-black-medium: #2a2a2a;
|
||||
--luxury-gray-dark: #3a3a3a;
|
||||
|
||||
/* Luxury Grays */
|
||||
--luxury-gray-50: #fafafa;
|
||||
--luxury-gray-100: #f5f5f5;
|
||||
--luxury-gray-200: #e5e5e5;
|
||||
--luxury-gray-300: #d4d4d4;
|
||||
--luxury-gray-400: #a3a3a3;
|
||||
--luxury-gray-500: #737373;
|
||||
--luxury-gray-600: #525252;
|
||||
--luxury-gray-700: #404040;
|
||||
--luxury-gray-800: #262626;
|
||||
--luxury-gray-900: #171717;
|
||||
|
||||
/* Luxury Shadows */
|
||||
--shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
||||
--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
||||
--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
||||
--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
|
||||
--shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
|
||||
--shadow-luxury: 0 4px 20px rgba(212, 175, 55, 0.15);
|
||||
--shadow-luxury-gold: 0 8px 30px rgba(212, 175, 55, 0.25);
|
||||
|
||||
/* Luxury Gradients */
|
||||
--gradient-gold: linear-gradient(135deg, #d4af37 0%, #f5d76e 100%);
|
||||
--gradient-gold-dark: linear-gradient(135deg, #c9a227 0%, #d4af37 100%);
|
||||
--gradient-dark: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
|
||||
--gradient-overlay: linear-gradient(180deg, rgba(15, 15, 15, 0.8) 0%, rgba(15, 15, 15, 0.4) 100%);
|
||||
--gradient-gold-overlay: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(245, 215, 110, 0.05) 100%);
|
||||
}
|
||||
|
||||
/* Custom scrollbar styles - Luxury Hotel */
|
||||
::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background: #f1f1f1;
|
||||
background: var(--luxury-black-light);
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: #888;
|
||||
border-radius: 4px;
|
||||
background: linear-gradient(180deg, var(--luxury-gold) 0%, var(--luxury-gold-dark) 100%);
|
||||
border-radius: 8px;
|
||||
border: 2px solid var(--luxury-black-light);
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background: #555;
|
||||
background: linear-gradient(180deg, var(--luxury-gold-light) 0%, var(--luxury-gold) 100%);
|
||||
}
|
||||
|
||||
/* Base styles */
|
||||
/* Base styles - Luxury Hotel Typography */
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI',
|
||||
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
|
||||
'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans',
|
||||
'Droid Sans', 'Helvetica Neue', sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
background: #fafafa;
|
||||
color: var(--luxury-gray-900);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
code {
|
||||
@@ -36,15 +84,174 @@ code {
|
||||
'Courier New', monospace;
|
||||
}
|
||||
|
||||
/* Luxury Hotel Components */
|
||||
@layer components {
|
||||
/* Luxury Card */
|
||||
.luxury-card {
|
||||
@apply bg-white rounded-sm shadow-lg border border-gray-100;
|
||||
@apply transition-all duration-300 ease-out;
|
||||
@apply hover:shadow-xl hover:shadow-[#d4af37]/10;
|
||||
@apply hover:-translate-y-1;
|
||||
}
|
||||
|
||||
/* Luxury Card with Gold Border */
|
||||
.luxury-card-gold {
|
||||
@apply bg-white rounded-sm shadow-lg;
|
||||
@apply relative overflow-hidden;
|
||||
@apply transition-all duration-300 ease-out;
|
||||
@apply hover:shadow-xl hover:shadow-[#d4af37]/20;
|
||||
@apply border-t-2 border-[#d4af37];
|
||||
}
|
||||
|
||||
/* Luxury Dark Card */
|
||||
.luxury-card-dark {
|
||||
@apply bg-gradient-to-b from-[#1a1a1a] to-[#0f0f0f] rounded-sm shadow-2xl;
|
||||
@apply border border-[#d4af37]/20;
|
||||
@apply transition-all duration-300 ease-out;
|
||||
@apply hover:shadow-[#d4af37]/30 hover:border-[#d4af37]/40;
|
||||
}
|
||||
|
||||
/* Luxury Button Primary */
|
||||
.btn-luxury-primary {
|
||||
@apply px-6 py-3 rounded-sm font-medium tracking-wide;
|
||||
@apply bg-gradient-to-r from-[#d4af37] to-[#c9a227] text-[#0f0f0f];
|
||||
@apply shadow-lg shadow-[#d4af37]/30;
|
||||
@apply transition-all duration-300 ease-out;
|
||||
@apply hover:from-[#f5d76e] hover:to-[#d4af37];
|
||||
@apply hover:shadow-xl hover:shadow-[#d4af37]/40;
|
||||
@apply hover:-translate-y-0.5;
|
||||
@apply active:translate-y-0;
|
||||
@apply disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:translate-y-0;
|
||||
@apply relative overflow-hidden;
|
||||
}
|
||||
|
||||
.btn-luxury-primary::before {
|
||||
content: '';
|
||||
@apply absolute inset-0 bg-gradient-to-r from-white/0 via-white/20 to-white/0;
|
||||
@apply translate-x-[-100%] transition-transform duration-700;
|
||||
}
|
||||
|
||||
.btn-luxury-primary:hover::before {
|
||||
@apply translate-x-[100%];
|
||||
}
|
||||
|
||||
/* Luxury Button Secondary */
|
||||
.btn-luxury-secondary {
|
||||
@apply px-6 py-3 rounded-sm font-medium tracking-wide;
|
||||
@apply bg-white/10 backdrop-blur-sm text-white border border-[#d4af37]/30;
|
||||
@apply transition-all duration-300 ease-out;
|
||||
@apply hover:bg-[#d4af37]/10 hover:border-[#d4af37] hover:text-[#d4af37];
|
||||
@apply hover:-translate-y-0.5;
|
||||
@apply active:translate-y-0;
|
||||
}
|
||||
|
||||
/* Luxury Section Header */
|
||||
.luxury-section-header {
|
||||
@apply mb-8 pb-4 border-b border-[#d4af37]/20;
|
||||
}
|
||||
|
||||
.luxury-section-title {
|
||||
@apply text-3xl md:text-4xl font-serif font-semibold;
|
||||
@apply text-gray-900 tracking-tight;
|
||||
@apply mb-2;
|
||||
}
|
||||
|
||||
.luxury-section-subtitle {
|
||||
@apply text-gray-600 text-lg font-light;
|
||||
@apply tracking-wide;
|
||||
}
|
||||
|
||||
/* Luxury Stat Card */
|
||||
.luxury-stat-card {
|
||||
@apply luxury-card p-6;
|
||||
@apply relative overflow-hidden;
|
||||
}
|
||||
|
||||
.luxury-stat-card::before {
|
||||
content: '';
|
||||
@apply absolute top-0 left-0 w-1 h-full;
|
||||
background: var(--gradient-gold);
|
||||
}
|
||||
|
||||
/* Luxury Table */
|
||||
.luxury-table {
|
||||
@apply w-full;
|
||||
}
|
||||
|
||||
.luxury-table thead {
|
||||
@apply bg-gradient-to-r from-gray-50 to-gray-100;
|
||||
@apply border-b-2 border-[#d4af37]/30;
|
||||
}
|
||||
|
||||
.luxury-table th {
|
||||
@apply px-6 py-4 text-left text-xs font-semibold;
|
||||
@apply text-gray-700 uppercase tracking-wider;
|
||||
@apply border-b-2 border-gray-200;
|
||||
}
|
||||
|
||||
.luxury-table td {
|
||||
@apply px-6 py-4 whitespace-nowrap text-sm text-gray-900;
|
||||
@apply border-b border-gray-100;
|
||||
}
|
||||
|
||||
.luxury-table tbody tr {
|
||||
@apply transition-colors duration-150;
|
||||
@apply hover:bg-[#d4af37]/5;
|
||||
}
|
||||
|
||||
/* Luxury Badge */
|
||||
.luxury-badge {
|
||||
@apply inline-flex items-center px-3 py-1 rounded-sm;
|
||||
@apply text-xs font-medium tracking-wide;
|
||||
@apply transition-all duration-200;
|
||||
@apply bg-[#d4af37]/10 text-[#c9a227] border border-[#d4af37]/30;
|
||||
}
|
||||
|
||||
/* Luxury Input */
|
||||
.luxury-input {
|
||||
@apply w-full px-4 py-3 rounded-sm border border-gray-300;
|
||||
@apply focus:ring-2 focus:ring-[#d4af37]/50 focus:border-[#d4af37];
|
||||
@apply transition-all duration-200;
|
||||
@apply bg-white text-gray-900;
|
||||
@apply placeholder:text-gray-400;
|
||||
@apply font-light tracking-wide;
|
||||
}
|
||||
|
||||
/* Luxury Gradient Background */
|
||||
.luxury-gradient-bg {
|
||||
background: var(--gradient-gold);
|
||||
}
|
||||
|
||||
/* Luxury Glass Effect */
|
||||
.luxury-glass {
|
||||
@apply bg-white/90 backdrop-blur-xl;
|
||||
@apply border border-[#d4af37]/20;
|
||||
@apply shadow-2xl;
|
||||
}
|
||||
}
|
||||
|
||||
/* Custom utilities */
|
||||
@layer utilities {
|
||||
.text-balance {
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
/* Luxury Shadows */
|
||||
.shadow-luxury {
|
||||
box-shadow: var(--shadow-luxury);
|
||||
}
|
||||
|
||||
.shadow-luxury-lg {
|
||||
box-shadow: var(--shadow-luxury-gold);
|
||||
}
|
||||
|
||||
.shadow-luxury-gold {
|
||||
box-shadow: 0 8px 30px rgba(212, 175, 55, 0.25);
|
||||
}
|
||||
|
||||
/* Smooth fade-in animation */
|
||||
.animate-fade-in {
|
||||
animation: fadeIn 0.3s ease-in-out;
|
||||
animation: fadeIn 0.4s ease-out;
|
||||
}
|
||||
|
||||
@keyframes fadeIn {
|
||||
@@ -60,7 +267,7 @@ code {
|
||||
|
||||
/* Slide-in animation */
|
||||
.animate-slide-in {
|
||||
animation: slideIn 0.4s ease-out;
|
||||
animation: slideIn 0.5s ease-out;
|
||||
}
|
||||
|
||||
@keyframes slideIn {
|
||||
@@ -76,7 +283,7 @@ code {
|
||||
|
||||
/* Scale-in animation */
|
||||
.animate-scale-in {
|
||||
animation: scaleIn 0.3s ease-out;
|
||||
animation: scaleIn 0.4s ease-out;
|
||||
}
|
||||
|
||||
@keyframes scaleIn {
|
||||
@@ -94,6 +301,79 @@ code {
|
||||
.transition-smooth {
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
.transition-enterprise {
|
||||
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
}
|
||||
|
||||
/* Slide up animation */
|
||||
.animate-slide-up {
|
||||
animation: slideUp 0.4s ease-out;
|
||||
}
|
||||
|
||||
@keyframes slideUp {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(20px);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
}
|
||||
|
||||
/* Pulse animation for enterprise */
|
||||
.animate-pulse-enterprise {
|
||||
animation: pulseEnterprise 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
||||
}
|
||||
|
||||
@keyframes pulseEnterprise {
|
||||
0%, 100% {
|
||||
opacity: 1;
|
||||
}
|
||||
50% {
|
||||
opacity: 0.8;
|
||||
}
|
||||
}
|
||||
|
||||
/* Shimmer animation for skeleton loading - Enhanced */
|
||||
@keyframes shimmer {
|
||||
0% {
|
||||
background-position: -1000px 0;
|
||||
}
|
||||
100% {
|
||||
background-position: 1000px 0;
|
||||
}
|
||||
}
|
||||
|
||||
.animate-shimmer {
|
||||
animation: shimmer 2s infinite;
|
||||
background: linear-gradient(
|
||||
to right,
|
||||
#f1f5f9 0%,
|
||||
#e2e8f0 20%,
|
||||
#f1f5f9 40%,
|
||||
#f1f5f9 100%
|
||||
);
|
||||
background-size: 1000px 100%;
|
||||
}
|
||||
|
||||
/* Luxury gradient text */
|
||||
.text-gradient-luxury {
|
||||
@apply bg-gradient-to-r from-[#d4af37] via-[#f5d76e] to-[#d4af37];
|
||||
@apply bg-clip-text text-transparent;
|
||||
}
|
||||
|
||||
.text-gradient-luxury-dark {
|
||||
@apply bg-gradient-to-r from-gray-900 via-gray-800 to-gray-900;
|
||||
@apply bg-clip-text text-transparent;
|
||||
}
|
||||
|
||||
/* Luxury backdrop blur */
|
||||
.backdrop-blur-luxury {
|
||||
backdrop-filter: blur(12px);
|
||||
-webkit-backdrop-filter: blur(12px);
|
||||
}
|
||||
}
|
||||
|
||||
/* Image loading optimization */
|
||||
|
||||
Reference in New Issue
Block a user