From 7fd121fecb0e5b2774a2c1486d61f95b298035aa Mon Sep 17 00:00:00 2001 From: Francis Brunelle Date: Sat, 22 Jun 2013 21:38:02 -0300 Subject: Reset left padding for .carousel-indicators --- 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 31f9b8aff..a7a4672c1 100644 --- a/less/carousel.less +++ b/less/carousel.less @@ -131,6 +131,7 @@ z-index: 15; width: 100px; margin: 0 0 0 -50px; + padding-left: 0; list-style: none; text-align: center; -- cgit v1.2.3 From 0a92efce0cbded7b664a5e198bfe6bca3b13bcac Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 28 Jun 2013 09:24:46 -0700 Subject: Nuke hella things * Any mentions of .btn-mini * Old docs page that somehow found it's way back --- 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 a7a4672c1..13159db41 100644 --- a/less/carousel.less +++ b/less/carousel.less @@ -26,7 +26,7 @@ // Account for jankitude on images > img, > a > img { - display: block; + .img-responsive(); line-height: 1; } } -- cgit v1.2.3 From a27ecfccf301f8996d7ddf6bd6f7f46f358a5a31 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 1 Jul 2013 17:32:07 -0700 Subject: Make more components mixin-friendly --- less/carousel.less | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'less/carousel.less') diff --git a/less/carousel.less b/less/carousel.less index 13159db41..d0f636cf8 100644 --- a/less/carousel.less +++ b/less/carousel.less @@ -8,15 +8,10 @@ position: relative; } -// Wrap all slides, but only show the active one .carousel-inner { position: relative; overflow: hidden; width: 100%; -} - -// Immediate parent of all slides -.carousel-inner { > .item { display: none; @@ -80,13 +75,8 @@ color: #fff; text-align: center; text-shadow: 0 1px 2px rgba(0,0,0,.6); - - // we can't have this transition here - // because webkit cancels the carousel - // animation if you trip this while - // in the middle of another animation - // ;_; - // .transition(opacity .2s linear); + // 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 &.left { -- cgit v1.2.3 From c9df1db50221fe033a0b7bc216fa2de5b6eea17a Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 1 Jul 2013 18:16:59 -0700 Subject: fixes #7367: slightly larger carousel indicators --- less/carousel.less | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'less/carousel.less') diff --git a/less/carousel.less b/less/carousel.less index d0f636cf8..8834c6f7b 100644 --- a/less/carousel.less +++ b/less/carousel.less @@ -120,23 +120,25 @@ left: 50%; z-index: 15; width: 100px; - margin: 0 0 0 -50px; + margin-left: -50px; padding-left: 0; list-style: none; text-align: center; li { display: inline-block; - width: 8px; - height: 8px; - margin-left: 0; - margin-right: 0; + width: 10px; + height: 10px; + margin: 1px; text-indent: -999px; border: 1px solid #fff; - border-radius: 5px; + border-radius: 10px; cursor: pointer; } .active { + margin: 0; + width: 12px; + height: 12px; background-color: #fff; } } -- cgit v1.2.3