Sha256: ba96b7704c3174b729f8edef6a68ee9ec43641679e3b01341509c5b6f884348d

Contents?: true

Size: 859 Bytes

Versions: 393

Compression:

Stored size: 859 Bytes

Contents

.placeholder {
  display: inline-block;
  min-height: 1em;
  vertical-align: middle;
  cursor: wait;
  background-color: currentcolor;
  opacity: $placeholder-opacity-max;

  &.btn::before {
    display: inline-block;
    content: "";
  }
}

// Sizing
.placeholder-xs {
  min-height: .6em;
}

.placeholder-sm {
  min-height: .8em;
}

.placeholder-lg {
  min-height: 1.2em;
}

// Animation
.placeholder-glow {
  .placeholder {
    animation: placeholder-glow 2s ease-in-out infinite;
  }
}

@keyframes placeholder-glow {
  50% {
    opacity: $placeholder-opacity-min;
  }
}

.placeholder-wave {
  mask-image: linear-gradient(130deg, $black 55%, rgba(0, 0, 0, (1 - $placeholder-opacity-min)) 75%, $black 95%);
  mask-size: 200% 100%;
  animation: placeholder-wave 2s linear infinite;
}

@keyframes placeholder-wave {
  100% {
    mask-position: -200% 0%;
  }
}

Version data entries

393 entries across 393 versions & 16 rubygems

Version Path
paraqeet-0.6.0 _sass/bootstrap/_placeholders.scss
paraqeet-0.5.0 _sass/bootstrap/_placeholders.scss
darkade.github.io-theme-1.5.2 _sass/bootstrap/_placeholders.scss
darkade.github.io-theme-1.5.1 _sass/bootstrap/_placeholders.scss
paraqeet-0.4.0 _sass/bootstrap/_placeholders.scss
paraqeet-0.3.0 _sass/bootstrap/_placeholders.scss
darkade.github.io-theme-1.5.0 _sass/bootstrap/_placeholders.scss
paraqeet-0.2.0 _sass/bootstrap/_placeholders.scss
paraqeet-0.1.0 _sass/bootstrap/_placeholders.scss
bootstrap-5.2.2 assets/stylesheets/bootstrap/_placeholders.scss
bootstrap-5.2.1 assets/stylesheets/bootstrap/_placeholders.scss
bootstrap-5.2.0 assets/stylesheets/bootstrap/_placeholders.scss
jekyll-theme-apcsp-1.1.0 _sass/bootstrap/scss/_placeholders.scss