mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-29 00:55:32 +00:00
Some stuff
This commit is contained in:
@@ -404,7 +404,7 @@ class _ extends HTMLElement {
|
||||
<div
|
||||
id="search-loading"
|
||||
class="absolute right-2 top-1/2 -translate-y-1/2 text-gray-400 p-1 htmx-indicator">
|
||||
<i class="ri-loader-4-line text-lg animate-spin"></i>
|
||||
<i class="ri-loader-4-line text-lg animate-spin search-loading-spin"></i>
|
||||
</div>
|
||||
<button
|
||||
id="search-reset"
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -799,7 +799,7 @@ class SearchBar extends HTMLElement {
|
||||
<div
|
||||
id="search-loading"
|
||||
class="absolute right-2 top-1/2 -translate-y-1/2 text-gray-400 p-1 htmx-indicator">
|
||||
<i class="ri-loader-4-line text-lg animate-spin"></i>
|
||||
<i class="ri-loader-4-line text-lg animate-spin search-loading-spin"></i>
|
||||
</div>
|
||||
<button
|
||||
id="search-reset"
|
||||
|
||||
@@ -237,6 +237,20 @@ body.page-edition::before {
|
||||
font-variant-caps: small-caps;
|
||||
}
|
||||
|
||||
/* Search loading spinner animation */
|
||||
@keyframes spin {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.search-loading-spin {
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
|
||||
@layer components {
|
||||
html {
|
||||
font-size: 17px;
|
||||
|
||||
Reference in New Issue
Block a user