style.css 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. .hide {
  2. display: none;
  3. }
  4. #mainContainer {
  5. display: flex;
  6. }
  7. #aside {
  8. width: 30%;
  9. }
  10. #aside>a {
  11. display: block;
  12. }
  13. #cartIcon {
  14. width: 70px;
  15. height: 70px;
  16. display: flex;
  17. justify-content: center;
  18. align-items: center;
  19. background-color: rgb(245, 221, 163);
  20. border-radius: 3px;
  21. }
  22. .cart {
  23. width: 40px;
  24. height: 40px;
  25. }
  26. header {
  27. display: flex;
  28. justify-content: space-between;
  29. }
  30. #cartList {
  31. width: 500px;
  32. min-height: 500px;
  33. background-color: honeydew;
  34. position: absolute;
  35. right: 8px;
  36. top: 80px;
  37. border-radius: 2%;
  38. padding-top: 30px;
  39. }
  40. #closeListBtn {
  41. width: 25px;
  42. height: 25px;
  43. position: absolute;
  44. top: 10px;
  45. right: 10px;
  46. background-color: red;
  47. font-size: 25px;
  48. align-items: center;
  49. text-align: center;
  50. border-radius: 25%;
  51. }
  52. .cartListItem {
  53. display: flex;
  54. padding-top: 10px;
  55. width: 100%;
  56. justify-content: space-between;
  57. align-items: center;
  58. }
  59. .cartListItem p {
  60. margin: 5px 3px;
  61. }
  62. .cartListItem input {
  63. height: 20px;
  64. width: 35px;
  65. }
  66. .btnDeleteAll {
  67. position: absolute;
  68. bottom: 20px;
  69. left: 20px;
  70. }
  71. .btnToOrder {
  72. position: absolute;
  73. bottom: 20px;
  74. right: 20px;
  75. }
  76. .priceOfOrder {
  77. position: absolute;
  78. bottom: 20px;
  79. right: 200px;
  80. }
  81. img {
  82. max-width: 400px;
  83. max-height: 400px;
  84. }
  85. a {
  86. padding: 10px 15px;
  87. }
  88. button {
  89. padding: 5px;
  90. background-color: rgb(158, 188, 243);
  91. border: 1px solid grey;
  92. border-radius: 5px;
  93. }