/*!
 * Waves v0.6.0
 * http://fian.my.id/Waves
 *
 * Copyright 2014 Alfiana E. Sibuea and other contributors
 * Released under the MIT license
 * https://github.com/fians/Waves/blob/master/LICENSE
 */

.waves-effect {
  position: relative;
  cursor: pointer;
  display: inline-block;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  vertical-align: middle;
  z-index: 1;
  will-change: opacity, transform;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.waves-effect {
  .waves-ripple {
    position: absolute;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    opacity: 0;
    background: rgba(0, 0, 0, 0.2);
    -webkit-transition: all 0.7s ease-out;
    -moz-transition: all 0.7s ease-out;
    -o-transition: all 0.7s ease-out;
    -ms-transition: all 0.7s ease-out;
    transition: all 0.7s ease-out;
    -webkit-transition-property: -webkit-transform, opacity;
    -moz-transition-property: -moz-transform, opacity;
    -o-transition-property: -o-transform, opacity;
    transition-property: transform, opacity;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    pointer-events: none;
  }
}

.waves-notransition {
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -o-transition: none !important;
  -ms-transition: none !important;
  transition: none !important;
}
.waves-circle {
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  text-align: center;
  width: 2.5em;
  height: 2.5em;
  line-height: 2.5em;
  border-radius: 50%;
  -webkit-mask-image: none;
}
.waves-input-wrapper {
  border-radius: 0.2em;
  vertical-align: bottom;
  .waves-button-input {
    position: relative;
    top: 0;
    left: 0;
    z-index: 1;
  }
}
.waves-block {
  display: block;
}

.waves-effect.waves-light {
  .waves-ripple {
    background-color: fade($white, 40%);
  }
}
.waves-effect.waves-custom {
  .waves-ripple {
    background-color: fade($custom, 40%);
  }
}
.waves-effect.waves-primary {
  .waves-ripple {
    background-color: fade($primary, 40%);
  }
}
.waves-effect.waves-success {
  .waves-ripple {
    background-color: fade($success, 40%);
  }
}
.waves-effect.waves-info {
  .waves-ripple {
    background-color: fade($info, 40%);
  }
}
.waves-effect.waves-warning {
  .waves-ripple {
    background-color: fade($warning, 40%);
  }
}
.waves-effect.waves-danger {
  .waves-ripple {
    background-color: fade($danger, 40%);
  }
}
.waves-effect.waves-pink {
  .waves-ripple {
    background-color: fade($pink, 40%);
  }
}
.waves-effect.purple {
  .waves-ripple {
    background-color: fade($purple, 20%);
  }
}
.waves-effect.waves-inverse {
  .waves-ripple {
    background-color: fade($inverse, 40%);
  }
}