Sha256: 393060642f1b47f01b2b4c170b059df93847f8ff443068e3271c70d4b62bb9e3

Contents?: true

Size: 1.15 KB

Versions: 9

Compression:

Stored size: 1.15 KB

Contents

.cs-bg {
  @each $code, $color in $ub-colorcodes {
    @include m(#{$code}) {
      background-color: $color;
    }
  }

  @each $code, $color in $ub-ld-colorcodes {
    @include m(#{$code}) {
      background-color: $color;
    }
  }
}

.cs-rgba-bg {
  @each $code, $color in $ub-colorcodes {
    @include m(#{$code}) {
      background-color: rgba($color, 0.8);
    }
  }
}

.cs-tint-bg {
  @each $code, $color in $ub-colorcodes {
    @include m(#{$code}) {
      $tint-color: scale-color($color, $lightness: 90%);
      background-color: $tint-color;

      &::before {
        border-bottom-color: $tint-color;
      }
    }
  }
}

.cs-txt {
  @each $code, $color in $ub-colorcodes {
    @include m(#{$code}) {
      color: $color;
    }
  }
}

.cs-txt-link {
  @each $code, $color in $ub-colorcodes {
    @include m(#{$code}) {
      &,
      &:hover,
      &:focus {
        color: $color;
      }
    }
  }
}

.cs-link-bg {
  @each $code, $color in $ub-colorcodes {
    @include m(#{$code}) {
      &,
      &:hover,
      &:focus {
        background: none;
        color: $ub-white;

        > div {
          background-color: $color;
        }
      }
    }
  }
}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
lcms-engine-0.5.5 app/assets/stylesheets/lcms/engine/utils/_colorcodes.scss
lcms-engine-0.5.4 app/assets/stylesheets/lcms/engine/utils/_colorcodes.scss
lcms-engine-0.5.3 app/assets/stylesheets/lcms/engine/utils/_colorcodes.scss
lcms-engine-0.5.2 app/assets/stylesheets/lcms/engine/utils/_colorcodes.scss
lcms-engine-0.5.1 app/assets/stylesheets/lcms/engine/utils/_colorcodes.scss
lcms-engine-0.5.0 app/assets/stylesheets/lcms/engine/utils/_colorcodes.scss
lcms-engine-0.4.2 app/assets/stylesheets/lcms/engine/utils/_colorcodes.scss
lcms-engine-0.4.1 app/assets/stylesheets/lcms/engine/utils/_colorcodes.scss
lcms-engine-0.4.0 app/assets/stylesheets/lcms/engine/utils/_colorcodes.scss