Skip to content

Commit c04036a

Browse files
style: clean up loading container and spinner styles for consistency
1 parent afd9bd3 commit c04036a

File tree

1 file changed

+32
-34
lines changed

1 file changed

+32
-34
lines changed

styles/globals.css

Lines changed: 32 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -30,41 +30,39 @@ a[target="_blank"]:hover .external-link-icon {
3030
}
3131

3232
.loading-container {
33-
position: fixed;
34-
top: 0;
35-
left: 0;
36-
width: 100%;
37-
height: 100%;
38-
display: flex;
39-
justify-content: center;
40-
align-items: center;
41-
z-index: 9999;
42-
}
33+
position: fixed;
34+
top: 0;
35+
left: 0;
36+
width: 100%;
37+
height: 100%;
38+
display: flex;
39+
justify-content: center;
40+
align-items: center;
41+
z-index: 9999;
42+
}
4343

44-
.spinner {
45-
border: 8px solid rgba(255, 255, 255, 0.3);
46-
border-top: 8px solid #1E293B;
47-
border-radius: 50%;
48-
width: 60px;
49-
height: 60px;
50-
-webkit-animation: spin 1s linear infinite;
51-
animation: spin 1s linear infinite;
44+
.spinner {
45+
border: 8px solid rgba(255, 255, 255, 0.3);
46+
border-top: 8px solid #1E293B;
47+
border-radius: 50%;
48+
width: 60px;
49+
height: 60px;
50+
-webkit-animation: spin 1s linear infinite;
51+
animation: spin 1s linear infinite;
52+
}
53+
@-webkit-keyframes spin {
54+
0% {
55+
transform: rotate(0deg);
5256
}
53-
54-
@-webkit-keyframes spin {
55-
0% {
56-
transform: rotate(0deg);
57-
}
58-
100% {
59-
transform: rotate(360deg);
60-
}
57+
100% {
58+
transform: rotate(360deg);
6159
}
62-
63-
@keyframes spin {
64-
0% {
65-
transform: rotate(0deg);
66-
}
67-
100% {
68-
transform: rotate(360deg);
69-
}
60+
}
61+
@keyframes spin {
62+
0% {
63+
transform: rotate(0deg);
7064
}
65+
100% {
66+
transform: rotate(360deg);
67+
}
68+
}

0 commit comments

Comments
 (0)