2019-09-04 18:48:03 +08:00
|
|
|
@import './mixins/mixins.scss';
|
2019-09-17 19:21:07 +08:00
|
|
|
@import './themes/vars.scss';
|
2019-09-04 18:48:03 +08:00
|
|
|
|
|
|
|
@include b(loading-bar-container) {
|
2019-09-06 16:15:19 +08:00
|
|
|
@include fade-in-transition(fade-in, .3s, .8s);
|
2019-09-04 18:48:03 +08:00
|
|
|
z-index: 5000;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
height: 2px;
|
|
|
|
@include b(loading-bar) {
|
|
|
|
background-color: $main-color;
|
|
|
|
width: 100%;
|
|
|
|
height: 2px;
|
|
|
|
transition: max-width 4s linear, background-color .2s linear;
|
|
|
|
max-width: 0;
|
|
|
|
@include m(starting) {
|
|
|
|
background-color: $main-color;
|
|
|
|
transition: max-width 4s linear, background-color .2s linear;
|
|
|
|
}
|
|
|
|
@include m(finishing) {
|
|
|
|
background-color: $main-color;
|
|
|
|
transition: max-width .2s linear, background-color .2s linear;
|
|
|
|
}
|
|
|
|
@include m(error) {
|
|
|
|
background-color: red;
|
|
|
|
transition: max-width .2s linear, background-color .2s linear;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|