PATH:
home
/
u865795251
/
domains
/
whatisnewis.com
/
public_html
/
unibiotech
/
portal
/
Editing: style.css
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); :root { --primary-color: #8A1538; /* Premium Maroon */ --primary-hover: #6c102c; --background-color: #F5F5F7; /* Apple style light grey background */ --card-bg: #FFFFFF; --text-primary: #1D1D1F; /* Apple dark grey/black */ --text-secondary: #86868B; --border-color: #D2D2D7; --input-bg: #F5F5F7; --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04); --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08); --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12); --radius-sm: 8px; --radius-md: 12px; --radius-lg: 20px; --radius-pill: 9999px; } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; } body { background-color: var(--background-color); color: var(--text-primary); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; min-height: 100vh; display: flex; flex-direction: column; } a { text-decoration: none; color: var(--primary-color); transition: color 0.2s ease; } a:hover { color: var(--primary-hover); } /* Typography */ h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.02em; } /* Material Icons Setup */ .material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; display: flex; align-items: center; justify-content: center; } /* ------------------------------------- */ /* LOGIN PAGE STYLES */ /* ------------------------------------- */ .login-container { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 20px; } .login-card { background: var(--card-bg); width: 100%; max-width: 440px; padding: 48px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); text-align: center; } .brand-logo { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; background-color: var(--primary-color); color: white; border-radius: var(--radius-md); margin-bottom: 24px; } .brand-logo .material-symbols-outlined { font-size: 32px; } .login-header h1 { font-size: 28px; margin-bottom: 8px; } .login-header p { color: var(--text-secondary); font-size: 15px; margin-bottom: 32px; } .form-group { margin-bottom: 20px; text-align: left; } .form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; color: var(--text-primary); } .input-wrapper { position: relative; display: flex; align-items: center; } .input-wrapper .material-symbols-outlined { position: absolute; left: 16px; color: var(--text-secondary); font-size: 20px; } .input-wrapper input, .input-wrapper select { width: 100%; padding: 14px 16px 14px 44px; border: 1px solid var(--border-color); border-radius: var(--radius-md); font-size: 16px; background-color: var(--card-bg); transition: all 0.2s ease; outline: none; appearance: none; } .input-wrapper.no-icon input { padding-left: 16px; } .input-wrapper select { cursor: pointer; } .input-wrapper .dropdown-icon { position: absolute; right: 16px; left: auto; pointer-events: none; } .input-wrapper input:focus, .input-wrapper select:focus { border-color: var(--primary-color); box-shadow: 0 0 0 4px rgba(138, 21, 56, 0.1); } .form-actions { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; font-size: 14px; } .checkbox-wrapper { display: flex; align-items: center; gap: 8px; cursor: pointer; } .checkbox-wrapper input[type="checkbox"] { accent-color: var(--primary-color); width: 16px; height: 16px; cursor: pointer; } .btn-primary { display: inline-flex; align-items: center; justify-content: center; width: 100%; padding: 14px 24px; background-color: var(--primary-color); color: white; font-size: 16px; font-weight: 600; border: none; border-radius: var(--radius-pill); cursor: pointer; transition: all 0.2s ease; } .btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-1px); color: white; } .login-footer { margin-top: 32px; font-size: 14px; color: var(--text-secondary); } /* ------------------------------------- */ /* DASHBOARD PANEL STYLES */ /* ------------------------------------- */ .dashboard-layout { display: flex; min-height: 100vh; } /* Sidebar */ .sidebar { width: 260px; background-color: var(--card-bg); border-right: 1px solid var(--border-color); display: flex; flex-direction: column; position: fixed; height: 100vh; z-index: 10; } .sidebar-brand { display: flex; align-items: center; gap: 12px; padding: 24px; font-size: 20px; font-weight: 700; color: var(--primary-color); border-bottom: 1px solid var(--border-color); } .sidebar-nav { padding: 24px 16px; flex: 1; } .nav-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: var(--text-primary); border-radius: var(--radius-md); margin-bottom: 8px; font-weight: 500; transition: all 0.2s ease; } .nav-item:hover { background-color: var(--background-color); } .nav-item.active { background-color: rgba(138, 21, 56, 0.08); color: var(--primary-color); } .nav-item.active .material-symbols-outlined { color: var(--primary-color); } .sidebar-footer { padding: 24px 16px; border-top: 1px solid var(--border-color); } /* Main Content */ .main-content { flex: 1; margin-left: 260px; display: flex; flex-direction: column; } .top-header { background-color: var(--card-bg); height: 72px; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 5; } .search-bar { display: flex; align-items: center; background-color: var(--background-color); border-radius: var(--radius-pill); padding: 8px 16px; width: 300px; } .search-bar input { border: none; background: transparent; padding-left: 8px; width: 100%; outline: none; font-size: 14px; } .search-bar .material-symbols-outlined { color: var(--text-secondary); font-size: 20px; } .header-actions { display: flex; align-items: center; gap: 20px; } .icon-btn { background: transparent; border: none; color: var(--text-secondary); cursor: pointer; position: relative; display: flex; align-items: center; justify-content: center; transition: color 0.2s ease; } .icon-btn:hover { color: var(--primary-color); } .notification-badge { position: absolute; top: -2px; right: -2px; width: 8px; height: 8px; background-color: var(--primary-color); border-radius: 50%; } .user-profile { display: flex; align-items: center; gap: 12px; cursor: pointer; } .avatar { width: 40px; height: 40px; border-radius: 50%; background-color: var(--primary-color); color: white; display: flex; align-items: center; justify-content: center; font-weight: 600; } .user-info { display: flex; flex-direction: column; } .user-info .name { font-weight: 600; font-size: 14px; } .user-info .role { font-size: 12px; color: var(--text-secondary); } .content-area { padding: 32px; flex: 1; } .page-title { margin-bottom: 32px; font-size: 24px; } /* Stats Cards */ .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-bottom: 32px; } .stat-card { background-color: var(--card-bg); padding: 24px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; border: 1px solid var(--border-color); } .stat-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; color: var(--text-secondary); font-size: 14px; font-weight: 500; } .stat-icon { width: 40px; height: 40px; border-radius: var(--radius-md); background-color: rgba(138, 21, 56, 0.1); color: var(--primary-color); display: flex; align-items: center; justify-content: center; } .stat-value { font-size: 32px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); } .stat-trend { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; } .trend-up { color: #34C759; /* Apple green */ } .trend-down { color: #FF3B30; /* Apple red */ } /* Data Table */ .data-section { background-color: var(--card-bg); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); overflow: hidden; margin-bottom: 32px; } .section-header { padding: 24px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; } .section-header h3 { font-size: 18px; } .btn-secondary { padding: 8px 16px; background-color: var(--background-color); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: var(--radius-pill); font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.2s ease; } .btn-secondary:hover { background-color: #E5E5EA; } .table-responsive { overflow-x: auto; } table { width: 100%; border-collapse: collapse; } th { text-align: left; padding: 16px 24px; font-size: 12px; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--border-color); background-color: #FAFAFA; } td { padding: 16px 24px; font-size: 14px; border-bottom: 1px solid var(--border-color); color: var(--text-primary); } tr:last-child td { border-bottom: none; } tr:hover td { background-color: var(--background-color); } .status-badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; } .status-success { background-color: rgba(52, 199, 89, 0.1); color: #34C759; } .status-pending { background-color: rgba(255, 149, 0, 0.1); color: #FF9500; } .status-error { background-color: rgba(255, 59, 48, 0.1); color: #FF3B30; } /* Custom layout for forms in panel */ .panel-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; } .request-card { background-color: var(--card-bg); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); padding: 32px; height: fit-content; } .request-card h3 { margin-bottom: 24px; font-size: 20px; } .form-row { display: flex; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; } .form-row .form-group { flex: 1; min-width: 200px; margin-bottom: 0; } /* Admin Action Buttons */ .btn-action-group { display: flex; gap: 8px; flex-wrap: wrap; } .btn-approve { padding: 6px 12px; background-color: #34C759; color: white; border: none; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; } .btn-approve:hover { background-color: #2eb350; transform: translateY(-1px); } .btn-reject { padding: 6px 12px; background-color: #FF3B30; color: white; border: none; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; } .btn-reject:hover { background-color: #e6352b; transform: translateY(-1px); } /* Mobile Menu Button */ .mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; color: var(--text-primary); margin-right: 16px; padding: 8px; border-radius: 8px; transition: background 0.2s; } .mobile-menu-btn:hover { background-color: var(--background-color); } .mobile-menu-btn .material-symbols-outlined { font-size: 28px; } .close-menu-btn { display: none; background: none; border: none; cursor: pointer; color: var(--text-primary); padding: 4px; border-radius: 8px; } .close-menu-btn:hover { background-color: var(--background-color); } /* User Info text formatting */ .user-info { display: flex; flex-direction: column; } /* Responsive */ @media (max-width: 1024px) { .sidebar { transform: translateX(-100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: var(--shadow-lg); } .sidebar.open { transform: translateX(0) !important; } .main-content { margin-left: 0; width: 100%; } .mobile-menu-btn, .close-menu-btn { display: flex !important; align-items: center; justify-content: center; } .panel-grid { grid-template-columns: 1fr; } } @media (max-width: 768px) { .login-card { padding: 32px 24px; margin: 16px; } .stats-grid { grid-template-columns: 1fr; } .top-header { padding: 0 16px; } .search-bar { display: none; } .content-area { padding: 16px; } .panel-grid { grid-template-columns: 1fr; } .request-card { padding: 24px; } .section-header { flex-direction: column; align-items: flex-start; gap: 16px; } th, td { padding: 12px 16px; } }
SAVE
CANCEL