Sha256: 75e6aa955f137833c55c067f34bf83e75a43ad4276a12c62b0660d032e4ffd41

Contents?: true

Size: 1.25 KB

Versions: 26

Compression:

Stored size: 1.25 KB

Contents

// Some fixes for fontwesome stylesheets
[class^="icon-"], [class*=" icon-"] {
  &:before {
    padding-right: 5px;
  }

  &.button, &.icon_link {
    width: auto;

    &:before {
      padding-right: 5px;
      padding-top: 3px;
    }
  }
}

.fa-email:before     { @extend .fa-envelope:before }
.fa-resume:before    { @extend .fa-refresh:before  }
.fa-approve:before   { @extend .fa-check:before    }

.fa-remove:before,
.fa-cancel:before,
.fa-void:before      { @extend .fa-times:before    }

.fa-trash:before     { @extend .fa-trash-o:before  }

.fa-capture:before   { @extend .fa-check:before    }
.fa-credit:before    { @extend .fa-check:before    }
.fa-approve:before   { @extend .fa-check:before    }
.fa-icon-cogs:before { @extend .fa-cogs:before     }
.fa-ok:before,
.fa-icon-ok:before   { @extend .fa-check:before    }

button, a {
  &.fa:before {
    padding-right: 5px;
  }
}

// Admin navigation fixes
.icon-user,
.icon-signout,
.icon-external-link {
  @extend .fa;
}
.icon-user          { @extend .fa-user; }
.icon-signout       { @extend .fa-sign-out; }
.icon-external-link { @extend .fa-external-link; }

// Avoid ugly default browser font (usually a serif) when an element has an icon AND text
.fa {
  font-family: "FontAwesome", $base-font-family !important;
}

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
spree_backend-2.4.10 app/assets/stylesheets/spree/backend/shared/_icons.scss
spree_backend-2.3.13 app/assets/stylesheets/spree/backend/shared/_icons.scss
spree_backend-2.4.9 app/assets/stylesheets/spree/backend/shared/_icons.scss
spree_backend-2.3.12 app/assets/stylesheets/spree/backend/shared/_icons.scss
spree_backend-2.4.8 app/assets/stylesheets/spree/backend/shared/_icons.scss
spree_backend-2.3.11 app/assets/stylesheets/spree/backend/shared/_icons.scss
spree_backend-2.4.7 app/assets/stylesheets/spree/backend/shared/_icons.scss
spree_backend-2.3.10 app/assets/stylesheets/spree/backend/shared/_icons.scss
spree_backend-2.4.6 app/assets/stylesheets/spree/backend/shared/_icons.scss
spree_backend-2.3.9 app/assets/stylesheets/spree/backend/shared/_icons.scss
spree_backend-2.3.8 app/assets/stylesheets/spree/backend/shared/_icons.scss
spree_backend-2.4.5 app/assets/stylesheets/spree/backend/shared/_icons.scss
spree_backend-2.4.4 app/assets/stylesheets/spree/backend/shared/_icons.scss
spree_backend-2.3.7 app/assets/stylesheets/spree/backend/shared/_icons.scss
spree_backend-2.4.3 app/assets/stylesheets/spree/backend/shared/_icons.scss
spree_backend-2.4.2 app/assets/stylesheets/spree/backend/shared/_icons.scss
spree_backend-2.3.6 app/assets/stylesheets/spree/backend/shared/_icons.scss
spree_backend-2.4.1 app/assets/stylesheets/spree/backend/shared/_icons.scss
spree_backend-2.4.0 app/assets/stylesheets/spree/backend/shared/_icons.scss
spree_backend-2.3.5 app/assets/stylesheets/spree/backend/shared/_icons.scss