From 6a93a6b88a4b874fba5a1d1edd817cbd91ccfacc Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 20 Oct 2013 16:46:38 -0700 Subject: Fixes #10903 and #10457: IE8-9 don't support events on elements without background-color, so we have to hack it --- less/carousel.less | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'less/carousel.less') diff --git a/less/carousel.less b/less/carousel.less index 59e4fadf7..d0d90736f 100644 --- a/less/carousel.less +++ b/less/carousel.less @@ -160,6 +160,17 @@ border: 1px solid @carousel-indicator-border-color; border-radius: 10px; cursor: pointer; + + // IE8-9 hack for event handling + // + // Internet Explorer 8-9 does not support clicks on elements without a set + // `background-color`. We cannot use `filter` since that's not viewed as a + // background color by the browser. Thus, a hack is needed. + // + // For IE8, we set solid black as it doesn't support `rgba()`. For IE9, we + // set alpha transparency for the best results possible. + background-color: #000 \9; // IE8 + background-color: rgba(0,0,0,0); // IE9 } .active { margin: 0; -- cgit v1.2.3 From c865a68e212e6ba35a5049b568f63730ee870a82 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Thu, 24 Oct 2013 19:20:08 -0700 Subject: fix WebKit caps in comments --- less/carousel.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'less/carousel.less') diff --git a/less/carousel.less b/less/carousel.less index d0d90736f..317963b7f 100644 --- a/less/carousel.less +++ b/less/carousel.less @@ -75,7 +75,7 @@ color: @carousel-control-color; text-align: center; text-shadow: @carousel-text-shadow; - // We can't have this transition here because webkit cancels the carousel + // We can't have this transition here because WebKit cancels the carousel // animation if you trip this while in the middle of another animation. // Set gradients for backgrounds -- cgit v1.2.3 From d654f905028a40893fa553f529d12dceec879cf7 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 28 Nov 2013 15:37:11 -0800 Subject: Fixes #10147: Remove outline from carousel controls on focus --- less/carousel.less | 1 + 1 file changed, 1 insertion(+) (limited to 'less/carousel.less') diff --git a/less/carousel.less b/less/carousel.less index 317963b7f..e53365df4 100644 --- a/less/carousel.less +++ b/less/carousel.less @@ -91,6 +91,7 @@ // Hover/focus state &:hover, &:focus { + outline: none; color: @carousel-control-color; text-decoration: none; .opacity(.9); -- cgit v1.2.3