Fix Indeterminate Progress Bar animation in Firefox. Fixes #2258

This commit is contained in:
Fernanda Leite 2018-12-07 18:07:49 -03:00 committed by Jeremy Thomas
parent 9d3c36e02c
commit 247cb6e662

View File

@ -24,6 +24,19 @@ $progress-indeterminate-duration: 1.5s !default
&::-ms-fill &::-ms-fill
background-color: $progress-value-background-color background-color: $progress-value-background-color
border: none 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 &:indeterminate
animation-duration: $progress-indeterminate-duration animation-duration: $progress-indeterminate-duration
animation-iteration-count: infinite animation-iteration-count: infinite
@ -38,18 +51,6 @@ $progress-indeterminate-duration: 1.5s !default
background-color: transparent background-color: transparent
&::-moz-progress-bar &::-moz-progress-bar
background-color: transparent 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 // Sizes
&.is-small &.is-small