Sha256: dbd0fac407eb4254772f05b5bc657753e5f839326f0c6176a2c9a94d3344a6e8
Contents?: true
Size: 844 Bytes
Versions: 2
Compression:
Stored size: 844 Bytes
Contents
/*------------------------------------*\ $LABELS \*------------------------------------*/ /** * Basic button structural styling. * * Designed and built @kurenn */ .label, .badge { @include inline-block; padding: 2px 4px; font-size: $base-font-size * .846; font-weight: bold; line-height: 14px; color: #FFF; vertical-align: baseline; white-space: nowrap; /*text-shadow: 0 -1px 0 rgba(0,0,0,.20);*/ background: $gray; @include border-radius(2px); } //Badges border radius .badge { @include border-radius(50%); padding: 5px 8px; } //Labels and badges colors definitions @each $color in $colors { .label-#{nth($color, 1)}, .badge-#{nth($color, 1)} { background-color: nth($color, 2); } } a { &.label:hover, &.label:focus { color: #FFF; text-decoration: none; cursor: pointer; } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
furatto-0.0.3 | app/assets/stylesheets/furatto/_labels.scss |
furatto-0.0.2 | vendor/assets/stylesheets/furatto/_labels.scss |