From 172d78c00662bf3b56b1378e4018872e7ae915ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Wed, 9 Jul 2025 11:32:11 +0200 Subject: [PATCH] zmiany w css --- static/css/style.css | 24 ++++++++++++++++++++++++ templates/list.html | 19 ++++++++----------- templates/main.html | 4 ++-- 3 files changed, 34 insertions(+), 13 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 48c5aa1..4dd9c9c 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -12,6 +12,30 @@ background-color: #1e7e34 !important; } +.btn-outline-light:hover { + background-color: #ffc107 !important; + color: #000 !important; + border-color: #ffc107 !important; +} + +.progress-dark { + background-color: #212529; + border-radius: 20px !important; + overflow: hidden; +} + +.progress-bar { + border-radius: 20px !important; + transition: width 0.4s ease; + flex-direction: column; + justify-content: center; + white-space: nowrap; +} + +.progress-thin { + height: 12px; +} + .item-not-checked { background-color: #2c2f33 !important; color: white !important; diff --git a/templates/list.html b/templates/list.html index f3b691b..80aa942 100644 --- a/templates/list.html +++ b/templates/list.html @@ -53,12 +53,10 @@ Lista: {{ list.title }} 📊 Postęp listy — {{ purchased_count }}/{{ total_count }} kupionych ({{ percent|round(0) }}%) -
-
- {{ percent|round(0) }}% -
+
+ {{ percent|round(0) }}%
{% if total_expense > 0 %} @@ -102,12 +100,12 @@ Lista: {{ list.title }} {% if not list.is_archived %}
-
-
-
+
@@ -115,7 +113,6 @@ Lista: {{ list.title }}
- {% endif %} {% set receipt_pattern = 'list_' ~ list.id %} diff --git a/templates/main.html b/templates/main.html index 5fbbcf3..e8a2bcc 100644 --- a/templates/main.html +++ b/templates/main.html @@ -65,8 +65,8 @@ {% endif %}
-
-
+
+
Produkty: {{ purchased_count }}/{{ total_count }} ({{ percent|round(0) }}%) {% if l.total_expense > 0 %} — 💸 {{ '%.2f'|format(l.total_expense) }} PLN