Sha256: 72f977a26578d7807322514ffb23877bf4f20bd4de34b329bca9dc1fbe2053c0

Contents?: true

Size: 989 Bytes

Versions: 1

Compression:

Stored size: 989 Bytes

Contents

/* Counter */

.Counter {
  display: inline-block;
  min-width: var(--base-size-20, 20px); /* makes sure it's a circle with just one digit */
  padding: 0 6px;
  font-size: var(--yattho-text-body-size-small, 12px);
  font-weight: var(--base-text-weight-medium, 500);
  line-height: calc(var(--base-size-20, 20px) - var(--yattho-borderWidth-thin, 1px) * 2); /* 20px - 2px for the borders */
  color: var(--color-fg-default);
  text-align: center;
  background-color: var(--color-neutral-muted);
  border: var(--yattho-borderWidth-thin, 1px) solid var(--color-counter-border);
  border-radius: 2em;
}

.Counter:empty {
    display: none;
  }

/* Is this selector used? could not find any use of it */

.Counter .octicon {
    vertical-align: text-top;
    opacity: 0.8;
  }

.Counter--primary {
  color: var(--color-fg-on-emphasis);
  background-color: var(--color-neutral-emphasis);
}

.Counter--secondary {
  color: var(--color-fg-muted);
  background-color: var(--color-neutral-subtle);
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yattho_view_components-0.0.1 app/components/yattho/beta/counter.css