MobileBasket.module.scss 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. @import "styles/_variables.scss";
  2. .mobileBasket {
  3. height: calc(100% - 50px);
  4. overflow-y: scroll;
  5. display: flex;
  6. flex-direction: column;
  7. justify-content: space-between;
  8. .basketTotal {
  9. width: 100%;
  10. margin-top: auto;
  11. height: 150px;
  12. padding: 1rem;
  13. border-top: 1px solid rgba($color: $dark-gray, $alpha: 0.15);
  14. .total {
  15. display: flex;
  16. align-items: center;
  17. justify-content: space-between;
  18. }
  19. .totalPrice {
  20. margin-top: 20px;
  21. display: flex;
  22. align-items: baseline;
  23. justify-content: space-between;
  24. > small {
  25. text-transform: uppercase;
  26. font-weight: 700;
  27. }
  28. .price {
  29. display: flex;
  30. align-items: center;
  31. font-weight: 700;
  32. font-size: 1.25rem;
  33. }
  34. }
  35. .confirmBtn {
  36. width: 100%;
  37. margin-top: 10px;
  38. background-color: #019267;
  39. display: flex;
  40. align-items: center;
  41. justify-content: center;
  42. color: $white;
  43. font-family: inherit;
  44. font-size: 1.15rem;
  45. padding: 0 10px;
  46. height: 37px;
  47. font-weight: 500;
  48. border-radius: $border-radius;
  49. cursor: pointer;
  50. }
  51. }
  52. .emptyBasket {
  53. display: flex;
  54. flex-direction: column;
  55. align-items: center;
  56. justify-content: center;
  57. padding: 0 1rem;
  58. > img {
  59. width: 250px;
  60. height: 250px;
  61. object-fit: contain;
  62. object-position: center;
  63. }
  64. > button {
  65. width: 100%;
  66. height: 37px;
  67. border-radius: $border-radius;
  68. background-color: $red;
  69. color: $white;
  70. font-family: inherit;
  71. font-weight: 500;
  72. font-size: 1rem;
  73. cursor: pointer;
  74. }
  75. }
  76. }