From 956374b64771fbdec408cecd4bdf849df569a380 Mon Sep 17 00:00:00 2001 From: Jean-Marie Favreau Date: Sun, 15 Sep 2024 00:12:54 +0200 Subject: [PATCH] =?UTF-8?q?Am=C3=A9lioration=20de=20la=20navigation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/agenda_culturel/static/style.scss | 14 +++++++++----- src/agenda_culturel/templatetags/cat_extra.py | 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/agenda_culturel/static/style.scss b/src/agenda_culturel/static/style.scss index 34535d9..57bf6a3 100644 --- a/src/agenda_culturel/static/style.scss +++ b/src/agenda_culturel/static/style.scss @@ -122,6 +122,9 @@ details[role="list"] summary + ul li.selected>a:hover { color: var(--primary-inverse); } +#filters .categories { + z-index: 100; +} @media (min-width: 992px) { details summary[role="button"] { @@ -170,11 +173,13 @@ details[role="list"] summary + ul li.selected>a:hover { height: 2.6em; width: 2.6em; border-radius: 1.3em; + line-height: 2.6em; img { width: 80%; margin: .2em 0; } } + .reduced { opacity: .3; } @@ -193,11 +198,10 @@ span.small-cat { .simple-button { font-size: 120%; margin-left: .1em; -} -.button-bar { - display: flex; - align-items: center; - column-gap: .3em; + display: inline; + text-align: center; + vertical-align: middle; + line-height: 1.8em; } svg { diff --git a/src/agenda_culturel/templatetags/cat_extra.py b/src/agenda_culturel/templatetags/cat_extra.py index 3080efc..8ec666c 100644 --- a/src/agenda_culturel/templatetags/cat_extra.py +++ b/src/agenda_culturel/templatetags/cat_extra.py @@ -246,7 +246,7 @@ def show_legend(filter): ) for c in cats ] - ) + ' ' + picto_from_name('x-circle') + '' + ) + ' ' + picto_from_name('x-circle') + '' ) else: return mark_safe("
" +