🤩 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:admin.css
/* =================================== VELORA Admin Panel Styles =================================== */ :root { --primary-rose-gold: #B76E79; --luxury-pink: #E8A4B8; --soft-pink: #F8D7E2; --white: #FFFFFF; --light-marble: #F8F8F8; --dark-text: #2B2B2B; --sidebar-bg: #1a1a2e; --sidebar-color: #b8b8c8; --sidebar-active: #B76E79; --topbar-bg: #ffffff; --content-bg: #f5f5f9; --card-shadow: 0 2px 10px rgba(0,0,0,0.05); --card-shadow-hover: 0 5px 20px rgba(0,0,0,0.1); --gradient-rose: linear-gradient(135deg, #B76E79 0%, #E8A4B8 100%); --font-primary: 'Inter', sans-serif; --font-heading: 'Playfair Display', serif; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: var(--font-primary); background: var(--content-bg); color: var(--dark-text); font-size: 14px; } h1, h2, h3, h4, h5, h6 { font-family: var(--font-primary); color: var(--dark-text); } a { text-decoration: none; color: var(--primary-rose-gold); } a:hover { color: var(--luxury-pink); } /* Layout */ .admin-wrapper { display: flex; min-height: 100vh; } /* Sidebar */ .admin-sidebar { width: 260px; background: var(--sidebar-bg); color: var(--sidebar-color); position: fixed; top: 0; left: 0; bottom: 0; display: flex; flex-direction: column; transition: all 0.3s ease; z-index: 1000; } .sidebar-header { padding: 25px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); text-align: center; } .sidebar-header .logo { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 700; color: var(--white); letter-spacing: 4px; background: var(--gradient-rose); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin: 0; } .sidebar-header .logo-sub { color: var(--sidebar-color); font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase; margin-top: 5px; } .sidebar-nav { flex: 1; overflow-y: auto; padding: 20px 0; } .sidebar-nav ul { list-style: none; padding: 0; margin: 0; } .sidebar-nav li a { display: flex; align-items: center; gap: 12px; padding: 12px 25px; color: var(--sidebar-color); transition: all 0.3s ease; position: relative; font-size: 0.9rem; } .sidebar-nav li a i { width: 20px; text-align: center; font-size: 1rem; } .sidebar-nav li a:hover { background: rgba(183, 110, 121, 0.1); color: var(--white); } .sidebar-nav li a.active { color: var(--white); background: rgba(183, 110, 121, 0.15); } .sidebar-nav li a.active::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gradient-rose); } .sidebar-footer { padding: 20px; border-top: 1px solid rgba(255,255,255,0.05); } .logout-btn { display: flex; align-items: center; gap: 10px; color: var(--sidebar-color); padding: 10px 15px; border-radius: 8px; transition: all 0.3s ease; } .logout-btn:hover { background: rgba(220, 53, 69, 0.15); color: #ff6b6b; } /* Main Content */ .admin-main { flex: 1; margin-left: 260px; min-height: 100vh; transition: all 0.3s ease; } /* Top Bar */ .admin-topbar { background: var(--topbar-bg); padding: 15px 30px; display: flex; align-items: center; gap: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; } .sidebar-toggle { background: transparent; border: none; font-size: 1.2rem; color: var(--dark-text); cursor: pointer; padding: 8px; border-radius: 8px; transition: all 0.3s ease; display: none; } .sidebar-toggle:hover { background: var(--soft-pink); color: var(--primary-rose-gold); } .page-title { font-size: 1.4rem; font-weight: 600; margin: 0; flex: 1; } .topbar-actions { display: flex; align-items: center; gap: 20px; } .topbar-action { width: 40px; height: 40px; background: var(--content-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--dark-text); transition: all 0.3s ease; position: relative; } .topbar-action:hover { background: var(--soft-pink); color: var(--primary-rose-gold); transform: translateY(-2px); } .admin-profile { display: flex; align-items: center; gap: 10px; padding: 5px 10px; border-radius: 50px; transition: all 0.3s ease; cursor: pointer; } .admin-profile:hover { background: var(--content-bg); } .profile-avatar { width: 40px; height: 40px; background: var(--gradient-rose); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; } /* Content */ .admin-content { padding: 30px; } /* Cards */ .admin-card { background: var(--white); border-radius: 16px; padding: 25px; box-shadow: var(--card-shadow); margin-bottom: 25px; transition: all 0.3s ease; } .admin-card:hover { box-shadow: var(--card-shadow-hover); } .admin-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid #f0f0f0; } .admin-card-title { font-size: 1.1rem; font-weight: 600; margin: 0; color: var(--dark-text); } /* Stat Cards */ .stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 30px; } .stat-card { background: var(--white); border-radius: 16px; padding: 25px; box-shadow: var(--card-shadow); transition: all 0.3s ease; position: relative; overflow: hidden; } .stat-card::before { content: ''; position: absolute; top: -30px; right: -30px; width: 100px; height: 100px; background: var(--gradient-rose); border-radius: 50%; opacity: 0.1; } .stat-card:hover { transform: translateY(-5px); box-shadow: var(--card-shadow-hover); } .stat-icon { width: 60px; height: 60px; border-radius: 16px; background: var(--gradient-rose); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 15px; } .stat-icon.green { background: linear-gradient(135deg, #28a745, #20c997); } .stat-icon.blue { background: linear-gradient(135deg, #007bff, #00bfff); } .stat-icon.orange { background: linear-gradient(135deg, #fd7e14, #ffc107); } .stat-icon.purple { background: linear-gradient(135deg, #6f42c1, #d63384); } .stat-icon.cyan { background: linear-gradient(135deg, #17a2b8, #20c997); } .stat-value { font-size: 1.8rem; font-weight: 700; color: var(--dark-text); margin-bottom: 5px; } .stat-label { color: #6c757d; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; } .stat-change { margin-top: 10px; font-size: 0.8rem; color: var(--success); } .stat-change.down { color: var(--danger); } /* Tables */ .admin-table { width: 100%; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--card-shadow); } .admin-table thead th { background: #f8f9fa; padding: 15px; font-weight: 600; color: var(--dark-text); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 2px solid #e9ecef; text-align: left; } .admin-table tbody td { padding: 15px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; } .admin-table tbody tr:hover { background: #fafafa; } .admin-table tbody tr:last-child td { border-bottom: none; } /* Buttons */ .btn-admin { padding: 10px 20px; border-radius: 50px; border: none; cursor: pointer; font-size: 0.85rem; font-weight: 500; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: 0.5px; } .btn-primary-admin { background: var(--gradient-rose); color: var(--white); } .btn-primary-admin:hover { background: var(--primary-rose-gold); color: var(--white); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(183, 110, 121, 0.3); } .btn-secondary-admin { background: #6c757d; color: var(--white); } .btn-danger-admin { background: #dc3545; color: var(--white); } .btn-success-admin { background: #28a745; color: var(--white); } .btn-outline-admin { background: transparent; border: 2px solid var(--primary-rose-gold); color: var(--primary-rose-gold); } .btn-outline-admin:hover { background: var(--primary-rose-gold); color: var(--white); } .btn-sm-admin { padding: 6px 12px; font-size: 0.75rem; } .btn-icon { width: 35px; height: 35px; padding: 0; border-radius: 50%; justify-content: center; } /* Forms */ .form-group-admin { margin-bottom: 20px; } .form-label-admin { display: block; margin-bottom: 8px; font-weight: 500; color: var(--dark-text); font-size: 0.9rem; } .form-control-admin { width: 100%; padding: 10px 15px; border: 2px solid #e9ecef; border-radius: 8px; font-size: 0.9rem; transition: all 0.3s ease; font-family: inherit; } .form-control-admin:focus { outline: none; border-color: var(--primary-rose-gold); box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.1); } textarea.form-control-admin { resize: vertical; min-height: 100px; } select.form-control-admin { cursor: pointer; } /* Status Badges */ .status-badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; } .status-pending { background: #fff3cd; color: #856404; } .status-processing { background: #cce5ff; color: #004085; } .status-shipped { background: #d1ecf1; color: #0c5460; } .status-delivered { background: #d4edda; color: #155724; } .status-cancelled { background: #f8d7da; color: #721c24; } .status-active { background: #d4edda; color: #155724; } .status-inactive { background: #f8d7da; color: #721c24; } /* Image Preview */ .image-preview { width: 100px; height: 100px; border-radius: 8px; object-fit: cover; border: 2px solid #e9ecef; } .image-preview-lg { width: 150px; height: 150px; } /* Login Page Specific */ .login-page { background: linear-gradient(135deg, #F8D7E2 0%, #FFFFFF 50%, #E8A4B8 100%); min-height: 100vh; display: flex; align-items: center; justify-content: center; } /* Search Box */ .search-box { position: relative; max-width: 300px; margin-bottom: 20px; } .search-box input { width: 100%; padding: 10px 40px 10px 15px; border: 2px solid #e9ecef; border-radius: 50px; font-size: 0.9rem; } .search-box input:focus { outline: none; border-color: var(--primary-rose-gold); } .search-box i { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: #6c757d; } /* Data Table Wrapper */ .data-table-wrapper { background: var(--white); border-radius: 16px; padding: 25px; box-shadow: var(--card-shadow); } /* Pagination */ .admin-pagination { display: flex; gap: 5px; margin-top: 20px; justify-content: center; flex-wrap: wrap; } .admin-pagination a, .admin-pagination span { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid #e9ecef; border-radius: 8px; color: var(--dark-text); transition: all 0.3s ease; font-size: 0.85rem; } .admin-pagination a:hover { background: var(--soft-pink); border-color: var(--primary-rose-gold); color: var(--primary-rose-gold); } .admin-pagination .active { background: var(--gradient-rose); border-color: var(--primary-rose-gold); color: var(--white); } /* Modal Custom */ .modal-content { border-radius: 16px; border: none; } .modal-header { background: var(--gradient-rose); color: var(--white); border-radius: 16px 16px 0 0; border: none; } .modal-header .btn-close { filter: brightness(0) invert(1); } /* Action Buttons */ .action-buttons { display: flex; gap: 5px; } /* Empty State */ .empty-state { text-align: center; padding: 60px 20px; } .empty-state i { font-size: 4rem; color: #dee2e6; margin-bottom: 20px; } .empty-state h4 { color: #6c757d; margin-bottom: 10px; } /* Responsive */ @media (max-width: 992px) { .admin-sidebar { transform: translateX(-100%); } .admin-sidebar.show { transform: translateX(0); } .admin-main { margin-left: 0; } .sidebar-toggle { display: block; } } @media (max-width: 768px) { .admin-content { padding: 15px; } .admin-topbar { padding: 12px 15px; } .page-title { font-size: 1.1rem; } .stat-grid { grid-template-columns: 1fr; } .admin-table { font-size: 0.85rem; } .admin-table thead th, .admin-table tbody td { padding: 10px; } } /* Print */ @media print { .admin-sidebar, .admin-topbar, .btn-admin { display: none !important; } .admin-main { margin-left: 0; } } /* Chart Container */ .chart-container { background: var(--white); border-radius: 16px; padding: 25px; box-shadow: var(--card-shadow); margin-bottom: 25px; height: 350px; } /* Quick Actions */ .quick-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; } .quick-action { background: var(--white); border-radius: 12px; padding: 20px; text-align: center; transition: all 0.3s ease; border: 2px solid transparent; text-decoration: none; color: var(--dark-text); } .quick-action:hover { border-color: var(--primary-rose-gold); transform: translateY(-3px); box-shadow: var(--card-shadow-hover); color: var(--primary-rose-gold); } .quick-action i { font-size: 2rem; color: var(--primary-rose-gold); margin-bottom: 10px; } .quick-action span { display: block; font-size: 0.85rem; font-weight: 500; } /* === Admin Logo Images (must be in admin.css, not style.css) === */ .admin-sidebar-logo { width: 130px !important; height: 50px !important; max-width: 130px !important; max-height: 50px !important; min-width: 0 !important; min-height: 0 !important; object-fit: contain !important; background: var(--white); padding: 6px 10px; border-radius: 10px; margin: 0 auto 6px !important; display: block !important; box-sizing: border-box; } .admin-login-logo { width: 150px !important; height: 60px !important; max-width: 150px !important; max-height: 60px !important; min-width: 0 !important; min-height: 0 !important; object-fit: contain !important; background: rgba(255, 255, 255, 0.15); padding: 10px 14px; border-radius: 14px; margin-bottom: 24px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); }
Save Changes
Cancel
Create New File
Create New Folder