Codeminer42/cm42-central

View on GitHub
app/assets/stylesheets/_icons.scss

Summary

Maintainability
Test Coverage
@import "compass/utilities/sprites";
@import "icons/*.png";
@include all-icons-sprites;

$icons-spacing: 2px;
$icons-collapse-spacing: 6px;
$icon-layout: smart;
$icon-sprite-dimensions: true;

i {
  display: inline-flex;
  vertical-align: middle;
}

.icon {
  width: 16px;
  height: 16px;
  padding: 0;
  display: inline-block;
  text-indent: -9999px;
}

.icons-throbber { background: image-url('throbber.gif') no-repeat; }
.icons-spinner  { background: image-url('spinner.gif') no-repeat; }

a.expand, a.collapse { cursor: pointer; }

.mi.md-20 { font-size: 20px; }
.mi.md-18 { font-size: 18px; }
.mi.md-16 { font-size: 16px; }
.mi.md-14 { font-size: 14px; }
.mi.md-star { color: #FFC000; }
.mi.md-bug  { color: #C20B0B; }
.mi.md-release  { color: $white; }
.mi.md-delete { color: red; }

.story {
  padding-top: 5px;

  &-hover {
    padding-left: 2px;
    margin-top: -2px;
  }

  .details {
    position: relative;
    top: -1px;
    margin-left: 4px;
  }
}

.clipboard-icon {
  width: 14px;
}