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("