AddToBasketBtn.module.scss 598 B

123456789101112131415161718192021222324252627282930313233
  1. @import "styles/_variables.scss";
  2. .addToBasket {
  3. flex: 1;
  4. padding: 0 10px;
  5. height: 37px;
  6. border-radius: $border-radius;
  7. text-transform: uppercase;
  8. font-family: inherit;
  9. font-weight: 600;
  10. cursor: pointer;
  11. display: flex;
  12. align-items: center;
  13. justify-content: center;
  14. gap: 5px;
  15. transition: all 0.5s;
  16. color: $white;
  17. background-color: rgba($color: $red, $alpha: 0.8);
  18. }
  19. @media (max-width: 768px) {
  20. .card {
  21. .content {
  22. .footer {
  23. .addToBasket {
  24. min-height: 40px;
  25. width: 100%;
  26. margin-top: 10px;
  27. }
  28. }
  29. }
  30. }
  31. }