๐ญ Iโm currently working on:
- Work
- Trying to get back into FOSS
๐ฑ Iโm currently learning:
- Rust as time permits
โก Iโm looking to collaborate on:
- Plant/botany/horticulture things!
- FOSS!
[NOT MAINTAINED] A pure flexbox+sass progress indicator
Home Page: http://christabor.github.io/css-progress-wizard/
License: MIT License
Needs repo and license fields.
Please can you add !default
to the variables to make overriding easier
// colors
$incomplete: #bbb !default;
$complete: #65d074 !default;
$active: #337AB7 !default;
$hover: #5671d0 !default;
$step-danger: #d3140f !default;
$step-warning: #edb10a !default;
$step-info: #5b32d6 !default;
// sizing
$bubble-size: 20px !default;
$bubble-line-thickness: 3px !default;
$border-thickness: 1px !default;
$darken-amount: 30% !default;
// misc
$mobile-size: 400px !default;
Dependent on #16
Could you please npm publish this package?
Different licensing details.
Hi, can you release this under MIT As well?
Hello,
I'm not sure whether this use case has not been taken in account or if it is a bug. But when I added some content to the bubble's span it was covered by the timeline.
As illustrated in this CodePen [$], I managed to fix/workaround it by adding a negative z-index
to the pseudo-elements that are used to render the timeline.
Is it the right way to do it? Are there better alternatives?
[$] There are two steps with some icons inside the bubbles. The first one has the fix and is correctly rendered. However, the second step show the timeline covers the icon.
Hello,
I really liked the wizard. Its pure css and responsive. I did try different wizard's but progress wizard was easy to customise as i am not a css designer.
I customised the wizard according to our requirement.
Issues
When we reduce the screen size the lines are pushed into the circle.
When wee increase the screen size beyond a certain level there is small gap between circle and line.
I tried different approaches but unable to fix it. Any help is appreciated.
customized css file.
.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;
padding: 0;
font-size: 120%;
}
.progress-indicator>li {
list-style: none;
text-align: center;
width: auto;
padding: 0;
margin: 0;
position: relative;
text-overflow: ellipsis;
color: #bbb;
display: block
}
.progress-indicator>li:hover {
color: #6f6f6f
}
.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:45px;
}
.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: #009688;
}
.progress-indicator>li.completed .bubble:after,
.progress-indicator>li.completed .bubble:before {
border-color: #009688;
background-color: #009688;
}
.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: 30%;
margin-left: 59%
}
.progress-indicator>li:last-child .bubble:after,
.progress-indicator>li:last-child .bubble:before {
margin-right: 60%
}
.progress-indicator>li.active,
.progress-indicator>li.active .bubble {
color: #337AB7
}
.progress-indicator>li.active .bubble,
.progress-indicator>li.active .bubble:after,
.progress-indicator>li.active .bubble:before {
background-color: #337AB7;
border-color: #122a3f
}
.progress-indicator>li a:hover .bubble,
.progress-indicator>li a:hover .bubble:after,
.progress-indicator>li a:hover .bubble:before {
background-color: #5671d0;
border-color: #1f306e
}
.progress-indicator>li a:hover .bubble {
color: #5671d0
}
.progress-indicator>li.danger .bubble,
.progress-indicator>li.danger .bubble:after,
.progress-indicator>li.danger .bubble:before {
background-color: #d3140f;
border-color: #440605
}
.progress-indicator>li.danger .bubble {
color: #d3140f
}
.progress-indicator>li.warning .bubble,
.progress-indicator>li.warning .bubble:after,
.progress-indicator>li.warning .bubble:before {
background-color: #edb10a;
border-color: #5a4304
}
.progress-indicator>li.warning .bubble {
color: #edb10a
}
.progress-indicator>li.info .bubble,
.progress-indicator>li.info .bubble:after,
.progress-indicator>li.info .bubble:before {
background-color: #5b32d6;
border-color: #25135d
}
.progress-indicator>li.info .bubble {
color: #5b32d6
}
.progress-indicator.stacked>li {
text-indent: -10px;
text-align: center;
display: block
}
.progress-indicator.stacked>li .bubble:after,
.progress-indicator.stacked>li .bubble:before {
left: 50%;
margin-left: -1.5px;
width: 3px;
height: 100%
}
.progress-indicator.stacked .stacked-text {
position: relative;
z-index: 10;
top: 0;
margin-left: 60%!important;
width: 45%!important;
display: inline-block;
text-align: left;
line-height: 1.2em
}
.progress-indicator.stacked>li a {
border: none
}
.progress-indicator.stacked.nocenter>li .bubble {
margin-left: 0;
margin-right: 0
}
.progress-indicator.stacked.nocenter>li .bubble:after,
.progress-indicator.stacked.nocenter>li .bubble:before {
left: 10px
}
.progress-indicator.stacked.nocenter .stacked-text {
width: auto!important;
display: block;
margin-left: 40px!important
}
.progress-indicator>li .stepdate{
display:block;
color:#bdbdbd;
}
Hi,
another project has forked this and changed it to GPL-3. I need this under MIT. Can you publish this to npm or can we get the other project to change to MIT as this one does? Thank you.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.