Tourismusregion Quick-Fixes: Startflow, Auto-Save, Lift-Talstation, iPad-Responsive
- Startbildschirm: Name/Klasscode-Felder entfernt (Kinder sind über die Plattform-Session identifiziert). Klick auf eine Wegkarte startet die Partie sofort — separater „Partie starten"-Button entfernt. - Abschluss: „Ergebnis speichern"-Button entfernt; Speichern passiert schon automatisch am Partie-Ende (submitAssessment). Hinweis „automatisch gespeichert" ergänzt. btnSave-Listener null-sicher gemacht. - Seilbahn: Talstation (Baukörper + Satteldach + Umlenkrad) ergänzt — der Lift-Anfang wirkte vorher „transparent". - Responsive/iPad: Panels bekommen Höhen-Deckel + internes Scrollen (decken nie den ganzen Schirm zu). Neue Media-Query für iPad-Landscape (901–1200px / niedrige Höhe): kompaktere Panels, Graphen nach rechts-unten aus dem Info-Panel-Bereich. Sehr flache Screens blenden die Graphen aus. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -326,6 +326,19 @@ button.secondary {
|
||||
}
|
||||
.end-feedback p { font-size: 13.5px; line-height: 1.45; }
|
||||
|
||||
/* Panels dürfen NIE den ganzen Bildschirm zudecken (iPad-Fix):
|
||||
Höhe deckeln + intern scrollen. Gilt für alle Größen. */
|
||||
#kpis, #buildmenu {
|
||||
max-height: calc(100dvh - 96px);
|
||||
overflow-y: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
#infoPanel {
|
||||
max-height: 46dvh;
|
||||
overflow-y: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
/* Kleinere Screens (iPad Hochformat) */
|
||||
@media (max-width: 900px) {
|
||||
#topbar h1 .subtitle { display: none; }
|
||||
@@ -337,6 +350,28 @@ button.secondary {
|
||||
#infoPanel { width: 240px; }
|
||||
}
|
||||
|
||||
/* iPad Landscape & kleine Laptops (901–1200px oder niedrige Höhe):
|
||||
fiel früher durch → Desktop-Panels drängelten auf 820px Höhe und
|
||||
deckten die Karte zu. Jetzt kompaktere Panels; die zwei Graphen
|
||||
wandern nach rechts-unten (neben das Info-Panel, nicht darüber). */
|
||||
@media (min-width: 901px) and (max-width: 1200px), (max-height: 860px) {
|
||||
#kpis { width: 200px; top: 76px; }
|
||||
#buildmenu { width: 224px; top: 76px; }
|
||||
#infoPanel { width: 236px; max-height: 42dvh; }
|
||||
.graphbox { width: 190px; height: 96px; }
|
||||
/* Graphen rechts unten, links neben dem Baumenü statt mittig */
|
||||
#graphSat { left: auto; right: 268px; }
|
||||
#graphMoney { left: auto; right: 466px; }
|
||||
#musicPanel { right: 244px; width: 200px; }
|
||||
}
|
||||
|
||||
/* Sehr flach (Landscape-Handy / geteilter iPad-Screen): Graphen ausblenden,
|
||||
Karte hat Vorrang. */
|
||||
@media (max-height: 560px) {
|
||||
.graphbox { display: none; }
|
||||
#infoPanel { max-height: 60dvh; }
|
||||
}
|
||||
|
||||
/* Musik-Player (rechts oben, links neben dem Baumenü) */
|
||||
#musicPanel {
|
||||
top: 84px;
|
||||
|
||||
Reference in New Issue
Block a user