You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
2.3 KiB
HTML
44 lines
2.3 KiB
HTML
<!-- Global notification live region, render this permanently at the end of the document -->
|
|
<div
|
|
aria-live="assertive"
|
|
class="pointer-events-none fixed inset-0 flex items-end px-4 py-6 sm:items-start sm:p-6"
|
|
>
|
|
<div class="flex w-full flex-col items-center space-y-4 sm:items-end">
|
|
<!-- Notification panel, dynamically insert this into the live region when it needs to be displayed -->
|
|
<div
|
|
class="pointer-events-auto flex w-full max-w-md translate-y-0 transform divide-x divide-gray-200 rounded-lg bg-white opacity-100 shadow-lg ring-1 ring-black/5 transition duration-300 ease-out sm:translate-x-0 starting:translate-y-2 starting:opacity-0 starting:sm:translate-x-2 starting:sm:translate-y-0"
|
|
>
|
|
<div class="flex w-0 flex-1 items-center p-4">
|
|
<div class="w-full">
|
|
<p class="text-sm font-medium text-gray-900">
|
|
Receive notifications
|
|
</p>
|
|
<p class="mt-1 text-sm text-gray-500">
|
|
Notifications may include alerts, sounds, and badges.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div class="flex">
|
|
<div class="flex flex-col divide-y divide-gray-200">
|
|
<div class="flex h-0 flex-1">
|
|
<button
|
|
type="button"
|
|
class="flex w-full items-center justify-center rounded-none rounded-tr-lg border border-transparent px-4 py-3 text-sm font-medium text-indigo-600 hover:text-indigo-500 focus:z-10 focus:ring-2 focus:ring-indigo-500 focus:outline-hidden"
|
|
>
|
|
Reply
|
|
</button>
|
|
</div>
|
|
<div class="flex h-0 flex-1">
|
|
<button
|
|
type="button"
|
|
class="flex w-full items-center justify-center rounded-none rounded-br-lg border border-transparent px-4 py-3 text-sm font-medium text-gray-700 hover:text-gray-500 focus:ring-2 focus:ring-indigo-500 focus:outline-hidden"
|
|
>
|
|
Don't allow
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|