Added label to select and updated light/dark styles.
This commit is contained in:
parent
fed682dff2
commit
3d09ba37b7
2 changed files with 17 additions and 3 deletions
|
|
@ -70,8 +70,9 @@ const meta = `{
|
||||||
</svg>
|
</svg>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="mt-6">
|
<div class="mt-2">
|
||||||
<select class="translation text-sm mt-0 p-2 text-gray-400 bg-gray-700 border-1 dark:border-gray-800 rounded-sm w-full">
|
<label for="translation">Translation</label>
|
||||||
|
<select id="translation" class="translation">
|
||||||
<option value="BSB">Berean Standard Bible (BSB)</option>
|
<option value="BSB">Berean Standard Bible (BSB)</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -148,8 +148,21 @@ dialog.scripture {
|
||||||
p.poem-2 {
|
p.poem-2 {
|
||||||
@apply mt-0 pl-14;
|
@apply mt-0 pl-14;
|
||||||
}
|
}
|
||||||
|
label[for=translation] {
|
||||||
|
@apply text-gray-500 text-sm bg-white;
|
||||||
|
@apply dark:bg-gray-600 dark:text-gray-400;
|
||||||
|
}
|
||||||
|
select.translation {
|
||||||
|
@apply text-sm mt-0 p-2 text-gray-600 bg-gray-100 border-gray-300 border-1 rounded-sm w-full;
|
||||||
|
@apply dark:text-gray-400 dark:bg-gray-700 dark:border-gray-800;
|
||||||
|
@apply overflow-hidden;
|
||||||
|
}
|
||||||
|
select.translation:focus, select.translation:focus-visible {
|
||||||
|
border: 1px solid rgb(79, 136, 206);
|
||||||
|
outline: 1px solid rgb(79, 136, 206);
|
||||||
|
}
|
||||||
button[data-close] {
|
button[data-close] {
|
||||||
@apply absolute top-0 right-0 pr-2 pb-4 pt-2 text-sm text-gray-500 cursor-pointer hover:text-red-900;
|
@apply absolute top-0 right-0 pr-2 pb-2 pt-2 text-sm text-gray-500 cursor-pointer hover:text-red-900;
|
||||||
@apply dark:text-gray-400 dark:hover:text-red-500;
|
@apply dark:text-gray-400 dark:hover:text-red-500;
|
||||||
span {
|
span {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue