This commit is contained in:
chk
2026-03-23 07:25:13 +01:00
parent 072693d57e
commit 6eaa60131b
3 changed files with 30 additions and 15 deletions

View File

@@ -122,6 +122,10 @@ function setupServiceButtons() {
} catch(e) { } catch(e) {
console.error('Event log failed', e); console.error('Event log failed', e);
} }
document.querySelectorAll("nav button").forEach(b => b.classList.remove("active"));
btn.classList.add("active");
openService(svc); openService(svc);
}; };
nav.appendChild(btn); nav.appendChild(btn);

View File

@@ -16,10 +16,8 @@
</header> </header>
<main> <main>
<h1>server.schooltech.ch - Service Portal</h1>
<!-- iFrame für Services --> <!-- iFrame für Services -->
<iframe id="service-frame" style="width:100%;height:80vh;display:none;"></iframe> <iframe id="service-frame" style="display:none;"></iframe>
<!-- Login Modal --> <!-- Login Modal -->
<div id="login-modal" style="display:none;"> <div id="login-modal" style="display:none;">

View File

@@ -8,20 +8,18 @@ body {
background: #f5f6f8; background: #f5f6f8;
} }
header { header {
position: fixed; height: 48px;
top: 0;
left: 0;
right: 0;
height: 64px;
display: flex; display: flex;
align-items: center; align-items: center;
gap: 20px; gap: 16px;
padding: 0 24px; padding: 0 20px;
backdrop-filter: blur(6px); backdrop-filter: blur(6px);
background: rgba(0,0,0,0.35); background: rgba(0,0,0,0.35);
color: white;
z-index: 1000; /* NEU hochwertiger Shadow */
box-shadow: 0 4px 12px rgba(0,0,0,0.35);
} }
.logo { .logo {
@@ -42,7 +40,22 @@ nav button:hover {
} }
main { main {
padding: 80px 4px; background: transparent; /* NEU */
}
iframe {
border: none;
display: block;
width: 100%;
height: calc(100vh - 48px); /* exakt der Bereich unter dem Header */
}
nav button.active {
background: rgba(255,255,255,0.35);
border-radius: 6px;
} }
#service-grid { #service-grid {