diff --git a/assets/index.html b/assets/index.html index 88f6e1a..de2af45 100644 --- a/assets/index.html +++ b/assets/index.html @@ -13,7 +13,7 @@
-
{% inline "anchor.svg" %}
+
{% inline "anchor.svg" %}
Refreshing ({{loading.feeds}} left)
@@ -190,10 +190,10 @@ {% inline "sliders.svg" %} {% inline "external-link.svg" %} diff --git a/assets/stylesheets/app.css b/assets/stylesheets/app.css index d1acd5b..cdc62ce 100644 --- a/assets/stylesheets/app.css +++ b/assets/stylesheets/app.css @@ -201,14 +201,14 @@ select.form-control:not([multiple]):not([size]) { transform: rotate(90deg); } -@keyframes loading { - 0% { - transform: rotate(0) - } +@keyframes stroke { + from { stroke-dashoffset: 120; } + to { stroke-dashoffset: 0; } +} - 100% { - transform: rotate(360deg) - } +@keyframes rotate { + from { transform: rotate(0); } + to { transform: rotate(360deg); } } .loading { @@ -219,7 +219,7 @@ select.form-control:not([multiple]):not([size]) { } .loading::after { - animation: loading .5s infinite linear; + animation: rotate .5s infinite linear; border: .1rem solid #6c757d; border-radius: 50%; border-right-color: transparent; @@ -236,6 +236,11 @@ select.form-control:not([multiple]):not([size]) { z-index: 1; } +.icon-loading > svg { + animation: stroke 2s infinite normal; + stroke-dasharray: 60; +} + .btn-default { border: 1px solid #ced4da; border-radius: .25rem;