on améliore l'apparence de la barre du filtre

This commit is contained in:
Jean-Marie Favreau 2023-11-07 19:37:07 +01:00
parent da403dfcf7
commit a8942f0597
2 changed files with 11 additions and 1 deletions

View File

@ -8,6 +8,7 @@ $primary-700: #008080;*/
$primary-500: #008989;
$primary-600: #008080;
$primary-700: #006c6c;
$enable-responsive-typography: true;
// Import Pico
@import "./pico/pico";
@ -228,4 +229,13 @@ article.day>ul {
.day.past:hover,
.day.other_month:hover {
opacity: 1;
}
@media only screen and (prefers-color-scheme: light) {
[data-theme="light"],
:root:not([data-theme="dark"]) {
.filter summary:after {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='#{to-rgb($black)}' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}
}
}

View File

@ -1,7 +1,7 @@
{% load cat_extra %}
{% load tag_extra %}
<article>
<article class="filter">
<details>
<summary role="button" class="contrast outline">
{% if filter.is_active %}