Sha256: 9d783107694cc520b7efb724e11785152a5b77e6fe71f948eb0169c362942c90

Contents?: true

Size: 1.82 KB

Versions: 33

Compression:

Stored size: 1.82 KB

Contents

$progress-bar-background-color: $border !default
$progress-value-background-color: $text !default

$progress-indeterminate-duration: 1.5s !default

.progress
  @extend %block
  -moz-appearance: none
  -webkit-appearance: none
  border: none
  border-radius: $radius-rounded
  display: block
  height: $size-normal
  overflow: hidden
  padding: 0
  width: 100%
  &::-webkit-progress-bar
    background-color: $progress-bar-background-color
  &::-webkit-progress-value
    background-color: $progress-value-background-color
  &::-moz-progress-bar
    background-color: $progress-value-background-color
  &::-ms-fill
    background-color: $progress-value-background-color
    border: none
  &:indeterminate
    animation-duration: $progress-indeterminate-duration
    animation-iteration-count: infinite
    animation-name: moveIndeterminate
    animation-timing-function: linear
    background-color: $progress-bar-background-color
    background-image: linear-gradient(to right, $text 30%, $progress-bar-background-color 30%)
    background-position: top left
    background-repeat: no-repeat
    background-size: 150% 150%
    &::-webkit-progress-bar
      background-color: transparent
    &::-moz-progress-bar
      background-color: transparent
  // Colors
  @each $name, $pair in $colors
    $color: nth($pair, 1)
    &.is-#{$name}
      &::-webkit-progress-value
        background-color: $color
      &::-moz-progress-bar
        background-color: $color
      &::-ms-fill
        background-color: $color
      &:indeterminate
        background-image: linear-gradient(to right, $color 30%, $progress-bar-background-color 30%)

  // Sizes
  &.is-small
    height: $size-small
  &.is-medium
    height: $size-medium
  &.is-large
    height: $size-large

@keyframes moveIndeterminate
  from
    background-position: 200% 0
  to
    background-position: -200% 0

Version data entries

33 entries across 33 versions & 4 rubygems

Version Path
okf-pub-theme-0.2.24 _sass/_bulma-0.7.4/sass/elements/progress.sass
okf-pub-theme-0.2.23 _sass/_bulma-0.7.4/sass/elements/progress.sass
okf-pub-theme-0.2.22 _sass/_bulma-0.7.4/sass/elements/progress.sass
bulma-sass-0.7.4 app/assets/stylesheets/sass/elements/progress.sass
bulma-sass-0.7.3.1 app/assets/stylesheets/sass/elements/progress.sass
okf-pub-theme-0.2.21 _sass/_bulma-0.7.4/sass/elements/progress.sass
okf-pub-theme-0.2.20 _sass/_bulma-0.7.4/sass/elements/progress.sass
okf-pub-theme-0.2.19 _sass/_bulma-0.7.4/sass/elements/progress.sass
okf-pub-theme-0.2.18 _sass/_bulma-0.7.4/sass/elements/progress.sass
okf-pub-theme-0.2.17 _sass/_bulma-0.7.4/sass/elements/progress.sass
okf-pub-theme-0.2.16 _sass/_bulma-0.7.4/sass/elements/progress.sass
okf-pub-theme-0.2.15 _sass/_bulma-0.7.4/sass/elements/progress.sass
okf-pub-theme-0.2.14 _sass/_bulma-0.7.4/sass/elements/progress.sass
okf-pub-theme-0.2.13 _sass/_bulma-0.7.4/sass/elements/progress.sass
okf-pub-theme-0.2.11 _sass/_bulma-0.7.4/sass/elements/progress.sass
okf-pub-theme-0.2.10 _sass/_bulma-0.7.4/sass/elements/progress.sass
okf-pub-theme-0.2.9 _sass/_bulma-0.7.4/sass/elements/progress.sass
okf-pub-theme-0.2.8 _sass/_bulma-0.7.4/sass/elements/progress.sass
okf-pub-theme-0.2.7 _sass/_bulma-0.7.4/sass/elements/progress.sass
okf-pub-theme-0.2.6 _sass/_bulma-0.7.4/sass/elements/progress.sass