rpicms

A CMS for the Raspberry Pi
git clone git://archive.git.mtrnord.blog/RpicmsTeam/rpicms.git
Log | Files | Refs | README | LICENSE

_mixins.scss (906B)


      1 // Mixins
      2 // --------------------------
      3 
      4 @mixin fa-icon() {
      5   display: inline-block;
      6   font: normal normal normal 14px/1 FontAwesome; // shortening font declaration
      7   font-size: inherit; // can't have font-size inherit on line above, so need to override
      8   text-rendering: auto; // optimizelegibility throws things off #1094
      9   -webkit-font-smoothing: antialiased;
     10   -moz-osx-font-smoothing: grayscale;
     11 }
     12 
     13 @mixin fa-icon-rotate($degrees, $rotation) {
     14   filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation});
     15   -webkit-transform: rotate($degrees);
     16       -ms-transform: rotate($degrees);
     17           transform: rotate($degrees);
     18 }
     19 
     20 @mixin fa-icon-flip($horiz, $vert, $rotation) {
     21   filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation});
     22   -webkit-transform: scale($horiz, $vert);
     23       -ms-transform: scale($horiz, $vert);
     24           transform: scale($horiz, $vert);
     25 }