Sha256: 96273a374b564c61dcceaebbbe0f4791045e6492f715256a34b1d264ae1b352b

Contents?: true

Size: 1.13 KB

Versions: 50

Compression:

Stored size: 1.13 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     { @extend .fa-envelope }
.fa-resume    { @extend .fa-refresh  }
.fa-approve   { @extend .fa-check    }

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

.fa-failure   { @extend .fa-thumbs-down }

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

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

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", $font-family-base !important;
}

Version data entries

50 entries across 50 versions & 2 rubygems

Version Path
solidus_backend-2.8.6 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-2.6.6 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-2.7.4 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-2.8.5 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-2.7.3 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-2.6.5 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-2.5.2 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-2.8.4 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-2.8.3 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-2.7.2 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-2.6.4 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-2.8.2 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-2.8.1 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-2.5.1 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-2.6.3 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-2.8.0 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-2.7.1 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-2.6.2 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend_devise_token_auth-2.8.0.alpha.14 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend_devise_token_auth-2.8.0.alpha.13 app/assets/stylesheets/spree/backend/shared/_icons.scss