openfoodfoundation/openfoodnetwork

View on GitHub
app/webpacker/css/admin/shared/icons.scss

Summary

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

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

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

.icon-email:before    { @extend .icon-envelope, :before; }
.icon-resend_authorization_email:before    { @extend .icon-envelope, :before; }
.icon-resume:before   { @extend .icon-refresh, :before; }

.icon-cancel:before,
.icon-void:before     { @extend .icon-remove, :before;   }

.icon-capture,
.icon-capture_and_complete_order  { @extend .icon-ok }
.icon-credit:before   { @extend .icon-ok, :before ;      }