Rap 原分销系统代码Web
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52ef4bb264e0ed7d2da420f35301dc48f6703d85.svn-base 1.3KB

5 mesi fa
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. @import 'variables';
  2. @mixin colorBtn($color) {
  3. background: $color;
  4. &:hover {
  5. color: $color;
  6. &:before,
  7. &:after {
  8. background: $color;
  9. }
  10. }
  11. }
  12. .blue-btn {
  13. @include colorBtn($blue)
  14. }
  15. .light-blue-btn {
  16. @include colorBtn($light-blue)
  17. }
  18. .red-btn {
  19. @include colorBtn($red)
  20. }
  21. .pink-btn {
  22. @include colorBtn($pink)
  23. }
  24. .green-btn {
  25. @include colorBtn($green)
  26. }
  27. .tiffany-btn {
  28. @include colorBtn($tiffany)
  29. }
  30. .yellow-btn {
  31. @include colorBtn($yellow)
  32. }
  33. .pan-btn {
  34. font-size: 14px;
  35. color: #fff;
  36. padding: 14px 36px;
  37. border-radius: 8px;
  38. border: none;
  39. outline: none;
  40. transition: 600ms ease all;
  41. position: relative;
  42. display: inline-block;
  43. &:hover {
  44. background: #fff;
  45. &:before,
  46. &:after {
  47. width: 100%;
  48. transition: 600ms ease all;
  49. }
  50. }
  51. &:before,
  52. &:after {
  53. content: '';
  54. position: absolute;
  55. top: 0;
  56. right: 0;
  57. height: 2px;
  58. width: 0;
  59. transition: 400ms ease all;
  60. }
  61. &::after {
  62. right: inherit;
  63. top: inherit;
  64. left: 0;
  65. bottom: 0;
  66. }
  67. }
  68. .custom-button {
  69. display: inline-block;
  70. line-height: 1;
  71. white-space: nowrap;
  72. cursor: pointer;
  73. background: #fff;
  74. color: #fff;
  75. -webkit-appearance: none;
  76. text-align: center;
  77. box-sizing: border-box;
  78. outline: 0;
  79. margin: 0;
  80. padding: 10px 15px;
  81. font-size: 14px;
  82. border-radius: 4px;
  83. }