@import "sass/bemify";

@include block('button') {

  padding: .3em;
  margin: 4px;
  display: inline-block;
  background-color: #dedede;
  color: #444;

  @include element('icon') {
    display: inline-block;
    width: 1em;
    height: 1em;
  }

  @include modifier('small') {
    font-size: .8em;
  }

  @include modifier('large') {
    font-size: 1.25em;
  }

  @include modifier('danger') {
    background-color: red;
    color: #fff;
  }

  @include state('busy') {
    background-color: #ccc;
    color: #888;
    cursor: not-allowed;
  }

}
