Sha256: 0bc4a64a9b5181fc07813da8517c29193c070d1f4bafe8de8eb091147e902c98

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 svg {
      @include fill-yiq(theme-color($color));
    }
  }

  .btn-outline-#{$color} {
    .blacklight-icons svg {
      fill: $value;
    }

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
blacklight-7.4.2 app/assets/stylesheets/blacklight/_icons.scss
blacklight-7.4.1 app/assets/stylesheets/blacklight/_icons.scss
blacklight-7.4.0 app/assets/stylesheets/blacklight/_icons.scss
blacklight-7.3.0 app/assets/stylesheets/blacklight/_icons.scss
blacklight-7.2.0 app/assets/stylesheets/blacklight/_icons.scss