Skip to content

Commit 3f4045b

Browse files
committed
Improve loading
1 parent e527f07 commit 3f4045b

File tree

4 files changed

+103
-221
lines changed

4 files changed

+103
-221
lines changed

chrome-extension/webpack.dev.js

-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ const common = require("./webpack.common.js");
33

44
module.exports = merge(common, {
55
mode: "development",
6-
devtool: "inline-source-map"
76
});

plugin/components/loading.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export function Loading(props: { content?: CheckListContent[] | undefined }) {
4747
<Box
4848
border={1}
4949
style={{
50-
padding: 5,
50+
padding: 15,
5151
backgroundColor: "#F4F8FF",
5252
borderRadius: 4,
5353
borderColor: "#F4F8FF",

plugin/ui.css

+1-58
Original file line numberDiff line numberDiff line change
@@ -12,63 +12,6 @@ a {
1212
color: rgba(26, 115, 231, 1);
1313
}
1414

15-
[role=tooltip] a {
15+
[role="tooltip"] a {
1616
color: rgb(7, 178, 215);
1717
}
18-
19-
/* Loading animation */
20-
.lds-ellipsis {
21-
display: inline-block;
22-
margin: auto;
23-
position: relative;
24-
width: 64px;
25-
height: 48px;
26-
}
27-
.lds-ellipsis div {
28-
position: absolute;
29-
top: 27px;
30-
width: 8px;
31-
height: 8px;
32-
border-radius: 50%;
33-
animation-timing-function: cubic-bezier(0, 1, 1, 0);
34-
}
35-
.lds-ellipsis div:nth-child(1) {
36-
left: 6px;
37-
animation: lds-ellipsis1 0.6s infinite;
38-
}
39-
.lds-ellipsis div:nth-child(2) {
40-
left: 6px;
41-
animation: lds-ellipsis2 0.6s infinite;
42-
}
43-
.lds-ellipsis div:nth-child(3) {
44-
left: 26px;
45-
animation: lds-ellipsis2 0.6s infinite;
46-
}
47-
.lds-ellipsis div:nth-child(4) {
48-
left: 45px;
49-
animation: lds-ellipsis3 0.6s infinite;
50-
}
51-
@keyframes lds-ellipsis1 {
52-
0% {
53-
transform: scale(0);
54-
}
55-
100% {
56-
transform: scale(1);
57-
}
58-
}
59-
@keyframes lds-ellipsis3 {
60-
0% {
61-
transform: scale(1);
62-
}
63-
100% {
64-
transform: scale(0);
65-
}
66-
}
67-
@keyframes lds-ellipsis2 {
68-
0% {
69-
transform: translate(0, 0);
70-
}
71-
100% {
72-
transform: translate(19px, 0);
73-
}
74-
}

0 commit comments

Comments
 (0)