319 lines
5.5 KiB
CSS
319 lines
5.5 KiB
CSS
.notifications-page {
|
|
box-sizing: border-box;
|
|
height: calc(100vh - 115px);
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
color: var(--text);
|
|
background: var(--bg);
|
|
}
|
|
|
|
.notifications-page *,
|
|
.notifications-page *::before,
|
|
.notifications-page *::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.notifications-widget-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.notifications-shell {
|
|
height: 100%;
|
|
min-height: 0;
|
|
display: grid;
|
|
grid-template-columns: minmax(270px, 340px) minmax(0, 1fr);
|
|
border: var(--border-line);
|
|
background: var(--panel);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.notifications-sidebar {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
border-right: var(--border-line);
|
|
background: var(--panel-soft);
|
|
}
|
|
|
|
.notifications-sidebar-bar,
|
|
.notifications-title,
|
|
.notifications-topbar,
|
|
.notifications-title-line,
|
|
.notifications-actions,
|
|
.notifications-message-meta,
|
|
.notifications-action-link {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.notifications-sidebar-bar,
|
|
.notifications-topbar {
|
|
min-height: 54px;
|
|
justify-content: space-between;
|
|
border-bottom: var(--border-line);
|
|
background: var(--panel-header);
|
|
padding: 9px 12px;
|
|
}
|
|
|
|
.notifications-count {
|
|
min-width: 21px;
|
|
height: 21px;
|
|
display: inline-grid;
|
|
place-items: center;
|
|
border-radius: 999px;
|
|
background: var(--accent);
|
|
color: var(--on-accent);
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
}
|
|
|
|
.notifications-status-filter {
|
|
width: calc(100% - 16px);
|
|
margin: 8px;
|
|
}
|
|
|
|
.notifications-list {
|
|
min-height: 0;
|
|
display: grid;
|
|
align-content: start;
|
|
gap: 4px;
|
|
overflow: auto;
|
|
padding: 8px;
|
|
}
|
|
|
|
.notifications-selection-list {
|
|
gap: 4px;
|
|
}
|
|
|
|
.notifications-list-item {
|
|
display: grid;
|
|
gap: 4px;
|
|
min-height: 58px;
|
|
}
|
|
|
|
.notifications-list-item.is-read {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.notifications-list-heading,
|
|
.notifications-list-meta {
|
|
min-width: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
}
|
|
|
|
.notifications-list-heading strong {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
color: var(--text-strong);
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.notifications-list-heading small,
|
|
.notifications-list-meta,
|
|
.notifications-note {
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.notifications-workspace {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.notifications-title-line {
|
|
min-width: 160px;
|
|
}
|
|
|
|
.notifications-title-line strong {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.notifications-actions {
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.notifications-actions .btn {
|
|
min-height: 32px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.notifications-workspace > .alert {
|
|
margin: 8px 12px 0;
|
|
}
|
|
|
|
.notifications-detail {
|
|
min-height: 0;
|
|
overflow: auto;
|
|
padding: 18px;
|
|
}
|
|
|
|
.notifications-message,
|
|
.notifications-properties,
|
|
.notifications-attempts {
|
|
border-bottom: var(--border-line);
|
|
margin-bottom: 18px;
|
|
padding-bottom: 18px;
|
|
}
|
|
|
|
.notifications-message h1 {
|
|
margin: 10px 0 8px;
|
|
color: var(--text-strong);
|
|
font-size: 24px;
|
|
font-weight: 650;
|
|
}
|
|
|
|
.notifications-message p {
|
|
max-width: 840px;
|
|
margin: 0 0 14px;
|
|
line-height: 1.6;
|
|
white-space: pre-line;
|
|
}
|
|
|
|
.notifications-message-meta {
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.notifications-action-link {
|
|
width: max-content;
|
|
max-width: 100%;
|
|
color: var(--accent);
|
|
font-weight: 700;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.notifications-action-link:hover {
|
|
color: var(--text-strong);
|
|
}
|
|
|
|
.notifications-settings-panel {
|
|
align-items: start;
|
|
}
|
|
|
|
.notifications-settings-inline-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: var(--text-strong);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.notifications-properties h2,
|
|
.notifications-attempts h2 {
|
|
margin: 0 0 12px;
|
|
color: var(--text-strong);
|
|
font-size: 15px;
|
|
}
|
|
|
|
.notifications-properties dl {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(180px, 1fr));
|
|
gap: 10px 18px;
|
|
margin: 0;
|
|
}
|
|
|
|
.notifications-properties div {
|
|
min-width: 0;
|
|
}
|
|
|
|
.notifications-properties dt {
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
font-weight: 800;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.notifications-properties dd {
|
|
min-width: 0;
|
|
margin: 3px 0 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.notifications-error {
|
|
width: max-content;
|
|
max-width: 100%;
|
|
margin: 14px 0 0;
|
|
border-radius: 6px;
|
|
background: var(--danger-soft);
|
|
color: var(--danger-text);
|
|
padding: 8px 10px;
|
|
}
|
|
|
|
.notifications-attempt {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 3px 12px;
|
|
border: var(--border-line);
|
|
border-radius: 6px;
|
|
background: var(--surface);
|
|
margin-bottom: 8px;
|
|
padding: 10px;
|
|
}
|
|
|
|
.notifications-attempt small,
|
|
.notifications-attempt p {
|
|
grid-column: 1 / -1;
|
|
margin: 0;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.notifications-empty-state {
|
|
min-height: 100%;
|
|
display: grid;
|
|
place-items: center;
|
|
align-content: center;
|
|
gap: 8px;
|
|
padding: 32px;
|
|
text-align: center;
|
|
}
|
|
|
|
.notifications-empty-state h1 {
|
|
margin: 0;
|
|
color: var(--text-strong);
|
|
}
|
|
|
|
.notifications-empty-state p {
|
|
max-width: 520px;
|
|
margin: 0;
|
|
color: var(--muted);
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.notifications-shell {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.notifications-sidebar {
|
|
min-height: 220px;
|
|
border-right: 0;
|
|
border-bottom: var(--border-line);
|
|
}
|
|
|
|
.notifications-topbar {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.notifications-properties dl {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|