Sha256: 81d727d60ef0f7fd67a0d07db4d5705c233c48d970a3824d4efcedb68fa7b491

Contents?: true

Size: 648 Bytes

Versions: 8

Compression:

Stored size: 648 Bytes

Contents

// Icons with hidden text

=icon($fa, $hover: true)
  display: inline-block
  margin: 0 6px
  text-align: left
  position: relative
  font-size: 1.4em
  width: 1em
  text-indent: -9999px
  color: #ccc
  @extend .fa
  @extend .fa-#{$fa}
  &:before
    text-indent: 0
    position: absolute
    top: 50%
    right: 50%
    margin: -0.5em -0.5em 0 0
    z-index: 2
  @if $hover
    cursor: pointer
    &:hover
      &:before
        color: $primaryColor


// Icons with text

=icon_text($fa, $font-size: 1.3em)
  display: inline-block
  margin: 0 20px 0 0
  @extend .fa-#{$fa}
  font-size: $font-size
  &:before
    margin-right: 4px
    @extend .fa

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
study_engine-0.3.1 app/assets/stylesheets/study_engine/mixins/_icons.sass
study_engine-0.3.0 app/assets/stylesheets/study_engine/mixins/_icons.sass
study_engine-0.2.2 app/assets/stylesheets/study_engine/mixins/_icons.sass
study_engine-0.2.1 app/assets/stylesheets/study_engine/mixins/_icons.sass
study_engine-0.2.0 app/assets/stylesheets/study_engine/mixins/_icons.sass
study_engine-0.1.1 app/assets/stylesheets/study_engine/mixins/_icons.sass
study_engine-0.1.0 app/assets/stylesheets/study_engine/mixins/_icons.sass
study_engine-0.0.2 app/assets/stylesheets/study_engine/mixins/_icons.sass