$buttonPrefixCls: #{$prefixCls}-button;

.#{$buttonPrefixCls}-fixed-wrapper {
  position: fixed;
  width: 100%;
  bottom: 0;
  left: 0;
  z-index: 10;
  padding: p2w(6) p2w(12);
  background-color: white;
  box-sizing: border-box;
  box-shadow: 0 0 6px 0 rgba(0,0,0,0.06);
}

.#{$buttonPrefixCls} {
  width: 100%;
  text-align: center;
  font-size: p2w(14);
  line-height: 1;
  padding: p2w(10) p2w(5);
  box-sizing: border-box;
  border-radius: 2px;
  border: 1px solid #999999;
  outline: none;
  background-color: transparent;
  &:active {
    background-color: #ddd;
  }
  &.primary {
    background-color: $primaryColor;
    padding: p2w(11) 0;
    color: white;
    border: none;
    &:active {
      background-color: $btnActiveColor;
    }
  }
  &.fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: p2w(6) p2w(12);
    width: calc(100% - #{p2w(24)});
    box-sizing: border-box;
    box-shadow: 0 0 6px 0 rgba(0,0,0,0.06);
  }
  &:disabled {
    background-color: #efefef;
  }
}
