Sha256: 43097eacbc9df65d88529a409a20c021b9c67fa7154bbef3b02d9f9bbb05da61

Contents?: true

Size: 796 Bytes

Versions: 4

Compression:

Stored size: 796 Bytes

Contents

$comable-colors: #ffa000 #5dd39e #d81159 #06aed5 #8f2d56;

@for $i from 1 through length($comable-colors) {
  $color: nth($comable-colors, $i);

  .comable-variant-name:nth-of-type(#{$i}) {
    color: darken($color, 5%);

    &:after {
      display: inline;
      margin: 0 5px;
      color: #444;
      content: 'ยท';
    }

    &:last-child:after {
      display: none;
    }
  }

  .comable-option:nth-of-type(#{$i}) {
    .comable-option-name {
      color: darken($color, 5%);
    }

    ul.comable-option-values li:not(.tagit-new) {
      background-color: $color;
      border-color: $color;

      & > span, & > a, & > a > span {
        color: #fff;
      }

      &.remove {
        background-color: darken($color, 10%);
        border-color: darken($color, 10%);
      }
    }
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
comable-backend-0.7.1 app/assets/stylesheets/comable/admin/_variants.scss
comable-backend-0.7.0 app/assets/stylesheets/comable/admin/_variants.scss
comable-backend-0.7.0.beta2 app/assets/stylesheets/comable/admin/_variants.scss
comable-backend-0.7.0.beta1 app/assets/stylesheets/comable/admin/_variants.scss