From 88789212bb0d83e549895cf2785b6de56c79fd6f Mon Sep 17 00:00:00 2001 From: Antoine M Date: Wed, 4 Jun 2025 11:37:34 +0200 Subject: [PATCH] REFACOTR moving the components to dynamic theme --- resources/css/app.css | 3 +- resources/css/components/card-revue.css | 29 -------------- resources/css/components/revues-grid.css | 51 ------------------------ 3 files changed, 1 insertion(+), 82 deletions(-) delete mode 100644 resources/css/components/card-revue.css delete mode 100644 resources/css/components/revues-grid.css diff --git a/resources/css/app.css b/resources/css/app.css index d0e6063..259555f 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -19,8 +19,7 @@ @import './components/content-meta.css'; @import './components/article-tag.css'; @import './components/page-header.css'; -@import './components/revues-grid.css'; -@import './components/card-revue.css'; + /* ########### LAYOUT ############ */ @import './layout/nav.css'; diff --git a/resources/css/components/card-revue.css b/resources/css/components/card-revue.css deleted file mode 100644 index 2121aec..0000000 --- a/resources/css/components/card-revue.css +++ /dev/null @@ -1,29 +0,0 @@ -.card-revue { - @apply p-8 border border-primary relative grid gap-6 bg-white; - grid-template-columns: 1fr 4fr 40px; - - .content-meta { - @apply mb-4; - .content-meta__type--revue { - @apply text-lg; - } - } - &__title { - @apply text-3xl font-bold; - } - &__date { - @apply capitalize pt-3 block; - } - - .issue-number { - @apply bg-primary text-white w-full h-auto flex items-center justify-center; - aspect-ratio: 1/1; - } - - &:after { - content: ''; - @apply absolute top-0 left-0 w-full h-full border border-primary; - z-index: -1; - transform: translate(10px, 10px); - } -} diff --git a/resources/css/components/revues-grid.css b/resources/css/components/revues-grid.css deleted file mode 100644 index a704dbd..0000000 --- a/resources/css/components/revues-grid.css +++ /dev/null @@ -1,51 +0,0 @@ -.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-8; - } -}