vendor/frameworks/twitter/bootstrap/scaffolding.scss in anjlab-bootstrap-rails-2.1.0.5 vs vendor/frameworks/twitter/bootstrap/scaffolding.scss in anjlab-bootstrap-rails-2.1.1.0
- old
+ new
@@ -30,22 +30,23 @@
// Images
// -------------------------
+// Rounded corners
.img-rounded {
@include border-radius(6px);
}
+// Add polaroid-esque trim
.img-polaroid {
padding: 4px;
background-color: #fff;
border: 1px solid #ccc;
border: 1px solid rgba(0,0,0,.2);
- -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.1);
- -moz-box-shadow: 0 1px 3px rgba(0,0,0,.1);
- box-shadow: 0 1px 3px rgba(0,0,0,.1);
+ @include box-shadow(0 1px 3px rgba(0,0,0,.1));
}
+// Perfect circle
.img-circle {
- @include border-radius(500px);
+ @include border-radius(500px); // crank the border-radius so it works with most reasonably sized images
}