Amélioration de la navigation

This commit is contained in:
Jean-Marie Favreau 2024-09-15 00:12:54 +02:00
parent a4fcaf952d
commit 956374b647
2 changed files with 10 additions and 6 deletions

View File

@ -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 {

View File

@ -246,7 +246,7 @@ def show_legend(filter):
)
for c in cats
]
) + ' <a class="contrast simple-button" data-tooltip="Toutes les catégories" href="' + filter.get_url_without_filters() + '">' + picto_from_name('x-circle') + '</a></div>'
) + ' <a class="contrast simple-button" href="' + filter.get_url_without_filters() + '">' + picto_from_name('x-circle') + '</a></div>'
)
else:
return mark_safe("<div>" +