File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 116
116
color : $carousel-control-color ;
117
117
text-align : center ;
118
118
opacity : $carousel-control-opacity ;
119
- // We can't have a transition here because WebKit cancels the carousel
120
- // animation if you trip this while in the middle of another animation.
119
+ @include transition ($carousel-control-transition );
121
120
122
121
// Hover/focus state
123
122
@include hover-focus {
124
123
color : $carousel-control-color ;
125
124
text-decoration : none ;
126
125
outline : 0 ;
127
- opacity : .9 ;
126
+ opacity : $carousel-control-hover-opacity ;
128
127
}
129
128
}
130
129
.carousel-control-prev {
Original file line number Diff line number Diff line change @@ -965,6 +965,8 @@ $breadcrumb-border-radius: $border-radius !default;
965
965
$carousel-control-color : $white !default ;
966
966
$carousel-control-width : 15% !default ;
967
967
$carousel-control-opacity : .5 !default ;
968
+ $carousel-control-hover-opacity : .9 !default ;
969
+ $carousel-control-transition : opacity .15s ease !default ;
968
970
969
971
$carousel-indicator-width : 30px !default ;
970
972
$carousel-indicator-height : 3px !default ;
You can’t perform that action at this time.
0 commit comments