Chevron Progress Indicator

From Logic Wiki
Jump to: navigation, search


<!DOCTYPE html>
<html>
<head>
  <title></title>
  <style>
    #WebFormControl_ProgressIndicator {
      text-align: center;
    }    
    #WebFormControl_ProgressIndicator ol {
      list-style: none;
      display: inline-table;
    }
    #WebFormControl_ProgressIndicator ol li {
      display: inline;
    }
    #WebFormControl_ProgressIndicator ol li  {
      display: block;
      float: left;
      height: 50px;
      background:  #008571;
      text-align: center;
      padding: 30px 40px 0 80px;
      position: relative;
      margin: 0 10px 0 0; 
			
      font-size: 20px;
      text-decoration: none;
      color: #fff;
    }
    #WebFormControl_ProgressIndicator ol li:after {
      content: "";  
      border-top: 40px solid transparent;
      border-bottom: 40px solid transparent;
      border-left: 40px solid  #008571;
      position: absolute; right: -40px; top: 0;
      z-index: 1;
    }
    #WebFormControl_ProgressIndicator ol li:before {
      content: "";  
      border-top: 40px solid transparent;
      border-bottom: 40px solid transparent;
      border-left: 40px solid #d4f2ff;
      position: absolute; left: 0; top: 0;
    }
	
    #WebFormControl_ProgressIndicator ol li:first-child  {
      border-top-left-radius: 10px; border-bottom-left-radius: 10px;
    }
    #WebFormControl_ProgressIndicator ol li:first-child:before {
      display: none; 
    }
				
    #WebFormControl_ProgressIndicator ol li:last-child  {
      padding-right: 80px;
      border-top-right-radius: 10px; border-bottom-right-radius: 10px;
    }
    #WebFormControl_ProgressIndicator ol li:last-child:after {
      display: none; 
    }
			
    #WebFormControl_ProgressIndicator ol li span:hover {
      background: #fa5ba5;
    }
    #WebFormControl_ProgressIndicator ol li span:hover:after {
      border-left-color: #fa5ba5;
    }
  </style>
</head>
<body>
  <div id="WebFormControl_ProgressIndicator">
    <ol class="progress list-group top">
      <li><span>1</span>asdf</li>
      <li><span>2</span>asdf</li>
      <li><span>3</span>asdf</li>
    </ol>
  </div>
</body>
</html>