Sha256: cc0c7048a210da21b7cbafb0950d6ccf937dfc8b3a677496d7b4e6482b425273

Contents?: true

Size: 1.17 KB

Versions: 1

Compression:

Stored size: 1.17 KB

Contents

/* State */

/* Default 32px */

.state, /* TODO: Deprecate */
.State {
  display: inline-block;
  padding: 5px var(--yattho-control-medium-paddingInline-normal, 12px);
  font-size: var(--yattho-text-body-size-medium, 14px);
  font-weight: var(--base-text-weight-medium, 500);
  line-height: var(--yattho-control-medium-lineBoxHeight, 20px);
  text-align: center;
  white-space: nowrap;
  border-radius: 2em;
}

.state, /* TODO: Deprecate */
.State,
.State--draft {
  color: var(--color-fg-on-emphasis);
  background-color: var(--color-neutral-emphasis);
  border: var(--yattho-borderWidth-thin, 1px) solid transparent;
}

.State--open {
  color: var(--color-fg-on-emphasis);
  background-color: var(--color-open-emphasis);
}

.State--merged {
  color: var(--color-fg-on-emphasis);
  background-color: var(--color-done-emphasis);
}

.State--closed {
  color: var(--color-fg-on-emphasis);
  background-color: var(--color-closed-emphasis);
}

/* Small 24px */

.State--small {
  padding: 0 10px;
  font-size: var(--yattho-text-body-size-small, 12px);
  line-height: var(--base-size-24, 24px);
}

.State--small .octicon {
    width: 1em; /* Ensures different icons don't change State indicator width */
  }

Version data entries

1 entries across 1 versions & 1 rubygems

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