Sha256: 09c7d9df2f4f76b7a7591e54a5001a66aa3bbff10e5863ad5f8ec474eaf954e5

Contents?: true

Size: 888 Bytes

Versions: 4

Compression:

Stored size: 888 Bytes

Contents

.Box--overlay {
  // stylelint-disable-next-line primer/responsive-widths
  width: 448px;
  margin-right: auto;
  margin-left: auto;
  background-color: var(--color-canvas-default);
  background-clip: padding-box;
  border-color: var(--color-border-default);
  // stylelint-disable-next-line primer/box-shadow
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);

  .Box-header {
    margin: 0;
    border-width: 0;
    border-bottom-width: $border-width;
    border-top-left-radius: $border-radius;
    border-top-right-radius: $border-radius;
  }
}

.Box-overlay--narrow {
  width: 320px;
}

.Box-overlay--wide {
  // stylelint-disable-next-line primer/responsive-widths
  width: 640px;
}

.Box-body {
  &.scrollable-overlay {
    max-height: 400px;
    overflow-y: scroll;
  }

  .help {
    padding-top: $spacer-2;
    margin: 0;
    color: var(--color-fg-muted);
    text-align: center;
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jekyll-v4-theme-primer-0.12.0 _sass/@primer/css/box/box-overlay.scss
jekyll-v4-theme-primer-0.11.0 _sass/@primer/css/box/box-overlay.scss
jekyll-v4-theme-primer-0.10.0 _sass/@primer/css/box/box-overlay.scss
jekyll-v4-theme-primer-0.9.0 _sass/@primer/css/box/box-overlay.scss