mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
33 lines
697 B
Sass
33 lines
697 B
Sass
.progress
|
|
+block
|
|
-moz-appearance: none
|
|
-webkit-appearance: none
|
|
border: none
|
|
border-radius: 290486px
|
|
display: block
|
|
height: $size-normal
|
|
overflow: hidden
|
|
padding: 0
|
|
width: 100%
|
|
&::-webkit-progress-bar
|
|
background-color: $border
|
|
&::-webkit-progress-value
|
|
background-color: $text
|
|
&::-moz-progress-bar
|
|
background-color: $text
|
|
// Colors
|
|
@each $name, $pair in $colors
|
|
$color: nth($pair, 1)
|
|
&.is-#{$name}
|
|
&::-webkit-progress-value
|
|
background-color: $color
|
|
&::-moz-progress-bar
|
|
background-color: $color
|
|
// Sizes
|
|
&.is-small
|
|
height: $size-small
|
|
&.is-medium
|
|
height: $size-medium
|
|
&.is-large
|
|
height: $size-large
|