Skip to content

Commit

Permalink
[Style]
Browse files Browse the repository at this point in the history
  • Loading branch information
PJ-568 committed Mar 14, 2024
1 parent 9ffaa1f commit 0f94ceb
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions assets/loading.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,30 +32,30 @@

/* 加载进度条 */
.loading-bar {
position: fixed;
top: 0;
left: 0;
z-index: 99999;
opacity: 0;
transition: opacity .4s linear;

.progress {
position: fixed;
top: 0;
left: 0;
z-index: 99999;
opacity: 0;
transition: opacity .4s linear;

width: 0;
height: 4px;
background-color: #007bff;
box-shadow: 0 0 10px rgba(119, 182, 255, .7);
}

&.loading {
opacity: 1;
transition: none;

.progress {
position: fixed;
top: 0;
left: 0;
width: 0;
height: 4px;
background-color: #007bff;
box-shadow: 0 0 10px rgba(119, 182, 255, .7);
}

&.loading {
opacity: 1;
transition: none;

.progress {
transition: width .4s ease;
}
transition: width .4s ease;
}
}
}
/* 加载进度条结束 */

0 comments on commit 0f94ceb

Please sign in to comment.