Skip to content

Build your personal knowledge base with Trilium Notes

style/about dialog: add an animation to the donate button

Adorian Dorand61e399c67db
diff --git a/apps/client/src/widgets/dialogs/about.css b/apps/client/src/widgets/dialogs/about.css
index 9b707cb365..d3dcf55d61 100644
--- a/apps/client/src/widgets/dialogs/about.css
+++ b/apps/client/src/widgets/dialogs/about.css
@@ -111,6 +111,11 @@
&.donate-link {
color: var(--donate-button-color);
+
+ &:hover i {
+ animation: heartbeat 600ms ease-in-out;
+ animation-iteration-count: 3;
+ }
}
}
}
@@ -140,6 +145,18 @@
}
}
+@keyframes heartbeat {
+ 0% {
+ transform: scale(1);
+ } 50% {
+ transform: scale(1.15);
+ } 75% {
+ transform: scale(1);
+ } 100% {
+ transform: scale(1);
+ }
+}
+
/* TODO: move to global styles */
.property-sheet-table {
border-spacing: 0 2px;