Sha256: 020e9aa2d6f25525f3fc828ba227bfcf9c765048f1db6887366fe47a69a364dd
Contents?: true
Size: 1.04 KB
Versions: 4
Compression:
Stored size: 1.04 KB
Contents
// Circle badge icon with drop shadow for icons and logos .CircleBadge { display: flex; align-items: center; justify-content: center; background-color: var(--bgColor-default, var(--color-canvas-default)); border-radius: 50%; box-shadow: var(--shadow-resting-medium, 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(--borderColor-default, var(--color-border-default)); } .CircleBadge { position: relative; } }
Version data entries
4 entries across 4 versions & 1 rubygems