File manager - Edit - /home/webapp69.cm.in.th/u69319090037/Shop/assets/css/custom.css
Back
/* Custom styles for CMTC Shopping */ :root { --primary-color: #0d6efd; --glass-bg: rgba(255, 255, 255, 0.45); --glass-border: rgba(255, 255, 255, 0.25); --card-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.08); --transition-speed: 0.3s; } body { font-family: 'Sarabun', 'Inter', sans-serif; background-color: #e2e8f0 !important; background: radial-gradient(ellipse 80% 50% at 20% -10%, rgba(99, 102, 241, 0.45) 0%, transparent 60%), radial-gradient(ellipse 60% 40% at 85% 15%, rgba(14, 165, 233, 0.45) 0%, transparent 60%), radial-gradient(circle 500px at 50% 50%, rgba(236, 72, 153, 0.3) 0%, transparent 60%), radial-gradient(circle 600px at 15% 85%, rgba(168, 85, 247, 0.35) 0%, transparent 60%), radial-gradient(circle 700px at 85% 90%, rgba(16, 185, 129, 0.3) 0%, transparent 60%), linear-gradient(rgba(99, 102, 241, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(99, 102, 241, 0.06) 1px, transparent 1px), linear-gradient(135deg, #eef2f6 0%, #e2e8f0 100%) !important; background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 32px 32px, 32px 32px, 100% 100% !important; background-attachment: fixed !important; min-height: 100vh; transition: background-color var(--transition-speed), color var(--transition-speed); } [data-bs-theme="dark"] body { background-color: #07090e !important; background: radial-gradient(ellipse 80% 50% at 20% -10%, rgba(99, 102, 241, 0.5) 0%, transparent 60%), radial-gradient(ellipse 60% 40% at 85% 15%, rgba(14, 165, 233, 0.45) 0%, transparent 60%), radial-gradient(circle 500px at 50% 50%, rgba(217, 70, 239, 0.35) 0%, transparent 60%), radial-gradient(circle 600px at 15% 85%, rgba(244, 63, 94, 0.35) 0%, transparent 60%), radial-gradient(circle 700px at 85% 90%, rgba(6, 182, 212, 0.4) 0%, transparent 60%), linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(135deg, #090d16 0%, #030508 100%) !important; background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 32px 32px, 32px 32px, 100% 100% !important; background-attachment: fixed !important; --glass-bg: rgba(15, 20, 32, 0.85); --glass-border: rgba(255, 255, 255, 0.15); --card-shadow: 0 10px 30px 0 rgba(0, 0, 0, 0.5); } /* Egg/Cream Theme (สีไข่ละมุนถนอมสายตา มีมิติแสงอุ่น) */ [data-bs-theme="egg"] body { background-color: #f7f1e7; background-image: radial-gradient(circle at 15% 15%, rgba(245, 158, 11, 0.25) 0px, transparent 45%), radial-gradient(circle at 85% 10%, rgba(251, 191, 36, 0.3) 0px, transparent 45%), radial-gradient(circle at 50% 45%, rgba(217, 119, 6, 0.15) 0px, transparent 50%), radial-gradient(circle at 10% 75%, rgba(253, 230, 138, 0.35) 0px, transparent 45%), radial-gradient(circle at 90% 85%, rgba(245, 158, 11, 0.22) 0px, transparent 45%), linear-gradient(rgba(120, 53, 15, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(120, 53, 15, 0.035) 1px, transparent 1px); background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 28px 28px, 28px 28px; background-attachment: fixed; color: #4a3728; --bs-body-color: #4a3728; --bs-body-bg: #f7f1e7; --bs-card-bg: #fcfaf7; --bs-border-color: #e8ded2; --bs-tertiary-bg: #ede1d1; --glass-bg: rgba(252, 250, 247, 0.85); --glass-border: rgba(210, 195, 180, 0.5); --card-shadow: 0 8px 30px 0 rgba(120, 53, 15, 0.07); } [data-bs-theme="egg"] .navbar { background-color: #4a3728 !important; border-bottom: 2px solid #6e503b !important; } [data-bs-theme="egg"] .card, [data-bs-theme="egg"] .product-card, [data-bs-theme="egg"] .filter-card { background-color: #fbf9f6 !important; color: #4a3728 !important; border-color: #e5dcd0 !important; } [data-bs-theme="egg"] .text-muted { color: #8a7360 !important; } /* Glassmorphism Cards with 3D Lighting */ .glass-card { background: var(--glass-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--glass-border); border-radius: 16px; box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255, 255, 255, 0.3) inset; transition: all var(--transition-speed) cubic-bezier(0.16, 1, 0.3, 1); } .glass-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.6) inset; } [data-bs-theme="dark"] .glass-card { box-shadow: 0 12px 36px -8px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08) inset; } [data-bs-theme="dark"] .glass-card:hover { box-shadow: 0 22px 48px -10px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.18) inset; } /* Sidebar Styling */ .sidebar { min-height: 100vh; background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%); color: #cbd5e1; width: 260px; transition: all var(--transition-speed); } .sidebar .nav-link { color: #cbd5e1; padding: 12px 20px; border-radius: 8px; margin: 4px 15px; display: flex; align-items: center; gap: 12px; transition: all var(--transition-speed); } .sidebar .nav-link:hover, .sidebar .nav-link.active { background-color: rgba(255, 255, 255, 0.1); color: #ffffff; } .sidebar .nav-link.active { background-color: var(--primary-color); } /* Product Card Zoom */ .product-img-hover { transition: transform var(--transition-speed) ease; } .product-img-container:hover .product-img-hover { transform: scale(1.08); } .product-img-container { overflow: hidden; position: relative; } /* Skeleton Loading */ .skeleton { background-color: #e2e8f0; background-image: linear-gradient(90deg, #e2e8f0 0px, #f1f5f9 40px, #e2e8f0 80px); background-size: 250px 100%; background-repeat: no-repeat; animation: shimmer 1.5s infinite linear; } @keyframes shimmer { 0% { background-position: -250px 0; } 100% { background-position: 250px 0; } } /* Custom Yellow/Egg Color for Theme Toggle Icons */ #btnThemeToggle .bi-moon-fill { color: #fef08a !important; /* Soft Egg/Cream Yellow */ filter: drop-shadow(0 0 4px rgba(254, 240, 138, 0.6)); transition: transform 0.3s ease; } #btnThemeToggle .bi-sun-fill { color: #f59e0b !important; /* Golden Egg Yolk Yellow */ filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.8)); transition: transform 0.3s ease; } #btnThemeToggle .bi-egg-fill { color: #fbbf24 !important; /* Egg Yolk Yellow */ filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.7)); transition: transform 0.3s ease; } #btnThemeToggle:hover i { transform: scale(1.2) rotate(15deg); }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 1.26 |
proxy
|
phpinfo
|
Settings