@import "variables";

.chips {
  cursor: default;
  margin: 1px 6px 1px 0;
  display: inline-block;
  line-height: normal;
  vertical-align: middle;

  .label {
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 0.5rem;
    border-radius: 16px;
    opacity: 1;
    font-size: 12px;

    &:hover {
      .dot {
        transform: scale(1.6);
      }
    }

    &.with-border {
      // draft
      border: 1px dashed $blue-100;
      padding: 0 0.2em;
    }

  }

  .dot-container {
    position: relative;
    width: 9px;
    height: 0.5rem;
  }
  .dot {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    height: 8px;
    width: 8px;
    border-radius: 50%;
    transition: transform 0.2s ease-in-out;
    transform: scale(1);
    transform-origin: center;
  }

  .label-text {
    margin: 0 7px;
    max-width: 150px;
  }
}
