Skip to content

Commit

Permalink
feat: change dialog style and full rounded buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
pxeemo committed Dec 13, 2024
1 parent d2135ef commit 5e90f67
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 14 deletions.
28 changes: 14 additions & 14 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
></label>
</label>
<button
class="h-8 bg-orange-400 text-black rounded-md px-5 m-1"
class="h-8 bg-orange-400 text-black rounded-full px-5 m-1"
id="plainInputParser"
>
Load
Expand All @@ -97,7 +97,7 @@
<ul class="w-full text-start" id="lyricList"></ul>

<button
class="h-8 bg-orange-400 text-black rounded-md px-5 my-2"
class="h-8 bg-orange-400 text-black rounded-full px-5 my-2"
id="dlFile"
>
Save
Expand All @@ -106,24 +106,24 @@

<!-- Floating action buttons -->
<button
class="fixed z-10 bottom-0 right-4 h-8 bg-zinc-900 border-orange-400 border-2 text-orange-400 rounded-md px-2 transition-all delay-150"
class="fixed z-10 bottom-0 right-4 h-8 bg-zinc-900 border-orange-400 border-2 text-orange-400 rounded-full px-2 transition-all delay-50"
id="prevItemBtn"
>
Back
</button>
<button
class="fixed z-10 bottom-0 right-4 h-10 bg-orange-400 text-black rounded-md px-4 transition-all"
class="fixed z-10 bottom-0 right-4 h-10 bg-orange-400 text-black rounded-2xl px-4 transition-all"
id="nextItemBtn"
>
Next
</button>

<!-- Edit Item Modal -->
<dialog
class="backdrop:bg-gray-950 backdrop:opacity-85 container container-sm p-4 rounded-lg bg-zinc-900"
class="backdrop:bg-gray-950 backdrop:opacity-85 p-4 rounded-lg bg-zinc-900"
id="editItemModal"
>
<form method="dialog" class="">
<form method="dialog">
<input
id="editItemInput"
type="text"
Expand All @@ -133,23 +133,23 @@
/>
<div class="flex mt-2 justify-between">
<button
class="px-2 text-orange-400 border-orange-400 border-2 rounded-md"
id="editItemCancel"
class="px-2 text-orange-400 rounded-full"
id="editItemRemove"
>
Cancel
Remove
</button>
<div>
<button
class="px-2 text-orange-400 border-orange-400 border-2 rounded-md"
id="editItemRemove"
class="px-2 text-orange-400 rounded-full"
id="editItemCancel"
>
Remove
Cancel
</button>
<button
class="px-2 text-black bg-orange-400 border-orange-400 border-2 rounded-md"
class="px-2 text-black bg-orange-400 border-orange-400 border-2 rounded-full"
id="editItemDone"
>
Done
Save
</button>
</div>
</div>
Expand Down
4 changes: 4 additions & 0 deletions output.css
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,10 @@ video {
height: calc(100svh - 3rem);
}

.h-12 {
height: 3rem;
}

.w-12 {
width: 3rem;
}
Expand Down

0 comments on commit 5e90f67

Please sign in to comment.