Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

2.4 KB
Raw Blame
/* ──────────────────────────────────────────────────────────────────────── */
/*  Subscribed-tier deployed-Editor hero                                     */
/* ──────────────────────────────────────────────────────────────────────── */

.portal-editor-hero {
  overflow: hidden;
}

.portal-editor-hero__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  background: var(--c-surface);
}

.portal-editor-hero__logo {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.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.25rem;
}

.portal-editor-hero__title-row {
  display: flex;
  align-items: center;
  gap: 0.5625rem;
  flex-wrap: wrap;
}

.portal-editor-hero__name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--c-text);
  margin-right: 0.125rem;
}

/* The deployment host, sat inline with the name as the rail's subject. */
.portal-editor-hero__host {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--c-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Quiet separator between the host and the adoption count. */
.portal-editor-hero__dot {
  width: 0.3125rem;
  height: 0.3125rem;
  border-radius: 999px;
  background: var(--c-border);
  flex-shrink: 0;
}

.portal-editor-hero__actives {
  font-size: 0.75rem;
  color: var(--c-text-muted);
  white-space: nowrap;
}

.portal-editor-hero__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: var(--c-text-subtle);
}
.portal-editor-hero__meta-sep {
  color: var(--c-border);
}

.portal-editor-hero__action {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@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(--c-border-subtle);
}