2020-08-05 03:56:37 +08:00
|
|
|
@keyframes isloadingspin {
|
2020-08-26 03:48:53 +08:00
|
|
|
0% { transform: translate(-50%, -50%) rotate(0deg); }
|
|
|
|
100% { transform: translate(-50%, -50%) rotate(360deg); }
|
2020-08-05 03:56:37 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.is-loading {
|
2020-08-26 03:48:53 +08:00
|
|
|
background: transparent !important;
|
|
|
|
color: transparent !important;
|
|
|
|
border: transparent !important;
|
|
|
|
pointer-events: none !important;
|
|
|
|
position: relative !important;
|
|
|
|
overflow: hidden !important;
|
2020-08-05 03:56:37 +08:00
|
|
|
}
|
|
|
|
|
2020-11-11 02:28:07 +08:00
|
|
|
.is-loading::after {
|
2020-08-26 03:48:53 +08:00
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
width: 4rem;
|
|
|
|
height: 4rem;
|
|
|
|
left: 50%;
|
|
|
|
top: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
animation: isloadingspin 500ms infinite linear;
|
|
|
|
border-width: 4px;
|
|
|
|
border-style: solid;
|
2022-10-13 00:26:27 +08:00
|
|
|
border-color: var(--color-secondary) var(--color-secondary) var(--color-secondary-dark-8) var(--color-secondary-dark-8);
|
2020-08-26 03:48:53 +08:00
|
|
|
border-radius: 100%;
|
2020-08-05 03:56:37 +08:00
|
|
|
}
|
|
|
|
|
2021-05-07 16:43:41 +08:00
|
|
|
.markup pre.is-loading,
|
2020-08-05 03:56:37 +08:00
|
|
|
.editor-loading.is-loading {
|
2022-02-16 11:28:29 +08:00
|
|
|
height: var(--height-loading);
|
2020-08-05 03:56:37 +08:00
|
|
|
}
|
2021-11-16 16:16:05 +08:00
|
|
|
|
2022-11-21 17:59:42 +08:00
|
|
|
.btn-octicon.is-loading::after {
|
|
|
|
border-width: 2px;
|
|
|
|
height: 1.25rem;
|
|
|
|
width: 1.25rem;
|
|
|
|
}
|
|
|
|
|
2022-09-14 00:33:37 +08:00
|
|
|
code.language-math.is-loading::after {
|
|
|
|
padding: 0;
|
|
|
|
border-width: 2px;
|
|
|
|
width: 1.25rem;
|
|
|
|
height: 1.25rem;
|
|
|
|
}
|
|
|
|
|
2021-11-16 16:16:05 +08:00
|
|
|
@keyframes fadein {
|
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes fadeout {
|
|
|
|
0% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
2022-05-07 13:35:12 +08:00
|
|
|
|
|
|
|
@keyframes pulse {
|
|
|
|
0% {
|
|
|
|
transform: scale(1);
|
|
|
|
}
|
|
|
|
50% {
|
|
|
|
transform: scale(1.8);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: scale(1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.pulse {
|
|
|
|
animation: pulse 2s linear;
|
|
|
|
}
|