hilongjw / vue-progressbar

A lightweight progress bar for vue
http://hilongjw.github.io/vue-progressbar
MIT License
1.46k stars 162 forks source link

Use CSS for styling #47

Open Radiergummi opened 7 years ago

Radiergummi commented 7 years ago

I think it would be great if the progress bar styling would not be applied to the element but rather via CSS classes, so we could style the progress bar by ourselves, by using .vue-progressbar together with modifier classes for .loading, .finish and .fail.
For example, my layout consists of a left nav bar and a content area. It would be nice if I could change the left: 0px to left: 50px without too much hassle.

corysimmons commented 7 years ago

.__cov-progress is styleable, just add !important to override some stuff.