Merge pull request #346 from rschamp/bugfix/GH-3329

Fix GH-345: Make carousel not so tall
This commit is contained in:
Ray Schamp 2016-01-29 15:26:10 -05:00
commit 0603b3b9df

View file

@ -5,6 +5,7 @@
$button-offset: $icon-size + 5px; $button-offset: $icon-size + 5px;
$box-content-offset: 20px; $box-content-offset: 20px;
margin-bottom: 0;
padding: 12px $button-offset; padding: 12px $button-offset;
.box-content & { .box-content & {
@ -28,8 +29,10 @@
content: ""; content: "";
} }
&.slick-disabled:before { &.slick-disabled {
opacity: 1; &:before {
opacity: 1;
}
} }
} }
@ -38,11 +41,11 @@
&:before { &:before {
background-image: url("/svgs/carousel/prev_ui-dark-gray.svg"); background-image: url("/svgs/carousel/prev_ui-dark-gray.svg");
}
&:hover:before { &:hover {
background-image: url("/svgs/carousel/prev_ui-blue.svg"); background-image: url("/svgs/carousel/prev_ui-blue.svg");
background-size: 90%; background-size: 90%;
}
} }
@ -56,11 +59,11 @@
&:before { &:before {
background-image: url("/svgs/carousel/next_ui-dark-gray.svg"); background-image: url("/svgs/carousel/next_ui-dark-gray.svg");
}
&:hover:before { &:hover {
background-image: url("/svgs/carousel/next_ui-blue.svg"); background-image: url("/svgs/carousel/next_ui-blue.svg");
background-size: 90%; background-size: 90%;
}
} }
.box-content & { .box-content & {