Dateien nach "backend/src/main/webapp" hochladen

This commit is contained in:
2026-10-15 15:57:36 +02:00
parent db181d3020
commit 38fbe1e301
2 changed files with 362 additions and 290 deletions

View File

@@ -134,7 +134,62 @@
height: calc(100% - 50px); /* 50px = ungefährer Header-Höhenwert */ height: calc(100% - 50px); /* 50px = ungefährer Header-Höhenwert */
overflow: hidden; /* Kein Scrollen auf dem Container selbst */ overflow: hidden; /* Kein Scrollen auf dem Container selbst */
} }
</style>
/* Fertigungsbaum: eindeutige Kontraste für alle Zustände */
.touch-tree-group,
.touch-tree-group[open] {
color: var(--itac-ink) !important;
background: var(--itac-soft) !important;
border-color: var(--itac-border) !important;
}
.touch-tree-group > summary,
.touch-tree-group > summary:hover,
.touch-tree-group > summary:focus {
color: var(--itac-slate) !important;
-webkit-text-fill-color: var(--itac-slate) !important;
background: var(--itac-soft) !important;
border-radius: var(--itac-radius) !important;
outline: none;
}
.touch-tree-group[open] > summary {
color: var(--itac-ink) !important;
-webkit-text-fill-color: var(--itac-ink) !important;
background: var(--itac-surface) !important;
}
.touch-tree-leaf,
.touch-tree-leaf:not(:hover):not(:focus):not(:active) {
color: var(--itac-ink) !important;
-webkit-text-fill-color: var(--itac-ink) !important;
background: var(--itac-surface) !important;
border-color: var(--itac-border) !important;
box-shadow: none !important;
}
.touch-tree-leaf::after {
color: var(--itac-red) !important;
-webkit-text-fill-color: var(--itac-red) !important;
}
.touch-tree-leaf:hover,
.touch-tree-leaf:focus,
.touch-tree-leaf:focus-visible,
.touch-tree-leaf:active,
.touch-tree-leaf.is-selected {
color: #fff !important;
-webkit-text-fill-color: #fff !important;
background: var(--itac-red-dark) !important;
border-color: var(--itac-red-dark) !important;
box-shadow: var(--itac-shadow) !important;
outline: none !important;
}
.touch-tree-leaf:hover::after,
.touch-tree-leaf:focus::after,
.touch-tree-leaf:focus-visible::after,
.touch-tree-leaf:active::after,
.touch-tree-leaf.is-selected::after {
color: #fff !important;
-webkit-text-fill-color: #fff !important;
}
</style>
</head> </head>
<body> <body>
<div id="config-modal"> <div id="config-modal">
@@ -226,6 +281,12 @@
button.className = "touch-tree-leaf"; button.className = "touch-tree-leaf";
button.textContent = title; button.textContent = title;
button.addEventListener("click", function() { button.addEventListener("click", function() {
document.querySelectorAll(".touch-tree-leaf.is-selected").forEach(item => {
item.classList.remove("is-selected");
item.removeAttribute("aria-current");
});
button.classList.add("is-selected");
button.setAttribute("aria-current", "true");
sessionStorage.setItem("selectedStation", node.id); sessionStorage.setItem("selectedStation", node.id);
const iframe = document.getElementById("config-iframe"); const iframe = document.getElementById("config-iframe");
iframe.src = url + "/backend/Config.html?station=" + node.id; iframe.src = url + "/backend/Config.html?station=" + node.id;
@@ -344,6 +405,10 @@
} }
function closeConfigModal() { function closeConfigModal() {
document.getElementById("config-modal").style.display = "none"; document.getElementById("config-modal").style.display = "none";
document.querySelectorAll(".touch-tree-leaf.is-selected").forEach(item => {
item.classList.remove("is-selected");
item.removeAttribute("aria-current");
});
} }
document.addEventListener("DOMContentLoaded", function() { document.addEventListener("DOMContentLoaded", function() {

View File

@@ -671,41 +671,48 @@ tbody tr:hover {
} }
/* Button text and highlighted rows: keep sufficient contrast. */ /* Navigation contrast: menu buttons are not primary action buttons. */
button, .touch-nav .nav-item,
button strong, .touch-nav .nav-item:hover,
button small, .touch-nav .nav-item:focus {
button span, color: var(--itac-ink) !important;
button .label, -webkit-text-fill-color: var(--itac-ink) !important;
button .sub { background: rgba(255,255,255,0.82) !important;
color: #fff !important; border-color: transparent !important;
-webkit-text-fill-color: #fff !important; box-shadow: none !important;
} }
button.secondary, .touch-nav .nav-item span {
button.secondary strong, color: var(--itac-ink) !important;
button.secondary small, -webkit-text-fill-color: var(--itac-ink) !important;
button.secondary span,
.pill,
.lang-switch {
color: var(--itac-slate) !important;
-webkit-text-fill-color: var(--itac-slate) !important;
} }
button[aria-expanded="true"], .touch-nav .nav-item small {
button.active, color: var(--itac-muted) !important;
.nav-item.active.is-highlighted, -webkit-text-fill-color: var(--itac-muted) !important;
.is-highlighted { }
.touch-nav .nav-item.active,
.touch-nav .nav-item.active:hover,
.touch-nav .nav-item.active:focus {
color: #fff !important; color: #fff !important;
-webkit-text-fill-color: #fff !important; -webkit-text-fill-color: #fff !important;
background: var(--itac-red-dark) !important; background: var(--itac-red-dark) !important;
border-color: var(--itac-red-dark) !important; border-color: var(--itac-red-dark) !important;
box-shadow: inset 4px 0 0 var(--itac-red-light), 0 8px 18px rgba(36,55,70,.12) !important;
} }
button[aria-expanded="true"] *, .touch-nav .nav-item.active span,
button.active *, .touch-nav .nav-item.active small {
.nav-item.active.is-highlighted *, color: #fff !important;
.is-highlighted * { -webkit-text-fill-color: #fff !important;
}
/* Primary action and expanded/highlighted controls keep white text. */
button.primary-action,
button.primary-action *,
button[aria-expanded="true"]:not(.nav-item),
button[aria-expanded="true"]:not(.nav-item) * {
color: #fff !important; color: #fff !important;
-webkit-text-fill-color: #fff !important; -webkit-text-fill-color: #fff !important;
} }