Skip to content

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

2.5 KB
Raw Blame
.portal-policies__wizard-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.portal-policies__wizard-foot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.portal-policies__wizard-banner {
  margin-top: 0.75rem;
}

.portal-policies__wizard-section {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1rem;
}

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

.portal-policies__wizard-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;
}

/* "Enforce as policy" — the last choice in the simple wizard, set off from the settings above. */
.portal-policies__wizard-enforce {
  margin-top: 0.75rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--c-border-subtle);
}

.portal-policies__fields {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.portal-policies__toggle-row {
  padding: 0.25rem 0;
}

.portal-policies__field-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

/* Workflow step — policy capability settings list.
 * Rows read as the policy's own settings (label + plain description + toggle),
 * not a chain of distinct tools. Config reveals inline beneath an enabled row. */
.portal-policies__capabilities {
  display: flex;
  flex-direction: column;
}

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

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

/* An enabled row with config gets a faint tint so the revealed settings read as
 * belonging to it. */
.portal-policies__capability[data-on] .portal-policies__capability-config {
  border-top: 1px dashed var(--c-border);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

/* A capability's revealed settings. Neither FormField nor SettingsRow carries an
 * outer margin, so without this the controls butt straight into each other. */
.portal-policies__capability-config,
.portal-policies__capability-settings {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.portal-policies__link {
  border: none;
  background: none;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--c-accent-text);
  cursor: pointer;
}

/* Output filename row */
.portal-policies__name-row {
  display: flex;
  gap: 0.5rem;
}

.portal-policies__name-row .sui-input {
  flex: 1;
}