| 1 |
.signal-indicator--wrapper { |
| 2 |
&:after { |
| 3 |
content: ''; |
| 4 |
display:table; |
| 5 |
clear:both; |
| 6 |
} |
| 7 |
width:30px; |
| 8 |
display:table-cell; |
| 9 |
.signal-indicator--step { |
| 10 |
display:inline-block; |
| 11 |
background-color:#32383e; |
| 12 |
width:5px; |
| 13 |
transition: height .2s ease-in-out; |
| 14 |
margin-right:3px; |
| 15 |
margin-bottom: 4px; |
| 16 |
vertical-align: bottom; |
| 17 |
&:last-child { |
| 18 |
margin-right:0; |
| 19 |
} |
| 20 |
&.signal-indicator__step1{ |
| 21 |
height:2px; |
| 22 |
} |
| 23 |
&.signal-indicator__step2{ |
| 24 |
height:5px; |
| 25 |
} |
| 26 |
&.signal-indicator__step3{ |
| 27 |
height:10px; |
| 28 |
} |
| 29 |
&.signal-indicator__step4{ |
| 30 |
height:15px; |
| 31 |
} |
| 32 |
} |
| 33 |
&.step__1{ |
| 34 |
.currentStep { |
| 35 |
background-color:red; |
| 36 |
} |
| 37 |
} |
| 38 |
&.step__2{ |
| 39 |
.currentStep { |
| 40 |
background-color:yellow; |
| 41 |
} |
| 42 |
} |
| 43 |
&.step__3{ |
| 44 |
.currentStep { |
| 45 |
background-color:yellowgreen; |
| 46 |
} |
| 47 |
} |
| 48 |
&.step__4{ |
| 49 |
.currentStep { |
| 50 |
background-color:green; |
| 51 |
} |
| 52 |
} |
| 53 |
} |