Skip to content

Commit

Permalink
Animera badges
Browse files Browse the repository at this point in the history
  • Loading branch information
bonny committed May 9, 2024
1 parent 947e911 commit 9e1191a
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions resources/views/components/latest-events-box.blade.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
@once
<style>
.Timeline {
--badge-size: 9px;
--badge-size: 12px;
background: white;
padding: var(--default-margin);
padding-bottom: var(--default-margin-half);
}
.Timeline-title {
}
.Timeline-title {}
.Timeline-items {
list-style: none;
Expand All @@ -32,6 +31,10 @@
color: #1f2328;
}
.Timeline-titleLink {
display: block;
}
.Timeline-itemTime {
font-size: var(--font-size-small);
}
Expand Down Expand Up @@ -87,6 +90,21 @@
height: var(--badge-size);
border-radius: 50%;
background-color: var(--color-red-2);
animation: ease-in-out pulse 1.5s infinite;
}
@keyframes pulse {
0% {
transform: scale(1);
}
70% {
transform: scale(1.2);
}
100% {
transform: scale(1);
}
}
</style>
@endonce
Expand Down

0 comments on commit 9e1191a

Please sign in to comment.