UNPKG

gaf-mobile

Version:

GAF mobile Web site

67 lines (60 loc) 1.51 kB
@import (reference) '../themes/variables';/** * Promotion Tags * * Used to display what promotions a project/contest has available * * Markup: promotion-tags.html * * Styleguide 4 */ /* Private Var */ @promo-tag-height: 20px; /* Private Mixin */ .promotion-tag-skin-constructor(@skin-color){ border-color: @skin-color; color: @skin-color; } .promotion-tag { display: inline-block; margin-bottom: 6px; padding: 2px 10px 3px; border-radius: @promo-tag-height / 2; border: 1px solid; font-size: @type-size-xsml; line-height: 1; text-transform: uppercase; font-weight: @type-weight-medium; color: @text-color-light; white-space: nowrap; background-color: transparent; &:not(:last-child) { margin-right: 4px; } &-featured { .promotion-tag-skin-constructor(@featured-color); } &-urgent { .promotion-tag-skin-constructor(@urgent-color); } &-recommended { .promotion-tag-skin-constructor(@recommended-color); } &-assisted { .promotion-tag-skin-constructor(@assisted-color); } &-sealed { .promotion-tag-skin-constructor(@sealed-color); } &-full-time { .promotion-tag-skin-constructor(@fulltime-color); } &-private { .promotion-tag-skin-constructor(@private-color); } &-nda { .promotion-tag-skin-constructor(@nda-color); } &-extend { .promotion-tag-skin-constructor(@extend-color); } }