Rework to include "spinner" icon for loading state and dark mode
support.
This commit is contained in:
parent
bd59a73859
commit
32a7c08d95
3 changed files with 39 additions and 3 deletions
|
|
@ -61,7 +61,7 @@ const meta = `{
|
|||
<Content />
|
||||
</div>
|
||||
<dialog data-scripture=""
|
||||
class="p-0 bg-white rounded-sm w-full max-w-md m-auto flex-col flex hidden scripture">
|
||||
class="p-0 rounded-sm w-full max-w-md m-auto flex-col flex hidden scripture">
|
||||
<div tabindex="-1" autofocus class="p-4">
|
||||
<button data-close="">
|
||||
<span class="align-middle">close</span>
|
||||
|
|
@ -70,6 +70,11 @@ const meta = `{
|
|||
<path d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708"/>
|
||||
</svg>
|
||||
</button>
|
||||
<div class="spinner">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-book-fill hidden" viewBox="0 0 16 16">
|
||||
<path d="M8 1.783C7.015.936 5.587.81 4.287.94c-1.514.153-3.042.672-3.994 1.105A.5.5 0 0 0 0 2.5v11a.5.5 0 0 0 .707.455c.882-.4 2.303-.881 3.68-1.02 1.409-.142 2.59.087 3.223.877a.5.5 0 0 0 .78 0c.633-.79 1.814-1.019 3.222-.877 1.378.139 2.8.62 3.681 1.02A.5.5 0 0 0 16 13.5v-11a.5.5 0 0 0-.293-.455c-.952-.433-2.48-.952-3.994-1.105C10.413.809 8.985.936 8 1.783"/>
|
||||
</svg>
|
||||
</div>
|
||||
<article class="mt-6">
|
||||
</article>
|
||||
<nav>
|
||||
|
|
|
|||
Loading…
Reference in a new issue