/Beranda/Prosedur Pusat Layanan Terpadu

Prosedur Pusat Layanan Terpadu

Mahasiswa

Butuh Bantuan?

Silahkan hubungi kami disini:

Hubungi Kami

PUSAT LAYANAN

* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background-color: #f8f9fa; line-height: 1.5; color: #333; } .main-container { max-width: 1200px; margin: 20px auto; padding: 0 15px; } /* Layanan Section */ .layanan-box { background: #fff; border-radius: 5px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); margin-bottom: 20px; overflow: hidden; } .layanan-header { background: #1a365d; color: white; padding: 12px 15px; font-weight: bold; font-size: 20px; display: flex; align-items: center; gap: 8px; } .star-icon { color: #fbbf24; } .layanan-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0; } .layanan-item { border-bottom: 1px solid #e5e7eb; border-right: 1px solid #e5e7eb; position: relative; } .layanan-item:nth-child(even) { border-right: none; } .layanan-item:nth-last-child(-n+2) { border-bottom: none; } .layanan-toggle { display: block; width: 100%; padding: 12px 15px; background: none; border: none; text-align: left; cursor: pointer; font-size: 17px; color: #374151; transition: background-color 0.2s; display: flex; justify-content: space-between; align-items: center; min-height: 60px; } .layanan-toggle:hover { background-color: #f3f4f6; } .arrow-icon { color: #1a365d; font-size: 16px; transition: transform 0.2s; flex-shrink: 0; } .layanan-item.open .arrow-icon { transform: rotate(90deg); } .submenu { background-color: #f8fafc; border-top: 1px solid #e5e7eb; display: none; padding: 0; grid-column: span 2; } .layanan-item.open .submenu { display: block; } .submenu-item { padding: 8px 30px; font-size: 16px; color: #6b7280; border-bottom: 1px solid #e5e7eb; cursor: pointer; transition: all 0.2s; } .submenu-item:last-child { border-bottom: none; } .submenu-item:hover { background-color: #e0f2fe; color: #1a365d; padding-left: 35px; } .submenu-link { color: inherit; text-decoration: none; display: block; } .submenu-link:hover { color: inherit; } /* Responsive */ @media (max-width: 868px) { .layanan-list { grid-template-columns: 1fr; } .layanan-item { border-right: none; } .submenu { grid-column: span 1; } } @media (max-width: 768px) { .main-container { padding: 0 10px; } .layanan-toggle { font-size: 12px; padding: 15px; } .submenu-item { padding: 10px 25px; } }
LAYANAN
function toggleMenu(button) { const item = button.parentElement; const isOpen = item.classList.contains('open'); // Close all other menus document.querySelectorAll('.layanan-item.open').forEach(openItem => { if (openItem !== item) { openItem.classList.remove('open'); } }); // Toggle current menu item.classList.toggle('open', !isOpen); } // Handle submenu link clicks document.querySelectorAll('.submenu-link').forEach(link => { link.addEventListener('click', function(e) { const href = this.getAttribute('href'); if (href === '#') { e.preventDefault(); console.log('Link placeholder clicked'); alert('Link ini belum tersedia'); } else { // Allow normal navigation for real URLs console.log('Navigating to:', href); } }); }); // Initialize page document.addEventListener('DOMContentLoaded', function() { console.log('Pusat Layanan Terpadu loaded successfully'); });
* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background-color: #f8f9fa; line-height: 1.5; color: #333; } .main-container { max-width: 1200px; margin: 20px auto; padding: 0 15px; } /* Sidebar Sections */ .sidebar-box { background: #fff; border-radius: 5px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); margin-bottom: 15px; overflow: hidden; } .sidebar-header { background: #1a365d; color: white; padding: 10px 12px; font-weight: bold; font-size: 17px; } .sidebar-content { padding: 12px; } .sidebar-section-title { font-size: 15px; color: #6b7280; font-weight: bold; margin-bottom: 10px; text-transform: uppercase; } .sidebar-link { display: block; color: #1a365d; text-decoration: none; font-size: 14px; padding: 6px 0; border-bottom: 1px solid #f1f5f9; transition: color 0.2s; } .sidebar-link:hover { color: #0f172a; text-decoration: underline; } .sidebar-link:last-child { border-bottom: none; } .news-item { padding: 12px 0; border-bottom: 1px solid #f1f5f9; } .news-item:last-child { border-bottom: none; } .news-title { font-size: 17px; font-weight: 600; color: #1f2937; margin-bottom: 5px; line-height: 1.3; } .news-desc { font-size: 15px; color: #6b7280; line-height: 1.4; } /* Responsive */ @media (max-width: 768px) { .main-container { padding: 0 10px; } }