about summary refs log tree commit diff
path: root/MatrixUtils.Web/Shared/UpdateAvailableDetector.razor.css
diff options
context:
space:
mode:
Diffstat (limited to 'MatrixUtils.Web/Shared/UpdateAvailableDetector.razor.css')
-rw-r--r--MatrixUtils.Web/Shared/UpdateAvailableDetector.razor.css15
1 files changed, 15 insertions, 0 deletions
diff --git a/MatrixUtils.Web/Shared/UpdateAvailableDetector.razor.css b/MatrixUtils.Web/Shared/UpdateAvailableDetector.razor.css
new file mode 100644
index 0000000..32bff09
--- /dev/null
+++ b/MatrixUtils.Web/Shared/UpdateAvailableDetector.razor.css
@@ -0,0 +1,15 @@
+.floating-update-button {
+    position: fixed;
+
+    right: 2rem;
+    bottom: 2rem;
+
+    padding: 1rem 1.5rem;
+
+    animation: fadein 2s ease-out;
+}
+
+@keyframes fadein {
+    from { right: -100%; }
+    to { right: 2rem; }
+}
\ No newline at end of file