-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Carousel with recommended products was added
- Loading branch information
vilgefortzz
committed
May 20, 2017
1 parent
77d7f49
commit 828a889
Showing
10 changed files
with
402 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
143 changes: 143 additions & 0 deletions
143
resources/assets/sass/recommended_products_carousel.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,143 @@ | ||
#itemslider h4{ | ||
font-family: 'Josefin Sans', sans-serif; | ||
font-weight: 400; | ||
font-size: 12px; | ||
margin: 10px auto 3px; | ||
} | ||
|
||
#itemslider h5{ | ||
font-family: 'Josefin Sans', sans-serif; | ||
font-weight: bold; | ||
font-size: 12px; | ||
margin: 3px auto 2px; | ||
} | ||
|
||
#itemslider h6{ | ||
font-family: 'Josefin Sans', sans-serif; | ||
font-weight: 300;; | ||
font-size: 10px; | ||
margin: 2px auto 5px; | ||
} | ||
|
||
.carousel-control { | ||
background: none !important; filter: none !important; progid:none !important; | ||
} | ||
|
||
#slider-control img{ | ||
padding-top: 60%; | ||
margin: 0 auto; | ||
} | ||
|
||
@media screen and (max-width: 992px){ | ||
#slider-control img { | ||
padding-top: 70px; | ||
margin: 0 auto; | ||
} | ||
} | ||
|
||
.carousel-showmanymoveone .carousel-control { | ||
width: 4%; | ||
background-image: none; | ||
} | ||
|
||
.carousel-showmanymoveone .carousel-control.left { | ||
margin-left: 5px; | ||
} | ||
|
||
.carousel-showmanymoveone .carousel-control.right { | ||
margin-right: 5px; | ||
} | ||
|
||
.carousel-showmanymoveone .cloneditem-1, | ||
.carousel-showmanymoveone .cloneditem-2, | ||
.carousel-showmanymoveone .cloneditem-3, | ||
.carousel-showmanymoveone .cloneditem-4, | ||
.carousel-showmanymoveone .cloneditem-5 { | ||
display: none; | ||
} | ||
|
||
@media all and (min-width: 768px) { | ||
.carousel-showmanymoveone .carousel-inner > .active.left, | ||
.carousel-showmanymoveone .carousel-inner > .prev { | ||
left: -50%; | ||
} | ||
.carousel-showmanymoveone .carousel-inner > .active.right, | ||
.carousel-showmanymoveone .carousel-inner > .next { | ||
left: 50%; | ||
} | ||
.carousel-showmanymoveone .carousel-inner > .left, | ||
.carousel-showmanymoveone .carousel-inner > .prev.right, | ||
.carousel-showmanymoveone .carousel-inner > .active { | ||
left: 0; | ||
} | ||
.carousel-showmanymoveone .carousel-inner .cloneditem-1 { | ||
display: block; | ||
} | ||
} | ||
|
||
@media all and (min-width: 768px) and (transform-3d), all and (min-width: 768px) and (-webkit-transform-3d) { | ||
.carousel-showmanymoveone .carousel-inner > .item.active.right, | ||
.carousel-showmanymoveone .carousel-inner > .item.next { | ||
-webkit-transform: translate3d(50%, 0, 0); | ||
transform: translate3d(50%, 0, 0); | ||
left: 0; | ||
} | ||
.carousel-showmanymoveone .carousel-inner > .item.active.left, | ||
.carousel-showmanymoveone .carousel-inner > .item.prev { | ||
-webkit-transform: translate3d(-50%, 0, 0); | ||
transform: translate3d(-50%, 0, 0); | ||
left: 0; | ||
} | ||
.carousel-showmanymoveone .carousel-inner > .item.left, | ||
.carousel-showmanymoveone .carousel-inner > .item.prev.right, | ||
.carousel-showmanymoveone .carousel-inner > .item.active { | ||
-webkit-transform: translate3d(0, 0, 0); | ||
transform: translate3d(0, 0, 0); | ||
left: 0; | ||
} | ||
} | ||
|
||
@media all and (min-width: 992px) { | ||
.carousel-showmanymoveone .carousel-inner > .active.left, | ||
.carousel-showmanymoveone .carousel-inner > .prev { | ||
left: -16.666%; | ||
} | ||
.carousel-showmanymoveone .carousel-inner > .active.right, | ||
.carousel-showmanymoveone .carousel-inner > .next { | ||
left: 16.666%; | ||
} | ||
.carousel-showmanymoveone .carousel-inner > .left, | ||
.carousel-showmanymoveone .carousel-inner > .prev.right, | ||
.carousel-showmanymoveone .carousel-inner > .active { | ||
left: 0; | ||
} | ||
.carousel-showmanymoveone .carousel-inner .cloneditem-2, | ||
.carousel-showmanymoveone .carousel-inner .cloneditem-3, | ||
.carousel-showmanymoveone .carousel-inner .cloneditem-4, | ||
.carousel-showmanymoveone .carousel-inner .cloneditem-5, | ||
.carousel-showmanymoveone .carousel-inner .cloneditem-6 { | ||
display: block; | ||
} | ||
} | ||
|
||
@media all and (min-width: 992px) and (transform-3d), all and (min-width: 992px) and (-webkit-transform-3d) { | ||
.carousel-showmanymoveone .carousel-inner > .item.active.right, | ||
.carousel-showmanymoveone .carousel-inner > .item.next { | ||
-webkit-transform: translate3d(16.666%, 0, 0); | ||
transform: translate3d(16.666%, 0, 0); | ||
left: 0; | ||
} | ||
.carousel-showmanymoveone .carousel-inner > .item.active.left, | ||
.carousel-showmanymoveone .carousel-inner > .item.prev { | ||
-webkit-transform: translate3d(-16.666%, 0, 0); | ||
transform: translate3d(-16.666%, 0, 0); | ||
left: 0; | ||
} | ||
.carousel-showmanymoveone .carousel-inner > .item.left, | ||
.carousel-showmanymoveone .carousel-inner > .item.prev.right, | ||
.carousel-showmanymoveone .carousel-inner > .item.active { | ||
-webkit-transform: translate3d(0, 0, 0); | ||
transform: translate3d(0, 0, 0); | ||
left: 0; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.