Dialog WIP, mostly working.
Styling still needs tweaking and the Bible Gateway link needs to be fixed.
This commit is contained in:
parent
118e1ab98e
commit
69bb3f4ad3
3 changed files with 59 additions and 9 deletions
|
|
@ -63,8 +63,23 @@ const meta = `{
|
|||
<dialog data-scripture=""
|
||||
class="p-0 bg-white rounded-sm w-full max-w-md m-auto flex-col flex hidden scripture">
|
||||
<div tabindex="-1" autofocus class="p-4">
|
||||
<article>
|
||||
</article>
|
||||
<button data-close="">
|
||||
<span class="align-middle">close</span>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-x-circle inline" viewBox="0 0 16 16">
|
||||
<path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16"/>
|
||||
<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>
|
||||
<article class="mt-6">
|
||||
</article>
|
||||
<nav>
|
||||
<a href="#">
|
||||
Open on Bible Gateway
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-link inline" viewBox="0 0 16 16">
|
||||
<path d="M6.354 5.5H4a3 3 0 0 0 0 6h3a3 3 0 0 0 2.83-4H9q-.13 0-.25.031A2 2 0 0 1 7 10.5H4a2 2 0 1 1 0-4h1.535c.218-.376.495-.714.82-1z"/>
|
||||
<path d="M9 5.5a3 3 0 0 0-2.83 4h1.098A2 2 0 0 1 9 6.5h3a2 2 0 1 1 0 4h-1.535a4 4 0 0 1-.82 1H12a3 3 0 1 0 0-6z"/>
|
||||
</svg></a>
|
||||
</nav>
|
||||
</div>
|
||||
</dialog>
|
||||
</article>
|
||||
|
|
|
|||
Loading…
Reference in a new issue