157 lines
2.7 KiB
CSS
157 lines
2.7 KiB
CSS
.notification-toast-container {
|
|
position: fixed;
|
|
top: 80px;
|
|
right: 20px;
|
|
z-index: 9999;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.notification-toast {
|
|
background: white;
|
|
border-radius: 8px;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
|
padding: 16px;
|
|
min-width: 320px;
|
|
max-width: 400px;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 12px;
|
|
opacity: 0;
|
|
transform: translateX(400px);
|
|
transition: all 0.3s ease;
|
|
pointer-events: all;
|
|
}
|
|
|
|
.notification-toast.show {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.notification-toast-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
color: white;
|
|
}
|
|
|
|
.notification-toast-icon svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.notification-toast-content {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.notification-toast-title {
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
margin-bottom: 4px;
|
|
color: #333;
|
|
}
|
|
|
|
.notification-toast-message {
|
|
font-size: 13px;
|
|
color: #666;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.notification-toast-close {
|
|
background: none;
|
|
border: none;
|
|
font-size: 24px;
|
|
line-height: 1;
|
|
color: #999;
|
|
cursor: pointer;
|
|
padding: 0;
|
|
width: 24px;
|
|
height: 24px;
|
|
flex-shrink: 0;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.notification-toast-close:hover {
|
|
color: #333;
|
|
}
|
|
|
|
.nav-notif .count-notification {
|
|
position: absolute;
|
|
top: 15px;
|
|
right: -5px;
|
|
background: var(--primary-blue-light);
|
|
color: white;
|
|
border-radius: 12px;
|
|
padding: 3px 7px;
|
|
font-size: 8px;
|
|
font-weight: bold;
|
|
min-width: 5px;
|
|
height: 10px;
|
|
line-height:0.5;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.dropdown-item.preview-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
padding: 12px 16px;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
transition: background-color 0.2s;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}
|
|
|
|
.dropdown-item.preview-item:hover {
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
.dropdown-item.preview-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.preview-thumbnail {
|
|
margin-right: 12px;
|
|
}
|
|
|
|
.preview-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: white;
|
|
}
|
|
|
|
.preview-icon svg,
|
|
.preview-icon i {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.preview-item-content {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.preview-subject {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
margin-bottom: 4px;
|
|
color: #333;
|
|
}
|
|
|
|
.preview-item-content p {
|
|
font-size: 12px;
|
|
margin-bottom: 0;
|
|
line-height: 1.4;
|
|
}
|
|
|