Re-add carousel control transition (#27277)

This commit is contained in:
Martijn Cuppens 2018-10-21 09:13:35 +02:00 committed by XhmikosR
parent 59f1802e98
commit c9a43b027a
2 changed files with 4 additions and 3 deletions

View File

@ -116,15 +116,14 @@
color: $carousel-control-color;
text-align: center;
opacity: $carousel-control-opacity;
// We can't have a transition here because WebKit cancels the carousel
// animation if you trip this while in the middle of another animation.
@include transition($carousel-control-transition);
// Hover/focus state
@include hover-focus {
color: $carousel-control-color;
text-decoration: none;
outline: 0;
opacity: .9;
opacity: $carousel-control-hover-opacity;
}
}
.carousel-control-prev {

View File

@ -965,6 +965,8 @@ $breadcrumb-border-radius: $border-radius !default;
$carousel-control-color: $white !default;
$carousel-control-width: 15% !default;
$carousel-control-opacity: .5 !default;
$carousel-control-hover-opacity: .9 !default;
$carousel-control-transition: opacity .15s ease !default;
$carousel-indicator-width: 30px !default;
$carousel-indicator-height: 3px !default;