initial commit

This commit is contained in:
2026-07-21 10:00:08 +07:00
commit 7344144e20
282 changed files with 41294 additions and 0 deletions
+70
View File
@@ -0,0 +1,70 @@
@page "/alerts4"
@{
ViewData["Title"] = "Alerts 4";
}
@{
ViewData["SidebarVariant"] = "4";
}
<div class="p-4 md:p-6 space-y-6">
<div class="flex flex-col sm:flex-row sm:items-center justify-between gap-3">
<div>
<h1 class="text-2xl md:text-3xl font-bold text-gray-900">Alerts Showcase</h1>
<p class="text-gray-500 mt-1 text-sm">Comprehensive alert variants — Style V4 (Blue Dominant/Soft Pill)</p>
</div>
</div>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
<div>
<h2 class="text-lg font-bold text-gray-900 mb-3">Alert Basic</h2>
<div class="space-y-3">
<div class="alert-item relative bg-green-100 border border-green-400 rounded p-4 pr-10"><div><h4 class="font-semibold text-gray-800 text-sm">Success Alert</h4><p class="text-xs text-gray-600 mt-0.5">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p></div><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-3 right-3 text-gray-500 hover:text-gray-800 transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
<div class="alert-item relative bg-blue-100 border border-blue-400 rounded p-4 pr-10"><div><h4 class="font-semibold text-gray-800 text-sm">Info Alert</h4><p class="text-xs text-gray-600 mt-0.5">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p></div><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-3 right-3 text-gray-500 hover:text-gray-800 transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
<div class="alert-item relative bg-amber-100 border border-amber-400 rounded p-4 pr-10"><div><h4 class="font-semibold text-gray-800 text-sm">Warning Alert</h4><p class="text-xs text-gray-600 mt-0.5">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p></div><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-3 right-3 text-gray-500 hover:text-gray-800 transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
<div class="alert-item relative bg-red-100 border border-red-400 rounded p-4 pr-10"><div><h4 class="font-semibold text-gray-800 text-sm">Danger Alert</h4><p class="text-xs text-gray-600 mt-0.5">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p></div><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-3 right-3 text-gray-500 hover:text-gray-800 transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
<div class="alert-item relative bg-gray-200 border border-gray-500 rounded p-4 pr-10"><div><h4 class="font-semibold text-gray-800 text-sm">Neutral Alert</h4><p class="text-xs text-gray-600 mt-0.5">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p></div><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-3 right-3 text-gray-500 hover:text-gray-800 transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
</div>
<h2 class="text-lg font-bold text-gray-900 mb-3 mt-6">Alert Solid (Single Line)</h2>
<div class="space-y-3">
<div class="alert-item relative bg-blue-700 rounded-2xl p-3 pr-10 flex items-center gap-2"><svg class="w-4 h-4 shrink-0 text-green-200" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"/></svg><span class="text-sm font-semibold text-white shrink-0">Success</span><span class="text-xs text-blue-200 truncate">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor.</span><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-1/2 -translate-y-1/2 right-3 text-white/70 hover:text-white transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
<div class="alert-item relative bg-blue-700 rounded-2xl p-3 pr-10 flex items-center gap-2"><svg class="w-4 h-4 shrink-0 text-blue-200" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/></svg><span class="text-sm font-semibold text-white shrink-0">Info</span><span class="text-xs text-blue-200 truncate">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor.</span><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-1/2 -translate-y-1/2 right-3 text-white/70 hover:text-white transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
<div class="alert-item relative bg-blue-700 rounded-2xl p-3 pr-10 flex items-center gap-2"><svg class="w-4 h-4 shrink-0 text-amber-200" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L3.34 16.5c-.77.833.192 2.5 1.732 2.5z"/></svg><span class="text-sm font-semibold text-white shrink-0">Warning</span><span class="text-xs text-blue-200 truncate">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor.</span><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-1/2 -translate-y-1/2 right-3 text-white/70 hover:text-white transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
<div class="alert-item relative bg-blue-700 rounded-2xl p-3 pr-10 flex items-center gap-2"><svg class="w-4 h-4 shrink-0 text-red-200" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/></svg><span class="text-sm font-semibold text-white shrink-0">Danger</span><span class="text-xs text-blue-200 truncate">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor.</span><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-1/2 -translate-y-1/2 right-3 text-white/70 hover:text-white transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
<div class="alert-item relative bg-blue-700 rounded-2xl p-3 pr-10 flex items-center gap-2"><svg class="w-4 h-4 shrink-0 text-gray-200" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.066 2.573c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.573 1.066c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.066-2.573c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"/><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"/></svg><span class="text-sm font-semibold text-white shrink-0">Neutral</span><span class="text-xs text-blue-200 truncate">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor.</span><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-1/2 -translate-y-1/2 right-3 text-white/70 hover:text-white transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
</div>
<h2 class="text-lg font-bold text-gray-900 mb-3 mt-6">Alert with Left Border</h2>
<div class="space-y-3">
<div class="alert-item relative bg-blue-50 border border-green-400 border-l-4 border-l-green-500 rounded-none p-4 pr-10 flex gap-3"><span class="shrink-0 mt-0.5 px-2 py-0.5 text-[10px] font-bold inline-flex items-center justify-center rounded text-white bg-green-500">NEW</span><div><h4 class="font-semibold text-blue-800 text-sm">Success Alert</h4><p class="text-xs text-blue-600 mt-0.5">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor.</p></div><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-3 right-3 text-blue-400 hover:text-blue-800 transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
<div class="alert-item relative bg-blue-50 border border-blue-400 border-l-4 border-l-blue-500 rounded-none p-4 pr-10 flex gap-3"><span class="shrink-0 mt-0.5 px-2 py-0.5 text-[10px] font-bold inline-flex items-center justify-center rounded text-white bg-blue-500">INFO</span><div><h4 class="font-semibold text-blue-800 text-sm">Info Alert</h4><p class="text-xs text-blue-600 mt-0.5">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor.</p></div><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-3 right-3 text-blue-400 hover:text-blue-800 transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
<div class="alert-item relative bg-blue-50 border border-amber-400 border-l-4 border-l-amber-500 rounded-none p-4 pr-10 flex gap-3"><span class="shrink-0 mt-0.5 px-2 py-0.5 text-[10px] font-bold inline-flex items-center justify-center rounded text-white bg-amber-500">ATTN</span><div><h4 class="font-semibold text-blue-800 text-sm">Warning Alert</h4><p class="text-xs text-blue-600 mt-0.5">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor.</p></div><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-3 right-3 text-blue-400 hover:text-blue-800 transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
<div class="alert-item relative bg-blue-50 border border-red-400 border-l-4 border-l-red-500 rounded-none p-4 pr-10 flex gap-3"><span class="shrink-0 mt-0.5 px-2 py-0.5 text-[10px] font-bold inline-flex items-center justify-center rounded text-white bg-red-500">ALERT</span><div><h4 class="font-semibold text-blue-800 text-sm">Danger Alert</h4><p class="text-xs text-blue-600 mt-0.5">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor.</p></div><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-3 right-3 text-blue-400 hover:text-blue-800 transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
<div class="alert-item relative bg-blue-50 border border-gray-300 border-l-4 border-l-gray-500 rounded-none p-4 pr-10 flex gap-3"><span class="shrink-0 mt-0.5 px-2 py-0.5 text-[10px] font-bold inline-flex items-center justify-center rounded text-white bg-gray-500">NOTE</span><div><h4 class="font-semibold text-blue-800 text-sm">Neutral Alert</h4><p class="text-xs text-blue-600 mt-0.5">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor.</p></div><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-3 right-3 text-blue-400 hover:text-blue-800 transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
</div>
</div>
<div>
<h2 class="text-lg font-bold text-gray-900 mb-3">Alert with Icon</h2>
<div class="space-y-3">
<div class="alert-item relative bg-blue-50 border border-green-400 rounded-2xl p-4 pr-10 flex gap-3"><svg class="w-5 h-5 mt-0.5 shrink-0 text-green-500" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"/></svg><div><h4 class="font-semibold text-blue-800 text-sm">Success Alert</h4><p class="text-xs text-blue-600 mt-0.5">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p></div><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-3 right-3 text-blue-400 hover:text-blue-800 transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
<div class="alert-item relative bg-blue-50 border border-blue-400 rounded-2xl p-4 pr-10 flex gap-3"><svg class="w-5 h-5 mt-0.5 shrink-0 text-blue-500" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/></svg><div><h4 class="font-semibold text-blue-800 text-sm">Info Alert</h4><p class="text-xs text-blue-600 mt-0.5">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p></div><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-3 right-3 text-blue-400 hover:text-blue-800 transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
<div class="alert-item relative bg-blue-50 border border-amber-400 rounded-2xl p-4 pr-10 flex gap-3"><svg class="w-5 h-5 mt-0.5 shrink-0 text-amber-500" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L3.34 16.5c-.77.833.192 2.5 1.732 2.5z"/></svg><div><h4 class="font-semibold text-blue-800 text-sm">Warning Alert</h4><p class="text-xs text-blue-600 mt-0.5">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p></div><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-3 right-3 text-blue-400 hover:text-blue-800 transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
<div class="alert-item relative bg-blue-50 border border-red-400 rounded-2xl p-4 pr-10 flex gap-3"><svg class="w-5 h-5 mt-0.5 shrink-0 text-red-500" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/></svg><div><h4 class="font-semibold text-blue-800 text-sm">Danger Alert</h4><p class="text-xs text-blue-600 mt-0.5">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p></div><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-3 right-3 text-blue-400 hover:text-blue-800 transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
<div class="alert-item relative bg-blue-50 border border-gray-300 rounded-2xl p-4 pr-10 flex gap-3"><svg class="w-5 h-5 mt-0.5 shrink-0 text-gray-500" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.066 2.573c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.573 1.066c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.066-2.573c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"/><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"/></svg><div><h4 class="font-semibold text-blue-800 text-sm">Neutral Alert</h4><p class="text-xs text-blue-600 mt-0.5">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p></div><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-3 right-3 text-blue-400 hover:text-blue-800 transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
</div>
<h2 class="text-lg font-bold text-gray-900 mb-3 mt-6">Alert with Badge</h2>
<div class="space-y-3">
<div class="alert-item relative bg-blue-50 border border-green-400 rounded-2xl p-4 pr-10 flex gap-3"><span class="shrink-0 mt-0.5 px-2 py-0.5 text-[10px] font-bold inline-flex items-center justify-center rounded text-white bg-green-500">NEW</span><div><h4 class="font-semibold text-blue-800 text-sm">Success Alert</h4><p class="text-xs text-blue-600 mt-0.5">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p></div><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-3 right-3 text-blue-400 hover:text-blue-800 transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
<div class="alert-item relative bg-blue-50 border border-blue-400 rounded-2xl p-4 pr-10 flex gap-3"><span class="shrink-0 mt-0.5 px-2 py-0.5 text-[10px] font-bold inline-flex items-center justify-center rounded text-white bg-blue-500">INFO</span><div><h4 class="font-semibold text-blue-800 text-sm">Info Alert</h4><p class="text-xs text-blue-600 mt-0.5">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p></div><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-3 right-3 text-blue-400 hover:text-blue-800 transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
<div class="alert-item relative bg-blue-50 border border-amber-400 rounded-2xl p-4 pr-10 flex gap-3"><span class="shrink-0 mt-0.5 px-2 py-0.5 text-[10px] font-bold inline-flex items-center justify-center rounded text-white bg-amber-500">ATTN</span><div><h4 class="font-semibold text-blue-800 text-sm">Warning Alert</h4><p class="text-xs text-blue-600 mt-0.5">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p></div><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-3 right-3 text-blue-400 hover:text-blue-800 transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
<div class="alert-item relative bg-blue-50 border border-red-400 rounded-2xl p-4 pr-10 flex gap-3"><span class="shrink-0 mt-0.5 px-2 py-0.5 text-[10px] font-bold inline-flex items-center justify-center rounded text-white bg-red-500">ALERT</span><div><h4 class="font-semibold text-blue-800 text-sm">Danger Alert</h4><p class="text-xs text-blue-600 mt-0.5">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p></div><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-3 right-3 text-blue-400 hover:text-blue-800 transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
<div class="alert-item relative bg-blue-50 border border-gray-300 rounded-2xl p-4 pr-10 flex gap-3"><span class="shrink-0 mt-0.5 px-2 py-0.5 text-[10px] font-bold inline-flex items-center justify-center rounded text-white bg-gray-500">NOTE</span><div><h4 class="font-semibold text-blue-800 text-sm">Neutral Alert</h4><p class="text-xs text-blue-600 mt-0.5">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p></div><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-3 right-3 text-blue-400 hover:text-blue-800 transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
</div>
<h2 class="text-lg font-bold text-gray-900 mb-3 mt-6">Alert with Top Border</h2>
<div class="space-y-3">
<div class="alert-item relative bg-blue-50 border border-green-400 border-t-4 border-t-green-500 rounded-none p-4 pr-10 flex gap-3"><span class="shrink-0 mt-0.5 px-2 py-0.5 text-[10px] font-bold inline-flex items-center justify-center rounded text-white bg-green-500">NEW</span><div><h4 class="font-semibold text-blue-800 text-sm">Success Alert</h4><p class="text-xs text-blue-600 mt-0.5">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor.</p></div><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-3 right-3 text-blue-400 hover:text-blue-800 transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
<div class="alert-item relative bg-blue-50 border border-blue-400 border-t-4 border-t-blue-500 rounded-none p-4 pr-10 flex gap-3"><span class="shrink-0 mt-0.5 px-2 py-0.5 text-[10px] font-bold inline-flex items-center justify-center rounded text-white bg-blue-500">INFO</span><div><h4 class="font-semibold text-blue-800 text-sm">Info Alert</h4><p class="text-xs text-blue-600 mt-0.5">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor.</p></div><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-3 right-3 text-blue-400 hover:text-blue-800 transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
<div class="alert-item relative bg-blue-50 border border-amber-400 border-t-4 border-t-amber-500 rounded-none p-4 pr-10 flex gap-3"><span class="shrink-0 mt-0.5 px-2 py-0.5 text-[10px] font-bold inline-flex items-center justify-center rounded text-white bg-amber-500">ATTN</span><div><h4 class="font-semibold text-blue-800 text-sm">Warning Alert</h4><p class="text-xs text-blue-600 mt-0.5">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor.</p></div><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-3 right-3 text-blue-400 hover:text-blue-800 transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
<div class="alert-item relative bg-blue-50 border border-red-400 border-t-4 border-t-red-500 rounded-none p-4 pr-10 flex gap-3"><span class="shrink-0 mt-0.5 px-2 py-0.5 text-[10px] font-bold inline-flex items-center justify-center rounded text-white bg-red-500">ALERT</span><div><h4 class="font-semibold text-blue-800 text-sm">Danger Alert</h4><p class="text-xs text-blue-600 mt-0.5">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor.</p></div><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-3 right-3 text-blue-400 hover:text-blue-800 transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
<div class="alert-item relative bg-blue-50 border border-gray-300 border-t-4 border-t-gray-500 rounded-none p-4 pr-10 flex gap-3"><span class="shrink-0 mt-0.5 px-2 py-0.5 text-[10px] font-bold inline-flex items-center justify-center rounded text-white bg-gray-500">NOTE</span><div><h4 class="font-semibold text-blue-800 text-sm">Neutral Alert</h4><p class="text-xs text-blue-600 mt-0.5">Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor.</p></div><button onclick="this.closest('.alert-item').classList.add('hidden')" class="absolute top-3 right-3 text-blue-400 hover:text-blue-800 transition"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"/></svg></button></div>
</div>
</div>
</div>
</div>