font_awesome_rails_sass 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +17 -0
 - data/Gemfile +4 -0
 - data/LICENSE.txt +22 -0
 - data/README.md +29 -0
 - data/Rakefile +1 -0
 - data/app/assets/fonts/font-awesome/FontAwesome.otf +0 -0
 - data/app/assets/fonts/font-awesome/fontawesome-webfont.eot +0 -0
 - data/app/assets/fonts/font-awesome/fontawesome-webfont.svg +399 -0
 - data/app/assets/fonts/font-awesome/fontawesome-webfont.ttf +0 -0
 - data/app/assets/fonts/font-awesome/fontawesome-webfont.woff +0 -0
 - data/app/assets/stylesheets/font-awesome/_bootstrap.css.sass +84 -0
 - data/app/assets/stylesheets/font-awesome/_core.css.sass +115 -0
 - data/app/assets/stylesheets/font-awesome/_extras.css.sass +100 -0
 - data/app/assets/stylesheets/font-awesome/_icons.css.sass +1102 -0
 - data/app/assets/stylesheets/font-awesome/_mixins.css.sass +42 -0
 - data/app/assets/stylesheets/font-awesome/_path.css.sass +11 -0
 - data/app/assets/stylesheets/font-awesome/_variables.css.sass +732 -0
 - data/app/assets/stylesheets/font-awesome/font-awesome-ie7.scss +1953 -0
 - data/app/assets/stylesheets/font-awesome/font-awesome.css.sass +33 -0
 - data/font_awesome_rails_sass.gemspec +26 -0
 - data/lib/font_awesome_rails_sass/engine.rb +4 -0
 - data/lib/font_awesome_rails_sass/version.rb +3 -0
 - data/lib/font_awesome_rails_sass.rb +6 -0
 - metadata +133 -0
 
| 
         @@ -0,0 +1,42 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            // Mixins
         
     | 
| 
      
 2 
     | 
    
         
            +
            // --------------------------
         
     | 
| 
      
 3 
     | 
    
         
            +
             
     | 
| 
      
 4 
     | 
    
         
            +
            =icon($icon)
         
     | 
| 
      
 5 
     | 
    
         
            +
              +icon-FontAwesome
         
     | 
| 
      
 6 
     | 
    
         
            +
              content: $icon
         
     | 
| 
      
 7 
     | 
    
         
            +
             
     | 
| 
      
 8 
     | 
    
         
            +
            =icon-FontAwesome
         
     | 
| 
      
 9 
     | 
    
         
            +
              font-family: FontAwesome
         
     | 
| 
      
 10 
     | 
    
         
            +
              font-weight: normal
         
     | 
| 
      
 11 
     | 
    
         
            +
              font-style: normal
         
     | 
| 
      
 12 
     | 
    
         
            +
              text-decoration: inherit
         
     | 
| 
      
 13 
     | 
    
         
            +
              -webkit-font-smoothing: antialiased
         
     | 
| 
      
 14 
     | 
    
         
            +
              *margin-right: .3em
         
     | 
| 
      
 15 
     | 
    
         
            +
              // fixes ie7 issues
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            =border-radius($radius)
         
     | 
| 
      
 18 
     | 
    
         
            +
              -webkit-border-radius: $radius
         
     | 
| 
      
 19 
     | 
    
         
            +
              -moz-border-radius: $radius
         
     | 
| 
      
 20 
     | 
    
         
            +
              border-radius: $radius
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
            =icon-stack($width: 2em, $height: 2em, $top-font-size: 1em, $base-font-size: 2em)
         
     | 
| 
      
 23 
     | 
    
         
            +
              .icon-stack
         
     | 
| 
      
 24 
     | 
    
         
            +
                position: relative
         
     | 
| 
      
 25 
     | 
    
         
            +
                display: inline-block
         
     | 
| 
      
 26 
     | 
    
         
            +
                width: $width
         
     | 
| 
      
 27 
     | 
    
         
            +
                height: $height
         
     | 
| 
      
 28 
     | 
    
         
            +
                line-height: $width
         
     | 
| 
      
 29 
     | 
    
         
            +
                vertical-align: -35%
         
     | 
| 
      
 30 
     | 
    
         
            +
                [class^="icon-"],
         
     | 
| 
      
 31 
     | 
    
         
            +
                [class*=" icon-"]
         
     | 
| 
      
 32 
     | 
    
         
            +
                  display: block
         
     | 
| 
      
 33 
     | 
    
         
            +
                  text-align: center
         
     | 
| 
      
 34 
     | 
    
         
            +
                  position: absolute
         
     | 
| 
      
 35 
     | 
    
         
            +
                  width: 100%
         
     | 
| 
      
 36 
     | 
    
         
            +
                  height: 100%
         
     | 
| 
      
 37 
     | 
    
         
            +
                  font-size: $top-font-size
         
     | 
| 
      
 38 
     | 
    
         
            +
                  line-height: inherit
         
     | 
| 
      
 39 
     | 
    
         
            +
                  *line-height: $height
         
     | 
| 
      
 40 
     | 
    
         
            +
                .icon-stack-base
         
     | 
| 
      
 41 
     | 
    
         
            +
                  font-size: $base-font-size
         
     | 
| 
      
 42 
     | 
    
         
            +
                  *line-height: #{$height / $base-font-size}em
         
     | 
| 
         @@ -0,0 +1,11 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            /* FONT PATH
         
     | 
| 
      
 2 
     | 
    
         
            +
             * -------------------------- */
         
     | 
| 
      
 3 
     | 
    
         
            +
             
     | 
| 
      
 4 
     | 
    
         
            +
            @font-face
         
     | 
| 
      
 5 
     | 
    
         
            +
              font-family: 'FontAwesome'
         
     | 
| 
      
 6 
     | 
    
         
            +
              src: font-url("font-awesome/fontawesome-webfont.eot?v=#{$FontAwesomeVersion}")
         
     | 
| 
      
 7 
     | 
    
         
            +
              src: font-url("font-awesome/fontawesome-webfont.eot?v=#{$FontAwesomeVersion}")
         
     | 
| 
      
 8 
     | 
    
         
            +
              src: font-url("font-awesome/fontawesome-webfont.eot?#iefix&v=#{$FontAwesomeVersion}") format("embedded-opentype"), font-url("font-awesome/fontawesome-webfont.woff?v=#{$FontAwesomeVersion}") format("woff"), font-url("font-awesome/fontawesome-webfont.ttf?v=#{$FontAwesomeVersion}") format("truetype"), font-url("font-awesome/fontawesome-webfont.svg#fontawesomeregular?v=#{$FontAwesomeVersion}") format("svg")
         
     | 
| 
      
 9 
     | 
    
         
            +
              // src: font-url('font-awesome/FontAwesome.otf') format('opentype'); // used when developing fonts
         
     | 
| 
      
 10 
     | 
    
         
            +
              font-weight: normal
         
     | 
| 
      
 11 
     | 
    
         
            +
              font-style: normal
         
     |