Capture accumulated application, UI, CLI, regression tests and design documentation changes, including task project mapping and default CalDAV list naming. Keep deployment data, backups, local credentials and build artifacts out of Git. Move the Compose enrollment token to an ignored local environment file.
180 lines
4.2 KiB
CSS
180 lines
4.2 KiB
CSS
html:has(.notification-dialog[open], .calendar-upcoming-dialog[open]) {
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Dialogs remain in the topbar DOM but render in the browser's top layer. */
|
|
.notification-dialog,
|
|
.calendar-upcoming-dialog {
|
|
position: fixed;
|
|
inset: 0;
|
|
box-sizing: border-box;
|
|
margin: auto;
|
|
max-width: calc(100vw - 1rem);
|
|
max-height: calc(100dvh - 1rem);
|
|
padding: 0;
|
|
overflow: hidden;
|
|
text-align: start;
|
|
background: var(--input-bg, var(--bg, #fff));
|
|
color: var(--fg, #222);
|
|
border: 1px solid var(--border, #888);
|
|
border-radius: 0.85rem;
|
|
box-shadow: 0 1.5rem 5rem #0009;
|
|
}
|
|
.notification-dialog {
|
|
width: min(40rem, calc(100vw - 1rem));
|
|
height: fit-content;
|
|
}
|
|
.calendar-upcoming-dialog {
|
|
width: clamp(20rem, 72vw, 68rem);
|
|
height: min(52rem, 95vh);
|
|
height: min(52rem, 95dvh);
|
|
}
|
|
.notification-dialog::backdrop,
|
|
.calendar-upcoming-dialog::backdrop {
|
|
background: #0009;
|
|
backdrop-filter: blur(3px);
|
|
}
|
|
.notification-dialog .nav-modal-content,
|
|
.calendar-upcoming-dialog .nav-modal-content {
|
|
box-sizing: border-box;
|
|
display: grid;
|
|
grid-template-rows: auto auto minmax(0, 1fr) auto;
|
|
height: 100%;
|
|
padding: 0;
|
|
}
|
|
.notification-dialog header,
|
|
.calendar-upcoming-dialog header {
|
|
position: static;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.75rem;
|
|
min-width: 0;
|
|
padding: 0.8rem 1rem;
|
|
background: var(--input-bg, var(--bg, #fff));
|
|
border-bottom: 1px solid var(--border-soft, var(--border, #8884));
|
|
}
|
|
.notification-dialog h2,
|
|
.calendar-upcoming-dialog h2 {
|
|
min-width: 0;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
font-size: 1.05rem;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.notification-dialog header button,
|
|
.calendar-upcoming-dialog header button {
|
|
flex: 0 0 auto;
|
|
padding: 0.25rem 0.55rem;
|
|
border: 0;
|
|
background: transparent;
|
|
color: inherit;
|
|
font: inherit;
|
|
font-size: 1.4rem;
|
|
cursor: pointer;
|
|
}
|
|
.notification-dialog .notifications-list {
|
|
max-height: min(28rem, 60dvh);
|
|
overflow: auto;
|
|
}
|
|
.notification-dialog a,
|
|
.calendar-upcoming-dialog a {
|
|
color: var(--link, var(--fg));
|
|
text-decoration: none;
|
|
}
|
|
.notification-dialog .notification-item {
|
|
display: grid;
|
|
min-width: 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.notification-dialog small {
|
|
color: var(--muted, var(--fg));
|
|
}
|
|
.notification-launch {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.calendar-upcoming-dialog [data-calendar-upcoming-status] {
|
|
margin: 0;
|
|
padding: 0.65rem 1rem;
|
|
color: var(--muted, var(--fg));
|
|
font-size: 0.85rem;
|
|
}
|
|
.calendar-upcoming-dialog [data-calendar-upcoming-status]:empty {
|
|
display: none;
|
|
}
|
|
.calendar-upcoming-list {
|
|
min-height: 0;
|
|
padding: 0.35rem 0.55rem;
|
|
overflow: auto;
|
|
overscroll-behavior: contain;
|
|
scrollbar-gutter: stable;
|
|
contain: layout paint style;
|
|
}
|
|
.calendar-upcoming-item {
|
|
display: grid;
|
|
grid-template-columns: 7.5rem 4.75rem minmax(0, 1fr);
|
|
align-items: center;
|
|
gap: 0.65rem;
|
|
min-width: 0;
|
|
min-height: 2.1rem;
|
|
padding: 0.25rem 0.55rem;
|
|
border-bottom: 1px solid var(--border-soft, var(--border, #8883));
|
|
color: inherit;
|
|
content-visibility: auto;
|
|
contain: layout paint style;
|
|
contain-intrinsic-size: auto 2.1rem;
|
|
}
|
|
.calendar-upcoming-item:hover,
|
|
.calendar-upcoming-item:focus-visible {
|
|
background: var(--row-hover, color-mix(in srgb, var(--accent, #578) 10%, transparent));
|
|
outline: none;
|
|
}
|
|
.calendar-upcoming-item time,
|
|
.calendar-upcoming-item strong {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.calendar-upcoming-item time {
|
|
color: var(--muted, var(--fg));
|
|
font-size: 0.82rem;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.calendar-upcoming-item strong {
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
}
|
|
.calendar-upcoming-dialog footer {
|
|
padding: 0.65rem 1rem;
|
|
text-align: end;
|
|
border-top: 1px solid var(--border-soft, var(--border, #8884));
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
|
.calendar-upcoming-dialog {
|
|
width: 95vw;
|
|
max-width: none;
|
|
height: 95vh;
|
|
height: 95dvh;
|
|
max-height: 95dvh;
|
|
border-radius: 0.6rem;
|
|
}
|
|
.calendar-upcoming-list {
|
|
padding-inline: 0.25rem;
|
|
}
|
|
.calendar-upcoming-item {
|
|
grid-template-columns: 5.8rem 3.8rem minmax(0, 1fr);
|
|
gap: 0.4rem;
|
|
padding-inline: 0.35rem;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.calendar-upcoming-list {
|
|
scroll-behavior: auto;
|
|
}
|
|
}
|