aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-04-18 11:17:28 -0700
committerMark Otto <[email protected]>2015-04-18 11:17:28 -0700
commit49f874468be341352abacab9610c8101f7e5154e (patch)
tree99ac84bca971c851f939dbc7f5afb25af3b128ec
parentb88c05d564dc9a8a5e3d8ac81f78d53e16943588 (diff)
downloadbootstrap-49f874468be341352abacab9610c8101f7e5154e.tar.xz
bootstrap-49f874468be341352abacab9610c8101f7e5154e.zip
comments and spacing
-rw-r--r--scss/_carousel.scss17
1 files changed, 12 insertions, 5 deletions
diff --git a/scss/_carousel.scss b/scss/_carousel.scss
index 90aee7ad9..25d0650cf 100644
--- a/scss/_carousel.scss
+++ b/scss/_carousel.scss
@@ -84,11 +84,12 @@
> .active.right {
left: 100%;
}
-
}
+
+//
// Left/right controls for nav
-// ---------------------------
+//
.carousel-control {
position: absolute;
@@ -155,6 +156,7 @@
}
}
+
// Optional indicator pips
//
// Add an unordered list with the following class and add a list item for each
@@ -195,9 +197,11 @@
}
}
+
// Optional captions
-// -----------------------------
-// Hidden by default for smaller viewports
+//
+// Hidden by default for smaller viewports.
+
.carousel-caption {
position: absolute;
right: 15%;
@@ -216,7 +220,10 @@
}
-// Scale up controls for tablets and up
+//
+// Responsive variations
+//
+
@include media-breakpoint-up(sm) {
// Scale up the controls a smidge
.carousel-control {