/**
 * @file
 * Styling for farmOS flags.
 */

/*
 * Default style for flags.
 *
 * Based on the Claro + Gin button--small.
 */
.flag {
  display: inline-block;
  margin: 0.25rem 0;
  padding: .3rem .5rem;
  text-align: center;
  text-decoration: none;
  color: var(--gin-color-button-text);
  border: 2px solid var(--gin-color-primary);
  border-radius: 12px;
  background-color: var(--gin-color-primary);
  font-size: .79rem;
  font-weight: 700;
  line-height: 1rem;
  -webkit-appearance: none;
  -webkit-font-smoothing: antialiased;
}
.flag.flag--monitor {
  background-color: var(--gin-color-primary);
  border-color: var(--gin-color-primary);
}
.flag.flag--priority {
  background-color: var(--gin-color-danger);
  border-color: var(--gin-color-danger);
}
.flag.flag--review {
  background-color: var(--gin-color-warning);
  border-color: var(--gin-color-warning);
}

/* Hide the "Flags" label from views table rows. */
td.views-field-flag-value .field__label {
  display: none;
}
