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

.button {
  text-align: center;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
  transition: all 0.25s;
  border-radius: 2px;
  box-sizing: border-box;
}

.button.basic {
  padding: 4px 24px;
  line-height: 20px;
  font-size: 14px;
}

.button.small {
  padding: 3px 14px;
  line-height: 18px;
  font-size: 12px;
}

.button.lager {
  font-size: 14px;
  line-height: 24px;
  padding: 8px 16px;
}

.button.disabled {
  cursor: no-drop;
}

.button.basic.radius {
  border-radius: 17px;
}

.button.small.radius {
  border-radius: 14px;
}

.button.lager.radius {
  border-radius: 36px;
}

.button.theme {
  background: @theme_color;
  color: #fff;
}

.button.theme.disabled {
  background: #c8c8c8;
  border: 1px solid #b8b8b8;
}

.button.link {
  border: none;
  color: #686872;
}

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

.button.file {
  background: linear-gradient(180deg, rgba(249, 249, 249, 1) 0%, rgba(241, 241, 241, 1) 100%);
  border-radius: 3px;
  border: 1px solid #d5d5d5;
}

.button.white {
  background: #fff;
  color: @theme_color;
}

.button.error {
  background: #f36565;
  color: #fff;
}

.button.warn {
  background: #f2b252;
  color: #fff;
}

.button.border {
  background: #fff;
  border: 2px solid @theme_color;
}

.button.link:hover {
  color: @theme_color;
}

.button.theme:hover {
  background: @theme_color_hover;
}

.button.theme.disabled:hover {
  background: darken(#c8c8c8, 5);
}

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

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

.button.white:hover {
  color: @theme_color_hover;
}

.button.file:hover {
  background: #ececec;
}

.button.error:hover {
  background: darken(#f36565, 5);
}

.button.warn:hover {
  background: darken(#f2b252, 5);
}