popup animation added to cards
LocationBasedServices/smartguide/pipeline/head This commit looks good

This commit is contained in:
2026-08-11 13:26:29 +02:00
parent 91efbdffeb
commit 8b150a81a0
6 changed files with 19 additions and 5 deletions
@@ -1,4 +1,4 @@
<article class="person-card">
<article class="person-card popup">
<a [routerLink]="['/person', person().id, 'overview']" class="card-header">
<!-- Initials Avatar or Profile Image fallback -->
<div [skText]="loading()" class="avatar">
@@ -1,5 +1,5 @@
<mat-card
class="card-content"
class="card-content popup"
appearance="outlined"
[routerLink]="
institution().id
@@ -1,7 +1,7 @@
@let work = this.work();
<mat-card
class="card-content"
class="card-content popup"
appearance="outlined"
[routerLink]="work.id ? ['/topic', stripOpenAlexId(work.id)] : null">
<mat-card-header>
@@ -1,7 +1,7 @@
@let topic = this.topic();
<mat-card
class="card-content"
class="card-content popup"
appearance="outlined"
[routerLink]="topic.id ? ['/topic', stripOpenAlexId(topic.id)] : null">
<mat-card-header>
@@ -1,5 +1,5 @@
<mat-card
class="card"
class="card popup"
appearance="outlined"
[routerLink]="['/news', article().id]">
<mat-card-header>
+14
View File
@@ -467,7 +467,21 @@ html.dark-theme {
--mat-icon-button-disabled-icon-color: rgba(255, 255, 255, 0.35);
--mat-icon-button-icon-color: #ffffff;
}
.popup {
animation: popup 250ms ease-out;
}
@keyframes popup {
from {
opacity: 0;
transform: scale(0.8);
}
to {
opacity: 1;
transform: scale(1);
}
}
/* Theme-aware text skeleton */
.sk-text-loading {
display: inline-block;