diff --git a/public/admin/index.html b/public/admin/index.html index 6a11d21..4486b3a 100644 --- a/public/admin/index.html +++ b/public/admin/index.html @@ -65,6 +65,30 @@ h1, h2, h3 { font-family: "Fraunces", "Playfair Display", Georgia, serif !important; } + + /* Schwebender "Installieren"-Button — nur sichtbar, wenn der Browser eine Installation + wirklich anbietet (siehe Script unten). position:fixed statt normaler Dokumentfluss, + damit er unabhängig davon funktioniert, wie Sveltia sein eigenes UI in
aufbaut. */ + #install-btn { + display: none; + position: fixed; + bottom: 1.2rem; + right: 1.2rem; + z-index: 9999; + align-items: center; + gap: 0.5em; + padding: 0.7em 1.1em; + border-radius: 999px; + background: linear-gradient(135deg, #9b7fd6, #2e1b47); + border: 1px solid rgba(155, 127, 214, 0.6); + color: #f4f1f7; + font-family: "Inter", system-ui, sans-serif; + font-size: 0.88rem; + font-weight: 600; + cursor: pointer; + box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.55); + } + #install-btn:hover { filter: brightness(1.1); } @@ -72,5 +96,37 @@ direkt im GitHub-Repo. Kein eigener Server nötig — siehe config.yml für die Feld-Definitionen (Produkte, Kategorien). --> + + +