File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
src/shared/ui/preview-card Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -170,6 +170,19 @@ onBeforeMount(() => {
170170</template >
171171
172172<style lang="scss" scoped>
173+ @keyframes new-event {
174+ 0% {
175+ opacity : 0 ;
176+ animation-timing-function : cubic-bezier (0.8 , 0 , 1 , 1 );
177+ pointer-events : none ;
178+ }
179+ 100% {
180+ opacity : 1 ;
181+ animation-timing-function : cubic-bezier (0.8 , 0 , 1 , 1 );
182+ pointer-events : auto ;
183+ }
184+ }
185+
173186.preview-card {
174187 @apply flex-grow flex flex-col p-2 lg :p- 3 transition- colors dark :bg- gray- 700;
175188
@@ -184,13 +197,19 @@ onBeforeMount(() => {
184197
185198.preview-card__header {
186199 @apply w-full flex flex-row justify-between gap-y- 3;
200+
201+ animation : new- event 0.4s ;
187202}
188203
189204.preview-card__body {
190205 @apply flex flex-col mt-2 lg :mt- 3;
206+
207+ animation : new- event 0.2s ;
191208}
192209
193210.preview-card__footer {
194211 @apply w-full flex flex-row justify-between mt-1 lg :mt- 2 text- gray- 400;
212+
213+ animation : new- event 0.4s ;
195214}
196215 </style >
You can’t perform that action at this time.
0 commit comments