/
home
/
u764571690
/
domains
/
savitrfoundation.com
/
public_html
/
scholar
/
pages
/
css
/
/home/u764571690/domains/savitrfoundation.com/public_html/scholar/pages/css
mkdir
upload
Name
Size
Mode
Actions
daily.css
7892
0644
edit
dl
rm
style.css
41968
0644
edit
dl
rm
Edit:
/home/u764571690/domains/savitrfoundation.com/public_html/scholar/pages/css/style.css
(41968B)
* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Poppins', sans-serif; background: #f5f5f5; color: #333; background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="160" height="160" viewBox="0 0 160 160"><g fill="none" fill-opacity="0.04"><circle cx="20" cy="20" r="3" fill="%2313386c"/><circle cx="140" cy="60" r="3" fill="%23f57c00"/><rect x="80" y="110" width="8" height="8" fill="%2313386c"/><rect x="30" y="70" width="6" height="6" fill="%23f57c00"/></g></svg>'); } .top { background: #fff; border-bottom: 3px solid #f57c00; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 20; } .main { max-width: 1100px; margin: 20px auto; padding: 0 15px; } .card { background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%); border: 1px solid rgba(19, 56, 108, 0.1); border-radius: 14px; box-shadow: 0 10px 24px rgba(0,0,0,0.06); margin-bottom: 18px; overflow: hidden; } .card h2 { padding: 16px 18px; font-size: 18px; border-bottom: 1px solid #e6e9f0; display: flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #eaf1ff 0%, #fef7f0 100%); color:#13386c; } .card h2::before { content:''; display:block; width:4px; height:20px; background: linear-gradient(90deg, #f57c00, #ff9800); border-radius: 2px; } .card .content { padding: 18px; } .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; } .tabs { display:flex; gap:8px; background:#fff; border:1px solid #e0e0e0; border-radius:10px; padding:8px; margin-bottom:14px; box-shadow: 0 2px 8px rgba(0,0,0,.05); } .tab { padding:10px 14px; border-radius:8px; border:1px solid #e0e0e0; background:#fafafa; cursor:pointer; font-size:14px; color:#13386c; transition: all .2s ease; } .tab:hover { border-color:#13386c33; background:#f3f7ff; } .tab.active { background:#13386c; color:#fff; border-color:#13386c; box-shadow: 0 6px 16px rgba(19,56,108,.18); } .section { display:none; } .section.active { display:block; } /* Sidebar (desktop) */ .sidebar { position: fixed; top: 0; right: 0; width: 280px; height: 100vh; background:#ffffff; border-left:1px solid #e0e0e0; padding:16px; display:none; flex-direction: column; gap:8px; z-index: 300; transition: transform 0.3s ease; transform: translateX(100%); pointer-events: auto; } .sidebar.open { display:flex; transform: translateX(0); z-index: 300; } .sidebar .tabs { flex-direction: column; border:none; box-shadow:none; padding:0; } .sidebar .tab { width: 100%; text-align: left; cursor: pointer; pointer-events: auto; position: relative; z-index: 10; } .sidebar .tab a { pointer-events: auto; cursor: pointer; display: block; width: 100%; text-decoration: none; color: inherit; padding: 10px 14px; } .sidebar .tab:hover { border-color:#13386c33; background:#f3f7ff; } .sidebar .tab.active { background:#13386c; color:#fff; border-color:#13386c; } .sidebar .tab.active a { color: #fff; } .sidebar button { pointer-events: auto; cursor: pointer; z-index: 20; position: relative; } .sidebar * { pointer-events: auto; } /* Hamburger (all screens) */ .hamburger { display:inline-block; background:transparent; border:none; font-size:22px; cursor:pointer; padding:6px 10px; } /* Drawer (mobile) and Sidebar backdrop */ .drawer-backdrop { display:none; position: fixed; inset:0; background: rgba(0,0,0,0.25); z-index: 199; pointer-events: auto; } .drawer-backdrop.open { pointer-events: auto; } .drawer { position: fixed; top: 0; right: 0; height: 100vh; width: 280px; background:#fff; border-left:1px solid #e0e0e0; transform: translateX(100%); transition: transform .25s ease; z-index: 31; padding:16px; display:flex; flex-direction: column; gap:10px; } .drawer .tabs { flex-direction: column; border:none; box-shadow:none; padding:0; } .drawer .tab { width:100%; text-align:left; } .drawer.open { transform: translateX(0); } .drawer-backdrop.open { display:block; } /* Responsive layout */ @media (min-width: 992px) { .sidebar.open { display:flex; transform: translateX(0); } .main { max-width: 1100px; } .tabs.top-tabs { display:none; } .drawer-backdrop.open { display: block; } } @media (max-width: 991px) { .tabs.top-tabs { display:none; } .top .btn.danger { display:none; } } .grid.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); } .row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #f1f1f1; } .row:last-child { border-bottom: none; } .label { color: #13386c; min-width: 140px; font-weight:600; } .value { text-align: right; } .status { padding: 4px 10px; border-radius: 12px; font-size: 12px; display: inline-block; border:1px solid currentColor; } .status-pending { background: #fff8e6; color: #a06100; } .status-approved { background: #e7f5ee; color: #0f5132; } .status-rejected { background: #fdecea; color: #842029; } .status-disqualified { background: #fdecea; color: #842029; } .status-distributed { background: #e9f5ff; color: #13386c; } .banner-warning { background:#fff3cd; border-left:4px solid #f57c00; padding:12px 14px; margin:12px 0; border-radius:8px; color:#856404; } .banner-success { background:#d4edda; border-left:4px solid #28a745; padding:12px 14px; margin:12px 0; border-radius:8px; color:#155724; } .banner-critical { background:#fdecea; border-left:4px solid #dc3545; padding:12px 14px; margin:12px 0; border-radius:8px; color:#842029; font-weight:600; } .badge-alert { background:#dc3545; color:#fff; font-size:10px; padding:0 6px; border-radius:10px; margin-left:6px; display:inline-block; line-height:16px; height:16px; vertical-align:middle; } .marquee { background:#fff8e1; color:#7a4d00; border:1px solid #ffe0a3; border-left:4px solid #ffb300; padding:6px 10px; border-radius:6px; margin:12px 0; font-weight:600; } .banner-info { background:#e8f1ff; border-left:4px solid #13386c; padding:12px 14px; margin:12px 0; border-radius:8px; color:#0b3d91; } .btn { background: #13386c; color: #fff; border: none; padding: 10px 16px; border-radius: 8px; cursor: pointer; text-decoration: none; font-size: 14px; transition: all .2s ease; } .btn:hover { background:#1e4a7a; transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,.12); color:#fff; } .docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; } .doc { border: 1px solid #e9ecef; border-radius: 6px; padding: 12px; text-align: center; } .doc .name { font-size: 12px; color: #333; margin-top: 6px; word-break: break-all; } .doc .type { font-size: 11px; color: #666; margin-bottom: 8px; text-transform: uppercase; } .danger { background: #dc3545; } /* Dashboard stat cards */ .stat-card { border: 1px solid #e0e0e0; border-left: 4px solid #13386c; background:#fff; border-radius:10px; padding:12px; box-shadow: 0 6px 16px rgba(0,0,0,.06); transition: all 0.3s ease; } .stat-card:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,.1); } .stat-card .stat-header { display:flex; justify-content:space-between; align-items:center; color:#13386c; font-weight:600; margin-bottom:8px; } .stat-card .stat-number { font-size:24px; font-weight:800; color:#13386c; } .stat-card.approved { border-left-color:#28a745; } .stat-card.pending { border-left-color:#f57c00; } .stat-card.rejected { border-left-color:#dc3545; } /* Quick stats section */ .quick-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 20px; } .quick-stat-card { background: linear-gradient(135deg, #13386c 0%, #1e4a7a 100%); color: #fff; padding: 20px; border-radius: 12px; text-align: center; box-shadow: 0 8px 25px rgba(19,56,108,.2); transition: all 0.3s ease; } .quick-stat-card:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(19,56,108,.3); } .quick-stat-card .stat-icon { font-size: 32px; margin-bottom: 8px; opacity: 0.9; } .quick-stat-card .stat-title { font-size: 14px; opacity: 0.8; margin-bottom: 4px; } .quick-stat-card .stat-value { font-size: 28px; font-weight: 700; } /* Progress indicators */ .progress-container { background: #f8f9fa; border-radius: 8px; padding: 16px; margin: 12px 0; } .progress-step { display: flex; align-items: center; margin-bottom: 12px; } .progress-step:last-child { margin-bottom: 0; } .step-icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 12px; font-size: 14px; font-weight: bold; } .step-icon.completed { background: #28a745; color: #fff; } .step-icon.current { background: #f57c00; color: #fff; } .step-icon.pending { background: #e9ecef; color: #6c757d; } .step-text { flex: 1; } .step-title { font-weight: 600; color: #13386c; margin-bottom: 2px; } .step-desc { font-size: 13px; color: #666; } /* Enhanced card hover effects */ .card { transition: all 0.3s ease; } .card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.08); } .card h2 { transition: color 0.3s ease; } .card:hover h2 { color: #f57c00; } /* Button enhancements */ .btn { transition: all 0.3s ease; position: relative; overflow: hidden; } .btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); transition: left 0.5s; } .btn:hover::before { left: 100%; } .btn:active { transform: scale(0.98); } /* Mobile touch improvements */ @media (max-width: 768px) { .btn { min-height: 44px; padding: 12px 16px; } .card { margin-bottom: 16px; } .quick-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; } .quick-stat-card { padding: 16px; } .quick-stat-card .stat-icon { font-size: 24px; } .quick-stat-card .stat-value { font-size: 20px; } } /* Toast Notification */ .toast-container { position: fixed; top: 20px; right: 20px; z-index: 9999; } .toast { background: linear-gradient(135deg, #28a745 0%, #20c997 100%); color: #fff; padding: 16px 20px; border-radius: 12px; box-shadow: 0 8px 25px rgba(40,167,69,.3); margin-bottom: 12px; display: flex; align-items: center; gap: 12px; min-width: 300px; transform: translateX(400px); opacity: 0; transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); } .toast.show { transform: translateX(0); opacity: 1; } .toast.error { background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%); box-shadow: 0 8px 25px rgba(220,53,69,.3); } .toast.warning { background: linear-gradient(135deg, #f57c00 0%, #ff9800 100%); box-shadow: 0 8px 25px rgba(245,124,0,.3); } .toast-icon { font-size: 20px; } .toast-content { flex: 1; } .toast-title { font-weight: 600; margin-bottom: 4px; } .toast-message { font-size: 14px; opacity: 0.9; } .toast-close { background: none; border: none; color: #fff; font-size: 18px; cursor: pointer; padding: 4px; border-radius: 4px; transition: background 0.2s; } .toast-close:hover { background: rgba(255,255,255,0.2); } @media (max-width: 768px) { .toast-container { top: 10px; right: 10px; left: 10px; } .toast { min-width: auto; transform: translateY(-100px); } .toast.show { transform: translateY(0); } } /* Hero strip */ .hero-strip { position: relative; background: linear-gradient(135deg, #13386c 0%, #1e4a7a 60%, #f57c00 140%); color:#fff; border-radius: 14px; overflow:hidden; } .hero-strip .content { padding:20px; display:flex; align-items:center; gap:14px; } .avatar { width:42px; height:42px; border-radius:50%; background:#ffffff22; display:flex; align-items:center; justify-content:center; font-weight:700; letter-spacing:.5px; border:1px solid #ffffff33; } .user-chip { display:flex; flex-direction:column; line-height:1.25; } .user-chip .name { font-weight:700; } .user-chip .meta { font-size:12px; opacity:.9; } /* Quick actions */ .quick-actions { display:flex; flex-wrap:wrap; gap:8px; } .btn.outline { background:#fff; color:#13386c; border:1px solid #dbe4ff; } .btn.outline:hover { background:#f3f7ff; } .btn.secondary { background:#f57c00; } .btn.secondary:hover { background:#ff8f26; } /* Tables */ .data-table th { background:#f8fbff; color:#13386c; font-weight:600; } .data-table th, .data-table td { font-size:14px; } .data-table tr:hover td { background:#fafcff; } /* Dashboard marquee animation */ .marquee { overflow: hidden; position: relative; } .marquee span { display:inline-block; white-space:nowrap; animation: dashScroll 40s linear infinite; } @keyframes dashScroll { 0% { transform: translateX(80vw);} 100% { transform: translateX(-100%);} } /* Acknowledgment styles (scoped) */ .ack-container { background:#fff; border:1px solid #e0e0e0; border-radius:4px; padding:0; } .ack-actions { display:flex; gap:8px; justify-content:flex-end; padding:12px; border-bottom:1px solid #e0e0e0; } .ack-wrapper { max-width: 900px; margin: 0 auto; padding: 0 15px; } .ack-sheet { position: relative; background:#fff; border:1px solid #e0e0e0; border-radius:8px; padding:24px; box-shadow:0 2px 8px rgba(0,0,0,.06); overflow:hidden; } .ack-watermark { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; pointer-events:none; opacity:0.08; } .ack-watermark img { max-width: 600px; width:80%; } .ack-header-wrap { position:relative; padding-top:8px; } .ack-header-org { text-align:center; } .ack-header-logo { position:absolute; left:0; top:0; } .ack-header-logo img { height:90px; } .ack-org-title { font-weight:800; font-size:24px; letter-spacing:.5px; } .ack-org-reg { font-size:16px; margin-top:6px; } .ack-org-sub { font-size:22px; font-weight:800; margin-top:8px; } .ack-line { border-top:4px solid #000; margin:12px 0; } .ack-row-head { display:flex; justify-content:space-between; font-weight:600; margin:6px 0 12px; } .ack-ack { color:#e53935; font-weight:700; } .ack-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap:10px; } .ack-row { display:flex; justify-content:space-between; border-bottom:1px dashed #e9ecef; padding:8px 0; } .ack-label { color:#555; } .ack-value { font-weight:600; } .ack-section-title { font-size:15px; font-weight:700; margin:16px 0 8px; color:#333; } .ack-hr { border-top:1px solid #cfcfcf; margin:8px 0; } .ack-note { background:#fff3cd; border:1px solid #ffe8a1; color:#856404; padding:10px 12px; border-radius:6px; font-size:13px; margin-top:10px; } .ack-footer { margin-top:18px; display:flex; justify-content:space-between; align-items:center; color:#666; font-size:12px; } @media print { /* Print only the acknowledgment content */ body * { visibility: hidden; } #ackSection, #ackSection * { visibility: visible; } #ackSection { position: absolute; left: 0; top: 0; width: 100%; } .top, .sidebar, .drawer, .drawer-backdrop { display:none !important; } .ack-container { border:none; } .ack-actions { display:none !important; } .ack-sheet { box-shadow:none; border:none; } } @media print and (orientation: portrait) { @page { size: A4 portrait; margin: 12mm; } .ack-wrapper { max-width:none; margin:0 auto !important; } .ack-sheet { width:auto; max-width:186mm; margin:0 auto !important; padding:10mm; } .ack-header-logo { left: -6mm; } } /* Tasks Table */ .tasks-table-container { overflow-x: auto; margin-top: 20px; -webkit-overflow-scrolling: touch; } .tasks-table { width: 100%; border-collapse: collapse; background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,.08); } .tasks-table thead { background: linear-gradient(135deg, #13386c 0%, #1e4a7a 100%); color: #fff; } .tasks-table th { padding: 16px; text-align: left; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; } .tasks-table td { padding: 16px; border-bottom: 1px solid #e0e0e0; vertical-align: top; } .tasks-table tbody tr:hover { background: #f8f9fa; } .tasks-table tbody tr:last-child td { border-bottom: none; } .task-type-badge { display: inline-block; padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; } .task-type-youtube_video { background: #ff0000; color: #fff; } .task-type-youtube_channel { background: #ff4444; color: #fff; } .task-type-instagram_post { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: #fff; } .task-type-instagram_page { background: linear-gradient(45deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%); color: #fff; } .task-type-google_review { background: linear-gradient(135deg, #4285F4 0%, #34A853 50%, #FBBC05 100%); color: #fff; } .task-link { color: #13386c; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: all 0.3s; } .task-link:hover { color: #f57c00; transform: translateX(3px); } .task-status-btn { padding: 10px 20px; border-radius: 8px; border: none; font-weight: 700; font-size: 14px; cursor: pointer; transition: all 0.3s; display: inline-flex; align-items: center; gap: 8px; } .task-status-btn.incomplete { background: linear-gradient(135deg, #dc3545 0%, #c82333 100%); color: #fff; box-shadow: 0 4px 12px rgba(220,53,69,.3); } .task-status-btn.completed { background: linear-gradient(135deg, #28a745 0%, #20c997 100%); color: #fff; box-shadow: 0 4px 12px rgba(40,167,69,.3); } .task-status-btn.incomplete:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(220,53,69,.4); } /* Video Container */ .video-container { margin: 20px 0; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.15); background: #000; } .video-container iframe { width: 100%; height: 500px; border: none; } .task-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; } .action-item { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: #f5f5f5; border-radius: 8px; font-size: 13px; } .action-item.completed { background: #d4edda; color: #155724; } .action-item i { font-size: 14px; } @media (max-width: 768px) { .tasks-table-container { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 15px -10px 0 -10px; padding: 0 10px; } .tasks-table { font-size: 12px; min-width: 650px; width: 100%; } .tasks-table th, .tasks-table td { padding: 12px 8px; } .tasks-table th { font-size: 11px; white-space: nowrap; } .tasks-table td { word-wrap: break-word; } .task-type-badge { font-size: 10px; padding: 4px 8px; display: inline-block; } .task-status-btn { padding: 8px 12px; font-size: 12px; white-space: nowrap; } .card .content { padding: 15px; } .card h2 { padding: 15px 20px; font-size: 18px; } /* Stack buttons vertically on mobile */ .tasks-table td > div[style*="flex-direction:column"] { gap: 8px !important; } .tasks-table td .btn { padding: 10px 14px !important; font-size: 13px !important; width: 100%; justify-content: center; } /* Info box responsive */ .card .content > div[style*="background:linear-gradient"] { padding: 15px !important; } .card .content > div[style*="background:linear-gradient"] ul { margin-left: 15px !important; font-size: 13px !important; padding-right: 5px; } .card .content > div[style*="background:linear-gradient"] h3 { font-size: 14px !important; } .card .content > div[style*="background:linear-gradient"] li { margin-bottom: 8px; } } @media (max-width: 480px) { .tasks-table-container { margin: 10px -5px 0 -5px; padding: 0 5px; } .tasks-table { font-size: 11px; min-width: 550px; } .tasks-table th, .tasks-table td { padding: 10px 6px; } .task-status-btn { padding: 6px 10px; font-size: 11px; } .card h2 { padding: 12px 15px; font-size: 16px; } .card .content { padding: 12px; } .tasks-table td .btn { padding: 8px 12px !important; font-size: 12px !important; } } /* Tasks page specific overrides */ body { background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%); position: relative !important; overflow-x: hidden !important; min-height: 100vh; } .top { z-index: 200; } .main { max-width: 100%; width: 100%; margin: 15px auto; padding: 0 10px; } .card { border: 1px solid rgba(19, 56, 108, 0.08); border-radius: 20px; box-shadow: 0 12px 40px rgba(0,0,0,0.1), 0 0 0 1px rgba(19,56,108,.05) inset; margin-bottom: 25px; } .card h2 { padding: 22px 26px; font-size: 21px; font-weight: 800; border-bottom: 2px solid rgba(19,56,108,.08); background: linear-gradient(135deg, #eaf1ff 0%, #f0f7ff 50%, #fef7f0 100%); box-shadow: 0 2px 8px rgba(0,0,0,.03) inset; } .hamburger { z-index: 200; position: relative; } .drawer-backdrop { z-index: 250; } .drawer { z-index: 251; } .btn { background: linear-gradient(135deg, #13386c 0%, #1e4a7a 100%); padding: 12px 24px; border-radius: 10px; font-size: 15px; font-weight: 600; transition: all .3s cubic-bezier(0.4, 0, 0.2, 1); display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 4px 12px rgba(19,56,108,.2); } .btn:hover { background: linear-gradient(135deg, #1e4a7a 0%, #2a5a8a 100%); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(19,56,108,.3); } @media (max-width: 480px) { .main { padding: 0 5px; } .top { padding: 10px 15px; } } /* Leaderboard specific styles */ .banner-info { background: linear-gradient(135deg, #e8f1ff 0%, #f0f7ff 100%); border-left: 5px solid #13386c; padding: 20px 18px; margin: 20px 0; border-radius: 12px; color: #0b3d91; box-shadow: 0 4px 12px rgba(19,56,108,.1); animation: fadeInUp 0.5s ease-out; } .banner-info p { margin: 0; line-height: 1.6; } .btn.secondary { background: linear-gradient(135deg, #f57c00 0%, #ff9800 100%); box-shadow: 0 4px 12px rgba(245,124,0,.3); } .btn.secondary:hover { background: linear-gradient(135deg, #ff9800 0%, #ffab40 100%); box-shadow: 0 6px 20px rgba(245,124,0,.4); } .leaderboard-container { max-width: 100%; width: 100%; margin: 0 auto; position: relative; padding: 0; } /* Month Tabs */ .month-tabs { display: flex; gap: 12px; margin-bottom: 25px; background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); padding: 8px; border-radius: 16px; box-shadow: 0 6px 20px rgba(0,0,0,.1), 0 0 0 1px rgba(19,56,108,.05) inset; position: sticky; top: 61px; z-index: 100; backdrop-filter: blur(10px); } .month-tab { flex: 1; padding: 14px 24px; border-radius: 12px; border: none; background: transparent; cursor: pointer; text-align: center; font-weight: 700; font-size: 15px; color: #666; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; } .month-tab::before { content: ''; position: absolute; inset: 0; border-radius: 12px; background: rgba(19,56,108,.05); opacity: 0; transition: opacity 0.3s; } .month-tab:hover::before { opacity: 1; } .month-tab:hover { color: #13386c; transform: translateY(-1px); } .month-tab.active { background: linear-gradient(135deg, #13386c 0%, #1e4a7a 100%); color: #fff; box-shadow: 0 6px 20px rgba(19,56,108,.3), 0 2px 8px rgba(19,56,108,.2); transform: translateY(-2px); } .month-tab.active::before { display: none; } .month-tab i { font-size: 16px; } .month-content { display: none; } .month-content.active { display: block; } /* Sticky User Rank */ .sticky-user-rank { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); max-width: 900px; width: 100%; background: linear-gradient(135deg, #13386c 0%, #1e4a7a 50%, #2a5a8a 100%); color: #fff; padding: 14px 24px; box-shadow: 0 -8px 32px rgba(0,0,0,.25), 0 0 0 1px rgba(255,255,255,.1) inset; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 4px solid #f57c00; border-radius: 20px 20px 0 0; backdrop-filter: blur(10px); } .sticky-user-rank.hidden { display: none; } .sticky-rank-info { display: flex; align-items: center; gap: 12px; flex: 1; } .sticky-rank-position { font-size: 22px; font-weight: 900; min-width: 60px; text-shadow: 0 2px 8px rgba(0,0,0,.2); background: rgba(255,255,255,.15); padding: 8px 12px; border-radius: 12px; backdrop-filter: blur(10px); } .sticky-rank-details { flex: 1; } .sticky-rank-name { font-weight: 800; font-size: 16px; margin-bottom: 4px; text-shadow: 0 1px 4px rgba(0,0,0,.2); } .sticky-rank-stats { font-size: 13px; opacity: 0.95; display: flex; gap: 16px; } .sticky-rank-stats span { background: rgba(255,255,255,.15); padding: 4px 10px; border-radius: 8px; backdrop-filter: blur(10px); display: flex; align-items: center; gap: 4px; } /* Add padding to main content for sticky rank */ .main-content-wrapper { padding-bottom: 70px; } /* Enhanced Stats Card */ .stats-card { background: linear-gradient(135deg, #13386c 0%, #1e4a7a 50%, #2a5a8a 100%); color: #fff; padding: 30px 25px; border-radius: 16px; text-align: center; box-shadow: 0 12px 40px rgba(19,56,108,.25), 0 0 0 1px rgba(255,255,255,.1) inset; margin-bottom: 30px; position: relative; overflow: hidden; animation: fadeInUp 0.6s ease-out; } .stats-card::before { content: ''; position: absolute; top: -50%; right: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,.1) 0%, transparent 70%); animation: shimmer 3s infinite; } .stats-card .stat-label { font-size: 13px; opacity: 0.85; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; margin-bottom: 8px; } .stats-card .stat-value { font-size: 42px; font-weight: 800; margin: 12px 0; text-shadow: 0 2px 10px rgba(0,0,0,.2); background: linear-gradient(135deg, #fff 0%, #e3f2fd 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .stats-card .stat-details { font-size: 15px; opacity: 0.9; margin-top: 12px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; } .stats-card .stat-details span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: rgba(255,255,255,.15); border-radius: 20px; backdrop-filter: blur(10px); } /* Enhanced Rank Cards */ .rank-card { display: flex; align-items: center; padding: 5px 10px; border: 1px solid rgba(19,56,108,.1); background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%); box-shadow: 0 4px 16px rgba(0,0,0,.08), 0 0 0 1px rgba(19,56,108,.03) inset; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; animation: fadeInUp 0.5s ease-out; animation-fill-mode: both; } .rank-card::before { content: ''; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, #13386c, #f57c00); opacity: 0; transition: opacity 0.3s; } .rank-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,.15), 0 0 0 1px rgba(19,56,108,.1) inset; border-color: rgba(19,56,108,.2); } .rank-card:hover::before { opacity: 1; } .rank-card.first { border-color: #ffd700; background: linear-gradient(135deg, #fff9db 0%, #fffef0 50%, #fff9db 100%); box-shadow: 0 6px 24px rgba(255,215,0,.35), 0 0 0 2px rgba(255,215,0,.2) inset; } .rank-card.first:hover { box-shadow: 0 10px 35px rgba(255,215,0,.45), 0 0 0 2px rgba(255,215,0,.3) inset; transform: translateY(-3px); } .rank-card.second { border-color: #c0c0c0; background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 50%, #f5f5f5 100%); box-shadow: 0 6px 24px rgba(192,192,192,.35), 0 0 0 2px rgba(255,255,255,.3) inset; } .rank-card.second:hover { box-shadow: 0 10px 35px rgba(192,192,192,.45), 0 0 0 2px rgba(255,255,255,.4) inset; transform: translateY(-3px); } .rank-card.third { border-color: #cd7f32; background: linear-gradient(135deg, #fdf5e6 0%, #fff8f0 50%, #fdf5e6 100%); box-shadow: 0 6px 24px rgba(205,127,50,.35), 0 0 0 2px rgba(255,255,255,.2) inset; } .rank-card.third:hover { box-shadow: 0 10px 35px rgba(205,127,50,.45), 0 0 0 2px rgba(255,255,255,.3) inset; transform: translateY(-3px); } /* Enhanced Rank Position */ .rank-position { width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 21px; margin-right: 20px; border-radius: 16px; box-shadow: 0 6px 18px rgba(0,0,0,.2), 0 0 0 2px rgba(255,255,255,.3) inset; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); flex-shrink: 0; position: relative; } .rank-position::before { content: ''; position: absolute; inset: 0; border-radius: 16px; background: linear-gradient(135deg, rgba(255,255,255,.3) 0%, transparent 50%); pointer-events: none; } .rank-card.first .rank-position { background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%); color: #000; box-shadow: 0 6px 20px rgba(255,215,0,.5), 0 0 0 2px rgba(255,215,0,.3) inset; } .rank-card.second .rank-position { background: linear-gradient(135deg, #c0c0c0 0%, #e0e0e0 50%, #c0c0c0 100%); color: #000; box-shadow: 0 6px 20px rgba(192,192,192,.5), 0 0 0 2px rgba(255,255,255,.4) inset; } .rank-card.third .rank-position { background: linear-gradient(135deg, #cd7f32 0%, #e6a055 50%, #cd7f32 100%); color: #fff; box-shadow: 0 6px 20px rgba(205,127,50,.5), 0 0 0 2px rgba(255,255,255,.3) inset; } .rank-card .default-rank { background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 50%, #e9ecef 100%); color: #6c757d; box-shadow: 0 4px 14px rgba(0,0,0,.15), 0 0 0 1px rgba(255,255,255,.5) inset; } /* Enhanced Rank Info */ .rank-info { flex: 1; min-width: 0; } .rank-name { font-weight: 700; font-size: 16px; margin-bottom: 4px; color: #13386c; display: flex; align-items: center; gap: 8px; } .rank-scholar-id { font-size: 12px; color: #888; font-weight: 500; margin-bottom: 6px; display: flex; align-items: center; gap: 5px; } .rank-scholar-id i { color: #f57c00; font-size: 11px; } .rank-score { color: #666; font-size: 14px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; } .rank-score span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%); border-radius: 14px; font-weight: 600; border: 1px solid rgba(19,56,108,.08); box-shadow: 0 2px 6px rgba(0,0,0,.05); } .rank-score .score-value { color: #13386c; font-weight: 800; } .rank-score .quiz-count { color: #f57c00; font-weight: 800; } /* User Rank Highlight */ .user-rank { border: 3px solid #13386c !important; background: linear-gradient(135deg, #eaf1ff 0%, #f0f7ff 100%) !important; box-shadow: 0 8px 24px rgba(19,56,108,.25), 0 0 0 2px rgba(19,56,108,.1) inset !important; position: relative; animation: pulseGlow 2s infinite; } @keyframes pulseGlow { 0%, 100% { box-shadow: 0 8px 24px rgba(19,56,108,.25), 0 0 0 2px rgba(19,56,108,.1) inset; } 50% { box-shadow: 0 8px 32px rgba(19,56,108,.35), 0 0 0 3px rgba(19,56,108,.15) inset; } } .user-rank::after { content: 'YOU'; position: absolute; top: 10px; right: 12px; background: linear-gradient(135deg, #13386c 0%, #1e4a7a 100%); color: #fff; padding: 5px 12px; border-radius: 15px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 2px 8px rgba(19,56,108,.3); } .user-rank .rank-position { background: linear-gradient(135deg, #13386c 0%, #1e4a7a 100%) !important; color: #fff !important; box-shadow: 0 4px 16px rgba(19,56,108,.4) !important; } .user-rank .rank-name { color: #13386c; font-weight: 800; } /* Enhanced Podium */ .podium { display: grid; grid-template-columns: 1fr auto 1fr; align-items: flex-end; gap: 15px; margin: 20px 0; padding: 0; background: transparent; border-radius: 0; box-shadow: none; animation: fadeInUp 0.8s ease-out; border: none; width: 100%; } .podium-item { display: flex; flex-direction: column; align-items: center; animation: fadeInUp 0.8s ease-out; animation-fill-mode: both; } .podium-item:nth-child(1) { animation-delay: 0.1s; grid-column: 2; order: 2; } .podium-item:nth-child(2) { animation-delay: 0.2s; grid-column: 1; order: 1; } .podium-item:nth-child(3) { animation-delay: 0.3s; grid-column: 3; order: 3; } .podium-place { width: 100%; min-height: 100px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 15px; border-radius: 18px 18px 0 0; color: white; font-weight: 800; font-size: 32px; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,.25), 0 0 0 1px rgba(255,255,255,.2) inset; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); overflow: visible; } .podium-place::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 50%; background: linear-gradient(180deg, rgba(255,255,255,.3) 0%, transparent 100%); } .podium-place:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 15px 40px rgba(0,0,0,.3), 0 0 0 1px rgba(255,255,255,.3) inset; } .first-place { background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%); color: #000; min-height: 160px; max-width: 200px; box-shadow: 0 12px 40px rgba(255,215,0,.5), 0 0 0 2px rgba(255,215,0,.3) inset; } .first-place::after { content: '🥇'; top: 8px; font-size: 36px; filter: drop-shadow(0 3px 6px rgba(0,0,0,.3)); animation: bounce 2s infinite; z-index: 10; } .second-place { background: linear-gradient(135deg, #c0c0c0 0%, #e0e0e0 50%, #c0c0c0 100%); color: #000; min-height: 120px; max-width: 180px; box-shadow: 0 12px 40px rgba(192,192,192,.5), 0 0 0 2px rgba(255,255,255,.3) inset; } .second-place::after { content: '🥈'; top: 8px; font-size: 36px; filter: drop-shadow(0 3px 6px rgba(0,0,0,.3)); z-index: 10; } .third-place { background: linear-gradient(135deg, #cd7f32 0%, #e6a055 50%, #cd7f32 100%); min-height: 120px; max-width: 180px; box-shadow: 0 12px 40px rgba(205,127,50,.5), 0 0 0 2px rgba(255,255,255,.2) inset; } .third-place::after { content: '🥉'; top: 8px; font-size: 36px; filter: drop-shadow(0 3px 6px rgba(0,0,0,.3)); z-index: 10; } .podium-score { font-size: 28px; font-weight: 900; margin-top: 12px; text-shadow: 0 2px 4px rgba(0,0,0,.2); } .podium-name { margin-top: 12px; font-weight: 800; font-size: 14px; text-align: center; color: #13386c; padding: 8px 12px; background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%); border-radius: 12px; box-shadow: 0 2px 8px rgba(0,0,0,.1); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 1px solid rgba(19,56,108,.08); } .podium-scholar-id { font-size: 12px; color: #666; margin-top: 6px; font-weight: 600; background: rgba(19,56,108,.05); padding: 4px 10px; border-radius: 10px; display: inline-block; } /* Section Headers */ .section-header { display: flex; align-items: center; gap: 12px; margin: 35px 0 22px 0; background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); border-radius: 14px; border: 1px solid rgba(19,56,108,.08); box-shadow: 0 2px 8px rgba(0,0,0,.05); } .section-header h3 { font-size: 22px; font-weight: 800; color: #13386c; margin: 0; } .section-header i { color: #f57c00; font-size: 26px; background: linear-gradient(135deg, #fef7f0 0%, #fff4e6 100%); padding: 10px; border-radius: 12px; box-shadow: 0 2px 8px rgba(245,124,0,.15); } /* Animations */ @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @keyframes shimmer { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } /* Medal Icons */ .medal-icon { font-size: 28px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.2)); animation: bounce 2s infinite; } @keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } } @media (max-width: 768px) { .stats-card { display: none; } .podium { gap: 10px; padding: 0; grid-template-columns: 1fr auto 1fr; } .podium-item { max-width: 100%; } .podium-place { min-height: 90px; font-size: 24px; padding-top: 12px; } .first-place { min-height: 130px; max-width: 100%; } .second-place { min-height: 100px; max-width: 100%; } .third-place { min-height: 100px; max-width: 100%; } .first-place::after, .first-place::after { font-size: 60px; top: 6px; } .second-place::after { font-size: 40px; top: 6px; } .third-place::after { font-size: 30px; top: 6px; } .podium-score { font-size: 20px; margin-top: 8px; } .podium-name { font-size: 12px; padding: 6px 10px; margin-top: 10px; } .stats-card { padding: 25px 20px; } .stats-card .stat-value { font-size: 36px; } .stats-card .stat-details { flex-direction: column; gap: 10px; } .rank-position { width: 45px; height: 45px; font-size: 16px; margin-right: 15px; } .rank-name { font-size: 15px; } .rank-score { font-size: 13px; } .section-header h3 { font-size: 20px; } .rank-scholar-id { font-size: 11px; } .podium-scholar-id { font-size: 10px; } .month-tabs { padding: 6px; gap: 8px; top: 61px; margin-bottom: 20px; } .month-tab { padding: 12px 16px; font-size: 14px; border-radius: 10px; } .month-tab i { font-size: 14px; } .sticky-user-rank { padding: 8px 15px; flex-direction: row; align-items: center; gap: 10px; left: 0; transform: none; max-width: 100%; border-radius: 0; } .sticky-rank-info { width: 100%; flex-direction: row; align-items: center; gap: 10px; } .sticky-rank-position { font-size: 18px; min-width: 50px; } .sticky-rank-name { font-size: 14px; margin-bottom: 0; } .sticky-rank-stats { font-size: 11px; flex-wrap: wrap; gap: 8px; } .main-content-wrapper { padding-bottom: 70px; } @media (min-width: 992px) { .month-tabs { margin-left: 260px; max-width: calc(900px + 260px); } .sticky-user-rank { left: 50%; transform: translateX(-50%); margin-left: 130px; max-width: calc(900px - 130px); } } }
Save
cmd:
run