Skip to content

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

4.5 KB
Raw Blame
/* Connect flow, the three account-link steps.

   Deliberately flat: bordered rows and plain type, not icon tiles or coloured
   cards. FlowModal stacks and spaces the body, so these blocks own only their
   own internals. */

.portal-connect__lede {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--c-text-muted);
}

.portal-connect__pipeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.portal-connect__pipeline-disclosure {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-text);
}

.portal-connect__pipeline-count {
  color: var(--c-text-muted);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

.portal-connect__pipeline-details > .portal-connect__row-label {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.portal-connect__trigger-info {
  display: inline-flex;
  padding: 0;
  border: 0;
  background: none;
  color: var(--c-text-subtle);
  cursor: help;
}

.portal-connect__pipeline-choices {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding-top: 0.75rem;
}

.portal-connect__pipeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.portal-connect__pipeline-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--c-border);
  overflow-wrap: anywhere;
}

.portal-connect__pipeline-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 0;
}

.portal-connect__pipeline-source {
  display: block;
  font-size: 0.75rem;
  color: var(--c-text-muted);
}

.portal-connect__pipeline-note {
  display: block;
}

.portal-connect__list {
  margin: 0;
  border-top: 1px solid var(--c-border);
}

.portal-connect__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--c-border);
}

.portal-connect__row-label {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-text);
}

.portal-connect__row-detail {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--c-text-muted);
  text-align: right;
}

@media (max-width: 30rem) {
  .portal-connect__pipeline-details {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.125rem;
  }

  .portal-connect__row {
    flex-direction: column;
    gap: 0.25rem;
  }

  .portal-connect__row-detail {
    text-align: left;
  }
}

/* ── Step 2: the ghost ──────────────────────────────────────────────────── */

.portal-connect__ghost {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ── Step 3 ─────────────────────────────────────────────────────────────── */

/* Standalone, so it needs the top edge the benefits list would have given it. */
.portal-connect__row--standalone {
  border-top: 1px solid var(--c-border);
}

/* The shared bar without the plan card it wears on Usage; padded into the row rhythm. */
.portal-connect__meter {
  padding: 0.25rem 0 0.5rem;
}

/* Rows, not full-width buttons: three competing primaries were the loudest thing
   on a screen whose job is to confirm. Same flat row as step 1, so both ends match. */
.portal-connect__next {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--c-border);
}

/* The Account row above draws a bottom edge; both would render as a double line. */
.portal-connect__row + .portal-connect__next {
  border-top: 0;
}

.portal-connect__next-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.625rem 0.25rem;
  border: 0;
  border-bottom: 1px solid var(--c-border);
  background: none;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-text);
  text-align: left;
  cursor: pointer;
}

.portal-connect__next-item:hover {
  color: var(--c-accent-text);
}

.portal-connect__next-chevron {
  flex: none;
  color: var(--c-text-subtle);
}

.portal-connect__next-item:hover .portal-connect__next-chevron {
  color: var(--c-accent-text);
}