.query-part {
  background-color: $tight-form-func-bg;

  &.show-function-controls {
    padding-top: 5px;
    min-width: 100px;
    text-align: center;
  }

  .query-part__last {
    display: none;
  }

  &:hover .query-part__last {
    display: inline;
  }

  &:hover {
    background: $tight-form-func-highlight-bg;
  }
}

.query-part__link {
  cursor: pointer;

  &--no-value {
    color: $text-muted;
  }
}
