Sha256: 15a23e9ecc6e8b698b102c215c401aa97a8a74f266f04c4f1cc302e20b89f666

Contents?: true

Size: 985 Bytes

Versions: 4

Compression:

Stored size: 985 Bytes

Contents

// Circle badge icon with drop shadow for icons and logos

.CircleBadge {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-canvas-default);
  border-radius: 50%;
  box-shadow: var(--color-shadow-medium);
}

.CircleBadge-icon {
  max-width: 60% !important;
  height: auto !important;
  max-height: 55% !important;
}

// Small badge
.CircleBadge--small {
  width: 56px;
  height: 56px;
}

// Medium badge
.CircleBadge--medium {
  width: 96px;
  height: 96px;
}

// Large badge
.CircleBadge--large {
  width: 128px;
  height: 128px;
}

// Dashed line that connects badges..
// Wrap around 2 or more badges to create a horizonal line:

.DashedConnection {
  position: relative;

  &::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    content: '';
    // stylelint-disable-next-line primer/borders
    border-bottom: 2px dashed var(--color-border-default);
  }

  .CircleBadge {
    position: relative;
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jekyll-v4-theme-primer-0.12.0 _sass/@primer/css/avatars/circle-badge.scss
jekyll-v4-theme-primer-0.11.0 _sass/@primer/css/avatars/circle-badge.scss
jekyll-v4-theme-primer-0.10.0 _sass/@primer/css/avatars/circle-badge.scss
jekyll-v4-theme-primer-0.9.0 _sass/@primer/css/avatars/circle-badge.scss