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 {
|
.circ-cat.circ-large {
|
||||||
height: 3em;
|
height: 2.6em;
|
||||||
width: 3em;
|
width: 2.6em;
|
||||||
border-radius: 1.5em;
|
border-radius: 1.3em;
|
||||||
|
|
||||||
}
|
}
|
||||||
.reduced {
|
.reduced {
|
||||||
@ -188,10 +188,8 @@ span.small-cat {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.simple-button {
|
.simple-button {
|
||||||
@extend .small-cat;
|
font-size: 120%;
|
||||||
border-radius: 1em;
|
margin-left: .1em;
|
||||||
margin-left: .5em;
|
|
||||||
padding: .1em .5em;
|
|
||||||
}
|
}
|
||||||
.button-bar {
|
.button-bar {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if filter.is_resetable %}
|
{% 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 %}
|
{% endif %}
|
||||||
|
|
||||||
</summary>
|
</summary>
|
||||||
|
@ -241,7 +241,7 @@ def show_legend(filter):
|
|||||||
)
|
)
|
||||||
for c in cats
|
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:
|
else:
|
||||||
return mark_safe("<div>" +
|
return mark_safe("<div>" +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user