mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-29 09:05:30 +00:00
Some stuff
This commit is contained in:
@@ -404,7 +404,7 @@ class _ extends HTMLElement {
|
|||||||
<div
|
<div
|
||||||
id="search-loading"
|
id="search-loading"
|
||||||
class="absolute right-2 top-1/2 -translate-y-1/2 text-gray-400 p-1 htmx-indicator">
|
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>
|
</div>
|
||||||
<button
|
<button
|
||||||
id="search-reset"
|
id="search-reset"
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -799,7 +799,7 @@ class SearchBar extends HTMLElement {
|
|||||||
<div
|
<div
|
||||||
id="search-loading"
|
id="search-loading"
|
||||||
class="absolute right-2 top-1/2 -translate-y-1/2 text-gray-400 p-1 htmx-indicator">
|
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>
|
</div>
|
||||||
<button
|
<button
|
||||||
id="search-reset"
|
id="search-reset"
|
||||||
|
|||||||
@@ -237,6 +237,20 @@ body.page-edition::before {
|
|||||||
font-variant-caps: small-caps;
|
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 {
|
@layer components {
|
||||||
html {
|
html {
|
||||||
font-size: 17px;
|
font-size: 17px;
|
||||||
|
|||||||
Reference in New Issue
Block a user