117 lines
2.0 KiB
CSS
117 lines
2.0 KiB
CSS
.alert-feed {
|
|
background: linear-gradient(135deg, var(--card) 0%, var(--card-elevated) 100%);
|
|
border-radius: 16px;
|
|
padding: 24px;
|
|
box-shadow: var(--card-shadow);
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.alert-feed h2 {
|
|
color: var(--foreground);
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
margin: 0 0 20px 0;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.alerts-container {
|
|
max-height: 300px;
|
|
overflow-y: auto;
|
|
padding-right: 8px;
|
|
}
|
|
|
|
.alerts-container::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
|
|
.alerts-container::-webkit-scrollbar-track {
|
|
background: var(--muted);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.alerts-container::-webkit-scrollbar-thumb {
|
|
background: var(--border-strong);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.alerts-container::-webkit-scrollbar-thumb:hover {
|
|
background: var(--muted-foreground);
|
|
}
|
|
|
|
.alert-item {
|
|
display: flex;
|
|
gap: 12px;
|
|
padding: 16px;
|
|
margin-bottom: 12px;
|
|
border-radius: 12px;
|
|
background: color-mix(in oklab, var(--foreground) 3%, transparent);
|
|
border: 1px solid var(--border);
|
|
transition: all 0.2s;
|
|
animation: slideIn 0.3s ease;
|
|
}
|
|
|
|
@keyframes slideIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(-20px);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
.alert-item:hover {
|
|
background: var(--muted);
|
|
transform: translateX(4px);
|
|
}
|
|
|
|
.alert-signal {
|
|
border-left: 3px solid var(--bl-success);
|
|
}
|
|
|
|
.alert-pulse {
|
|
border-left: 3px solid var(--bl-info);
|
|
}
|
|
|
|
.alert-error {
|
|
border-left: 3px solid var(--bl-danger);
|
|
}
|
|
|
|
.alert-info {
|
|
border-left: 3px solid var(--muted-foreground);
|
|
}
|
|
|
|
.alert-icon {
|
|
font-size: 24px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.alert-content {
|
|
flex: 1;
|
|
}
|
|
|
|
.alert-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.alert-symbol {
|
|
color: var(--foreground);
|
|
font-weight: 700;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.alert-time {
|
|
color: var(--muted-foreground);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.alert-message {
|
|
color: var(--muted-foreground);
|
|
font-size: 13px;
|
|
line-height: 1.5;
|
|
}
|