Update dialog styles, move script.
This commit is contained in:
parent
26a730c149
commit
c9497b16a6
2 changed files with 22 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
import { urlfrag } from '../utils/path';
|
import { urlfrag } from '../utils/path';
|
||||||
|
|
||||||
const base = import.meta.env.BASE_URL;
|
const base = import.meta.env.BASE_URL;
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
@ -15,9 +16,10 @@ const base = import.meta.env.BASE_URL;
|
||||||
<span class="label-text">Menu</span>
|
<span class="label-text">Menu</span>
|
||||||
<ul id="menu-items">
|
<ul id="menu-items">
|
||||||
<li><a href={urlfrag(base, '')}>Home</a></li>
|
<li><a href={urlfrag(base, '')}>Home</a></li>
|
||||||
|
<li><a href="#" data-click="config">Accessibility and Fonts</a></li>
|
||||||
<li><span class="heading">Notes</span>
|
<li><span class="heading">Notes</span>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#">By Book</a></li>
|
<!-- <li><a href="#">By Book</a></li>-->
|
||||||
<li><a href="#">By Date</a></li>
|
<li><a href="#">By Date</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
|
@ -26,3 +28,9 @@ const base = import.meta.env.BASE_URL;
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
<dialog class="config">testing</dialog>
|
||||||
|
<script>
|
||||||
|
import { bindEvents } from '../utils/config.js';
|
||||||
|
bindEvents();
|
||||||
|
</script>
|
||||||
|
|
@ -288,6 +288,18 @@ footer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dialog.config {
|
||||||
|
@apply bg-white;
|
||||||
|
@apply dark:bg-gray-600 dark:text-neutral-300;
|
||||||
|
@apply scrollbar-thumb-gray-300 dark:scrollbar-thumb-gray-500;
|
||||||
|
@apply scrollbar-thin;
|
||||||
|
/*@apply p-0 rounded-sm w-full lg:max-w-lg xl:max-w-lg 2xl:max-w-lg m-auto flex-col flex hidden;*/
|
||||||
|
@apply p-0 rounded-sm w-full lg:max-w-lg xl:max-w-lg 2xl:max-w-lg m-auto flex-col hidden;
|
||||||
|
&::backdrop {
|
||||||
|
background-color: rgba(0, 0, 0, 0.6);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
dialog.scripture {
|
dialog.scripture {
|
||||||
@apply bg-white;
|
@apply bg-white;
|
||||||
@apply dark:bg-gray-600 dark:text-neutral-300;
|
@apply dark:bg-gray-600 dark:text-neutral-300;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue