🤩 File Manager - Mr.X
PHP:
8.3.33
Server:
Apache
OS:
Linux 5.14.0-611.49.1.el9_7.x86_64
User:
websparkit
Navigate
Upload:
Upload
New File
New Folder
Editing:gallery.css
/* ========================================================== gallery.css — Royal Curtain Full Fabric Gallery ========================================================== */ @import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:wght@700&display=swap'); :root { --royal-blue: #0A2540; --gold: #D4AF37; --gold-dark: #AA8C2C; --card-bg: #fff; --card-border: #E8EDF3; --text-dark: #1E293B; --text-muted: #64748B; --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1); } body { font-family: 'Outfit', sans-serif; background: #F4F7FB; } .text-gold { color: var(--gold) !important; } .brand-font { font-family: 'Playfair Display', serif; } .btn-whatsapp { background:#25D366; color:#fff; font-weight:600; border:none; } .btn-whatsapp:hover { background:#1EB857; color:#fff; } .btn-gold { background:var(--gold); color:var(--royal-blue); font-weight:700; border:none; } .btn-gold:hover { background:var(--gold-dark); color:#fff; } /* ─── CATEGORY FILTER TABS ───────────────────────────────── */ .gallery-tabs { border-bottom: 2px solid rgba(212, 175, 55, 0.15); padding-bottom: 1.5rem; margin-bottom: 1.5rem; } .btn-gallery-tab { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.7); padding: 0.65rem 1.6rem; font-weight: 600; font-size: 0.88rem; border-radius: 30px; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 0.8px; cursor: pointer; } .btn-gallery-tab:hover { color: #d4af37; border-color: #d4af37; background: rgba(212, 175, 55, 0.06); transform: translateY(-1px); } .btn-gallery-tab.active { background: #d4af37; color: #0c0f14; border-color: #d4af37; box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3); } /* ─── HERO ──────────────────────────────────────────────── */ .gallery-hero { position: relative; min-height: 400px; display: flex; align-items: center; background: url('../images/slider/curtain_4.jpeg') no-repeat center center; background-size: cover; overflow: hidden; } .gallery-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,37,64,0.94) 0%, rgba(20,55,90,0.88) 100%); } .gallery-hero .z-1 { z-index: 1; position: relative; } .gallery-hero-badge { background: rgba(212,175,55,0.15); border: 1px solid rgba(212,175,55,0.4); color: var(--gold); font-size: 0.78rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 0.4rem 1.2rem; border-radius: 50px; } .text-white-75 { color: rgba(255,255,255,0.75) !important; } .hero-stat { text-align: center; } .hero-stat-num { display: block; font-size: 1.8rem; font-weight: 800; color: var(--gold); line-height: 1; } .hero-stat-label { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; } .hero-stat-divider { width: 1px; background: rgba(255,255,255,0.15); height: 40px; align-self: center; } /* ─── CONTROLS BAR ─────────────────────────────────────── */ .gallery-controls-bar { background: #fff; border-bottom: 1px solid var(--card-border); padding: 1rem 0; box-shadow: 0 2px 12px rgba(10,37,64,0.06); } .sticky-controls { position: sticky; top: 56px; z-index: 100; } .gallery-search-wrap { position: relative; display: flex; align-items: center; } .search-icon { position: absolute; left: 14px; color: var(--text-muted); font-size: 0.9rem; pointer-events: none; } .gallery-search-input { width: 100%; padding: 0.6rem 2.5rem 0.6rem 2.6rem; border: 1px solid var(--card-border); border-radius: 50px; font-size: 0.9rem; font-family: 'Outfit', sans-serif; outline: none; transition: var(--transition); background: #F8FAFC; } .gallery-search-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,0.15); background: #fff; } .search-clear-btn { position: absolute; right: 10px; display: none; align-items: center; justify-content: center; width: 24px; height: 24px; background: var(--text-muted); border: none; border-radius: 50%; color: white; font-size: 0.75rem; cursor: pointer; transition: var(--transition); } .search-clear-btn:hover { background: #ef4444; } .gallery-select { width: 100%; padding: 0.6rem 1rem; border: 1px solid var(--card-border); border-radius: 50px; font-size: 0.9rem; font-family: 'Outfit', sans-serif; background: #F8FAFC; outline: none; cursor: pointer; transition: var(--transition); } .gallery-select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,0.12); } .view-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--card-border); background: #F8FAFC; color: var(--text-muted); font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); flex-shrink: 0; } .view-btn:hover, .view-btn.active { background: var(--royal-blue); color: var(--gold); border-color: var(--royal-blue); } /* ─── GALLERY SECTION ───────────────────────────────────── */ .gallery-section { padding: 2.5rem 0 3rem; } /* ── Standard Grid (default) ── */ .gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.1rem; } /* ── Large Grid ── */ .gallery-grid.gallery-large-view { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; } /* ── List View ── */ .gallery-grid.gallery-list-view { grid-template-columns: 1fr; gap: 0.75rem; } .gallery-list-view .gallery-card { display: flex; flex-direction: row; align-items: center; border-radius: 12px; height: 80px; } .gallery-list-view .gallery-card-img-wrap { width: 80px; height: 80px; flex-shrink: 0; border-radius: 10px 0 0 10px; } .gallery-list-view .gallery-card-footer { padding: 0 1rem; flex: 1; display: flex; justify-content: space-between; align-items: center; } .gallery-list-view .gc-name { font-size: 0.95rem; } /* ─── GALLERY CARD ──────────────────────────────────────── */ .gallery-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 14px; overflow: hidden; transition: var(--transition); box-shadow: 0 2px 10px rgba(10,37,64,0.05); } .gallery-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(10,37,64,0.12); } .gallery-card-img-wrap { position: relative; overflow: hidden; height: 200px; cursor: pointer; background: #f0f0f0; } .gallery-large-view .gallery-card-img-wrap { height: 260px; } .gallery-list-view .gallery-card-img-wrap { height: 80px; } .gallery-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.45s ease, filter 0.3s; filter: brightness(0.95); } .gallery-card:hover .gallery-card-img-wrap img { transform: scale(1.07); filter: brightness(0.75); } .gallery-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,37,64,0.8) 0%, transparent 55%); opacity: 0; transition: opacity 0.3s; display: flex; flex-direction: column; justify-content: space-between; padding: 0.75rem; } .gallery-card:hover .gallery-card-overlay { opacity: 1; } .gc-badge { align-self: flex-start; background: rgba(212,175,55,0.92); color: #1E293B; font-size: 0.68rem; font-weight: 800; letter-spacing: 1px; padding: 0.25rem 0.65rem; border-radius: 50px; white-space: nowrap; } .gc-zoom { align-self: flex-end; width: 36px; height: 36px; background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1rem; transition: background 0.2s; } .gallery-card:hover .gc-zoom { background: rgba(212,175,55,0.85); } .gallery-card-footer { padding: 0.65rem 0.85rem; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--card-border); background: #f8f9fa; } .gc-name { font-size: 0.82rem; font-weight: 600; color: var(--text-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 140px; } .gc-width { font-size: 0.72rem; color: var(--text-muted); background: #F1F5F9; padding: 0.15rem 0.5rem; border-radius: 50px; white-space: nowrap; flex-shrink: 0; } /* ─── CTA SECTION ───────────────────────────────────────── */ .gallery-cta-section { background: linear-gradient(135deg, #0A2540 0%, #0D3060 100%); } /* ─── LIGHTBOX ──────────────────────────────────────────── */ .rc-lightbox { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; padding: 1rem; } .rc-lightbox.active { opacity: 1; pointer-events: all; } .rc-lightbox-backdrop { position: absolute; inset: 0; background: rgba(5,10,25,0.95); cursor: pointer; } .rc-lightbox-panel { position: relative; z-index: 1; width: 100%; max-width: 900px; background: #0A2540; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,0.75); border: 1px solid rgba(212,175,55,0.2); transform: scale(0.92); transition: transform 0.3s; display: flex; flex-direction: column; } .rc-lightbox.active .rc-lightbox-panel { transform: scale(1); } .rc-lb-img-wrap { position: relative; width: 100%; max-height: 68vh; background: #000; display: flex; align-items: center; justify-content: center; min-height: 200px; } .rc-lb-img-wrap.loading .rc-lb-loading { display: flex; } .rc-lb-img-wrap.loading img { opacity: 0.2; } .rc-lb-loading { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,0.3); } .rc-lb-img-wrap img { width: 100%; max-height: 68vh; object-fit: contain; transition: opacity 0.2s; } .rc-lb-caption { padding: 1.2rem 1.5rem; border-top: 1px solid rgba(212,175,55,0.15); } .rc-lb-counter { font-size: 0.78rem; } .rc-lb-close { position: absolute; top: 0.85rem; right: 0.85rem; z-index: 10; width: 38px; height: 38px; background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; color: #fff; font-size: 1rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); } .rc-lb-close:hover { background: var(--gold); color: #1E293B; } .rc-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 46px; height: 46px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; color: #fff; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); backdrop-filter: blur(4px); } .rc-lb-nav:hover { background: var(--gold); color: #1E293B; border-color: var(--gold); } .rc-lb-prev { left: 0.75rem; } .rc-lb-next { right: 0.75rem; } /* ─── RESPONSIVE ────────────────────────────────────────── */ @media (max-width: 991px) { .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); } .sticky-controls { top: 0; } } @media (max-width: 575px) { .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.75rem; } .gallery-card-img-wrap { height: 150px; } .rc-lightbox-panel { border-radius: 12px; } }
Save Changes
Cancel
Create New File
Create New Folder