diff --git a/resources/css/pages/archive-actualites.css b/resources/css/pages/archive-actualites.css new file mode 100644 index 0000000..519d393 --- /dev/null +++ b/resources/css/pages/archive-actualites.css @@ -0,0 +1,35 @@ +.post-type-archive-actualites { + .block-front-header { + @apply !pb-16; + } + + .post-grid__toolbar { + @apply items-start gap-y-4; + grid-template-columns: max-content 1fr; + grid-template-rows: auto auto; + + /* Colonne gauche : compteur sur toute la hauteur (2 lignes) ; droite : recherche puis tri */ + .post-count { + @apply pt-4; + grid-column: 1; + grid-row: 1 / -1; + @apply items-center self-stretch; + } + + .post-grid__toolbar-actions { + grid-column: 2; + grid-row: 1; + @apply w-full justify-end; + } + + select[name='sort_by'] { + grid-column: 2; + grid-row: 2; + @apply justify-self-end; + } + + .search-by { + @apply hidden; + } + } +}