index.less 839 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. @import '../../app.less';
  2. .progress-button {
  3. text-align: center;
  4. cursor: pointer;
  5. display: inline-block;
  6. vertical-align: middle;
  7. transition: all 0.25s;
  8. border-radius: 6px;
  9. padding: 11px 24px;
  10. line-height: 20px;
  11. font-size: 14px;
  12. position: relative;
  13. overflow: hidden;
  14. .progress {
  15. height: 100%;
  16. background: @theme_color;
  17. position: absolute;
  18. top: 0;
  19. bottom: 0;
  20. left: 0;
  21. }
  22. }
  23. .progress-button.theme {
  24. background: @theme_holder_color;
  25. color: #fff;
  26. }
  27. .progress-button.default {
  28. background: #fff;
  29. color: @holder_color;
  30. border: 1px solid @theme_bg_color;
  31. }
  32. .progress-button.theme:hover {
  33. background: darken(@theme_holder_color, 5);
  34. .progress {
  35. background: darken(@theme_color, 5);
  36. }
  37. }
  38. .progress-button.default:hover {
  39. border-color: @theme_color;
  40. color: @theme_color;
  41. }