@import '../../app.less';

.progress-button {
  text-align: center;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
  transition: all 0.25s;
  border-radius: 6px;
  padding: 11px 24px;
  line-height: 20px;
  font-size: 14px;
  position: relative;
  overflow: hidden;

  .progress {
    height: 100%;
    background: @theme_color;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
  }

  .progress-content {
    position: relative;
    z-index: 1;
  }
}

.progress-button.theme {
  background: @theme_holder_color;
  color: #fff;
}

.progress-button.default {
  background: #fff;
  color: @holder_color;
  border: 1px solid @theme_bg_color;
}

.progress-button.theme:hover {
  background: darken(@theme_holder_color, 5);

  .progress {
    background: darken(@theme_color, 5);
  }
}

.progress-button.default:hover {
  border-color: @theme_color;
  color: @theme_color;
}