Sha256: d78943c7d817fb7e2c77c653c661e22510ae528af488cd24971ee873f911a0b4

Contents?: true

Size: 966 Bytes

Versions: 21

Compression:

Stored size: 966 Bytes

Contents

// Progress
// Credit: https://css-tricks.com/html5-progress-element/
.progress {
  appearance: none;
  background: $bg-color-dark;
  border: 0;
  border-radius: $border-radius;
  color: $primary-color;
  height: $unit-1;
  position: relative;
  width: 100%;

  &::-webkit-progress-bar {
    background: transparent;
    border-radius: $border-radius;
  }

  &::-webkit-progress-value {
    background: $primary-color;
    border-radius: $border-radius;
  }

  &::-moz-progress-bar {
    background: $primary-color;
    border-radius: $border-radius;
  }

  &:indeterminate {
    animation: progress-indeterminate 1.5s linear infinite;
    background: $bg-color-dark linear-gradient(to right, $primary-color 30%, $bg-color-dark 30%) top left / 150% 150% no-repeat;

    &::-moz-progress-bar {
      background: transparent;
    }
  }
}

@keyframes progress-indeterminate {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
spectre_scss-0.5.9.1 vendor/assets/stylesheets/spectre/_progress.scss
spectre_scss-0.5.9.0 vendor/assets/stylesheets/spectre/_progress.scss
spectre_scss-0.5.8.0 vendor/assets/stylesheets/spectre/_progress.scss
spectre_scss-0.5.7.0 vendor/assets/stylesheets/spectre/_progress.scss
spectre_scss-0.5.6.0 vendor/assets/stylesheets/spectre/_progress.scss
spectre_scss-0.5.5.0 vendor/assets/stylesheets/spectre/_progress.scss
spectre_scss-0.5.4.0 vendor/assets/stylesheets/spectre/_progress.scss
spectre_scss-0.5.3.0 vendor/assets/stylesheets/spectre/_progress.scss
spectre_scss-0.5.2.0 vendor/assets/stylesheets/spectre/_progress.scss
spectre_scss-0.5.1.0 vendor/assets/stylesheets/spectre/_progress.scss
spectre_scss-0.5.0.0 vendor/assets/stylesheets/spectre/_progress.scss
spectre_scss-0.4.7.0 vendor/assets/stylesheets/spectre/_progress.scss
spectre_scss-0.4.6.0 vendor/assets/stylesheets/spectre/_progress.scss
spectre_scss-0.4.5.0 vendor/assets/stylesheets/spectre/_progress.scss
respectre-jekyll-theme-0.1.0 _sass/spectre/_progress.scss
spectre_scss-0.4.4.0 vendor/assets/stylesheets/spectre/_progress.scss
spectre_scss-0.4.3.0 vendor/assets/stylesheets/spectre/_progress.scss
spectre_scss-0.4.2.0 vendor/assets/stylesheets/spectre/_progress.scss
spectre_scss-0.4.1.0 vendor/assets/stylesheets/spectre/_progress.scss
spectre_scss-0.4.0.0 vendor/assets/stylesheets/spectre/_progress.scss