Sha256: 4938f03bd3e1456f0d160907df2132a229138e28d2af4c671a3648ef40ff9401

Contents?: true

Size: 1.3 KB

Versions: 49

Compression:

Stored size: 1.3 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-failure:before   { @extend .fa-thumbs-down: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

49 entries across 49 versions & 1 rubygems

Version Path
solidus_backend-2.1.1 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-2.0.3 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-1.4.2 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-1.3.2 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-1.2.3 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-1.1.4 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-1.0.7 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-2.0.2 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-1.4.1 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-2.1.0 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-2.1.0.rc1 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-2.0.1 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-2.1.0.beta1 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-2.0.0 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-1.4.0 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-2.0.0.rc1 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-1.4.0.rc1 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-2.0.0.beta1 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-1.4.0.beta1 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-1.3.1 app/assets/stylesheets/spree/backend/shared/_icons.scss