shoppingCart.css 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368
  1. body{
  2. /* background-color: #F8F8F8; */
  3. }
  4. #main{
  5. padding: 0 .24rem;
  6. }
  7. .sectionContainer{
  8. display: flex;
  9. justify-content: center;
  10. }
  11. .elementorContainer{
  12. max-width: 13.2rem;
  13. flex: 1;
  14. -moz-box-sizing: border-box;
  15. -webkit-box-sizing: border-box;
  16. box-sizing: border-box;
  17. }
  18. .pageContainer{
  19. max-width: 18.8rem;
  20. margin: 0 auto;
  21. padding-bottom: 1rem;
  22. }
  23. .pageTitle{
  24. color: #333;
  25. font-weight: bold;
  26. font-size: .34rem;
  27. padding-top: .6rem;
  28. }
  29. .pageDataBox{
  30. padding-top: .6rem;
  31. display: flex;
  32. justify-content: space-between;
  33. }
  34. .productConatiner{
  35. flex: 1;
  36. }
  37. .productModelTitle{
  38. color: #333;
  39. font-size: .2rem;
  40. font-weight: bold;
  41. margin-bottom: .2rem;
  42. }
  43. .productList{
  44. border-top: .02rem solid rgba(0, 0, 0, .2);
  45. border-bottom: .02rem solid rgba(0, 0, 0, .2);
  46. padding-top: .36rem;
  47. }
  48. .productItem{
  49. margin-bottom: .24rem;
  50. height: 1.4rem;
  51. display: flex;
  52. align-items: center;
  53. position: relative;
  54. }
  55. .productImgBox{
  56. width: 1.4rem;
  57. height: 100%;
  58. }
  59. .productImgBox img{
  60. width: 100%;
  61. height: 100%;
  62. }
  63. .productInfo{
  64. padding-left: .22rem;
  65. flex: 1;
  66. display: flex;
  67. justify-content: space-between;
  68. align-items: center;
  69. }
  70. .lfBox{
  71. flex: 1;
  72. padding-right: .12rem;
  73. }
  74. .lfBox .productTitle{
  75. font-size: .24rem;
  76. font-weight: bold;
  77. color: #434343;
  78. line-height: 1.4;
  79. display: -webkit-box;
  80. -webkit-line-clamp: 3;
  81. -webkit-box-orient: vertical;
  82. overflow: hidden;
  83. word-break: break-all;
  84. }
  85. .lfBox .specs{
  86. font-size: .2rem;
  87. color: #999999;
  88. overflow: hidden;
  89. white-space: nowrap;
  90. text-overflow: ellipsis;
  91. }
  92. .nunberBox{
  93. display: flex;
  94. align-items: center;
  95. color: #666666;
  96. }
  97. .numberInput{
  98. font-size: .24rem;
  99. font-weight: bold;
  100. }
  101. .numberReduce,.numberAdd{
  102. cursor: pointer;
  103. padding: .12rem .24rem;
  104. font-size: .24rem;
  105. vertical-align: middle;
  106. }
  107. .productPrice{
  108. color: #434343;
  109. font-weight: bold;
  110. font-size: .28rem;
  111. width: 3rem;
  112. text-align: center;
  113. word-break: break-all;
  114. }
  115. .productDelete{
  116. padding: 0 .36rem;
  117. cursor: pointer;
  118. }
  119. .productDelete img{
  120. width: .24rem;
  121. }
  122. .windContainer{
  123. width: 4.8rem;
  124. margin-left: 1rem;
  125. }
  126. .windTBox{
  127. display: flex;
  128. align-items: center;
  129. justify-content: space-between;
  130. font-size: .2rem;
  131. margin-bottom: .2rem;
  132. padding-right: .36rem;
  133. }
  134. .windTBox .lt{
  135. flex: 1;
  136. color: #434343;
  137. }
  138. .windTBox .cartTotals{
  139. color: #666666;
  140. }
  141. .linkItem{
  142. border-top: .02rem solid rgba(0, 0, 0, .2);
  143. border-bottom: .02rem solid rgba(0, 0, 0, .2);
  144. padding: .24rem 0 .16rem 0;
  145. }
  146. .mbItem{
  147. padding: .12rem 0;
  148. margin-bottom: .4rem;
  149. }
  150. .windInfoBox{
  151. display: flex;
  152. align-items: center;
  153. justify-content: space-between;
  154. color: #999999;
  155. font-size: .2rem;
  156. line-height: 1.4;
  157. margin-bottom: .08rem;
  158. padding-right: .36rem;
  159. }
  160. .windInfoBox .key{
  161. flex: 1;
  162. word-break: break-all;
  163. }
  164. .windInfoBox .val{
  165. padding-left: .12rem;
  166. word-break: break-all;
  167. max-width: 1.2rem;
  168. }
  169. .windInfoBox.freeshipping .key{
  170. color: rgba(79, 73, 222, 1);
  171. }
  172. .changeAddress{
  173. cursor: pointer;
  174. }
  175. .totalBox{
  176. display: flex;
  177. align-items: center;
  178. justify-content: space-between;
  179. font-size: .22rem;
  180. border-top: .02rem solid rgba(0, 0, 0, .2);
  181. padding-top: .32rem;
  182. margin-bottom: .48rem;
  183. }
  184. .totalBox .totalT{
  185. color: #333333;
  186. flex: 1;
  187. word-break: break-all;
  188. font-weight: bold;
  189. }
  190. .totalBox .totalVal{
  191. color: #999999;
  192. max-width: 1.2rem;
  193. word-break: break-all;
  194. }
  195. .payPalButton,.checkoutButton{
  196. background-color: rgba(79, 73, 222, 1);
  197. color: #FFF;
  198. font-weight: bold;
  199. font-size: .22rem;
  200. width: 100%;
  201. height: .62rem;
  202. display: flex;
  203. align-items: center;
  204. justify-content: center;
  205. cursor: pointer;
  206. margin-bottom: .2rem;
  207. }
  208. .checkoutButton{
  209. background-color: rgba(51, 55, 59, 1);
  210. }
  211. .orBox{
  212. display: flex;
  213. align-items: center;
  214. padding: .06rem .24rem 0 .24rem;
  215. margin-bottom: .26rem;
  216. }
  217. .orBox .link{
  218. flex: 1;
  219. height: .02rem;
  220. background-color: rgba(0, 0, 0, .1);
  221. }
  222. .orBox .or{
  223. padding: 0 .12rem;
  224. font-size: .18rem;
  225. font-weight: bold;
  226. color: #999999;
  227. }
  228. @media (max-width: 1680px) {
  229. .productPrice{
  230. width: 2rem;
  231. font-size: .24rem;
  232. }
  233. .windContainer{
  234. margin-left: .6rem;
  235. }
  236. .productDelete img{
  237. width: .2rem;
  238. }
  239. .numberInput{
  240. font-size: .2rem;
  241. }
  242. .lfBox .productTitle{
  243. font-size: .22rem;
  244. }
  245. .lfBox .specs{
  246. font-size: .18rem;
  247. }
  248. }
  249. @media (max-width: 1499px) {
  250. .productPrice{
  251. width: 1.8rem;
  252. font-size: .22rem;
  253. }
  254. .lfBox .productTitle{
  255. font-size: .2rem;
  256. }
  257. .windContainer{
  258. width: 4rem;
  259. }
  260. .windTBox{
  261. font-size: .18rem;
  262. }
  263. .windInfoBox{
  264. font-size: .18rem;
  265. }
  266. .totalBox{
  267. font-size: .2rem;
  268. }
  269. .payPalButton,.checkoutButton{
  270. font-size: .2rem;
  271. height: .52rem;
  272. }
  273. .mbItem{
  274. margin-bottom: .3rem;
  275. }
  276. .pageTitle{
  277. font-size: .3rem;
  278. }
  279. }
  280. @media (max-width: 1299px) {
  281. .pageDataBox{
  282. flex-direction: column;
  283. align-items: flex-end;
  284. }
  285. .productConatiner{
  286. width: 100%;
  287. }
  288. .productList{
  289. padding-left: .12rem;
  290. }
  291. .windContainer{
  292. margin-left: 0;
  293. padding-top: .8rem;
  294. }
  295. }
  296. @media (max-width: 1199px) {
  297. .productDelete{
  298. position: absolute;
  299. top: 0;
  300. right: 0;
  301. padding: 0 .12rem .12rem .12rem;
  302. }
  303. }
  304. @media (max-width: 750px) {
  305. .pageDataBox{
  306. display: block;
  307. }
  308. .windContainer{
  309. width: auto;
  310. padding-left: .52rem;
  311. padding-right: .52rem;
  312. }
  313. .pageTitle{
  314. font-size: .3rem;
  315. }
  316. .productModelTitle{
  317. font-size: .24rem;
  318. }
  319. .productItem{
  320. height: auto;
  321. min-height: 1.2rem;
  322. padding: .12rem 0;
  323. margin-bottom: 0;
  324. margin-bottom: .12rem;
  325. }
  326. .productImgBox{
  327. width: 1.2rem;
  328. height: 1.2rem;
  329. }
  330. .lfBox .productTitle{
  331. font-size: .22rem;
  332. }
  333. .lfBox .specs{
  334. font-size: .2rem;
  335. }
  336. .productPrice{
  337. text-align: right;
  338. font-size: .26rem;
  339. }
  340. .numberInput{
  341. font-size: .24rem;
  342. }
  343. .numberReduce,.numberAdd{
  344. font-size: .26rem;
  345. }
  346. .windTBox{
  347. font-size: .24rem;
  348. }
  349. .windInfoBox{
  350. font-size: .24rem;
  351. }
  352. .totalBox{
  353. font-size: .26rem;
  354. }
  355. .payPalButton,.checkoutButton{
  356. font-size: .26rem;
  357. height: .76rem;
  358. }
  359. .orBox .or{
  360. font-size: .2rem;
  361. }
  362. .totalBox .totalVal{
  363. max-width: 2rem;
  364. }
  365. .windInfoBox .val{
  366. max-width: 2rem;
  367. }
  368. }