This repository has been archived by the owner on Jul 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: VerticalProgressBar supports 'sections'
- Loading branch information
1 parent
8863f43
commit ad4ad7c
Showing
7 changed files
with
187 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,33 @@ | |||
@mixin progress_color_indicator() { | |||
$colors : ( nth($palette-green,6),nth($palette-orange,6),nth($palette-red,6)); | |||
%commonStyles { | |||
transition : background-color 0.2s $animation-curve-default; | |||
} | |||
|
|||
@for $i from 0 through 30 { | |||
.mdl-vprogress.mdl-vprogress--progress-#{$i} { | |||
.mdl-vprogress__section { | |||
@extend %commonStyles; | |||
background-color : nth($colors, (3)); | |||
} | |||
} | |||
} | |||
|
|||
@for $i from 31 through 60 { | |||
.mdl-vprogress.mdl-vprogress--progress-#{$i} { | |||
.mdl-vprogress__section { | |||
@extend %commonStyles; | |||
background-color : nth($colors, (2)); | |||
} | |||
} | |||
} | |||
|
|||
@for $i from 61 through 100 { | |||
.mdl-vprogress.mdl-vprogress--progress-#{$i} { | |||
.mdl-vprogress__section { | |||
@extend %commonStyles; | |||
background-color : nth($colors, (1)); | |||
} | |||
} | |||
} | |||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters