add LoadingBar component

add LoadingBar component
This commit is contained in:
梁灏 2016-09-22 13:42:59 +08:00
parent 4ec205b68d
commit 9dde24b629
14 changed files with 299 additions and 25 deletions

View file

@ -0,0 +1,22 @@
@loading-bar-prefix-cls: ~"@{css-prefix}loading-bar";
.@{loading-bar-prefix-cls} {
width: 100%;
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: @zindex-loading-bar;
&-inner {
.transition(width @transition-time linear);
&-color-primary {
background-color: @primary-color;
}
&-failed-color-error {
background-color: @error-color;
}
}
}