extending css components features

This commit is contained in:
Antoine M 2023-10-26 09:52:18 +02:00
parent 32ec376ce1
commit 9c2521157e
6 changed files with 40 additions and 15 deletions

View File

@ -1,5 +1,5 @@
.breadcrumbs_navigation { .breadcrumbs_navigation {
@apply py-6 max-w-screen-xl mx-auto; @apply py-6 container mx-auto px-0;
ol { ol {
@apply list-none flex items-center text-sm font-bold; @apply list-none flex items-center text-sm font-bold;

View File

@ -1,11 +0,0 @@
.card-container {
@apply grid
grid-cols-1
sm:grid-cols-2
xl:grid-cols-4
max-w-screen-2xl
px-8
py-16
gap-8
mx-auto;
}

View File

@ -0,0 +1,12 @@
.card-grid-container {
@apply container
grid
grid-cols-1
sm:grid-cols-2
xl:grid-cols-4
md:py-16
gap-8
mx-auto;
}

View File

@ -1,7 +1,7 @@
.cta { .cta {
@apply block w-fit my-2 text-base font-bold; @apply block w-fit my-2 text-base font-bold;
&--button { &--button {
@apply rounded-full px-8 py-4 focus:rounded-full font-bold h-fit; @apply rounded-full px-8 py-4 focus:rounded-full font-bold h-fit cursor-pointer;
} }
&--circular { &--circular {
@apply rounded-full focus:rounded-full aspect-square w-12 flex items-center justify-center; @apply rounded-full focus:rounded-full aspect-square w-12 flex items-center justify-center;

View File

@ -0,0 +1,9 @@
.filters-toolbar {
@apply flex
flex-col
items-center
md:flex-row
container
mx-auto
gap-x-8 gap-y-3 p-0 py-8;
}

View File

@ -1,6 +1,21 @@
.heading-box { .heading-box {
@apply bg-primary text-white text-center py-12 max-w-screen-xl mx-auto @apply container
mt-8 rounded-2xl relative pt-20; bg-primary
text-white
text-center
mx-auto
py-12
rounded-2xl
pt-20
mt-8
relative;
/* max-w-screen-2xl
px-8 mx-auto
relative
pt-20; */
&__title { &__title {
@apply uppercase font-medium text-xl tracking-widest; @apply uppercase font-medium text-xl tracking-widest;
} }