assets/css/modules/side-cart
admin
1 month ago
side-cart.css
25.3 KB
1 month ago
side-cart.min.css
21.9 KB
1 month ago
side-cart.css in Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant 2.3.1, at assets/css/modules/side-cart/side-cart.css
| 1 | /** |
| 2 | * Side Cart |
| 3 | * |
| 4 | */ |
| 5 | .merchant-side-cart-floating-cart { |
| 6 | position: fixed; |
| 7 | bottom: var(--mrc-fmci-corner-offset, 30px); |
| 8 | font-size: var(--mrc-fmci-icon-size, 25px); |
| 9 | z-index: 9999; |
| 10 | opacity: 0; |
| 11 | visibility: hidden; |
| 12 | pointer-events: none; |
| 13 | -webkit-transform: translate3d(-20px, 0, 0); |
| 14 | transform: translate3d(-20px, 0, 0); |
| 15 | -webkit-transition: ease opacity 300ms, ease transform 300ms; |
| 16 | transition: ease opacity 300ms, ease transform 300ms; |
| 17 | } |
| 18 | .merchant-side-cart-floating-cart * { |
| 19 | -webkit-box-sizing: border-box; |
| 20 | box-sizing: border-box; |
| 21 | } |
| 22 | .merchant-side-cart-floating-cart.merchant-show { |
| 23 | opacity: 1; |
| 24 | visibility: visible; |
| 25 | pointer-events: auto; |
| 26 | -webkit-transform: none; |
| 27 | transform: none; |
| 28 | } |
| 29 | .merchant-side-cart-floating-cart:hover { |
| 30 | -webkit-transform: scale(1.1); |
| 31 | transform: scale(1.1); |
| 32 | } |
| 33 | |
| 34 | .merchant-side-cart-body, |
| 35 | .merchant-side-cart-widget { |
| 36 | height: 100%; |
| 37 | } |
| 38 | |
| 39 | .merchant-side-cart-floating-cart-position-left { |
| 40 | left: var(--mrc-fmci-corner-offset, 30px); |
| 41 | } |
| 42 | |
| 43 | .merchant-side-cart-floating-cart-position-right { |
| 44 | right: var(--mrc-fmci-corner-offset, 30px); |
| 45 | } |
| 46 | |
| 47 | .merchant-side-cart-floating-cart-counter { |
| 48 | display: -webkit-box; |
| 49 | display: -ms-flexbox; |
| 50 | display: flex; |
| 51 | -webkit-box-align: center; |
| 52 | -ms-flex-align: center; |
| 53 | align-items: center; |
| 54 | -webkit-box-pack: center; |
| 55 | -ms-flex-pack: center; |
| 56 | justify-content: center; |
| 57 | position: absolute; |
| 58 | top: -8px; |
| 59 | left: -8px; |
| 60 | border-radius: 35px; |
| 61 | font-size: 10px; |
| 62 | line-height: 1em; |
| 63 | width: 22px; |
| 64 | height: 22px; |
| 65 | color: var(--mrc-fmci-counter-color, #fff); |
| 66 | background-color: var(--mrc-fmci-counter-background-color, #757575); |
| 67 | -webkit-box-sizing: border-box; |
| 68 | box-sizing: border-box; |
| 69 | } |
| 70 | |
| 71 | .merchant-side-cart-floating-cart-icon { |
| 72 | display: -webkit-box; |
| 73 | display: -ms-flexbox; |
| 74 | display: flex; |
| 75 | -webkit-box-align: center; |
| 76 | -ms-flex-align: center; |
| 77 | align-items: center; |
| 78 | -webkit-box-pack: center; |
| 79 | -ms-flex-pack: center; |
| 80 | justify-content: center; |
| 81 | border-radius: var(--mrc-fmci-border-radius, 35px); |
| 82 | color: var(--mrc-fmci-icon-color, #fff); |
| 83 | background-color: var(--mrc-fmci-background-color, #212121); |
| 84 | } |
| 85 | .merchant-side-cart-floating-cart-icon svg { |
| 86 | width: var(--mrc-fmci-icon-size, 25px); |
| 87 | height: var(--mrc-fmci-icon-size, 25px); |
| 88 | padding: 16px; |
| 89 | fill: currentColor; |
| 90 | -webkit-box-sizing: content-box; |
| 91 | box-sizing: content-box; |
| 92 | } |
| 93 | |
| 94 | .merchant-side-cart-overlay { |
| 95 | position: fixed; |
| 96 | top: 0; |
| 97 | left: 0; |
| 98 | right: 0; |
| 99 | bottom: 0; |
| 100 | width: 100%; |
| 101 | height: 100%; |
| 102 | opacity: 0; |
| 103 | visibility: hidden; |
| 104 | pointer-events: none; |
| 105 | background-color: #000; |
| 106 | -webkit-transition: all 0.3s; |
| 107 | transition: all 0.3s; |
| 108 | z-index: 100000; |
| 109 | } |
| 110 | |
| 111 | .merchant-side-cart { |
| 112 | position: fixed; |
| 113 | top: 0; |
| 114 | right: 0; |
| 115 | bottom: 0; |
| 116 | width: var(--mrc-fmci-side-cart-width, 380px); |
| 117 | max-width: 100%; |
| 118 | -webkit-transform: translate3d(100%, 0, 0); |
| 119 | transform: translate3d(100%, 0, 0); |
| 120 | -webkit-transition: all 0.3s; |
| 121 | transition: all 0.3s; |
| 122 | z-index: 1000000; |
| 123 | color: var(--mrc-fmci-side-cart-content-text-color, #212121); |
| 124 | background-color: var(--mrc-fmci-side-cart-content-background-color, #ffffff); |
| 125 | } |
| 126 | .merchant-side-cart.slide-left { |
| 127 | left: 0; |
| 128 | right: unset; |
| 129 | -webkit-transform: translate3d(-100%, 0, 0); |
| 130 | transform: translate3d(-100%, 0, 0); |
| 131 | } |
| 132 | .merchant-side-cart * { |
| 133 | -webkit-box-sizing: border-box; |
| 134 | box-sizing: border-box; |
| 135 | } |
| 136 | .merchant-side-cart .merchant-side-cart-savings { |
| 137 | display: -webkit-box; |
| 138 | display: -ms-flexbox; |
| 139 | display: flex; |
| 140 | -webkit-box-pack: justify; |
| 141 | -ms-flex-pack: justify; |
| 142 | justify-content: space-between; |
| 143 | padding: 20px 30px; |
| 144 | background-color: var(--mrc-fmci-side-cart-total-background-color, #f5f5f5); |
| 145 | line-height: 1; |
| 146 | } |
| 147 | .merchant-side-cart ul.woocommerce-mini-cart .merchant-freespb-wrapper { |
| 148 | margin-bottom: 20px; |
| 149 | } |
| 150 | |
| 151 | .woocommerce-mini-cart__cart_total, |
| 152 | .woocommerce-mini-cart__coupon, |
| 153 | .woocommerce-mini-cart__coupons { |
| 154 | display: none; |
| 155 | } |
| 156 | |
| 157 | .merchant-side-cart-widget .product_list_widget { |
| 158 | -webkit-box-flex: 1; |
| 159 | -ms-flex: 1; |
| 160 | flex: 1; |
| 161 | margin: 0 !important; |
| 162 | padding: 40px !important; |
| 163 | -webkit-box-shadow: none; |
| 164 | box-shadow: none; |
| 165 | max-width: 100%; |
| 166 | overflow-y: auto; |
| 167 | } |
| 168 | .merchant-side-cart-widget .product_list_widget::-webkit-scrollbar { |
| 169 | width: 5px; |
| 170 | } |
| 171 | .merchant-side-cart-widget .product_list_widget::-webkit-scrollbar-track { |
| 172 | background: #e2e2e2; |
| 173 | } |
| 174 | .merchant-side-cart-widget .product_list_widget::-webkit-scrollbar-thumb { |
| 175 | background-color: #CCC; |
| 176 | border-radius: 6px; |
| 177 | } |
| 178 | .merchant-side-cart-widget .product_list_widget li { |
| 179 | list-style: none; |
| 180 | -webkit-box-align: start !important; |
| 181 | -ms-flex-align: start !important; |
| 182 | align-items: flex-start !important; |
| 183 | padding: 20px 0 !important; |
| 184 | background: transparent !important; |
| 185 | position: relative; |
| 186 | max-width: 100%; |
| 187 | } |
| 188 | .merchant-side-cart-widget .product_list_widget li:after { |
| 189 | content: ""; |
| 190 | position: absolute; |
| 191 | width: 100%; |
| 192 | height: 1px; |
| 193 | bottom: 0; |
| 194 | left: 0; |
| 195 | background-color: var(--mrc-fmci-side-cart-content-text-color, #212121); |
| 196 | opacity: 0.1; |
| 197 | } |
| 198 | .merchant-side-cart-widget .product_list_widget li:last-of-type { |
| 199 | padding-bottom: 20px; |
| 200 | } |
| 201 | .merchant-side-cart-widget .product_list_widget li:last-of-type:after { |
| 202 | display: none; |
| 203 | } |
| 204 | .merchant-side-cart-widget .product_list_widget li dl.variation { |
| 205 | font-size: 12px; |
| 206 | margin-bottom: 10px; |
| 207 | } |
| 208 | .merchant-side-cart-widget .product_list_widget li img { |
| 209 | position: relative !important; |
| 210 | top: 0 !important; |
| 211 | left: 0 !important; |
| 212 | width: 81px !important; |
| 213 | max-height: 98px; |
| 214 | -o-object-fit: cover; |
| 215 | object-fit: cover; |
| 216 | -o-object-position: center; |
| 217 | object-position: center; |
| 218 | -webkit-transform: none !important; |
| 219 | transform: none !important; |
| 220 | } |
| 221 | .merchant-side-cart-widget .product_list_widget li a { |
| 222 | text-decoration: none; |
| 223 | } |
| 224 | .merchant-side-cart-widget .product_list_widget li > a:not(.remove) { |
| 225 | display: -webkit-box; |
| 226 | display: -ms-flexbox; |
| 227 | display: flex; |
| 228 | -webkit-box-align: start; |
| 229 | -ms-flex-align: start; |
| 230 | align-items: flex-start; |
| 231 | grid-gap: 15px; |
| 232 | width: auto; |
| 233 | color: var(--mrc-fmci-side-cart-content-text-color, #212121); |
| 234 | margin-right: 20px; |
| 235 | } |
| 236 | .merchant-side-cart-widget .product_list_widget li a.remove { |
| 237 | display: -webkit-box; |
| 238 | display: -ms-flexbox; |
| 239 | display: flex; |
| 240 | text-align: center; |
| 241 | -webkit-box-pack: center; |
| 242 | -ms-flex-pack: center; |
| 243 | justify-content: center; |
| 244 | width: 18px; |
| 245 | height: 18px; |
| 246 | font-size: 16px; |
| 247 | line-height: 16px; |
| 248 | border-radius: 50%; |
| 249 | position: absolute; |
| 250 | top: 13px; |
| 251 | left: -8px; |
| 252 | -webkit-transition: ease transform 300ms; |
| 253 | transition: ease transform 300ms; |
| 254 | z-index: 11; |
| 255 | color: var(--mrc-fmci-side-cart-content-remove-color, #ffffff) !important; |
| 256 | background-color: var(--mrc-fmci-side-cart-content-remove-background-color, #212121) !important; |
| 257 | } |
| 258 | .merchant-side-cart-widget .product_list_widget li a.remove:hover { |
| 259 | -webkit-transform: scale(1.1); |
| 260 | transform: scale(1.1); |
| 261 | } |
| 262 | .merchant-side-cart-widget .product_list_widget li > span { |
| 263 | font-weight: 600; |
| 264 | font-size: 14px; |
| 265 | } |
| 266 | .merchant-side-cart-widget .product_list_widget span.quantity { |
| 267 | padding: 0; |
| 268 | margin: 0; |
| 269 | width: auto; |
| 270 | height: auto; |
| 271 | border: none; |
| 272 | background: transparent; |
| 273 | display: -webkit-box; |
| 274 | display: -ms-flexbox; |
| 275 | display: flex; |
| 276 | grid-gap: 4px; |
| 277 | -webkit-box-pack: end; |
| 278 | -ms-flex-pack: end; |
| 279 | justify-content: flex-end; |
| 280 | margin-left: auto; |
| 281 | white-space: nowrap; |
| 282 | } |
| 283 | .merchant-side-cart-widget .product_list_widget .merchant-side-cart-item { |
| 284 | display: -webkit-box; |
| 285 | display: -ms-flexbox; |
| 286 | display: flex; |
| 287 | -webkit-box-align: start; |
| 288 | -ms-flex-align: start; |
| 289 | align-items: flex-start; |
| 290 | overflow: visible; |
| 291 | } |
| 292 | .merchant-side-cart-widget .product_list_widget .merchant-side-cart-item > a:not(.remove) { |
| 293 | -webkit-box-flex: 0; |
| 294 | -ms-flex: 0 0 auto; |
| 295 | flex: 0 0 auto; |
| 296 | } |
| 297 | .merchant-side-cart-widget .product_list_widget .merchant-side-cart-item-sold-individually .merchant-quantity-inner, |
| 298 | .merchant-side-cart-widget .product_list_widget .merchant-side-cart-item .variation, |
| 299 | .merchant-side-cart-widget .product_list_widget .merchant-side-cart-item .merchant-cart-item-name, |
| 300 | .merchant-side-cart-widget .product_list_widget .merchant-side-cart-item .action.plus, |
| 301 | .merchant-side-cart-widget .product_list_widget .merchant-side-cart-item .action.minus { |
| 302 | display: none; |
| 303 | } |
| 304 | .merchant-quantity-wrap, .merchant-quantity-plus, .merchant-quantity-minus { |
| 305 | display: none !important; |
| 306 | } |
| 307 | |
| 308 | form.cart .js-merchant-quantity-btn { |
| 309 | display: none !important; |
| 310 | } |
| 311 | |
| 312 | .merchant-side-cart .merchant-quantity-wrap, .merchant-side-cart .merchant-quantity-plus, .merchant-side-cart .merchant-quantity-minus { |
| 313 | display: block !important; |
| 314 | } |
| 315 | |
| 316 | .merchant-side-cart-widget .product_list_widget .merchant-quantity-cart-name .variation, |
| 317 | .merchant-side-cart-widget .product_list_widget .merchant-quantity-cart-name .merchant-cart-item-name, .merchant-side-cart-widget .product_list_widget .merchant-quantity-cart-meta .variation, |
| 318 | .merchant-side-cart-widget .product_list_widget .merchant-quantity-cart-meta .merchant-cart-item-name { |
| 319 | display: block; |
| 320 | } |
| 321 | .merchant-side-cart-widget .product_list_widget .merchant-quantity-cart-name { |
| 322 | -webkit-box-flex: 1; |
| 323 | -ms-flex-positive: 1; |
| 324 | flex-grow: 1; |
| 325 | } |
| 326 | .merchant-side-cart-widget .product_list_widget .merchant-quantity-cart-price .amount, .merchant-side-cart-widget .product_list_widget .merchant-quantity-cart-subtotal { |
| 327 | font-weight: 600; |
| 328 | font-size: 14px; |
| 329 | } |
| 330 | .merchant-side-cart-widget .product_list_widget .merchant-quantity-cart-meta .variation { |
| 331 | display: -webkit-box; |
| 332 | display: -ms-flexbox; |
| 333 | display: flex; |
| 334 | gap: 5px; |
| 335 | margin: 0; |
| 336 | padding: 0; |
| 337 | border: none; |
| 338 | } |
| 339 | .merchant-side-cart-widget .product_list_widget .merchant-quantity-cart-meta .variation:before, .merchant-side-cart-widget .product_list_widget .merchant-quantity-cart-meta .variation:after { |
| 340 | content: none; |
| 341 | } |
| 342 | .merchant-side-cart-widget .product_list_widget .merchant-quantity-cart-meta .variation p, |
| 343 | .merchant-side-cart-widget .product_list_widget .merchant-quantity-cart-meta .variation dd, |
| 344 | .merchant-side-cart-widget .product_list_widget .merchant-quantity-cart-meta .variation dt { |
| 345 | margin: 0; |
| 346 | padding: 0; |
| 347 | } |
| 348 | .merchant-side-cart-widget .product_list_widget .merchant-quantity-wrap { |
| 349 | display: -webkit-box !important; |
| 350 | display: -ms-flexbox !important; |
| 351 | display: flex !important; |
| 352 | -webkit-box-orient: vertical; |
| 353 | -webkit-box-direction: normal; |
| 354 | -ms-flex-direction: column; |
| 355 | flex-direction: column; |
| 356 | -ms-flex-item-align: stretch; |
| 357 | align-self: stretch; |
| 358 | -webkit-box-flex: 1; |
| 359 | -ms-flex: 1 1 auto; |
| 360 | flex: 1 1 auto; |
| 361 | gap: 10px; |
| 362 | } |
| 363 | .merchant-side-cart-widget .product_list_widget .merchant-quantity-wrap + span.quantity, |
| 364 | .merchant-side-cart-widget .product_list_widget .merchant-quantity-wrap a { |
| 365 | display: none !important; |
| 366 | } |
| 367 | .merchant-side-cart-widget .product_list_widget .merchant-quantity-inner { |
| 368 | -webkit-box-pack: justify; |
| 369 | -ms-flex-pack: justify; |
| 370 | justify-content: space-between; |
| 371 | gap: 7px; |
| 372 | } |
| 373 | .merchant-side-cart-widget .product_list_widget .merchant-quantity-inner, |
| 374 | .merchant-side-cart-widget .product_list_widget .merchant-quantity-inner > div { |
| 375 | display: -webkit-box !important; |
| 376 | display: -ms-flexbox !important; |
| 377 | display: flex !important; |
| 378 | -webkit-box-align: center !important; |
| 379 | -ms-flex-align: center !important; |
| 380 | align-items: center !important; |
| 381 | } |
| 382 | .merchant-side-cart-widget .product_list_widget .merchant-quantity-inner > div { |
| 383 | width: auto; |
| 384 | height: auto; |
| 385 | border: none; |
| 386 | margin: 0 !important; |
| 387 | padding: 0 !important; |
| 388 | } |
| 389 | .merchant-side-cart-widget .product_list_widget .merchant-quantity-plus, .merchant-side-cart-widget .product_list_widget .merchant-quantity-minus { |
| 390 | color: #777777 !important; |
| 391 | background: none !important; |
| 392 | border: 1px solid #dbdbdb; |
| 393 | -webkit-box-shadow: none; |
| 394 | box-shadow: none; |
| 395 | height: 35px; |
| 396 | padding: 0; |
| 397 | text-align: center; |
| 398 | } |
| 399 | .merchant-side-cart-widget .product_list_widget .merchant-quantity-plus:focus, .merchant-side-cart-widget .product_list_widget .merchant-quantity-minus:focus { |
| 400 | outline: none; |
| 401 | -webkit-box-shadow: none; |
| 402 | box-shadow: none; |
| 403 | } |
| 404 | .merchant-side-cart-widget .product_list_widget .merchant-quantity-plus, .merchant-side-cart-widget .product_list_widget .merchant-quantity-minus { |
| 405 | display: block; |
| 406 | width: 35px; |
| 407 | border-radius: 1px; |
| 408 | cursor: pointer; |
| 409 | } |
| 410 | .merchant-side-cart-widget .product_list_widget .merchant-quantity-plus:hover, .merchant-side-cart-widget .product_list_widget .merchant-quantity-minus:hover { |
| 411 | color: #1a1a1a; |
| 412 | } |
| 413 | .merchant-side-cart-widget .product_list_widget .merchant-quantity-input { |
| 414 | width: 50px !important; |
| 415 | height: 35px !important; |
| 416 | color: #757575 !important; |
| 417 | background: none !important; |
| 418 | -webkit-box-shadow: none !important; |
| 419 | box-shadow: none !important; |
| 420 | text-align: center !important; |
| 421 | padding: 5px !important; |
| 422 | margin: 0 -1px !important; |
| 423 | border: 1px solid #dbdbdb !important; |
| 424 | border-left: 0 !important; |
| 425 | border-right: 0 !important; |
| 426 | -moz-appearance: textfield !important; |
| 427 | -webkit-appearance: textfield !important; |
| 428 | appearance: textfield !important; |
| 429 | } |
| 430 | .merchant-side-cart-widget .product_list_widget .merchant-quantity-input::-webkit-outer-spin-button, .merchant-side-cart-widget .product_list_widget .merchant-quantity-input::-webkit-inner-spin-button { |
| 431 | -webkit-appearance: none !important; |
| 432 | margin: 0 !important; |
| 433 | } |
| 434 | .merchant-side-cart-widget .product_list_widget .merchant-quantity-input:focus { |
| 435 | outline: none !important; |
| 436 | -webkit-box-shadow: none !important; |
| 437 | box-shadow: none !important; |
| 438 | } |
| 439 | .merchant-side-cart-widget .woocommerce-mini-cart__empty-message { |
| 440 | margin: 0; |
| 441 | padding: 25px 35px; |
| 442 | } |
| 443 | .merchant-side-cart-widget .woocommerce-mini-cart__total:before, |
| 444 | .merchant-side-cart-widget .woocommerce-mini-cart__subtotal:before { |
| 445 | content: ""; |
| 446 | position: absolute; |
| 447 | width: calc(100% - 60px); |
| 448 | height: 1px; |
| 449 | top: 0; |
| 450 | left: 50%; |
| 451 | -webkit-transform: translateX(-50%); |
| 452 | transform: translateX(-50%); |
| 453 | background-color: var(--mrc-fmci-side-cart-total-text-color, #212121); |
| 454 | opacity: 0.1; |
| 455 | } |
| 456 | .merchant-side-cart-widget .woocommerce-mini-cart__total, |
| 457 | .merchant-side-cart-widget .woocommerce-mini-cart__subtotal { |
| 458 | margin: 0; |
| 459 | padding: 20px 30px; |
| 460 | display: -webkit-box; |
| 461 | display: -ms-flexbox; |
| 462 | display: flex; |
| 463 | -webkit-box-pack: justify; |
| 464 | -ms-flex-pack: justify; |
| 465 | justify-content: space-between; |
| 466 | line-height: 1em; |
| 467 | border: none; |
| 468 | color: var(--mrc-fmci-side-cart-total-text-color, #212121); |
| 469 | background-color: var(--mrc-fmci-side-cart-total-background-color, #f5f5f5); |
| 470 | } |
| 471 | .merchant-side-cart-widget .woocommerce-mini-cart__total strong, |
| 472 | .merchant-side-cart-widget .woocommerce-mini-cart__subtotal strong { |
| 473 | font-weight: 400; |
| 474 | } |
| 475 | .merchant-side-cart-widget .woocommerce-mini-cart__total .woocommerce-Price-amount, |
| 476 | .merchant-side-cart-widget .woocommerce-mini-cart__subtotal .woocommerce-Price-amount { |
| 477 | color: var(--mrc-fmci-side-cart-total-text-color, #212121); |
| 478 | } |
| 479 | .merchant-side-cart-widget .woocommerce-mini-cart__total .woocommerce-Price-amount { |
| 480 | font-size: 1.125rem; |
| 481 | font-weight: 700; |
| 482 | } |
| 483 | .merchant-side-cart-widget .woocommerce-mini-cart__buttons:before { |
| 484 | content: ""; |
| 485 | position: absolute; |
| 486 | width: calc(100% - 60px); |
| 487 | height: 1px; |
| 488 | top: 0; |
| 489 | left: 50%; |
| 490 | -webkit-transform: translateX(-50%); |
| 491 | transform: translateX(-50%); |
| 492 | background-color: var(--mrc-fmci-side-cart-total-text-color, #212121); |
| 493 | opacity: 0.1; |
| 494 | } |
| 495 | .merchant-side-cart-widget .woocommerce-mini-cart__buttons { |
| 496 | position: relative; |
| 497 | margin: 0; |
| 498 | padding: 20px 30px; |
| 499 | display: -webkit-box; |
| 500 | display: -ms-flexbox; |
| 501 | display: flex; |
| 502 | grid-gap: 20px; |
| 503 | -webkit-box-orient: vertical; |
| 504 | -webkit-box-direction: reverse; |
| 505 | -ms-flex-direction: column-reverse; |
| 506 | flex-direction: column-reverse; |
| 507 | text-align: center; |
| 508 | color: var(--mrc-fmci-side-cart-total-text-color, #212121); |
| 509 | background-color: var(--mrc-fmci-side-cart-total-background-color, #f5f5f5); |
| 510 | } |
| 511 | .merchant-side-cart-widget .woocommerce-mini-cart__buttons:before { |
| 512 | content: ""; |
| 513 | position: absolute; |
| 514 | width: calc(100% - 60px); |
| 515 | height: 1px; |
| 516 | top: 0; |
| 517 | left: 50%; |
| 518 | -webkit-transform: translateX(-50%); |
| 519 | transform: translateX(-50%); |
| 520 | background-color: var(--mrc-fmci-side-cart-total-text-color, #212121); |
| 521 | opacity: 0.1; |
| 522 | } |
| 523 | .merchant-side-cart-widget .woocommerce-mini-cart__buttons .button { |
| 524 | text-decoration: none; |
| 525 | } |
| 526 | .merchant-side-cart-widget .woocommerce-mini-cart__buttons a.button.checkout { |
| 527 | width: 100%; |
| 528 | opacity: 1; |
| 529 | color: var(--mrc-fmci-side-cart-button-color, #ffffff); |
| 530 | border-color: var(--mrc-fmci-side-cart-button-border-color, #212121); |
| 531 | background-color: var(--mrc-fmci-side-cart-button-background-color, #212121); |
| 532 | } |
| 533 | .merchant-side-cart-widget .woocommerce-mini-cart__buttons a.button.checkout:hover { |
| 534 | opacity: 1; |
| 535 | color: var(--mrc-fmci-side-cart-button-color-hover, #ffffff); |
| 536 | border-color: var(--mrc-fmci-side-cart-button-border-color-hover, #313131); |
| 537 | background-color: var(--mrc-fmci-side-cart-button-background-color-hover, #313131); |
| 538 | } |
| 539 | .merchant-side-cart-widget .woocommerce-mini-cart__buttons a.button:not(.checkout) { |
| 540 | margin: 0 auto !important; |
| 541 | border: none !important; |
| 542 | padding: 0 !important; |
| 543 | background: transparent !important; |
| 544 | color: var(--mrc-fmci-side-cart-total-text-color, #212121) !important; |
| 545 | } |
| 546 | .merchant-side-cart-widget .woocommerce-mini-cart__coupon:before { |
| 547 | content: ""; |
| 548 | position: absolute; |
| 549 | width: calc(100% - 60px); |
| 550 | height: 1px; |
| 551 | top: 0; |
| 552 | left: 50%; |
| 553 | -webkit-transform: translateX(-50%); |
| 554 | transform: translateX(-50%); |
| 555 | background-color: var(--mrc-fmci-side-cart-total-text-color, #212121); |
| 556 | opacity: 0.1; |
| 557 | } |
| 558 | .merchant-side-cart-widget .woocommerce-mini-cart__coupon { |
| 559 | position: relative; |
| 560 | margin: 0; |
| 561 | padding: 20px 30px; |
| 562 | display: -webkit-box; |
| 563 | display: -ms-flexbox; |
| 564 | display: flex; |
| 565 | -webkit-box-pack: justify; |
| 566 | -ms-flex-pack: justify; |
| 567 | justify-content: space-between; |
| 568 | gap: 5px; |
| 569 | line-height: 1em; |
| 570 | border: none; |
| 571 | background-color: var(--mrc-fmci-side-cart-total-background-color, #f5f5f5); |
| 572 | } |
| 573 | .merchant-side-cart-widget .woocommerce-mini-cart__coupon input { |
| 574 | -webkit-box-flex: 1; |
| 575 | -ms-flex: 1; |
| 576 | flex: 1; |
| 577 | height: 50px; |
| 578 | padding: 10px; |
| 579 | } |
| 580 | .merchant-side-cart-widget .woocommerce-mini-cart__coupon button { |
| 581 | padding: 3px 10px; |
| 582 | line-height: 1.4; |
| 583 | white-space: nowrap; |
| 584 | } |
| 585 | .merchant-side-cart-widget .woocommerce-mini-cart__coupon .overlay { |
| 586 | position: absolute; |
| 587 | top: 0; |
| 588 | left: 0; |
| 589 | right: 0; |
| 590 | bottom: 0; |
| 591 | background-color: rgba(0, 0, 0, 0.2); |
| 592 | z-index: 1; |
| 593 | -webkit-animation: shining 3s infinite; |
| 594 | animation: shining 3s infinite; |
| 595 | visibility: hidden; |
| 596 | pointer-events: none; |
| 597 | } |
| 598 | .merchant-side-cart-widget .woocommerce-mini-cart__coupon.loading .overlay { |
| 599 | visibility: visible; |
| 600 | pointer-events: auto; |
| 601 | } |
| 602 | .merchant-side-cart-widget .woocommerce-mini-cart__cart_total:before { |
| 603 | content: ""; |
| 604 | position: absolute; |
| 605 | width: calc(100% - 60px); |
| 606 | height: 1px; |
| 607 | top: 0; |
| 608 | left: 50%; |
| 609 | -webkit-transform: translateX(-50%); |
| 610 | transform: translateX(-50%); |
| 611 | background-color: var(--mrc-fmci-side-cart-total-text-color, #212121); |
| 612 | opacity: 0.1; |
| 613 | } |
| 614 | .merchant-side-cart-widget .woocommerce-mini-cart__cart_total { |
| 615 | position: relative; |
| 616 | margin: 0; |
| 617 | padding: 20px 30px; |
| 618 | display: -webkit-box; |
| 619 | display: -ms-flexbox; |
| 620 | display: flex; |
| 621 | -webkit-box-pack: justify; |
| 622 | -ms-flex-pack: justify; |
| 623 | justify-content: space-between; |
| 624 | line-height: 1em; |
| 625 | border: none; |
| 626 | background-color: var(--mrc-fmci-side-cart-total-background-color, #f5f5f5); |
| 627 | color: var(--mrc-fmci-side-cart-total-text-color, #212121); |
| 628 | } |
| 629 | .merchant-side-cart-widget .woocommerce-mini-cart__coupons:before { |
| 630 | content: ""; |
| 631 | position: absolute; |
| 632 | width: calc(100% - 60px); |
| 633 | height: 1px; |
| 634 | top: 0; |
| 635 | left: 50%; |
| 636 | -webkit-transform: translateX(-50%); |
| 637 | transform: translateX(-50%); |
| 638 | background-color: var(--mrc-fmci-side-cart-total-text-color, #212121); |
| 639 | opacity: 0.1; |
| 640 | } |
| 641 | .merchant-side-cart-widget .woocommerce-mini-cart__coupons { |
| 642 | position: relative; |
| 643 | margin: 0; |
| 644 | padding: 20px 30px; |
| 645 | display: -webkit-box; |
| 646 | display: -ms-flexbox; |
| 647 | display: flex; |
| 648 | -webkit-box-pack: justify; |
| 649 | -ms-flex-pack: justify; |
| 650 | justify-content: space-between; |
| 651 | background-color: var(--mrc-fmci-side-cart-total-background-color, #f5f5f5); |
| 652 | color: var(--mrc-fmci-side-cart-total-text-color, #212121); |
| 653 | } |
| 654 | .merchant-side-cart-widget .woocommerce-mini-cart__coupons a { |
| 655 | color: var(--mrc-fmci-side-cart-total-text-color, #212121); |
| 656 | } |
| 657 | |
| 658 | @-webkit-keyframes shining { |
| 659 | 0% { |
| 660 | background-color: rgba(0, 0, 0, 0.2); |
| 661 | } |
| 662 | 50% { |
| 663 | background-color: rgba(0, 0, 0, 0.3); |
| 664 | } |
| 665 | 100% { |
| 666 | background-color: rgba(0, 0, 0, 0.2); |
| 667 | } |
| 668 | } |
| 669 | |
| 670 | @keyframes shining { |
| 671 | 0% { |
| 672 | background-color: rgba(0, 0, 0, 0.2); |
| 673 | } |
| 674 | 50% { |
| 675 | background-color: rgba(0, 0, 0, 0.3); |
| 676 | } |
| 677 | 100% { |
| 678 | background-color: rgba(0, 0, 0, 0.2); |
| 679 | } |
| 680 | } |
| 681 | .rtl .merchant-side-cart-widget .product_list_widget li a.remove { |
| 682 | left: unset; |
| 683 | right: -8px; |
| 684 | } |
| 685 | |
| 686 | .merchant-side-cart-widget-title { |
| 687 | font-size: 22px; |
| 688 | line-height: 33px; |
| 689 | padding: 13px 35px; |
| 690 | margin: 0; |
| 691 | height: 58px; |
| 692 | color: var(--mrc-fmci-side-cart-title-color, #212121); |
| 693 | background-color: var(--mrc-fmci-side-cart-title-background-color, #cccccc); |
| 694 | } |
| 695 | |
| 696 | .merchant-side-cart-widget > .widget_shopping_cart_content, |
| 697 | .merchant-side-cart-widget > .merchant_widget_shopping_cart_content { |
| 698 | height: calc(100% - 58px); |
| 699 | display: -webkit-box; |
| 700 | display: -ms-flexbox; |
| 701 | display: flex; |
| 702 | -webkit-box-orient: vertical; |
| 703 | -webkit-box-direction: normal; |
| 704 | -ms-flex-direction: column; |
| 705 | flex-direction: column; |
| 706 | } |
| 707 | |
| 708 | .merchant-side-cart-close-button { |
| 709 | position: absolute; |
| 710 | z-index: 10; |
| 711 | top: 20px; |
| 712 | right: 30px; |
| 713 | font-size: 16px; |
| 714 | display: -webkit-box; |
| 715 | display: -ms-flexbox; |
| 716 | display: flex; |
| 717 | } |
| 718 | .merchant-side-cart-close-button svg { |
| 719 | width: 16px; |
| 720 | height: 16px; |
| 721 | fill: var(--mrc-fmci-side-cart-title-icon-color, #212121); |
| 722 | } |
| 723 | .merchant-side-cart-close-button svg path { |
| 724 | -webkit-transform: scale(0.75); |
| 725 | transform: scale(0.75); |
| 726 | } |
| 727 | |
| 728 | .merchant-side-cart-show { |
| 729 | overflow: hidden; |
| 730 | } |
| 731 | .merchant-side-cart-show .merchant-side-cart-overlay { |
| 732 | opacity: 0.5; |
| 733 | visibility: visible; |
| 734 | pointer-events: auto; |
| 735 | } |
| 736 | .merchant-side-cart-show .merchant-side-cart { |
| 737 | -webkit-transform: none; |
| 738 | transform: none; |
| 739 | } |
| 740 | |
| 741 | .merchant-mini-cart-upsell-wrap .component-title { |
| 742 | font-size: 18px; |
| 743 | text-align: center; |
| 744 | margin-top: 0; |
| 745 | font-weight: 700; |
| 746 | margin-block: 0 15px; |
| 747 | } |
| 748 | .merchant-mini-cart-upsell-wrap .merchant-mini-cart-upsell-item-wrap { |
| 749 | margin-bottom: 30px; |
| 750 | } |
| 751 | .merchant-mini-cart-upsell-wrap .merchant-mini-cart-upsell-item-wrap:last-child { |
| 752 | margin-bottom: 0; |
| 753 | } |
| 754 | .merchant-mini-cart-upsell-wrap .merchant-mini-cart-upsell-item-wrap .column-container { |
| 755 | display: -webkit-box; |
| 756 | display: -ms-flexbox; |
| 757 | display: flex; |
| 758 | -webkit-box-pack: justify; |
| 759 | -ms-flex-pack: justify; |
| 760 | justify-content: space-between; |
| 761 | -webkit-box-align: center; |
| 762 | -ms-flex-align: center; |
| 763 | align-items: center; |
| 764 | gap: 15px; |
| 765 | } |
| 766 | .merchant-mini-cart-upsell-wrap .merchant-mini-cart-upsell-item-wrap .column-container .column { |
| 767 | -webkit-box-flex: 1; |
| 768 | -ms-flex: 1; |
| 769 | flex: 1; |
| 770 | } |
| 771 | .merchant-mini-cart-upsell-wrap .merchant-mini-cart-upsell-item-wrap .column-container .column-left { |
| 772 | text-align: left; |
| 773 | } |
| 774 | .merchant-mini-cart-upsell-wrap .merchant-mini-cart-upsell-item-wrap .column-container .column-middle { |
| 775 | -webkit-box-flex: 2; |
| 776 | -ms-flex: 2; |
| 777 | flex: 2; |
| 778 | margin: 0 auto; |
| 779 | } |
| 780 | .merchant-mini-cart-upsell-wrap .merchant-mini-cart-upsell-item-wrap .column-container .column-right { |
| 781 | text-align: right; |
| 782 | } |
| 783 | .merchant-mini-cart-upsell-wrap .merchant-mini-cart-upsell-item-wrap .product-price { |
| 784 | font-size: 14px; |
| 785 | font-weight: 600; |
| 786 | } |
| 787 | .merchant-mini-cart-upsell-wrap .merchant-mini-cart-upsell-item-wrap .add-to-cart-wrap .rebuy-button { |
| 788 | padding: 2px 12px; |
| 789 | } |
| 790 | .merchant-mini-cart-upsell-wrap .merchant-mini-cart-upsell-item-wrap .product-variations { |
| 791 | margin-top: 10px; |
| 792 | position: relative; |
| 793 | } |
| 794 | .merchant-mini-cart-upsell-wrap .merchant-mini-cart-upsell-item-wrap .product-variations .product-attribute { |
| 795 | margin-bottom: 10px; |
| 796 | } |
| 797 | .merchant-mini-cart-upsell-wrap .merchant-mini-cart-upsell-item-wrap .product-variations .product-attribute .variation-selector { |
| 798 | padding: 5px 10px; |
| 799 | min-height: 20px; |
| 800 | font-size: 13px; |
| 801 | } |
| 802 | .merchant-mini-cart-upsell-wrap .merchant-mini-cart-upsell-item-wrap .upsell-variation-message { |
| 803 | display: none; |
| 804 | margin-top: 8px; |
| 805 | padding: 6px 10px; |
| 806 | font-size: 12px; |
| 807 | line-height: 1.4; |
| 808 | color: #cc0000; |
| 809 | background-color: #fff0f0; |
| 810 | border-radius: 3px; |
| 811 | } |
| 812 | .merchant-mini-cart-upsell-wrap .slick-arrow { |
| 813 | position: absolute; |
| 814 | top: 20px; |
| 815 | border: none; |
| 816 | opacity: 0.3; |
| 817 | -webkit-transition: 300ms; |
| 818 | transition: 300ms; |
| 819 | background-image: url(../../../images/arrow-2.svg); |
| 820 | background-position: center; |
| 821 | background-size: 40px; |
| 822 | padding: 5px; |
| 823 | border-radius: 50%; |
| 824 | width: 25px; |
| 825 | height: 25px; |
| 826 | font-size: 0; |
| 827 | } |
| 828 | .merchant-mini-cart-upsell-wrap .slick-arrow:hover { |
| 829 | opacity: 1; |
| 830 | } |
| 831 | @media (max-width: 768px) { |
| 832 | .merchant-mini-cart-upsell-wrap .slick-arrow { |
| 833 | opacity: 1; |
| 834 | } |
| 835 | } |
| 836 | .merchant-mini-cart-upsell-wrap .slick-arrow.slick-prev { |
| 837 | left: -30px; |
| 838 | -webkit-transform: rotate(270deg); |
| 839 | transform: rotate(270deg); |
| 840 | } |
| 841 | .merchant-mini-cart-upsell-wrap .slick-arrow.slick-next { |
| 842 | right: -30px; |
| 843 | -webkit-transform: rotate(90deg); |
| 844 | transform: rotate(90deg); |
| 845 | } |
| 846 | |
| 847 | .merchant-upsell-widget { |
| 848 | display: none !important; |
| 849 | } |
| 850 | |
| 851 | .merchant-side-cart-body .merchant-upsell-widget { |
| 852 | display: block !important; |
| 853 | } |
| 854 | |
| 855 | .rtl .merchant-side-cart .merchant-side-cart-close-button { |
| 856 | left: 30px; |
| 857 | right: auto; |
| 858 | } |
| 859 | .rtl .merchant-side-cart .woocommerce-mini-cart-item img { |
| 860 | margin-left: 8px; |
| 861 | margin-right: unset; |
| 862 | } |
| 863 | .rtl .merchant-side-cart li > a:not(.remove) { |
| 864 | margin-right: unset; |
| 865 | margin-left: 20px; |
| 866 | } |