Amélioration barre filtres
This commit is contained in:
parent
2244ab2b39
commit
ff4d8283fa
@ -167,9 +167,9 @@ details[role="list"] summary + ul li.selected>a:hover {
|
||||
|
||||
|
||||
.circ-cat.circ-large {
|
||||
height: 3em;
|
||||
width: 3em;
|
||||
border-radius: 1.5em;
|
||||
height: 2.6em;
|
||||
width: 2.6em;
|
||||
border-radius: 1.3em;
|
||||
|
||||
}
|
||||
.reduced {
|
||||
@ -188,10 +188,8 @@ span.small-cat {
|
||||
}
|
||||
|
||||
.simple-button {
|
||||
@extend .small-cat;
|
||||
border-radius: 1em;
|
||||
margin-left: .5em;
|
||||
padding: .1em .5em;
|
||||
font-size: 120%;
|
||||
margin-left: .1em;
|
||||
}
|
||||
.button-bar {
|
||||
display: flex;
|
||||
|
@ -31,7 +31,7 @@
|
||||
{% endif %}
|
||||
|
||||
{% if filter.is_resetable %}
|
||||
<a class="secondary" href="{{ filter.get_url_without_filters_only_cats }}" data-tooltip="Supprimer les filtres">{% picto_from_name "x-circle" %}</a>
|
||||
<a class="contrast simple-button" href="{{ filter.get_url_without_filters_only_cats }}" data-tooltip="Supprimer les filtres">{% picto_from_name "x-circle" %}</a>
|
||||
{% endif %}
|
||||
|
||||
</summary>
|
||||
|
@ -241,7 +241,7 @@ def show_legend(filter):
|
||||
)
|
||||
for c in cats
|
||||
]
|
||||
) + ' <a class="simple-button contrast" data-tooltip="Toutes les catégories" href="' + filter.get_url_without_filters() + '" role="button">' + picto_from_name('x-circle') + ' toutes</a></div>'
|
||||
) + ' <a class="contrast simple-button" data-tooltip="Toutes les catégories" href="' + filter.get_url_without_filters() + '">' + picto_from_name('x-circle') + '</a></div>'
|
||||
)
|
||||
else:
|
||||
return mark_safe("<div>" +
|
||||
|
Loading…
Reference in New Issue
Block a user