remove cover image in slider
This commit is contained in:
parent
c08efc16e5
commit
ede736564f
8 changed files with 35 additions and 27 deletions
|
|
@ -214,6 +214,36 @@ img.show {
|
|||
display: contents;
|
||||
}
|
||||
|
||||
/* Link hover scale up */
|
||||
/* Logo hover */
|
||||
.expanded-nav a,
|
||||
.main-nav a,
|
||||
.main-footer a,
|
||||
.hero__text a,
|
||||
.collapsable__content a {
|
||||
display: block;
|
||||
scale: 1;
|
||||
transition: scale 0.5s var(--curve-quick);
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
.filters button,
|
||||
.anchors-strip a {
|
||||
display: inline-block;
|
||||
scale: 1;
|
||||
transition: scale 0.5s var(--curve-quick);
|
||||
}
|
||||
|
||||
.expanded-nav a:hover,
|
||||
.filters button:hover,
|
||||
.main-nav a:hover,
|
||||
.main-footer a:hover,
|
||||
.hero__text a:hover,
|
||||
.collapsable__content a:hover,
|
||||
.anchors-strip a:hover {
|
||||
scale: var(--scale-up);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 800px) {
|
||||
.mobile-group {
|
||||
display: block;
|
||||
|
|
|
|||
|
|
@ -168,14 +168,6 @@
|
|||
max-width: 0.9ch;
|
||||
}
|
||||
|
||||
/* Logo hover */
|
||||
.main-nav .logo {
|
||||
transition: scale 0.5s var(--curve-quick);
|
||||
}
|
||||
.main-nav .logo:hover {
|
||||
scale: 1.035;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 800px) {
|
||||
.main-nav__featured-pages {
|
||||
display: none;
|
||||
|
|
|
|||
|
|
@ -6,11 +6,6 @@
|
|||
display: flex;
|
||||
}
|
||||
|
||||
.anchors-strip a:hover {
|
||||
text-decoration: underline;
|
||||
text-underline-offset: 0.3rem;
|
||||
}
|
||||
|
||||
.anchors-strip li {
|
||||
margin-right: 5vw;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,3 @@
|
|||
.filters > button {
|
||||
transition: color 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.filters > button:hover {
|
||||
color: var(--color-salmon);
|
||||
}
|
||||
|
||||
.filters > button:not(:last-child) {
|
||||
margin-right: 4vw;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,9 +17,6 @@
|
|||
display: flex !important;
|
||||
align-items: center;
|
||||
}
|
||||
.swiper-slide-next {
|
||||
opacity: 0 !important;
|
||||
}
|
||||
|
||||
/* nav buttons */
|
||||
.swiper-button {
|
||||
|
|
|
|||
|
|
@ -37,6 +37,8 @@
|
|||
--color-brown-light: #d6cfbe;
|
||||
--color-beige: #f7f6ed;
|
||||
|
||||
--scale-up: 1.035;
|
||||
|
||||
--transition-image-opacity: opacity 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
<?php endforeach ?>
|
||||
</ul>
|
||||
<?php snippet('ticket', ['link' => option('ticketingUrl')]) ?>
|
||||
<a href="/recherche" class="main-nav__search" title="chercher un événement">
|
||||
<a href="/recherche" class="main-nav__search" title="chercher">
|
||||
<?= svg('/assets/images/icons/search.svg') ?>
|
||||
</a>
|
||||
<button class="burger-btn" aria-expanded="false" title="Ouvrir le menu">
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@
|
|||
|
||||
<section class="presentation">
|
||||
<div id="swiper" style="--span: 8; --color: <?= $page->color()->isNotEmpty() ? $page->color() : 'var(--color-season)' ?>">
|
||||
<div class="swiper-wrapper">
|
||||
<?php foreach($page->gallery()->toFiles() as $slide): ?>
|
||||
<div class="swiper-wrapper">
|
||||
<?php foreach($page->gallery()->toFiles()->without($page->gallery()->toFiles()->first()) as $slide): ?>
|
||||
<div class="swiper-slide">
|
||||
<?php snippet('picture', ['file' => $slide]) ?>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue