mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-12-17 17:24:27 +08:00
新增quickcommand.showLoadingBar,支持显示加载条
This commit is contained in:
@@ -614,6 +614,7 @@ textarea:focus {
|
||||
background: rgba(255, 255, 255, 0.3);
|
||||
border-radius: 2px;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.process-bar-inner {
|
||||
@@ -624,6 +625,25 @@ textarea:focus {
|
||||
transition: width 0.3s ease;
|
||||
}
|
||||
|
||||
@keyframes loading-bar-animation {
|
||||
0% {
|
||||
left: -80px;
|
||||
}
|
||||
|
||||
100% {
|
||||
left: calc(100% + 80px);
|
||||
}
|
||||
}
|
||||
|
||||
.process-bar-loading {
|
||||
position: absolute;
|
||||
width: 80px;
|
||||
height: 100%;
|
||||
background: white;
|
||||
border-radius: 2px;
|
||||
animation: loading-bar-animation 3s infinite linear;
|
||||
}
|
||||
|
||||
/* 进度条按钮容器 */
|
||||
.process-buttons {
|
||||
position: absolute;
|
||||
|
||||
Reference in New Issue
Block a user