diff options
Diffstat (limited to 'bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_carousel.scss')
-rw-r--r-- | bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_carousel.scss | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_carousel.scss b/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_carousel.scss index f7006780..753d881f 100644 --- a/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_carousel.scss +++ b/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_carousel.scss @@ -101,6 +101,7 @@ color: $carousel-control-color; text-align: center; text-shadow: $carousel-text-shadow; + background-color: rgba(0, 0, 0, 0); // Fix IE9 click-thru bug // We can't have this transition here because WebKit cancels the carousel // animation if you trip this while in the middle of another animation. @@ -240,18 +241,18 @@ .glyphicon-chevron-right, .icon-prev, .icon-next { - width: 30px; - height: 30px; - margin-top: -15px; - font-size: 30px; + width: ($carousel-control-font-size * 1.5); + height: ($carousel-control-font-size * 1.5); + margin-top: ($carousel-control-font-size / -2); + font-size: ($carousel-control-font-size * 1.5); } .glyphicon-chevron-left, .icon-prev { - margin-left: -15px; + margin-left: ($carousel-control-font-size / -2); } .glyphicon-chevron-right, .icon-next { - margin-right: -15px; + margin-right: ($carousel-control-font-size / -2); } } |