Sha256: f86c757c4a6843187b7daaabecc371a9c773a041ff80956631c5f4c1f5b16046

Contents?: true

Size: 619 Bytes

Versions: 9

Compression:

Stored size: 619 Bytes

Contents

@mixin icon-dim($height) {
  height: $height;
  width: 18 / 18 * $height;
}

.o-ld-icon {
  background-size: cover;
  display: inline-block;

  @include m(small) {
    @include icon-dim(12px);
    margin-top: -0.2rem;
    vertical-align: middle;
  }

  @include m(base) {
    @include icon-dim(18px);
    vertical-align: baseline;
  }

  @include e(wrapper) {
    $w-offset: $ld-tooltip-offset - 1.125rem / 2;
    display: inline;
    margin-left: -$w-offset;

    .o-ld-icon {
      margin-left: $w-offset;
    }
  }
}

.o-m-icon {
  background-size: contain;
  display: inline-block;
  height: 20px;
  width: 20px;
}

Version data entries

9 entries across 9 versions & 1 rubygems

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