Files
shopadmin/ShopAdmin/Components/Layout/MainLayout.razor.css
T

93 lines
1.8 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* --- Blazored Toast Branded Styling --- */
::deep .blazored-toast-container {
position: fixed;
bottom: 20px;
left: 20px;
z-index: 9999;
display: flex;
flex-direction: column-reverse;
gap: 12px;
width: 350px;
pointer-events: none;
}
::deep .blazored-toast {
pointer-events: auto;
display: flex;
flex-direction: column;
position: relative;
background: rgba(11, 17, 20, 0.95);
backdrop-filter: blur(10px);
border: 1px solid rgba(0, 150, 199, 0.3);
border-left: 4px solid #0096c7;
border-radius: 8px;
padding: 16px 40px 16px 16px;
color: #fff;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
animation: slideInLeft 0.3s ease-out;
}
::deep .blazored-toast-header {
font-weight: 800;
font-size: 1rem;
color: #0096c7;
margin-bottom: 4px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
::deep .blazored-toast-message {
font-size: 0.9rem;
color: #e0e0e0;
line-height: 1.4;
}
::deep .blazored-toast-close {
position: absolute;
top: 12px;
right: 12px;
cursor: pointer;
background: none;
border: none;
color: #888;
font-size: 20px;
line-height: 1;
transition: color 0.2s ease;
}
::deep .blazored-toast-close::before {
content: "×";
}
::deep .blazored-toast-close:hover {
color: #ff4d4d;
}
::deep .blazored-toast-progressbar {
position: absolute;
bottom: 0;
left: 0;
height: 3px;
background: rgba(0, 150, 199, 0.5);
}
@keyframes slideInLeft {
from {
transform: translateX(-100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
@media (max-width: 480px) {
::deep .blazored-toast-container {
width: calc(100% - 40px);
left: 20px;
bottom: 20px;
}
}