@use './variables.scss' as *;

// 不换行，显示省略号
.nowrap-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: $main-color;
  cursor: pointer;

  & + & {
    margin-left: 8px;
  }

  &.danger {
    color: $danger-color;

    &:hover {
      color: $danger-hover-color;
    }
  }

  &:hover {
    color: $main-hover-color;
  }
}

.pointer {
  cursor: pointer;
}

.line {
  width: 1px;
  height: 100%;
  min-height: 32px;
  background-color: $border-color;
}

.horizontal-line {
  width: 32px;
  height: 1px;
  background-color: $border-color;
}

.tag {
  & + & {
    margin-left: 8px;
  }
}

.title-little {
  display: block;
  margin: 8px 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: $font-light-color;
}

.round {
  display: flex;
  column-gap: 12px;
  align-items: center;
  padding: 8px 16px;
  background-color: $content-color;
  border-radius: 40px;

  &.primary {
    background-color: $main-active-color;
  }
}
