Skip to content

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

1.2 KB
Raw Blame
.portal-routing__optin {
  padding: 0.75rem 0 0.25rem;
}

.portal-routing__heading {
  margin: 0.75rem 0 0;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--c-text-subtle);
  font-weight: 600;
}

.portal-routing__desc {
  margin: 0.25rem 0 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--c-text-subtle);
}

.portal-routing__rules {
  display: flex;
  flex-direction: column;
}

.portal-routing__rule {
  padding: 0.75rem 0.875rem;
}

.portal-routing__rule + .portal-routing__rule {
  border-top: 1px solid var(--c-border);
}

/* One rule on one line where there is room, wrapping to stacked fields in the builder's narrow
   inspector column. Mirrors .portal-builder__input-row, which solves the same problem. */
.portal-routing__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.portal-routing__condition {
  display: flex;
  flex: 2 1 22rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* The Mantine wrappers are not .sui-input, so each is named rather than relying on one selector. */
.portal-routing__row .mantine-MultiSelect-root,
.portal-routing__row .mantine-InputWrapper-root,
.portal-routing__row .mantine-Select-root {
  flex: 1 1 11rem;
  min-width: 9rem;
}