дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-05 09:41:34 +02:00
Notifications now has a Timeline heading and a Clear All button that stays visible while the history scrolls. Entries use the workbench UI text size and align their titles, timestamps, and actions. In a narrow pane the timestamp and dismiss button move below the title so longer titles can wrap at normal word boundaries. Multiline messages scroll with the history.
75 рядки
1.5 KiB
CSS
75 рядки
1.5 KiB
CSS
.stack {
|
|
position: fixed;
|
|
/* Inside the editor island's bottom-right corner, clear of the right stripe. */
|
|
right: 78px;
|
|
/* A narrow window narrows the balloons instead of pushing them off its left edge. */
|
|
left: 16px;
|
|
bottom: calc(var(--h-statusbar) + 16px);
|
|
/* Balloons belong to the main window: modal dialogs cover them, like IDEA. */
|
|
z-index: calc(var(--z-dialog) - 1);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-end;
|
|
gap: var(--space-2);
|
|
pointer-events: none;
|
|
}
|
|
.balloon {
|
|
max-width: 100%;
|
|
pointer-events: auto;
|
|
animation: slideIn var(--dur) var(--ease);
|
|
}
|
|
@keyframes slideIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(12px);
|
|
}
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.balloon {
|
|
animation: none;
|
|
}
|
|
}
|
|
.list {
|
|
flex: 1;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
outline: none;
|
|
}
|
|
.timelineHeader {
|
|
flex: none;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: baseline;
|
|
flex-wrap: wrap;
|
|
gap: var(--space-1) var(--space-2);
|
|
padding: var(--space-2) var(--space-4);
|
|
color: var(--fg-muted);
|
|
font-size: var(--fs-ui);
|
|
}
|
|
.timelineHeader h2 {
|
|
margin: 0;
|
|
font-size: inherit;
|
|
font-weight: 500;
|
|
}
|
|
.clear {
|
|
color: var(--link);
|
|
cursor: pointer;
|
|
}
|
|
.clear:hover {
|
|
color: var(--link-hover);
|
|
}
|
|
.timeline {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-2);
|
|
min-height: 0;
|
|
margin: 0;
|
|
padding: 0 var(--space-2) var(--space-2);
|
|
overflow: auto;
|
|
list-style: none;
|
|
}
|
|
.timeline > li {
|
|
flex: none;
|
|
}
|