Sha256: 611f264202ea62a4b241802e33e2b3419be4dfb1f7cd8a70086dbf3ecfb5214e

Contents?: true

Size: 1.89 KB

Versions: 106

Compression:

Stored size: 1.89 KB

Contents

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

$progress-indeterminate-duration: 1.5s !default

.progress
  @extend %block
  -moz-appearance: none
  -webkit-appearance: none
  border: none
  border-radius: $progress-border-radius
  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
  // 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%)

  &: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

  // 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

106 entries across 103 versions & 8 rubygems

Version Path
intia-theme-0.1.65 node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass
intia-theme-0.1.64 node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass
intia-theme-0.1.63 node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass
intia-theme-0.1.62 node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass
intia-theme-0.1.61 node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass
intia-theme-0.1.60 node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass
intia-theme-0.1.59 node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass
intia-theme-0.1.58 node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass
intia-theme-0.1.57 node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass
intia-theme-0.1.56 node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass
intia-theme-0.1.55 node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass
intia-theme-0.1.54 node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass
intia-theme-0.1.53 node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass
intia-theme-0.1.52 node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass
intia-theme-0.1.51 node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass
intia-theme-0.1.50 node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass
intia-theme-0.1.49 node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass
intia-theme-0.1.48 node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass
intia-theme-0.1.47 node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass
intia-theme-0.1.46 node_modules/bulma-block-list/node_modules/bulma/sass/elements/progress.sass