Sha256: 09e42797ce90af205ccdaf0195c2d441005d412244603fd71e9db74703c1c89e

Contents?: true

Size: 1.24 KB

Versions: 99

Compression:

Stored size: 1.24 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;
    }
  }
}

.btn.fa {
  font: normal normal $btn-font-weight #{$font-size-base}/#{$btn-line-height} "FontAwesome";
}

.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-thumbs-up }
.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

99 entries across 99 versions & 1 rubygems

Version Path
solidus_backend-4.4.2 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-4.4.1 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-4.4.0 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-4.3.4 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-4.2.4 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-4.1.5 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-4.3.3 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-4.3.2 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-4.1.4 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-4.3.1 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-4.3.0 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-4.2.3 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-4.1.3 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-4.0.4 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-3.4.6 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-4.0.3 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-4.1.2 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-4.2.2 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-3.4.5 app/assets/stylesheets/spree/backend/shared/_icons.scss
solidus_backend-4.2.1 app/assets/stylesheets/spree/backend/shared/_icons.scss