add LoadingBar component
add LoadingBar component
This commit is contained in:
parent
4ec205b68d
commit
9dde24b629
14 changed files with 299 additions and 25 deletions
|
@ -13,4 +13,5 @@
|
|||
@import "checkbox";
|
||||
@import "switch";
|
||||
@import "input-number";
|
||||
@import "tag";
|
||||
@import "tag";
|
||||
@import "loading-bar";
|
22
styles/components/loading-bar.less
Normal file
22
styles/components/loading-bar.less
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue