2016-09-22 13:42:59 +08:00
|
|
|
@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 {
|
2016-11-27 00:25:19 +08:00
|
|
|
transition: width @transition-time linear;
|
2016-09-22 13:42:59 +08:00
|
|
|
|
|
|
|
&-color-primary {
|
|
|
|
background-color: @primary-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-failed-color-error {
|
|
|
|
background-color: @error-color;
|
|
|
|
}
|
|
|
|
}
|
2016-11-27 00:25:19 +08:00
|
|
|
}
|