Quantity.module.scss 663 B

1234567891011121314151617181920212223242526272829303132333435
  1. @import "styles/_variables.scss";
  2. .quantity {
  3. display: inline-flex;
  4. align-items: center;
  5. border: 1px solid rgba($color: $black, $alpha: 0.25);
  6. border-radius: 20px;
  7. overflow: hidden;
  8. .quantityBtn {
  9. background-color: transparent;
  10. width: 25px;
  11. height: 25px;
  12. display: flex;
  13. align-items: center;
  14. justify-content: center;
  15. cursor: pointer;
  16. color: $dark-gray;
  17. }
  18. & > input {
  19. text-align: center;
  20. outline: none;
  21. }
  22. & > input::-webkit-outer-spin-button,
  23. & > input::-webkit-inner-spin-button {
  24. -webkit-appearance: none;
  25. margin: 0;
  26. }
  27. & > input[type="number"] {
  28. -moz-appearance: textfield;
  29. }
  30. }