Skip to content

Commit 240d5a6

Browse files
authored
CSS animation updates (#4100)
* Remove the PC idol animation * default branch animation update
1 parent d8f234d commit 240d5a6

File tree

2 files changed

+2
-32
lines changed

2 files changed

+2
-32
lines changed

app/src/lib/components/Board.svelte

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,6 @@
280280
border-radius: 100%;
281281
background-color: var(--clr-illustration-outline);
282282
opacity: 0.08;
283-
animation: shadow-scale 5.5s infinite ease-in-out;
284283
animation-delay: 3s;
285284
}
286285
}
@@ -291,35 +290,6 @@
291290
left: 50%;
292291
transform: translate(-50%, -70%) translateZ(0);
293292
width: 212px;
294-
animation: hovering 5.5s infinite ease-in-out;
295-
animation-delay: 3s;
296-
}
297-
298-
@keyframes hovering {
299-
0% {
300-
transform: translate(-50%, -70%) translateZ(0);
301-
}
302-
50% {
303-
transform: translate(-50%, -65%) translateZ(0);
304-
}
305-
100% {
306-
transform: translate(-50%, -70%) translateZ(0);
307-
}
308-
}
309-
310-
@keyframes shadow-scale {
311-
0% {
312-
opacity: 0.08;
313-
transform: translateX(-50%) scale(1.15);
314-
}
315-
50% {
316-
opacity: 0.12;
317-
transform: translateX(-50%) scale(1);
318-
}
319-
100% {
320-
opacity: 0.08;
321-
transform: translateX(-50%) scale(1.15);
322-
}
323293
}
324294
325295
.empty-board__about {

app/src/lib/components/BranchHeader.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,13 +311,13 @@
311311
margin-bottom: 4px;
312312
}
313313
.header_target-branch-animation {
314-
animation: setTargetAnimation 0.25s ease-in-out forwards;
314+
animation: setTargetAnimation 0.3s ease-in-out forwards;
315315
}
316316
@keyframes setTargetAnimation {
317317
0% {
318318
}
319319
40% {
320-
transform: scale(1.015) rotate(0.5deg);
320+
transform: scale(1.017) rotate(1deg);
321321
}
322322
50% {
323323
border-color: var(--clr-theme-pop-element);

0 commit comments

Comments
 (0)