2015-09-29 11:22:48 -04:00
|
|
|
@import "../../colors";
|
|
|
|
|
2015-09-08 14:56:28 -04:00
|
|
|
.carousel {
|
|
|
|
$icon-size: 40px;
|
|
|
|
$button-offset: $icon-size + 5px;
|
2015-09-08 15:10:25 -04:00
|
|
|
$box-content-offset: 20px;
|
2015-09-08 14:56:28 -04:00
|
|
|
|
2016-01-29 15:16:32 -05:00
|
|
|
margin-bottom: 0;
|
2015-10-22 17:44:49 -04:00
|
|
|
padding: 12px $button-offset;
|
2015-09-08 14:56:28 -04:00
|
|
|
|
2015-09-08 15:10:25 -04:00
|
|
|
.box-content & {
|
2015-10-22 17:44:49 -04:00
|
|
|
padding: 12px $button-offset - 20px;
|
2015-09-08 15:10:25 -04:00
|
|
|
}
|
|
|
|
|
2015-09-24 19:27:50 -04:00
|
|
|
.slick-next,
|
|
|
|
.slick-prev {
|
2016-03-23 18:34:54 -04:00
|
|
|
margin-top: -$icon-size / 2;
|
2015-09-08 14:56:28 -04:00
|
|
|
width: $icon-size;
|
|
|
|
height: $icon-size;
|
2015-09-24 19:27:50 -04:00
|
|
|
|
2015-09-08 14:56:28 -04:00
|
|
|
&:before {
|
2015-10-23 13:05:48 -04:00
|
|
|
display: block;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: center center;
|
|
|
|
background-size: 70%;
|
|
|
|
width: $icon-size;
|
|
|
|
height: $icon-size;
|
2015-09-24 19:27:50 -04:00
|
|
|
font-size: $icon-size;
|
2015-10-23 13:05:48 -04:00
|
|
|
content: "";
|
2015-09-08 14:56:28 -04:00
|
|
|
}
|
|
|
|
|
2016-01-29 15:17:51 -05:00
|
|
|
&.slick-disabled {
|
|
|
|
&:before {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2015-09-08 14:56:28 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.slick-prev {
|
|
|
|
left: 0;
|
2015-09-08 15:10:25 -04:00
|
|
|
|
2015-10-23 13:05:48 -04:00
|
|
|
&:before {
|
|
|
|
background-image: url("/svgs/carousel/prev_ui-dark-gray.svg");
|
|
|
|
|
2016-01-29 15:17:51 -05:00
|
|
|
&:hover {
|
|
|
|
background-image: url("/svgs/carousel/prev_ui-blue.svg");
|
|
|
|
background-size: 90%;
|
|
|
|
}
|
2015-10-23 13:05:48 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2015-09-08 15:10:25 -04:00
|
|
|
.box-content & {
|
|
|
|
left: -$box-content-offset;
|
|
|
|
}
|
2015-09-08 14:56:28 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.slick-next {
|
|
|
|
right: 0;
|
2015-09-08 15:10:25 -04:00
|
|
|
|
2015-10-23 13:05:48 -04:00
|
|
|
&:before {
|
|
|
|
background-image: url("/svgs/carousel/next_ui-dark-gray.svg");
|
|
|
|
|
2016-01-29 15:17:51 -05:00
|
|
|
&:hover {
|
|
|
|
background-image: url("/svgs/carousel/next_ui-blue.svg");
|
|
|
|
background-size: 90%;
|
|
|
|
}
|
2015-10-23 13:05:48 -04:00
|
|
|
}
|
|
|
|
|
2015-09-08 15:10:25 -04:00
|
|
|
.box-content & {
|
|
|
|
right: -$box-content-offset;
|
|
|
|
}
|
2015-09-08 14:56:28 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.slick-slide {
|
|
|
|
padding-right: 30px;
|
|
|
|
}
|
2015-09-08 15:10:25 -04:00
|
|
|
|
2015-09-09 09:53:48 -04:00
|
|
|
}
|