diff --git a/app/__init__.py b/app/__init__.py index 57483f0..3a60e82 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -99,6 +99,7 @@ def create_app(config_class: type[Config] = Config) -> Flask: "mobile_nav_items": [ ("tasks.my_tasks", "Meine Aufgaben", "house"), ("tasks.all_tasks", "Alle Aufgaben", "list"), + ("tasks.archive_view", "Archiv", "check-double"), ("tasks.calendar_view", "Kalender", "calendar"), ("scoreboard.index", "Highscore", "trophy"), ("settings.index", "Optionen", "gear"), diff --git a/app/static/css/style.css b/app/static/css/style.css index a9f4c55..7555b18 100644 --- a/app/static/css/style.css +++ b/app/static/css/style.css @@ -766,6 +766,11 @@ p { gap: 14px; } +.quick-actions { + display: grid; + gap: 12px; +} + .archive-user-tabs { display: flex; gap: 12px; @@ -1529,8 +1534,8 @@ p { right: 8px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; - grid-template-columns: repeat(5, minmax(0, 1fr)); - gap: 4px; + grid-template-columns: repeat(6, minmax(0, 1fr)); + gap: 3px; padding: 8px 8px; border-radius: 22px; background: var(--nav-bg); @@ -1544,13 +1549,13 @@ p { .nav-link { display: grid; justify-items: center; - gap: 5px; + gap: 4px; min-width: 0; - padding: 10px 4px 9px; + padding: 10px 3px 9px; color: var(--muted); border-radius: 16px; text-align: center; - font-size: 0.66rem; + font-size: 0.61rem; font-weight: 700; line-height: 1.05; } @@ -1558,7 +1563,7 @@ p { .bottom-nav__item span { display: block; width: 100%; - min-height: 2.1em; + min-height: 2.3em; white-space: normal; word-break: keep-all; overflow-wrap: break-word; @@ -1572,8 +1577,8 @@ p { .nav-icon, .nav-icon svg { - width: 20px; - height: 20px; + width: 18px; + height: 18px; display: inline-block; } diff --git a/app/templates/tasks/my_tasks.html b/app/templates/tasks/my_tasks.html index 49990be..2e55610 100644 --- a/app/templates/tasks/my_tasks.html +++ b/app/templates/tasks/my_tasks.html @@ -18,18 +18,20 @@

Schnellzugriff

- - {{ nav_icon('plus') }} - Neue Aufgabe anlegen - - - {{ nav_icon('check-double') }} - Archiv - - - {{ nav_icon('trophy') }} - Zum aktuellen Highscore - +
+ + {{ nav_icon('plus') }} + Neue Aufgabe anlegen + + + {{ nav_icon('check-double') }} + Archiv + + + {{ nav_icon('trophy') }} + Zum aktuellen Highscore + +