m_step.css 2 KB
/***************************************************
* feature  :  商品详情页,阶梯价格;
* update   :  2015/02/03;
* use      :  ;
* extend   :  ;
* example  :  ;
* desc     :  ;
* feedback :  此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description]
*          -  demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中];
****************************************************/
/***************************************************
* feature  :  变量配置;
* update   :  2015/02/05;
* use      :  ;
* extend   :  ;
* example  :  ;
* desc     :  ;
* feedback :  此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description]
*          -  demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中];
****************************************************/
.bg-img {
  background: url('../../images/icon/icon.png') no-repeat;
  background-size: 150px;
}
.m-step {
  overflow: hidden;
  position: relative;
  padding: 12px 0;
}
.m-step:before,
.m-step:after {
  content: '';
  position: absolute;
  left: 0;
  right: 6px;
  top: 50%;
  height: 3px;
  background-color: #ddd;
  margin-top: -1px;
}
.m-step:after {
  left: auto;
  right: -4px;
  border: 8px solid #ddd;
  border-color: transparent transparent transparent #ddd;
  background: none;
  width: 0;
  height: 0;
  margin-top: -7px;
  font-size: 0;
}
.m-step li {
  float: left;
  text-align: left;
  padding: 0 5px;
  position: relative;
  min-width: 85px;
  box-sizing: border-box;
}
.m-step li:before {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  border: 2px solid #FFF;
  background-color: #DDD;
  font-size: 0;
  overflow: hidden;
  top: 50%;
  margin-top: -5px;
  border-radius: 50%;
  box-shadow: 0 0 1px #ddd;
}
.m-step .text {
  font-size: 14px;
  color: #6c2;
  display: block;
  padding-bottom: 7px;
}
.m-step .desc {
  font-size: 12px;
  color: #999;
  display: block;
  padding-top: 7px;
}