_button.scss 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. .btn {
  2. padding: .75rem 1.45rem!important;
  3. font-size: .95rem;
  4. height: 36px;
  5. line-height: .7;
  6. border-radius: 0.2rem;
  7. box-shadow: $shadow-100;
  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: $shadow-100;
  20. }
  21. .btn-sm, .btn-group-sm > .btn {
  22. padding: 0.7rem 1.3rem!important;;
  23. font-size: 0.6rem;
  24. line-height: 12px;
  25. height: 32px;
  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. }