/* -- -- -- -- -- -- -- MULTI-MEDIA INTERACTIVE Description: Common Rules Last Update: 8/20/2011 Authors: Ryan Schoch Copyright 2011 Multi-Media Interactive Dependencies - reset.less -- -- -- -- -- -- -- */ /* LESS Mixins >> -------------------------------------------------------------- */ .bg-gradient(@color1: #800404, @color2: #ae0101) { background: -webkit-gradient(linear, 0% 0%, 0% 50%, from(@color2), to(@color1)); /* Safari, Chrome */ background: -moz-linear-gradient(50% 100% 90deg, @color1, @color2); /* Fire Fox */ background: -o-linear-gradient(@color1, @color2); /* Opera */ background-color: #800404; /* fallback color */ } .border-radius(@radius: 4px) { -webkit-border-radius: @radius; -moz-border-radius: @radius; border-radius: @radius; } .drop-shadow(@shadow) { -webkit-box-shadow: @shadow; -moz-box-shadow: @shadow; box-shadow: @shadow; } .inline-block(@align: middle) { display: -moz-inline-stack; display: inline-block; zoom: 1; /* zoom and *display = ie7 hack for display:inline-block */ *display: inline; vertical-align: @align; } /* Helpers >> -------------------------------------------------------------- */ .no-margin { margin: 0; } .no-padding { padding: 0; } .fl { float: left; } .fr { float: right; } .hidden { display: none; } .clearfix:after { clear: both; content:' '; display: block; font-size: 0; line-height: 0; visibility: hidden; width: 0; height: 0; } * html .clearfix { height: 1%; }