From cd55d02cda728a68765df5dd9b07882acdc61d88 Mon Sep 17 00:00:00 2001 From: Stefan Hackenberg Date: Mon, 20 Jan 2025 17:50:02 +0100 Subject: [PATCH] Tune UI for 11" Display --- coffeebuddy/static/coffeebuddy.css | 17 ++++++++--------- coffeebuddy/ui/base/templates/selectuser.html | 1 + coffeebuddy/ui/coffee/templates/brew.html | 4 ++-- coffeebuddy/ui/coffee/templates/coffee.html | 3 ++- coffeebuddy/ui/coffee/templates/editcoffee.html | 12 ++++++++---- 5 files changed, 21 insertions(+), 16 deletions(-) diff --git a/coffeebuddy/static/coffeebuddy.css b/coffeebuddy/static/coffeebuddy.css index cfb07e3..fd4aa2e 100644 --- a/coffeebuddy/static/coffeebuddy.css +++ b/coffeebuddy/static/coffeebuddy.css @@ -133,17 +133,17 @@ label { } .table { - --bs-table-striped-bg: var(--color-accent-4); - --bs-table-accent-bg: var(--color-bg); - --bs-table-active-bg: var(--color-bg); - --bs-table-bg: var(--color-bg); - --bs-table-color: var(--color-fg); + --bs-table-striped-bg: var(--color-accent-4); + --bs-table-accent-bg: var(--color-bg); + --bs-table-active-bg: var(--color-bg); + --bs-table-bg: var(--color-bg); + --bs-table-color: var(--color-fg); } .table-active { - --bs-table-color-state: var(--color-bg); - --bs-table-bg-state: var(--color-accent-2); - font-weight: bold; + --bs-table-color-state: var(--color-bg); + --bs-table-bg-state: var(--color-accent-2); + font-weight: bold; } .table>:not(caption)>*>* { @@ -275,7 +275,6 @@ button { #main-content { display: flex; - overflow-y: scroll; flex-grow: 1; margin-right: 100px; } diff --git a/coffeebuddy/ui/base/templates/selectuser.html b/coffeebuddy/ui/base/templates/selectuser.html index 5bf95b5..cdedba2 100644 --- a/coffeebuddy/ui/base/templates/selectuser.html +++ b/coffeebuddy/ui/base/templates/selectuser.html @@ -7,6 +7,7 @@ overflow-y: scroll; overflow-x: hidden; width: 100%; + scrollbar-width: none; } .item { diff --git a/coffeebuddy/ui/coffee/templates/brew.html b/coffeebuddy/ui/coffee/templates/brew.html index c3bd155..84d6701 100644 --- a/coffeebuddy/ui/coffee/templates/brew.html +++ b/coffeebuddy/ui/coffee/templates/brew.html @@ -40,7 +40,7 @@ } .setting-name { - font-size: 12px; + font-size: 16px; } .setting-slider { @@ -102,7 +102,7 @@

Brew {{ variant.name }}?

-
+