Skip to content

Commit

Permalink
.slick-dots li.slick-active button:before
Browse files Browse the repository at this point in the history
  • Loading branch information
wnawa committed Jan 19, 2024
1 parent 402d0e8 commit f04a5ce
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 257 deletions.
33 changes: 1 addition & 32 deletions src/app/home/home.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,6 @@
border: none;
width: 100%;
}
.block-slider .slick-dots ul li,
.block-slider ul li {
list-style: none;
}
.block-slider .slick-dots ul li,
.block-slider .bx-pager {
display: none;
}


.block-slider img {
width: 100%;
Expand Down Expand Up @@ -65,29 +56,7 @@
[4. Slidershow]
------------------*/

.block-slider .bx-pager {
display: block;
text-align: center;
}
.block-slider .bx-pager-item {
width: 15px;
height: 15px;
background: #fff;
font-size: 0;
display: inline-block;
border-radius: 50%;
margin: 0 3px;
}
.block-slider .bx-pager-item a {
width: 100%;
height: 100%;
background: #999;
display: block;
border-radius: 50%;
}
.block-slider .bx-pager-item a.active {
background: #1bd172;
}

.block-slider
.caption-group {
position: absolute;
Expand Down
216 changes: 0 additions & 216 deletions src/assets/css/owl.carousel.css

This file was deleted.

23 changes: 23 additions & 0 deletions src/assets/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,26 @@ jQuery(document).ready(function ($) {
ga('create', 'UA-10146041-21', 'auto');
ga('send', 'pageview');

// Slick corasoul animation

// function initCarousel() {

// $('.my-carousel').slick({
// slidesToShow: 1,
// slidesToScroll: 1,
// autoplay: false,
// adaptiveHeight: false,
// fade: true,
// speed: 0, // removes Slick's standard animation
// }).on('beforeChange', function(event, slick, currentSlideIndex, nextSlideIndex) {
// if(nextSlideIndex > currentSlideIndex) {
// // Animation to go to next slide
// $('.my-carousel .slick-slide[data-slick-index=' + currentSlideIndex + ']').addClass('fadeOutLeft').removeClass('fadeInRight');
// $('.my-carousel .slick-slide[data-slick-index=' + nextSlideIndex + ']').addClass('fadeInRight').removeClass('fadeOutLeft fadeOutRight');
// } else {
// // Animation to go to previous slide
// $('.my-carousel .slick-slide[data-slick-index=' + currentSlideIndex + ']').addClass('fadeOutRight').removeClass('fadeInRight');
// $('.my-carousel .slick-slide[data-slick-index=' + nextSlideIndex + ']').addClass('fadeInLeft').removeClass('fadeOutLeft fadeOutRight');
// }
// });
// }
36 changes: 27 additions & 9 deletions src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ h6 {
body {
font-family: Arial, Helvetica, sans-serif;
overflow-x: hidden;

}

.header-area {
Expand Down Expand Up @@ -157,6 +156,24 @@ body {
}

/* Main Slick Courasol*/

/* slick dots default css */
.slick-dots li button ,.slick-dots li{
/* position: absolute; */
/* z-index: 9; */
/* transform: scale(2, 2); */
}
.slick-dots li button:before {
width: 100%;
height: 100%;
background: #999;
display: block;
border-radius: 50%;
}
/* slick dots active link css */
.slick-dots li.slick-active button:before {
color: #1bd172;
}
.slider-area {
width: 85%;
margin: 0 auto;
Expand All @@ -165,11 +182,6 @@ body {
display: flex;
text-align: center;
}
.slick-dots {
position: absolute;
z-index: 9;
transform: scale(2, 2);
}

.mainslick-next:hover,
.mainslick-prev:hover {
Expand Down Expand Up @@ -225,6 +237,12 @@ body {
right: 0;
top: 0;
}
.slick-dots ul li {
list-style: none;
margin: 0;
padding: 0;
color: #17a78b;
}
/*----------------------
[10. Block top seller ]
------------------------*/
Expand Down Expand Up @@ -498,7 +516,7 @@ body {
}

.product-wid-title {
font-family: "Raleway", sans-serif;;
font-family: "Raleway", sans-serif;
font-size: 30px;
font-weight: 100;
margin-bottom: 40px;
Expand Down Expand Up @@ -575,7 +593,7 @@ body {
color: #5a88ca;
}
.footer-wid-title {
font-family: "Raleway", sans-serif;;
font-family: "Raleway", sans-serif;
font-size: 30px;
font-weight: 100;
color: #fff;
Expand Down Expand Up @@ -722,7 +740,7 @@ ol.slide-indicators li.active {
}

.product-bit-title h2 {
font-family: "Raleway", sans-serif;;
font-family: "Raleway", sans-serif;
font-size: 50px;
font-weight: 200;
margin: 0;
Expand Down

0 comments on commit f04a5ce

Please sign in to comment.