prettier (#22786)
This commit is contained in:
parent
0db03b684d
commit
5d1c1e5f62
|
@ -22,12 +22,16 @@ createWidget("summary-skeleton", {
|
|||
|
||||
html.push(
|
||||
h("span", {}, [
|
||||
iconNode("magic", { class: "rotate-center" }),
|
||||
h(
|
||||
"div.placeholder-generating-summary-text",
|
||||
{},
|
||||
I18n.t("summary.in_progress")
|
||||
),
|
||||
h("span.ai-summarizing-indicator__wave", {}, [
|
||||
h("span.ai-summarizing-indicator__dot", "."),
|
||||
h("span.ai-summarizing-indicator__dot", "."),
|
||||
h("span.ai-summarizing-indicator__dot", "."),
|
||||
]),
|
||||
])
|
||||
);
|
||||
|
||||
|
|
|
@ -15,18 +15,27 @@
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
.rotate-center {
|
||||
-webkit-animation: rotate-center 3s cubic-bezier(0.68, -0.55, 0.265, 1.55)
|
||||
0.5s infinite both;
|
||||
animation: rotate-center 3s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.5s
|
||||
infinite both;
|
||||
}
|
||||
|
||||
.placeholder-generating-summary-text {
|
||||
display: inline-block;
|
||||
margin-left: 3px;
|
||||
}
|
||||
|
||||
.ai-summarizing-indicator__wave {
|
||||
flex: 0 0 auto;
|
||||
display: inline-flex;
|
||||
}
|
||||
|
||||
.ai-summarizing-indicator__dot {
|
||||
display: inline-block;
|
||||
animation: ai-summarizing-indicator__wave 1.8s linear infinite;
|
||||
&:nth-child(2) {
|
||||
animation-delay: -1.6s;
|
||||
}
|
||||
&:nth-child(3) {
|
||||
animation-delay: -1.4s;
|
||||
}
|
||||
}
|
||||
|
||||
.summarized-on {
|
||||
text-align: right;
|
||||
|
||||
|
@ -40,3 +49,14 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes ai-summarizing-indicator__wave {
|
||||
0%,
|
||||
60%,
|
||||
100% {
|
||||
transform: initial;
|
||||
}
|
||||
30% {
|
||||
transform: translateY(-0.2em);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue