sales-widget / widget.css
haxwitcher's picture
Update widget.css
81d262c verified
Raw History Blame Contribute Delete
763 Bytes
#sales-notification-container {
position: fixed;
bottom: 20px;
left: 20px;
display: flex;
flex-direction: column-reverse;
gap: 10px;
z-index: 9999;
}
.notification {
display: flex;
align-items: center;
background: #fff;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
padding: 10px;
max-width: 300px;
font-family: sans-serif;
opacity: 0;
transform: translateY(20px);
transition: opacity 0.5s, transform 0.5s;
}
.notification.show {
opacity: 1;
transform: translateY(0);
}
.notification img.avatar {
width: 40px;
height: 40px;
border-radius: 50%;
margin-right: 10px;
object-fit: cover;
}
.notification .text {
font-size: 14px;
line-height: 1.3;
}
.notification .text b {
font-weight: 600;
}