# TASK — v0.11.9 UI Polish Fixes ## Context These are UI-only fixes for the deploy/settings page backup section introduced in v0.11.8. No backend changes needed. All changes are in `deploy.html` and `style.css`. **Important design principle:** Use minimal emojis in the UI. The project prefers a clean, professional look. Replace emoji indicators with text or CSS-styled elements instead. ## Files to modify - `internal/web/templates/deploy.html` - `internal/web/templates/style.css` - `internal/web/templates/backups.html` (emoji cleanup in cross-drive summary section) --- ## Fix 1: Spacing between cards and "Automatikusan generált értékek" **Problem:** No clear visual separation between the last card above the deploy form (`deploy-cross-drive` or `deploy-stale-data`) and the "Automatikusan generált értékek" section inside `.deploy-form`. **Root cause:** `.deploy-cross-drive` has `margin-bottom: 1rem` which doesn't provide enough separation before the next card. When stale data card exists without cross-drive, it's also tight. **Fix in `style.css`:** ```css /* Change margin-bottom from 1rem to 1.5rem */ .deploy-cross-drive { /* ... existing ... */ margin-bottom: 1.5rem; /* was 1rem */ } ``` No change needed for `.deploy-stale-data` — it already has `margin-bottom: 1.5rem`. But verify the margin is actually applied (check if another element is overriding it or if the stale data card is inside a container that collapses margins). --- ## Fix 2: Rename restic method + add info tooltip on "Módszer" **Problem:** "Verziózott mentés (restic)" doesn't highlight the most important differentiator (encryption). Users should also understand the tradeoffs before picking. **Fix in `deploy.html` — method dropdown (around line 16934-16942):** Replace: ```html
Módszer
``` With: ```html
Módszer i Egyszerű másolat (rsync): Tükörszerű másolat, a fájlok közvetlenül böngészhetők. Nem titkosított, nem verziózott — mindig a legfrissebb állapotot tartalmazza.

Titkosított mentés (restic): Titkosított, tömörített, verziózott mentés. Korábbi állapotok visszaállíthatók. Nem böngészhető közvetlenül — visszaállításhoz a vezérlőpult szükséges.
``` **Add to `style.css`:** ```css /* Info tooltip (i icon with hover popup) */ .info-tooltip { position: relative; display: inline-flex; align-items: center; margin-left: .35rem; cursor: help; } .info-icon { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--text-muted); color: var(--text-muted); font-size: .65rem; font-weight: 700; font-style: italic; font-family: Georgia, serif; line-height: 1; } .info-tooltip-text { display: none; position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: 320px; padding: .75rem 1rem; background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); font-size: .8rem; font-weight: 400; line-height: 1.5; color: var(--text-secondary); z-index: 100; white-space: normal; } /* Show on hover or focus (for keyboard) */ .info-tooltip:hover .info-tooltip-text, .info-tooltip:focus .info-tooltip-text, .info-tooltip:focus-within .info-tooltip-text { display: block; } /* Arrow pointing down from tooltip */ .info-tooltip-text::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--border-color); } ``` --- ## Fix 3: Cursor on "Napi mentésbe foglalás" label **Problem:** The `