Sha256: 03158fb3367b0da6054cea4322b1faf94c747b54208eb560db7c6186ee45531d

Contents?: true

Size: 575 Bytes

Versions: 5

Compression:

Stored size: 575 Bytes

Contents

.blacklight-icons {
  display: inline-flex;
  height: $font-size-base;
  width: $font-size-base;
}

.blacklight-icons svg {
  height: 1rem;
  width: 1rem;
  top: .125rem;
  position: relative;
}

@each $color, $value in $theme-colors {
  .btn-#{$color} {
    .blacklight-icons g {
      @include stroke-yiq(theme-color($color));
    }
  }

  .btn-outline-#{$color} {
    .blacklight-icons g {
      stroke: $value;
    }

    &.hover,
    &:hover,
    &:active,
    &.active {
      .blacklight-icons g {
        @include stroke-yiq(theme-color($color));
      }
    }
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
blacklight-7.1.0 app/assets/stylesheets/blacklight/_icons.scss
blacklight-7.1.0.alpha app/assets/stylesheets/blacklight/_icons.scss
blacklight-7.0.1 app/assets/stylesheets/blacklight/_icons.scss
blacklight-7.0.0 app/assets/stylesheets/blacklight/_icons.scss
blacklight-7.0.0.rc2 app/assets/stylesheets/blacklight/_icons.scss