Skip to content

Commit d339854

Browse files
committed
闪烁图标
1 parent 871903a commit d339854

File tree

1 file changed

+33
-2
lines changed

1 file changed

+33
-2
lines changed

heroku/web/index.php

+33-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
width: 17px;
2121
height: 17px;
2222
margin-right: 10px;
23-
margin-bottom: -3px;
23+
margin-top: -6px;
24+
font-size: 18px;
2425
}
2526

2627
.success-icon {
@@ -34,13 +35,43 @@
3435

3536
#output-box {
3637
word-wrap: break-word;
38+
font-size: 14px;
3739
}
3840

3941
.a-tag {
4042
color: #f44336;
4143
text-decoration: none;
4244
font-weight: bold;
4345
}
46+
47+
@-webkit-keyframes shake {
48+
0% {
49+
opacity: 1;
50+
}
51+
50% {
52+
opacity: 0;
53+
}
54+
100% {
55+
opacity: 1;
56+
}
57+
}
58+
59+
@keyframes shake {
60+
0% {
61+
opacity: 1;
62+
}
63+
50% {
64+
opacity: 0;
65+
}
66+
100% {
67+
opacity: 1;
68+
}
69+
}
70+
71+
.shake {
72+
-webkit-animation: shake 2s infinite;
73+
animation: shake 2s infinite;
74+
}
4475
</style>
4576
</head>
4677
<body>
@@ -104,7 +135,7 @@ class="mdui-img-fluid"
104135
<div class="mdui-panel-item mdui-panel-item-open" id="shell-box">
105136
<div class="mdui-panel-item-header">
106137
<div id="running-box">
107-
<div class="mdui-spinner mdui-spinner-colorful loading-icon"></div>
138+
<i class="mdui-icon material-icons loading-icon mdui-text-color-red shake">fiber_manual_record</i>
108139
正在执行
109140
</div>
110141
<div id="success-box" style="display: none;">

0 commit comments

Comments
 (0)