diff --git a/src/app.css b/src/app.css index 050af8c..c72999d 100644 --- a/src/app.css +++ b/src/app.css @@ -70,6 +70,25 @@ button.colored { border-color: var(--accent-color); } +.lds-dual-ring { + display: inline-block; +} +.lds-dual-ring:after { + content: " "; + display: inline-block; + width: 6px; + height: 6px; + margin: 0 0 0 8px; + border-radius: 50%; + border: 2px solid var(--accent-color); + border-color: var(--accent-color) transparent var(--accent-color) transparent; + animation: spin 1.2s linear infinite; +} +@keyframes spin { + 0% { transform: rotate(0deg); } + 100% { transform: rotate(360deg); } +} + button.colored:hover { background-color: white; font-weight: bold; diff --git a/src/lib/QueryInput.svelte b/src/lib/QueryInput.svelte index 1892363..3e43f23 100644 --- a/src/lib/QueryInput.svelte +++ b/src/lib/QueryInput.svelte @@ -7,19 +7,20 @@