File tree Expand file tree Collapse file tree 4 files changed +12
-7
lines changed
Insights/InsightsCatalog/PromotionSection/PromotionCard Expand file tree Collapse file tree 4 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,13 @@ import styled, { keyframes } from "styled-components";
22
33const blurAnimation = keyframes `
44 0% { opacity: 0; }
5+ 40% { opacity: 0; }
6+ 60% { opacity: 1; }
57 100% { opacity: 1; }
68` ;
79
810export const AnimatedPromotionBackground = styled . div `
911 position: absolute;
1012 top: 0;
11- animation: 1s ${ blurAnimation } linear infinite alternate;
13+ animation: 5s ${ blurAnimation } linear infinite alternate;
1214` ;
Original file line number Diff line number Diff line change @@ -55,14 +55,16 @@ export const Description = styled.span`
5555` ;
5656
5757const shineAnimation = keyframes `
58- 0% { left: -33%; }
59- 50% {left: 33%}
60- 100% { left: -33%; }
58+ 0% { left: -100%; }
59+ 25% { left: 0%; }
60+ 50% { left: 100%; }
61+ 100% { left: 100%; }
6162` ;
6263
6364export const AccessCourseButton = styled ( Button ) `
6465 padding: 6px 8px;
6566 position: relative;
67+ overflow: hidden;
6668
6769 &::before {
6870 content: "";
@@ -77,7 +79,7 @@ export const AccessCourseButton = styled(Button)`
7779 rgb(255 255 255 / 35%),
7880 rgb(255 255 255 / 0%) 70%
7981 );
80- animation: ${ shineAnimation } 2s infinite linear;
82+ animation: ${ shineAnimation } 3s infinite linear;
8183 }
8284` ;
8385
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import { SuccessRegistration } from "./SuccessRegistration";
1111import type { RegistrationCardProps } from "./types" ;
1212
1313const TRANSITION_CLASS_NAME = "registration-card" ;
14- const DEFAULT_TRANSITION_DURATION = 1000 ;
14+ const DEFAULT_TRANSITION_DURATION = 300 ;
1515
1616export const RegistrationCard = ( {
1717 onClose,
Original file line number Diff line number Diff line change @@ -59,9 +59,10 @@ export const FormContainer = styled.div`
5959
6060export const Register = styled ( RegisterForm ) `
6161 flex-direction: column;
62+ gap: 3px;
6263
6364 form {
64- gap: 2px ;
65+ gap: 4px ;
6566 }
6667` ;
6768
You can’t perform that action at this time.
0 commit comments