index.less 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. @import '../../app.less';
  2. .button {
  3. text-align: center;
  4. cursor: pointer;
  5. display: inline-block;
  6. vertical-align: middle;
  7. transition: all 0.25s;
  8. border-radius: 2px;
  9. }
  10. .button.basic {
  11. padding: 4px 24px;
  12. line-height: 20px;
  13. font-size: 14px;
  14. }
  15. .button.small {
  16. padding: 3px 14px;
  17. line-height: 18px;
  18. font-size: 12px;
  19. }
  20. .button.lager {
  21. font-size: 18px;
  22. font-weight: 600;
  23. line-height: 28px;
  24. padding: 8px 16px;
  25. }
  26. .button.disabled {
  27. cursor: no-drop;
  28. }
  29. .button.basic.radius {
  30. border-radius: 17px;
  31. }
  32. .button.small.radius {
  33. border-radius: 14px;
  34. }
  35. .button.lager.radius {
  36. border-radius: 36px;
  37. }
  38. .button.theme {
  39. background: @theme_color;
  40. color: #fff;
  41. }
  42. .button.default {
  43. background: #fff;
  44. color: @holder_color;
  45. border: 1px solid @line_color;
  46. }
  47. .button.white {
  48. background: #fff;
  49. color: @theme_color;
  50. }
  51. .button.border {
  52. background: #fff;
  53. border: 2px solid @theme_color;
  54. }
  55. .button.theme:hover {
  56. background: @theme_color_hover;
  57. }
  58. .button.border:hover {
  59. border-color: @theme_color;
  60. }
  61. .button.default:hover {
  62. border-color: @holder_color;
  63. }
  64. .button.white:hover {
  65. color: @theme_color_hover;
  66. }