From dc8bfacdf6baa15d22dcbbb07c61e73b5215ca0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Wed, 6 Aug 2025 23:17:32 +0200 Subject: [PATCH] poprawki wizualne --- static/css/style.css | 18 +++++++++++++----- templates/admin/admin_panel.html | 6 +++--- templates/list.html | 13 +++++++++---- templates/main.html | 4 ++-- 4 files changed, 27 insertions(+), 14 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 34329de..364f4ba 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -26,13 +26,21 @@ } .progress-bar { - border-radius: 20px !important; - transition: width 0.4s ease; - flex-direction: column; - justify-content: center; - white-space: nowrap; + border-radius: 0 !important; + transition: width 0.4s ease, background-color 0.4s ease; } +.progress-bar:first-child { + border-top-left-radius: 20px !important; + border-bottom-left-radius: 20px !important; +} + +.progress-bar:last-child { + border-top-right-radius: 20px !important; + border-bottom-right-radius: 20px !important; +} + + /* rodzic już ma position-relative */ .progress-label { position: absolute; diff --git a/templates/admin/admin_panel.html b/templates/admin/admin_panel.html index aa49152..ec4453b 100644 --- a/templates/admin/admin_panel.html +++ b/templates/admin/admin_panel.html @@ -61,7 +61,7 @@ {{ name }} {{ count }}× -
+
@@ -184,8 +184,8 @@ {{ e.total_count }} -
-
+
diff --git a/templates/list.html b/templates/list.html index ac13720..ab9e3a5 100644 --- a/templates/list.html +++ b/templates/list.html @@ -73,10 +73,15 @@
-
-
-
- +
+
+
+
+
+
diff --git a/templates/main.html b/templates/main.html index fbd20e7..1f7fed3 100644 --- a/templates/main.html +++ b/templates/main.html @@ -106,7 +106,7 @@ {# Niekupione #} {% set not_purchased_count = l.not_purchased_count if l.total_count else 0 %} -
@@ -162,7 +162,7 @@ {# Niekupione #} {% set not_purchased_count = l.not_purchased_count if l.total_count else 0 %} -