From 3a27d97811c5a4d7dd970d3def16eafd8816b84f Mon Sep 17 00:00:00 2001 From: Rectos VX Date: Thu, 9 May 2024 17:31:12 +0400 Subject: [PATCH] Update: change update icon + animation --- src/main/resources/static/css/home.css | 17 +++++++++-- .../resources/templates/fragments/card.html | 2 +- src/main/resources/templates/home.html | 28 +++++++++---------- 3 files changed, 30 insertions(+), 17 deletions(-) diff --git a/src/main/resources/static/css/home.css b/src/main/resources/static/css/home.css index bf719259..30bbdbd2 100644 --- a/src/main/resources/static/css/home.css +++ b/src/main/resources/static/css/home.css @@ -75,11 +75,11 @@ } #tool-icon { -height: 100%; + height: 100%; } #tool-text { -margin: 0.5rem 0.5rem 0rem; + margin: 0.5rem 0.5rem 0rem; } .card-title { @@ -135,3 +135,16 @@ margin: 0.5rem 0.5rem 0rem; } } +.update-notice { + animation: scale 1s infinite alternate; +} + +@keyframes scale { + 0% { + transform: scale(0.96); + } + + 100% { + transform: scale(1); + } +} \ No newline at end of file diff --git a/src/main/resources/templates/fragments/card.html b/src/main/resources/templates/fragments/card.html index b6e1ce18..eddeb0a7 100644 --- a/src/main/resources/templates/fragments/card.html +++ b/src/main/resources/templates/fragments/card.html @@ -1,7 +1,7 @@
-