From 34cfde795a9b9f8d86cb16a18f895b9d250025a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Gruszczy=C5=84ski?= Date: Wed, 21 Jan 2026 11:11:22 +0100 Subject: [PATCH] kropka kategorii na malych ekranach --- static/css/style.css | 24 ++++++++++++++++++++---- templates/main.html | 32 ++++++++++++++++++++------------ 2 files changed, 40 insertions(+), 16 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index bde065a..9848dac 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -993,13 +993,29 @@ td select.tom-dark { .user-label-mobile { display: none !important; } } -.badge.rounded-circle.category-dot { - min-width: 0.75rem !important; - padding: 0 !important; - font-size: 0 !important; +.category-dot { + display: inline-block !important; + width: 14px !important; + height: 14px !important; + border-radius: 50% !important; + border: 2px solid rgba(255, 255, 255, 0.8) !important; + background-clip: content-box !important; + vertical-align: middle !important; + margin-right: 2px !important; + opacity: 1 !important; + font-size: 8px !important; line-height: 1 !important; + cursor: help !important; + box-shadow: 0 1px 2px rgba(0,0,0,0.3) !important; } +/* Hover efekt */ +.category-dot:hover { + transform: scale(1.3) !important; + box-shadow: 0 2px 6px rgba(0,0,0,0.4) !important; +} + + .list-title { white-space: nowrap !important; overflow: hidden !important; diff --git a/templates/main.html b/templates/main.html index 742d81b..2e0bb4d 100644 --- a/templates/main.html +++ b/templates/main.html @@ -84,14 +84,18 @@ {% for cat in l.category_badges %} - + + {{ cat.name }} - + + + + ● + {% endfor %} @@ -195,14 +199,18 @@ {% for cat in l.category_badges %} - + + {{ cat.name }} - + + + + ● + {% endfor %}