uprogress
Mixin to generate a custom μProgress style. Allow to customize, class name, height and colors. Generate a monochrome progres bar if one colors is passed or a multi-color animated one if multiple colors are passed.
Output: A CSS class to pass in the class
option of the UProgress
Javascript module.
Parameters
Name | Description | Type | Default Value |
---|---|---|---|
name | class to apply to the μProgress. | String | uprogress |
height | progressbar height. | Length | $uprogress-height |
colors | List of Colors. | List<Color> | $uprogress-colors |
position | Position the µProgress on top or on bottom of its parent. | String | $uprogress-position |
Examples
A purple progress bar with a height of .25rem
A multi-color progress bar with default height (2px)
uprogress-colors
Default µProgress color.
Type: Color
Default value: #006be5
uprogress-height
Default µProgress height.
Type: String
Default value: 2px
uprogress-zindex
Z-index value of the µProgress.
Type: Number
Default value: 1000
uprogress-position
Default µProgress posistion (top
or bottom
).
Type: String
Default value: 'top'