]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Get on that carousel indicator lifestyle with some new hawtness
authorMark Otto <otto@github.com>
Thu, 20 Dec 2012 07:52:38 +0000 (23:52 -0800)
committerMark Otto <otto@github.com>
Thu, 20 Dec 2012 07:52:38 +0000 (23:52 -0800)
docs/assets/css/bootstrap.css
less/carousel.less
package.json

index 6ef11ed9bd907c47b2ef2f6b8491c4ce5ebc75cd..9b77c47b877b8971fa9a1689ba43bb835a2a3f84 100644 (file)
@@ -5968,6 +5968,31 @@ a.badge:hover {
   filter: alpha(opacity=90);
 }
 
+.carousel-indicators {
+  position: absolute;
+  top: 15px;
+  right: 15px;
+  z-index: 5;
+  margin: 0;
+  list-style: none;
+}
+
+.carousel-indicators li {
+  display: block;
+  float: left;
+  width: 10px;
+  height: 10px;
+  margin-left: 5px;
+  text-indent: -999px;
+  background-color: #ccc;
+  background-color: rgba(255, 255, 255, 0.25);
+  border-radius: 5px;
+}
+
+.carousel-indicators .active {
+  background-color: #fff;
+}
+
 .carousel-caption {
   position: absolute;
   right: 0;
index 2dc0506032e13bc30acc3bd6fffcf8d9efdd4ff0..b321e5bb5a0f9e72ccd7489266d5bdd9a3865c67 100644 (file)
   }
 }
 
+// Carousel indicator pips
+// -----------------------------
+.carousel-indicators {
+  position: absolute;
+  top: 15px;
+  right: 15px;
+  z-index: 5;
+  margin: 0;
+  list-style: none;
+
+  li {
+    display: block;
+    float: left;
+    width: 10px;
+    height: 10px;
+    margin-left: 5px;
+    text-indent: -999px;
+    background-color: #ccc;
+    background-color: rgba(255,255,255,.25);
+    border-radius: 5px;
+  }
+  .active {
+    background-color: #fff;
+  }
+}
 
 // Caption for text below images
 // -----------------------------
index 794a9565b8e913f899c7a3a65277a60499cfe126..9512b2c733f99e80c72aa8156738d6261d5fcbd0 100644 (file)
@@ -18,9 +18,9 @@
   ]
   , "devDependencies": {
       "uglify-js": "1.3.4"
-    , "jshint": "0.6.1"
+    , "jshint": "0.9.1"
     , "recess": "1.0.3"
     , "connect": "2.1.3"
     , "hogan.js": "2.0.0"
   }
-}
\ No newline at end of file
+}