scratch-www/src/components/carousel/carousel.scss
carljbowman 41e4b3b990 Add Global Colors and Updated SCSS / Linter
Created a new global style sheet to manage colors and converted all the current SCSS to match the new color scheme.
2015-09-29 11:22:48 -04:00

50 lines
826 B
SCSS

@import "../../colors";
.carousel {
$icon-size: 40px;
$button-offset: $icon-size + 5px;
$box-content-offset: 20px;
padding: 0 $button-offset;
.box-content & {
padding: 0 $button-offset - 20px;
}
.slick-next,
.slick-prev {
margin-top: -$icon-size/2;
width: $icon-size;
height: $icon-size;
&:before {
color: $ui-dark-gray;
font-size: $icon-size;
}
&.slick-disabled:before {
opacity: 1;
}
}
.slick-prev {
left: 0;
.box-content & {
left: -$box-content-offset;
}
}
.slick-next {
right: 0;
.box-content & {
right: -$box-content-offset;
}
}
.slick-slide {
padding-right: 30px;
}
}