#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere
TypeScript dockerhacktoberfestjavapdfpdf-converterpdf-editorpdf-manipulationpdf-mergerpdf-ocrpdf-toolspdf-web-appspdfmergerself-hosted
.portal-sources {
display: flex;
flex-direction: column;
gap: 1.25rem;
padding: 1.5rem;
max-width: 84rem;
margin: 0 auto;
}
/* Header */
.portal-sources__head {
display: flex;
align-items: flex-start;
justify-content: space-between;
flex-wrap: wrap; /* actions drop below the title on narrow screens */
gap: 1rem;
}
.portal-sources__actions {
display: flex;
gap: 0.5rem;
flex-shrink: 0;
}
.portal-sources__title {
margin: 0;
font-size: 1.375rem;
font-weight: 650;
color: var(--c-text);
}
.portal-sources__sub {
margin: 0.25rem 0 0;
font-size: 0.8125rem;
line-height: 1.5;
color: var(--c-text-subtle);
max-width: 46rem;
}
/* Table cells */
.portal-sources__name-cell {
display: flex;
align-items: center;
gap: 0.625rem;
min-width: 0;
}
.portal-sources__name-text {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 0.25rem;
min-width: 0;
}
.portal-sources__name-text strong {
font-size: 0.8125rem;
font-weight: 600;
color: var(--c-text);
}
/* The connector's real mark, no tinted plate: the box only reserves space so
rows align; neutral (currentColor) marks read in the muted text tone. */
.portal-sources__type-dot {
display: inline-flex;
align-items: center;
justify-content: center;
width: 1.875rem;
height: 1.875rem;
flex-shrink: 0;
color: var(--c-text-subtle);
}
.portal-sources__muted {
font-size: 0.8125rem;
color: var(--c-text-subtle);
}
.portal-sources__caret {
display: inline-block;
color: var(--c-text-subtle);
transition: transform var(--motion-fast);
}
.portal-sources__caret.is-open {
transform: rotate(90deg);
color: var(--c-accent-text);
}
/* Detail body */
.portal-sources__detail {
display: flex;
flex-direction: column;
gap: 1.125rem;
}
.portal-sources__stat-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 0.875rem;
}
@media (max-width: 56rem) {
.portal-sources__stat-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 30rem) {
.portal-sources__stat-grid {
grid-template-columns: 1fr;
}
}
/* Stat tiles now use the shared <StatTile>. */
.portal-sources__url {
font-family: var(--font-mono);
font-size: 0.75rem;
color: var(--c-text-muted);
word-break: break-all;
}
/* Bars */
.portal-sources__bar-row {
display: flex;
flex-direction: column;
gap: 0.4375rem;
}
.portal-sources__bar-head {
display: flex;
align-items: baseline;
justify-content: space-between;
font-size: 0.75rem;
color: var(--c-text-subtle);
}
.portal-sources__bar-head strong {
font-size: 0.8125rem;
color: var(--c-text);
font-family: var(--font-mono);
}
/* Detail sub-sections */
.portal-sources__detail-section {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.portal-sources__detail-heading {
font-size: 0.6875rem;
text-transform: uppercase;
letter-spacing: 0.04em;
color: var(--c-text-subtle);
font-weight: 600;
}
.portal-sparkline {
display: block;
width: 100%;
margin-top: 0.5rem;
color: var(--c-accent-text);
}
.portal-sources__chips {
display: flex;
flex-wrap: wrap;
gap: 0.375rem;
}
/* Endpoint / delivery rows */
.portal-sources__endpoints {
display: flex;
flex-direction: column;
gap: 0.375rem;
}
.portal-sources__endpoint {
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center;
gap: 0.625rem;
padding: 0.4375rem 0.625rem;
background: var(--color-bg-subtle);
border: 1px solid var(--c-border-subtle);
border-radius: var(--radius-md);
}
.portal-sources__method {
font-family: var(--font-mono);
}
.portal-sources__endpoint-path {
font-family: var(--font-mono);
font-size: 0.75rem;
color: var(--c-text-muted);
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
}
.portal-sources__endpoint-calls {
font-size: 0.6875rem;
color: var(--c-text-subtle);
white-space: nowrap;
font-family: var(--font-mono);
}
.portal-sources__detail-actions {
display: flex;
gap: 0.5rem;
padding-top: 0.25rem;
}
/* Table skeleton */
.portal-sources__table-skeleton {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
/* ──────────────────────────────────────────────────────────────────────── */
/* Connect wizard */
/* ──────────────────────────────────────────────────────────────────────── */
.portal-sources__steps {
list-style: none;
display: flex;
gap: 0.5rem;
margin: 0 0 1.25rem;
padding: 0;
}
/* Phones: labelled step pills don't fit side by side — stack them */
@media (max-width: 30rem) {
.portal-sources__steps {
flex-direction: column;
gap: 0.375rem;
}
}
.portal-sources__step {
display: flex;
align-items: center;
gap: 0.4375rem;
flex: 1;
font-size: 0.75rem;
color: var(--c-text-subtle);
padding: 0.5rem 0.625rem;
border-radius: var(--radius-md);
background: var(--color-bg-subtle);
border: 1px solid var(--c-border-subtle);
}
.portal-sources__step.is-active {
color: var(--c-text);
font-weight: 600;
border-color: color-mix(in srgb, var(--c-primary) 40%, transparent);
background: color-mix(in srgb, var(--c-primary) 12%, var(--c-surface));
}
.portal-sources__step.is-done {
color: var(--c-text-subtle);
}
.portal-sources__step-mark {
display: inline-flex;
align-items: center;
justify-content: center;
width: 1.25rem;
height: 1.25rem;
border-radius: 50%;
font-size: 0.6875rem;
font-weight: 600;
background: var(--c-surface);
border: 1px solid var(--c-border);
color: var(--c-text-subtle);
}
.portal-sources__step.is-active .portal-sources__step-mark {
background: var(--c-primary);
border-color: var(--c-primary);
color: var(--color-text-on-accent);
}
.portal-sources__step.is-done .portal-sources__step-mark {
background: var(--color-green);
border-color: var(--color-green);
color: var(--color-text-on-accent);
}
.portal-sources__type-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
gap: 0.625rem;
}
@media (max-width: 40rem) {
.portal-sources__type-grid {
grid-template-columns: repeat(2, 1fr);
}
}
/* Icon inside the type picker: a plain stroke icon above the label (no badge
box — the tinted box read as an extra bordered chip floating on the tile). */
.portal-sources__type-icon {
display: inline-flex;
align-items: center;
justify-content: center;
color: var(--c-text-subtle);
}
.portal-sources__type-icon .portal-sources__type-svg {
width: 1.6rem;
height: 1.6rem;
}
/* Sized to sit centred inside the 1.875rem table cell / picker dot. */
.portal-sources__type-svg {
width: 1.25rem;
height: 1.25rem;
display: block;
}
.portal-sources__type-name {
font-size: 0.75rem;
font-weight: 500;
color: var(--c-text);
}
.portal-sources__wizard-body {
display: flex;
flex-direction: column;
gap: 1rem;
}
.portal-sources__wizard-lead {
margin: 0;
font-size: 0.875rem;
line-height: 1.55;
color: var(--c-text-muted);
}
.portal-sources__wizard-note {
margin: 0;
font-size: 0.75rem;
color: var(--c-text-subtle);
}
.portal-sources__wizard-footer {
display: flex;
justify-content: space-between;
gap: 0.5rem;
width: 100%;
}