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.

129 lines
2.0 KiB

  1. /*
  2. SHOP
  3. */
  4. .shop{
  5. .shop-header {
  6. display: flex;
  7. justify-content: space-between;
  8. width: 70%;
  9. padding: 1rem;
  10. margin-bottom: 2rem;
  11. background-color: white;
  12. }
  13. .categories {
  14. width: 70%;
  15. .products {
  16. display: flex;
  17. flex-wrap: wrap;
  18. .product {
  19. display: flex;
  20. width: 250px;
  21. margin-right: 1rem;
  22. margin-bottom: 1rem;
  23. cursor: default;
  24. user-select: none;
  25. img {
  26. object-fit: cover;
  27. }
  28. .body {
  29. width: 100%;
  30. background: white;
  31. padding: 10px;
  32. }
  33. input {
  34. width: 50%;
  35. }
  36. .button {
  37. cursor: pointer;
  38. }
  39. }
  40. }
  41. }
  42. .filters {
  43. position: fixed;
  44. bottom: 140px;
  45. right: 47px;
  46. width: 25%;
  47. padding: 1rem;
  48. background-color: white;
  49. cursor: default;
  50. .filter {
  51. color: #BBB;
  52. cursor: pointer;
  53. &.active {
  54. color: #070;
  55. }
  56. }
  57. }
  58. .cart {
  59. position: fixed;
  60. top: 130px;
  61. right: 47px;
  62. width: 25%;
  63. padding: 1rem;
  64. background-color: white;
  65. cursor: default;
  66. .products-to-order {
  67. margin-bottom: 2rem;
  68. .product-to-order {
  69. display: flex;
  70. justify-content: space-between;
  71. margin-bottom: .5rem;
  72. div {
  73. display: flex;
  74. }
  75. .cart-action-buttons > * {
  76. display: block;
  77. margin-left: .5rem;
  78. width: 2rem;
  79. width: 2rem;
  80. color: white;
  81. text-align: center;
  82. background-color: #070;
  83. cursor: pointer;
  84. line-height: 1.8rem;
  85. border-radius: 50%;
  86. }
  87. }
  88. }
  89. .cart-footer {
  90. bottom: 1rem;
  91. }
  92. .total {
  93. display: flex;
  94. justify-content: space-between;
  95. }
  96. .order-button {
  97. margin-top: 1rem;
  98. padding: .5rem;
  99. background-color: #070;
  100. color: white;
  101. cursor: pointer;
  102. &--disabled {
  103. background-color: #555;
  104. cursor: not-allowed;
  105. }
  106. }
  107. }
  108. }