@import 'variables', 'mixin';

/**
 * Table of Contents:

 * 1.0 - button
 * 2.0 - button--reverse
 */


/* 1.0 - button */
.button {
      font-family: $button-font-family;
      font-size: $button-font-size;
      line-height: $button-line-height;
      font-weight: $button-font-weight;
      padding: $button-padding;
      border-radius: $button-border-radius;
      background: $button-background;
      letter-spacing: $button-letter-spacing;
      text-transform: $button-text-transform;
      text-decoration: none;
      cursor: pointer;
      display: inline-block;
      text-align: center;
      border: 1px solid #000;
      background: transparent;
      color: #000;
      position: relative;

      &:before {
            position: absolute;
            content: "";
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            background: #000;
            transition: all .35s;
            z-index: -1;
      }

      &:hover {
            color: #fff !important;

            &:before {
                  width: 100%;
            }
      }

      &:disabled,
      &[disabled] {
            opacity: .5;
            cursor: not-allowed;
      }

}