handling and refinin block timeline
This commit is contained in:
parent
64c2a5563a
commit
f671704a0b
|
|
@ -67,6 +67,7 @@
|
||||||
@import './blocks/chapitrage-thematique.css';
|
@import './blocks/chapitrage-thematique.css';
|
||||||
@import './blocks/content-page-header.css';
|
@import './blocks/content-page-header.css';
|
||||||
@import './blocks/timeline.css';
|
@import './blocks/timeline.css';
|
||||||
|
@import './blocks/warning.css';
|
||||||
|
|
||||||
/* ########### PAGE ############ */
|
/* ########### PAGE ############ */
|
||||||
@import './pages/demo-components.css';
|
@import './pages/demo-components.css';
|
||||||
|
|
|
||||||
|
|
@ -1,16 +1,52 @@
|
||||||
.homegrade-blocks-timeline {
|
.homegrade-blocks-timeline {
|
||||||
@apply max-w-screen-xl mx-auto;
|
@apply max-w-screen-xl mx-auto relative my-32;
|
||||||
|
&--has-step-icons {
|
||||||
|
&:before {
|
||||||
|
@apply rounded-xl bg-secondary
|
||||||
|
opacity-10
|
||||||
|
absolute
|
||||||
|
top-0
|
||||||
|
h-full;
|
||||||
|
z-index: -1;
|
||||||
|
content: '';
|
||||||
|
top: 0;
|
||||||
|
left: calc(33% + 56px);
|
||||||
|
width: 26px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.homegrade-blocks-timeline-step {
|
.homegrade-blocks-timeline-step {
|
||||||
@apply grid grid-cols-3 gap-12 py-6;
|
@apply grid grid-cols-3 gap-12 py-6;
|
||||||
&__cover {
|
&__cover {
|
||||||
@apply max-w-md;
|
@apply max-w-md h-auto;
|
||||||
/* max-width: 250px; */
|
img {
|
||||||
display: flex;
|
@apply pb-3;
|
||||||
justify-content: center;
|
}
|
||||||
align-items: center;
|
.description,
|
||||||
|
.caption {
|
||||||
|
@apply m-0 p-0;
|
||||||
|
}
|
||||||
|
.caption {
|
||||||
|
@apply font-semibold text-primary text-sm;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&__icon {
|
||||||
|
@apply w-24 h-24 shrink-0 bg-white shadowed p-4 rounded-3xl;
|
||||||
|
|
||||||
|
img {
|
||||||
|
@apply max-w-full max-h-full mx-auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
&__content {
|
&__content {
|
||||||
@apply col-span-2;
|
@apply col-span-2 flex gap-8;
|
||||||
|
&--has-step-icon {
|
||||||
|
&:before {
|
||||||
|
content: '';
|
||||||
|
height: 100%;
|
||||||
|
width: 2px;
|
||||||
|
background: red;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&__title {
|
&__title {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user