Skip to content

Commit

Permalink
Merge branch 'denischiron-master-css' into dev
Browse files Browse the repository at this point in the history
Ajout du CSS de Denis
  • Loading branch information
Lucaterre committed Apr 2, 2024
2 parents 3217938 + 91f32ab commit 4cd1d50
Show file tree
Hide file tree
Showing 7 changed files with 260 additions and 69 deletions.
34 changes: 28 additions & 6 deletions src/components/PersonDataCarousel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
</div>
<div class="box-content">
<Carousel :itemsToShow="ItemsShowed"
:breakpoints="breakpoints"
:wrapAround="true"
:transition="500">
<Slide v-for="link in collectaItems" :key="link">
Expand Down Expand Up @@ -47,6 +48,20 @@ export default {
data() {
return {
isOpened: true,
breakpoints: {
300: {
itemsToShow: 1.5,
itemsToScroll: 1
},
700: {
itemsToShow: 2,
itemsToScroll: 2
},
1024: {
itemsToShow: 3,
itemsToScroll: 3
},
},
}
},
computed: {
Expand Down Expand Up @@ -103,6 +118,7 @@ export default {
.box-iconography-collecta.is-opened .box-content {
background-color: var(--panel-bg-color);
margin-bottom: var(--right-column-bottom-padding-desktop);
width: 100%;
}
.box-header {
Expand All @@ -117,6 +133,7 @@ export default {
font-style: italic;
color: #272727;
margin-bottom: 6px;
padding-right: 25px;
}
.logo-collecta {
Expand Down Expand Up @@ -189,14 +206,14 @@ li.carousel__slide a {
li.carousel__slide a:before {
content: "";
display: block;
width: 100%;
height: 100%;
width: 50%;
height: 50%;
background-color: #3b3b3b;
position: absolute;
top: -114px;
left: 67px;
transform-origin: bottom center;
transform: scale(0.4) rotate3d(1, -0.2, 0.4, 25deg);
top: 58%;
left: 35%;
transform-origin: bottom right;
transform: translateY(-50%) skewX(-10deg);
z-index: 1;
}
Expand Down Expand Up @@ -274,10 +291,15 @@ li.carousel__slide a::after {
}
@media screen and (max-width: 1024px) {
.box-iconography-collecta .box-header {
padding: 0 var(--mobile-side-padding) var(--right-column-bottom-padding-mobile) !important;
}
.box-iconography-collecta.is-opened .box-header {
padding: 0 var(--mobile-side-padding) 0 !important;
}
}
Expand Down
Loading

0 comments on commit 4cd1d50

Please sign in to comment.