
button, input, select, textarea {
  display: block;
  
  height: 2em;
  border: @border;
  padding: 0.5em;

  font-size: 1rem;
  font-family: @font-family-main;
}

button {
  background-color: @white;
}

button:hover {
  background-color: @primary;
}

form.inline, .form.inline {
  button:not(.link) {
    border: @border;
  }

  button, input, select, textarea {
    &:not(.link) {
      display: inline;
      height: auto;
      padding: 0.3em;
    }
  }
}

select:focus, input:focus {
  position: relative;
}

button.link {
  display: inline;

  margin: 0;
  padding: 0;

  border: none;

  background-color: inherit;

  cursor: pointer;

  text-decoration:underline;
  text-decoration-skip: ink;
  
  &:hover, &:active {
    color: darken(@primary, 50%);
  }
  
  &:hover {
    text-decoration: none;
  }

  &:disabled {
    color: lighten(@black, 30%);
    text-decoration: line-through;
    cursor: not-allowed;
  }
}

.toggle-button.selected {
  background-color: lighten(@primary, 10%);
}



button, input, select, textarea {
  display: block;
  
  height: 2em;
  border: @border;
  padding: 0.5em;

  font-size: 1rem;
  font-family: @font-family-main;
}

button {
  background-color: @white;
}

button:hover {
  background-color: @primary;
}

form.inline, .form.inline {
  button:not(.link) {
    border: @border;
  }

  button, input, select, textarea {
    &:not(.link) {
      display: inline;
      height: auto;
      padding: 0.3em;
    }
  }
}

select:focus, input:focus {
  position: relative;
}

button.link {
  display: inline;

  margin: 0;
  padding: 0;

  border: none;

  background-color: inherit;

  cursor: pointer;

  text-decoration:underline;
  text-decoration-skip: ink;
  
  &:hover, &:active {
    color: darken(@primary, 50%);
  }
  
  &:hover {
    text-decoration: none;
  }

  &:disabled {
    color: lighten(@black, 30%);
    text-decoration: line-through;
    cursor: not-allowed;
  }
}

.toggle-button.selected {
  background-color: darken(@primary, 10%, relative);
}


Fix colors for toggled buttons
Fix colors for toggled buttons
