A button remains in pressed state after being clicked

Viewed 1453

I'm developing reusable buttons. The problem I've faced with is that button doesn't get its original style after being clicked. Here is a snapshot from the LESS file:

.some-company-primary-button {
  .material;

  color: @some-company-primary-button-text-color;
  background: @some-company-primary-button-color;

  &:hover,
  &:focus,
  &:active,
  &.focus,
  &.active {
    color: @some-company-primary-button-text-color;
    background: @some-company-primary-button-hover-color;
  }
}

Thank you for any ideas!

EDIT I'm using it with Bootstrap btn class

1 Answers
Related