From e36384d0396e468f76cd4a9204f069fe7b4ed746 Mon Sep 17 00:00:00 2001 From: Antoine M Date: Tue, 3 Jun 2025 16:49:28 +0200 Subject: [PATCH] FEATURE introducing comoponent basic styling --- resources/css/components/revues-grid.css | 48 +++++++++++++++++++++++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/resources/css/components/revues-grid.css b/resources/css/components/revues-grid.css index 5d0e80a..a704dbd 100644 --- a/resources/css/components/revues-grid.css +++ b/resources/css/components/revues-grid.css @@ -1,5 +1,51 @@ .revues-grid { + &__toolbar { + @apply grid grid-cols-1 md:grid-cols-2 gap-4 items-center justify-between pb-12; + + h2.revues-count { + @apply flex items-end gap-2; + + &__count { + @apply font-normal uppercase fjalla; + line-height: 0.8; + } + + &__text { + @apply text-xl nunito; + } + } + + .search-bar { + @apply justify-self-end; + input { + @apply py-2 px-4 border border-primary rounded-full; + &::placeholder { + @apply text-sm text-carhop-green-700; + } + } + } + } + &__toolbar-actions { + @apply col-span-2 flex items-center gap-4; + + select { + @apply border border-carhop-green-700 rounded-full py-2 px-4; + } + + select[name='etiquettes'] { + /* @apply bg-blue-300; */ + } + + select[name='auteurs'] { + /* @apply bg-red-300; */ + } + + select[name='sort_by'] { + @apply ml-auto; + } + } + &__list { - @apply grid grid-cols-1 md:grid-cols-2 gap-4; + @apply grid grid-cols-1 md:grid-cols-2 gap-8; } }