blob: 6896e4a2b3fbd2e71399469913625fb9fb68e492 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
|
@charset 'utf-8';
/**
* matcha.animation.css
* 动画
*/
/* 淡出/入动画 */
.fadeout {
transition: .7s;
opacity: 0
}
.fadeIn {
animation: fadeIn .3s
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateX(3em)
}
to {
opacity: 1;
transform: translateX(0)
}
}
/* 进度条 */
.progress {
position: fixed;
top: 0;
left: 0;
right: 0;
padding: 0;
width: 100%;
z-index: 100
}
.progress-bar {
height: .2rem;
width: 0;
background-color: var(--theme-color);
animation: progress-loader infinite 1s;
-webkit-animation: progress-loader infinite 1s;
-moz-animation: progress-loader infinite 1s;
margin: 0 auto;
box-shadow: 0 0 0.25rem var(--theme-color)
}
@keyframes progress-loader {
from {
width: 0
}
to {
width: 100%;
opacity: 0
}
}
/* 评论按钮的加载动画 */
.throbber-loader:not(:required) {
-moz-animation: throbber-loader 1000ms 300ms infinite ease-out;
-webkit-animation: throbber-loader 1000ms 300ms infinite ease-out;
animation: throbber-loader 1000ms 300ms infinite ease-out;
background: #E6E6AD;
display: inline-block;
position: relative;
text-indent: -9999px;
width: 0.9em;
height: 1.5em;
margin: 0 1.6em;
}
.throbber-loader:not(:required):before, .throbber-loader:not(:required):after {
background: #E6E6AD;
content: '\x200B';
display: inline-block;
width: 0.9em;
height: 1.5em;
position: absolute;
top: 0;
}
.throbber-loader:not(:required):before {
-moz-animation: throbber-loader 1000ms 150ms infinite ease-out;
-webkit-animation: throbber-loader 1000ms 150ms infinite ease-out;
animation: throbber-loader 1000ms 150ms infinite ease-out;
left: -1.6em;
}
.throbber-loader:not(:required):after {
-moz-animation: throbber-loader 1000ms 450ms infinite ease-out;
-webkit-animation: throbber-loader 1000ms 450ms infinite ease-out;
animation: throbber-loader 1000ms 450ms infinite ease-out;
right: -1.6em;
}
@-moz-keyframes throbber-loader {
0% {
background: #E6E6AD;
}
10% {
background: var(--theme-color);
}
40% {
background: #E6E6AD;
}
}
@-webkit-keyframes throbber-loader {
0% {
background: #E6E6AD;
}
10% {
background: var(--theme-color);
}
40% {
background: #E6E6AD;
}
}
@keyframes throbber-loader {
0% {
background: #E6E6AD;
}
10% {
background: var(--theme-color);
}
40% {
background: #E6E6AD;
}
}
|