@mixin shade { -moz-box-shadow: 0 0 3px #ddd; -webkit-box-shadow: 0 0 3px #ddd; box-shadow: 0 0 3px #ddd; } @mixin solid_shade { -moz-box-shadow: 0 0 0 3px #f1f1f1; -webkit-box-shadow: 0 0 0 3px #f1f1f1; box-shadow: 0 0 0 3px #f1f1f1; } @mixin box-shadow($shadow) { -webkit-box-shadow: $shadow; -moz-box-shadow: $shadow; -ms-box-shadow: $shadow; -o-box-shadow: $shadow; box-shadow: $shadow; } @mixin border-radius($radius) { -webkit-border-radius: $radius; -moz-border-radius: $radius; -ms-border-radius: $radius; -o-border-radius: $radius; border-radius: $radius; } @mixin linear-gradient($from, $to) { background-image: -webkit-gradient(linear, 0 0, 0 100%, from($from), to($to)); background-image: -webkit-linear-gradient($from, $to); background-image: -moz-linear-gradient($from, $to); background-image: -o-linear-gradient($from, $to); } @mixin round-borders-bottom($radius) { border-top: 1px solid #eaeaea; @include border-radius(0 0 $radius $radius); } @mixin round-borders-top($radius) { border-top: 1px solid #eaeaea; @include border-radius($radius $radius 0 0); } @mixin round-borders-all($radius) { border: 1px solid #eaeaea; @include border-radius($radius); } @mixin bg-gradient($from, $to) { @include linear-gradient($from, $to); } @mixin bg-light-gray-gradient { background: #f1f1f1; background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #f5f5f5), to(#e1e1e1)); background-image: -webkit-linear-gradient(#f5f5f5 6.6%, #e1e1e1); background-image: -moz-linear-gradient(#f5f5f5 6.6%, #e1e1e1); background-image: -o-linear-gradient(#f5f5f5 6.6%, #e1e1e1); } @mixin bg-gray-gradient { background: #eee; background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #eee), to(#dfdfdf)); background-image: -webkit-linear-gradient(#eee 6.6%, #dfdfdf); background-image: -moz-linear-gradient(#eee 6.6%, #dfdfdf); background-image: -o-linear-gradient(#eee 6.6%, #dfdfdf); } @mixin bg-dark-gray-gradient { background: #eee; background-image: -webkit-linear-gradient(#e9e9e9, #d7d7d7); background-image: -moz-linear-gradient(#e9e9e9, #d7d7d7); background-image: -o-linear-gradient(#e9e9e9, #d7d7d7); }