Skip to content

Commit

Permalink
💄 Adjust carousel arrows (per Figma design)
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandams committed May 27, 2024
1 parent 8a6deaf commit 690e79a
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 0 deletions.
10 changes: 10 additions & 0 deletions img/Next.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions img/Prev.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions styles/carrossel.css
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,43 @@
.swiper {
width: 60%;
}

.swiper-pagination-bullet {
width: 10px;
height: 10px;
opacity: 0.4;
}

.swiper-pagination-bullet-active {
opacity: 1;
}

.swiper-button-prev,
.swiper-button-next {
display: block;
top: 60%;
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
background-color: var(--azul);
cursor: pointer;
color: var(--branco);
background-position: center;
padding: 8px 16px;
border-radius: 100%;
background-repeat: no-repeat;
}

.swiper-button-prev {
background-image: url("../img/Prev.svg");
}

.swiper-button-next {
background-image: url("../img/Next.svg");
}

.swiper-button-next::after,
.swiper-button-prev::after {
content: "";
display: none;
}

.card {
Expand Down

0 comments on commit 690e79a

Please sign in to comment.