Files
Stirling-PDF/frontend/editor/src/portal/components/EditorStatusCard.css
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

146 lines
3.5 KiB
CSS
Raw Normal View History

/* ──────────────────────────────────────────────────────────────────────── */
/* Subscribed-tier deployed-Editor hero */
/* ──────────────────────────────────────────────────────────────────────── */
.portal-editor-hero {
border-radius: var(--radius-xl);
border: 1px solid var(--color-border-input);
background: var(--color-surface);
box-shadow: var(--shadow-sm);
overflow: hidden;
}
.portal-editor-hero__row {
display: flex;
align-items: center;
gap: 1.25rem;
padding: 1rem 1.25rem;
background: var(--color-hero-navy);
}
.portal-editor-hero__logo {
width: 3.5rem;
height: 3.5rem;
border-radius: 0.875rem;
overflow: hidden;
flex-shrink: 0;
box-shadow:
0 2px 8px rgba(0, 0, 0, 0.1),
0 0 0 1px rgba(0, 0, 0, 0.06);
}
.portal-editor-hero__mark {
width: 100%;
height: 100%;
display: block;
}
.portal-editor-hero__info {
flex: 1;
min-width: 0;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.portal-editor-hero__title-row {
display: flex;
align-items: center;
gap: 0.5625rem;
flex-wrap: wrap;
}
.portal-editor-hero__name {
font-size: 1.125rem;
font-weight: 700;
color: #fff;
margin-right: 0.125rem;
}
.portal-editor-hero__chip {
display: inline-flex;
align-items: center;
gap: 0.3125rem;
padding: 0.25rem 0.6875rem;
border-radius: var(--radius-pill);
border: 1px solid rgba(255, 255, 255, 0.16);
background: rgba(255, 255, 255, 0.08);
color: rgba(255, 255, 255, 0.85);
font-size: 0.71875rem;
font-weight: 600;
cursor: pointer;
transition: background var(--motion-fast);
}
.portal-editor-hero__chip:hover {
background: rgba(255, 255, 255, 0.16);
}
.portal-editor-hero__chip svg {
color: rgba(255, 255, 255, 0.6);
}
.portal-editor-hero__meta {
display: flex;
align-items: center;
gap: 0.5rem;
flex-wrap: wrap;
font-size: 0.75rem;
color: rgba(255, 255, 255, 0.5);
}
.portal-editor-hero__host {
color: rgba(255, 255, 255, 0.92);
font-family: var(--font-mono);
font-weight: 500;
}
.portal-editor-hero__meta-sep {
color: rgba(255, 255, 255, 0.3);
}
.portal-editor-hero__action {
flex-shrink: 0;
display: flex;
align-items: center;
gap: 0.5rem;
}
/* Icon-only actions (e.g. install) on the dark header. */
.portal-editor-hero__icon-btn {
display: grid;
place-items: center;
width: 2.25rem;
height: 2.25rem;
flex-shrink: 0;
border-radius: var(--radius-md);
border: 1px solid rgba(255, 255, 255, 0.16);
background: rgba(255, 255, 255, 0.08);
color: #fff;
cursor: pointer;
transition: background var(--motion-fast);
}
.portal-editor-hero__icon-btn:hover {
background: rgba(255, 255, 255, 0.16);
}
/* White CTA on the dark header, matching the marketing card. */
.portal-editor-hero__action .portal-editor-hero__cta.sui-btn {
background: #ffffff;
border-color: #ffffff;
color: var(--color-hero-navy);
}
.portal-editor-hero__action .portal-editor-hero__cta.sui-btn:hover {
background: rgba(255, 255, 255, 0.88);
border-color: rgba(255, 255, 255, 0.88);
}
@media (max-width: 48rem) {
.portal-editor-hero__row {
flex-wrap: wrap;
}
.portal-editor-hero__action {
width: 100%;
}
}
/* Attached footer strip (setup checklist). */
.portal-editor-hero__footer {
border-top: 1px solid var(--color-border-light);
}