Line 190: | Line 190: | ||
width: 16px; | width: 16px; | ||
height: 16px; | height: 16px; | ||
− | background: | + | background:red;/*active circle color */ |
border-radius: 100%; | border-radius: 100%; | ||
position: absolute; | position: absolute; | ||
Line 401: | Line 401: | ||
<div class="wrapper"> | <div class="wrapper"> | ||
− | + | <div class="nodes"> | |
<div class="line"> | <div class="line"> | ||
<div class="blue"> | <div class="blue"> | ||
Line 599: | Line 599: | ||
var nextStep = (nodeTop - positions[current]) / (positions[current + 1] - positions[current]); | var nextStep = (nodeTop - positions[current]) / (positions[current + 1] - positions[current]); | ||
var totalWidth = ( current * stepDistance ) + (nextStep * stepDistance); | var totalWidth = ( current * stepDistance ) + (nextStep * stepDistance); | ||
− | + | $revealBar.height( totalWidth+10 ); | |
} | } | ||
Revision as of 03:43, 29 October 2017