_button.scss 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. .btn {
  2. padding: 0.83rem 1.2rem !important;
  3. font-size: .95rem;
  4. height: 37.6px;
  5. line-height: 1.2;
  6. border-radius: 0.2rem;
  7. box-shadow: $btn-shadow;
  8. }
  9. .btn-group {
  10. .btn {
  11. box-shadow: none;
  12. }
  13. .btn:not(.btn-white):hover {
  14. box-shadow: $shadow-200;
  15. }
  16. .btn.btn-white {
  17. box-shadow: $btn-group-btn-shadow;
  18. }
  19. box-shadow: $btn-shadow;
  20. }
  21. .btn-sm, .btn-group-sm > .btn {
  22. padding: 0.65rem 1rem!important;;
  23. font-size: 0.6rem;
  24. line-height: 1.1;
  25. height: 30px;
  26. }
  27. .btn-custom {
  28. background: $custom;
  29. border-color: $custom;
  30. color: $white;
  31. }
  32. .btn-custom:hover {
  33. color: $white;
  34. box-shadow: 0 8px 25px -8px $custom;
  35. }
  36. .btn-outline-custom {
  37. background: $white;
  38. border: 1px solid $custom;
  39. color: $custom;
  40. box-shadow: none;
  41. }
  42. .btn-outline-custom:hover {
  43. background: rgba($custom, .15);
  44. color: $custom;
  45. }
  46. .btn.btn-white {
  47. color: $font-color;
  48. }
  49. .btn.btn-white.btn-primary, .btn.btn-white.btn-primary:hover, .btn.btn-white.btn-primary:focus {
  50. color: $white !important;
  51. }
  52. .btn-white:hover {
  53. box-shadow: $btn-shadow-hover !important;
  54. }
  55. .btn-light {
  56. border-color: #f0f0f0!important;
  57. background-color: #f0f0f0!important;
  58. color: #444;
  59. }
  60. .btn-light:hover {
  61. box-shadow: $btn-shadow-hover!important;
  62. color: #444!important;
  63. }
  64. .btn-no-shadow {
  65. box-shadow: none;
  66. }
  67. .btn-outline-primary, .btn-outline-success, .btn-outline-danger, .btn-outline-info, .btn-outline-warning, .btn-outline-dark,
  68. .btn-flat-primary, .btn-flat-success, .btn-flat-danger, .btn-flat-info, .btn-flat-warning, .btn-flat-dark {
  69. box-shadow: none;
  70. }
  71. .input-group-sm > .form-control, .input-group-sm > .custom-select, .input-group-sm > .input-group-prepend > .input-group-text, .input-group-sm > .input-group-append > .input-group-text, .input-group-sm > .input-group-prepend > .btn, .input-group-sm > .input-group-append > .btn {
  72. padding: 0.5rem .7rem;
  73. }
  74. a.btn:not(.btn-white) {
  75. color: $white;
  76. }
  77. // loading
  78. .btn:not(.btn-sm) .spinner-grow, a:not(.btn) .spinner-grow {
  79. margin-bottom: .15rem;
  80. }