fiedl/your_platform

View on GitHub
app/assets/stylesheets/your_platform/images.sass

Summary

Maintainability
Test Coverage
// // From https://github.com/twbs/bootstrap/blob/b4c4072679943773a7582daa63f545ba818fa627/less/scaffolding.less
// 
// 
// // Single side border-radius
// 
// .border-top-radius(@radius) {
//   border-top-right-radius: @radius;
//    border-top-left-radius: @radius;
// }
// .border-right-radius(@radius) {
//   border-bottom-right-radius: @radius;
//      border-top-right-radius: @radius;
// }
// .border-bottom-radius(@radius) {
//   border-bottom-right-radius: @radius;
//    border-bottom-left-radius: @radius;
// }
// .border-left-radius(@radius) {
//   border-bottom-left-radius: @radius;
//      border-top-left-radius: @radius;
// }
// 
// .border-radius(@radius) {
//   .border-top-radius(@radius);
//   .border-right-radius(@radius);
//   .border-bottom-radius(@radius);
//   .border-left-radius(@radius);
// }
// 
// // Images
// // -------------------------
// 
// // Rounded corners
// .img-rounded {
//   .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);
// //   .box-shadow(0 1px 3px rgba(0,0,0,.1));
// // }
// 
// // Perfect circle
// .img-circle {
//   .border-radius(500px); // crank the border-radius so it works with most reasonably sized images
// }