Sha256: 71c1ee6c058f825c9206f8cb9fbba09201c37b22dd9c297675d6494d8a90b89d

Contents?: true

Size: 857 Bytes

Versions: 1

Compression:

Stored size: 857 Bytes

Contents

/* OP PageHeader */

.PageHeader {
  display: flex;
  padding-bottom: var(--stack-padding-condensed);
  margin-bottom: var(--stack-gap-normal);
  border-bottom: var(--borderWidth-thin) solid var(--borderColor-muted);
  flex-flow: row wrap;
  justify-content: flex-end; /* Keep actions right aligned. */
}

/* <h2> sized heading with normal font weight */
.PageHeader-title {
  flex: 1 1 auto;
  order: 0;
}

/* One-liner of supporting text */
.PageHeader-description {
  font-size: var(--text-body-size-medium);
  color: var(--fgColor-muted);
  flex: 1 100%;
  order: 2;
}

/* Add 1 or 2 buttons to the right of the heading */
.PageHeader-actions {
  margin: var(--base-size-4) 0 var(--base-size-4) var(--base-size-4);
  align-self: center;
  justify-content: flex-end;
  order: 1;

  & + .PageHeader-description {
    margin-top: var(--base-size-4);
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openproject-primer_view_components-0.9.0 app/components/primer/open_project/page_header.pcss