1 reply [Last post]
surya_gvp
surya_gvp's picture
Offline
newbie
Last seen: 14 weeks 2 days ago
Timezone: GMT+11
Joined: 2016-10-12
Posts: 2
Points: 3

We are using progress wizard to display the steps. As per requirement I had to remove the background in the circle. I modified the code to reduce the line.When i try to resize the window the line is moving inside the circle.

CSS

.flexer, .progress-indicator {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
}
.no-flexer, .progress-indicator.stacked {
    display: block;
}
.no-flexer-element {
    -ms-flex: 0;
    -webkit-flex: 0;
    -moz-flex: 0;
    flex: 0;
}
.flexer-element, .progress-indicator>li {
    -ms-flex: 1;
    -webkit-flex: 1;
    -moz-flex: 1;
    flex: 1;
}
.progress-indicator {
    margin: 0 0 1em;
    padding: 0;
    font-size: 80%;    
}
.progress-indicator>li {
    list-style: none;
    text-align: center;
    width: auto;
    padding: 0;
    margin: 0;
    position: relative;
    text-overflow: ellipsis;
    color: #9e9e9e;
    display: block;
    line-height:130%;       
}
 
.progress-indicator>li .stepdate{ 
    display:block;
    color:#bdbdbd;
}
 
.progress-indicator>li:hover {
    color: #c3c3c3;
}
 
 
.progress-indicator>li.completed, .progress-indicator>li.completed .bubble {
   color: #9e9e9e;
}
.progress-indicator>li .bubble {
    border-radius: 1000px;
    width: 50px;
    height: 50px;    
    display: block;
    margin: 0 auto .5em;
    border: 5px solid #bdbdbd;
    text-align:center;
    line-height:50px;
}
.progress-indicator>li .bubble:after, .progress-indicator>li .bubble:before {
    display: block;
    position: absolute;
    top: 25px;
    width: 40%;
    height: 3px;
    content: '';
    background-color: #bdbdbd;
}
 
.progress-indicator>li.completed .bubble{
     border-color: #009999;  
}
 
 .progress-indicator>li.completed .bubble:after, .progress-indicator>li.completed .bubble:before 
 {
     background-color:#009999;       
 }
 
.progress-indicator>li .bubble:before {
    left: 0;
}
.progress-indicator>li .bubble:after {
    right: 0;
}
.progress-indicator>li:first-child .bubble:after, .progress-indicator>li:first-child .bubble:before {
    width: 20%;
    margin-left: 60%}
.progress-indicator>li:last-child .bubble:after, .progress-indicator>li:last-child .bubble:before {
    width: 30%;
    margin-right: 60%}
.progress-indicator>li.active, .progress-indicator>li.active .bubble {
   color: #9e9e9e;
}
.progress-indicator>li.active .bubble{
        border-color: #bdbdbd;
}
.progress-indicator>li.active .bubble:after, .progress-indicator>li.active .bubble:before {
     background-color: #bdbdbd;
}
 
.progress-indicator>li a:hover .bubble, .progress-indicator>li a:hover .bubble:after, .progress-indicator>li a:hover .bubble:before {   
    border-color: #1f306e;
}
.progress-indicator>li a:hover .bubble {
    color: #5671d0;
}
@media handheld, screen and (max-width:400px) {
    .progress-indicator {
    font-size: 60%}
}`

Html Code

        <ul class="progress-indicator">
            <li class="completed">
                <span class="bubble">3</span>Step1                            
            </li>
            <li class="completed">
                <span class="bubble"></span>
                Step2
            </li>
            <li class="active">
                <span class="bubble"></span>
                Step3
            </li>
            <li>
                <span class="bubble"></span>
                Last Step
            </li>
 
        </ul>

surya_gvp
surya_gvp's picture
Offline
newbie
Last seen: 14 weeks 2 days ago
Timezone: GMT+11
Joined: 2016-10-12
Posts: 2
Points: 3

Any help is appreciated.

Any help is appreciated.