| @@ -11,46 +11,42 @@ | ||
| 11 | 11 | justify-content: center !important; |
| 12 | 12 | -webkit-box-align: center !important; |
| 13 | 13 | -ms-flex-align: center !important; |
| 14 | 14 | align-items: center !important; |
| 15 | - -webkit-transition: all .2s; | |
| 16 | - transition: all .2s; | |
| 17 | - text-decoration: none; | |
| 15 | + -webkit-transition: all 0.2s; | |
| 16 | + transition: all 0.2s; | |
| 17 | + text-decoration: none !important; | |
| 18 | 18 | -ms-flex-item-align: start; |
| 19 | 19 | align-self: flex-start; |
| 20 | 20 | color: var(--mrc-qv-button-text-color, #FFF) !important; |
| 21 | + border-width: 1px; | |
| 22 | + border-style: solid; | |
| 21 | 23 | border-color: var(--mrc-qv-button-border-color, #212121) !important; |
| 22 | 24 | background-color: var(--mrc-qv-button-bg-color, #212121) !important; |
| 23 | - transition: all .2s; | |
| 25 | + transition: all 0.2s; | |
| 24 | 26 | } |
| 25 | - | |
| 26 | 27 | .woocommerce .product .merchant-quick-view-button svg + span { |
| 27 | 28 | display: inline-block; |
| 28 | 29 | margin-left: 8px; |
| 29 | 30 | } |
| 30 | - | |
| 31 | 31 | .woocommerce .product .merchant-quick-view-button svg { |
| 32 | 32 | width: 1em; |
| 33 | 33 | height: 1em; |
| 34 | 34 | fill: var(--mrc-qv-button-icon-color, #FFF) !important; |
| 35 | - -webkit-transition: all .2s; | |
| 36 | - transition: all .2s; | |
| 35 | + -webkit-transition: all 0.2s; | |
| 36 | + transition: all 0.2s; | |
| 37 | 37 | } |
| 38 | - | |
| 39 | 38 | .woocommerce .product .merchant-quick-view-button svg path { |
| 40 | 39 | fill: var(--mrc-qv-button-icon-color, #FFF) !important; |
| 41 | 40 | } |
| 42 | - | |
| 43 | 41 | .woocommerce .product .merchant-quick-view-button:hover { |
| 44 | - color: var(--mrc-qv-button-color-hover, #FFF) !important; | |
| 42 | + color: var(--mrc-qv-button-text-color-hover, #FFF) !important; | |
| 45 | 43 | border-color: var(--mrc-qv-button-border-color-hover, #414141) !important; |
| 46 | 44 | background-color: var(--mrc-qv-button-bg-color-hover, #414141) !important; |
| 47 | 45 | } |
| 48 | - | |
| 49 | 46 | .woocommerce .product .merchant-quick-view-button:hover svg { |
| 50 | 47 | fill: var(--mrc-qv-button-icon-color-hover, #FFF) !important; |
| 51 | 48 | } |
| 52 | - | |
| 53 | 49 | .woocommerce .product .merchant-quick-view-button:hover svg path { |
| 54 | 50 | fill: var(--mrc-qv-button-icon-color-hover, #FFF) !important; |
| 55 | 51 | } |
| 56 | 52 | |
| @@ -56,23 +52,29 @@ | ||
| 56 | 52 | |
| 57 | 53 | .products .product { |
| 58 | 54 | position: relative; |
| 59 | 55 | } |
| 60 | - | |
| 61 | 56 | .products .product .merchant-quick-view-position-overlay { |
| 62 | 57 | position: absolute; |
| 63 | 58 | z-index: 10; |
| 59 | + margin: 0 !important; | |
| 60 | + white-space: nowrap !important; | |
| 61 | + opacity: 0; | |
| 62 | + -webkit-transition: all 0.2s; | |
| 63 | + transition: all 0.2s; | |
| 64 | 64 | top: var(--mrc-qv-button-position-top, 50%); |
| 65 | 65 | left: var(--mrc-qv-button-position-left, 50%); |
| 66 | - -webkit-transform: translate(calc(var(--mrc-qv-button-position-top, 50%) * -1), calc(var(--mrc-qv-button-position-left, 50%) * -1)); | |
| 67 | - transform: translate(calc(var(--mrc-qv-button-position-top, 50%) * -1), calc(var(--mrc-qv-button-position-left, 50%) * -1)); | |
| 68 | - margin: 0; | |
| 69 | - white-space: nowrap !important; | |
| 70 | - opacity: 0; | |
| 71 | - -webkit-transition: all .2s; | |
| 72 | - transition: all .2s; | |
| 66 | + -webkit-transform: translate(calc(var(--mrc-qv-button-position-top, 50%) * -1), calc(var(--mrc-qv-button-position-left, 50%) * -1)) !important; | |
| 67 | + transform: translate(calc(var(--mrc-qv-button-position-top, 50%) * -1), calc(var(--mrc-qv-button-position-left, 50%) * -1)) !important; | |
| 73 | 68 | } |
| 74 | - | |
| 69 | +@media (max-width: 768px) { | |
| 70 | + .products .product .merchant-quick-view-position-overlay.merchant-quick-view-position-has-mobile-position { | |
| 71 | + top: var(--mrc-qv-button-position-top-mobile, 50%); | |
| 72 | + left: var(--mrc-qv-button-position-left-mobile, 50%); | |
| 73 | + -webkit-transform: translate(calc(var(--mrc-qv-button-position-top-mobile, 50%) * -1), calc(var(--mrc-qv-button-position-left-mobile, 50%) * -1)) !important; | |
| 74 | + transform: translate(calc(var(--mrc-qv-button-position-top-mobile, 50%) * -1), calc(var(--mrc-qv-button-position-left-mobile, 50%) * -1)) !important; | |
| 75 | + } | |
| 76 | +} | |
| 75 | 77 | .products .product:hover .merchant-quick-view-position-overlay { |
| 76 | 78 | opacity: 1; |
| 77 | 79 | } |
| 78 | 80 | |
| @@ -94,23 +96,33 @@ | ||
| 94 | 96 | justify-content: center; |
| 95 | 97 | opacity: 0; |
| 96 | 98 | visibility: hidden; |
| 97 | 99 | pointer-events: none; |
| 98 | - -webkit-transition: all .3s ease; | |
| 99 | - transition: all .3s ease; | |
| 100 | + -webkit-transition: all 0.3s ease; | |
| 101 | + transition: all 0.3s ease; | |
| 100 | 102 | } |
| 101 | - | |
| 102 | 103 | .merchant-quick-view-modal.merchant-show { |
| 103 | 104 | opacity: 1; |
| 104 | 105 | visibility: visible; |
| 105 | 106 | pointer-events: auto; |
| 106 | 107 | } |
| 107 | - | |
| 108 | 108 | .merchant-quick-view-modal.merchant-loading .merchant-quick-view-loader { |
| 109 | 109 | opacity: 1; |
| 110 | 110 | visibility: visible; |
| 111 | 111 | } |
| 112 | +.merchant-quick-view-modal .merchant-freespb-wrapper { | |
| 113 | + display: none; | |
| 114 | +} | |
| 112 | 115 | |
| 116 | +body.admin-bar .merchant-quick-view-modal { | |
| 117 | + top: 32px; | |
| 118 | +} | |
| 119 | +@media (max-width: 782px) { | |
| 120 | + body.admin-bar .merchant-quick-view-modal { | |
| 121 | + top: 46px; | |
| 122 | + } | |
| 123 | +} | |
| 124 | + | |
| 113 | 125 | .merchant-quick-view-overlay { |
| 114 | 126 | position: absolute; |
| 115 | 127 | z-index: 1; |
| 116 | 128 | top: 0; |
| @@ -121,23 +133,26 @@ | ||
| 121 | 133 | } |
| 122 | 134 | |
| 123 | 135 | .merchant-quick-view-loader { |
| 124 | 136 | position: absolute; |
| 125 | - z-index: 2; | |
| 137 | + top: 50%; | |
| 138 | + right: 50%; | |
| 139 | + -webkit-transform: translate(50%, -50%); | |
| 140 | + transform: translate(50%, -50%); | |
| 141 | + z-index: 5; | |
| 126 | 142 | display: -webkit-box; |
| 127 | 143 | display: -ms-flexbox; |
| 128 | 144 | display: flex; |
| 129 | 145 | font-size: 26px; |
| 130 | - -webkit-animation: merchant-fa-spin .75s linear infinite; | |
| 131 | - animation: merchant-fa-spin .75s linear infinite; | |
| 132 | 146 | opacity: 0; |
| 133 | 147 | visibility: hidden; |
| 134 | 148 | } |
| 135 | - | |
| 136 | 149 | .merchant-quick-view-loader svg { |
| 137 | 150 | width: 1em; |
| 138 | 151 | height: 1em; |
| 139 | - fill: #fff; | |
| 152 | + fill: #212121; | |
| 153 | + -webkit-animation: merchant-fa-spin 0.75s linear infinite; | |
| 154 | + animation: merchant-fa-spin 0.75s linear infinite; | |
| 140 | 155 | } |
| 141 | 156 | |
| 142 | 157 | .merchant-quick-view-inner { |
| 143 | 158 | position: relative; |
| @@ -142,8 +157,9 @@ | ||
| 142 | 157 | .merchant-quick-view-inner { |
| 143 | 158 | position: relative; |
| 144 | 159 | z-index: 3; |
| 145 | 160 | width: var(--mrc-qv-modal-width, 1000px); |
| 161 | + min-height: var(--mrc-qv-modal-height, 500px); | |
| 146 | 162 | max-height: var(--mrc-qv-modal-height, 500px); |
| 147 | 163 | max-width: 90vw; |
| 148 | 164 | padding: 35px; |
| 149 | 165 | background-color: #FFF; |
| @@ -148,12 +164,11 @@ | ||
| 148 | 164 | padding: 35px; |
| 149 | 165 | background-color: #FFF; |
| 150 | 166 | opacity: 0; |
| 151 | 167 | visibility: hidden; |
| 152 | - -webkit-transition: opacity .3s ease, visibility .3s ease; | |
| 153 | - transition: opacity .3s ease, visibility .3s ease; | |
| 168 | + -webkit-transition: opacity 0.3s ease, visibility 0.3s ease; | |
| 169 | + transition: opacity 0.3s ease, visibility 0.3s ease; | |
| 154 | 170 | } |
| 155 | - | |
| 156 | 171 | .merchant-quick-view-inner.merchant-show { |
| 157 | 172 | opacity: 1; |
| 158 | 173 | visibility: visible; |
| 159 | 174 | } |
| @@ -175,9 +190,8 @@ | ||
| 175 | 190 | -webkit-box-pack: center; |
| 176 | 191 | -ms-flex-pack: center; |
| 177 | 192 | justify-content: center; |
| 178 | 193 | } |
| 179 | - | |
| 180 | 194 | .merchant-quick-view-close-button svg { |
| 181 | 195 | width: 1em; |
| 182 | 196 | height: 1em; |
| 183 | 197 | fill: #fff; |
| @@ -182,8 +196,219 @@ | ||
| 182 | 196 | height: 1em; |
| 183 | 197 | fill: #fff; |
| 184 | 198 | } |
| 185 | 199 | |
| 200 | +.merchant-quick-view-layout-side-panel { | |
| 201 | + -webkit-box-align: stretch !important; | |
| 202 | + -ms-flex-align: stretch !important; | |
| 203 | + align-items: stretch !important; | |
| 204 | + -webkit-box-pack: end !important; | |
| 205 | + -ms-flex-pack: end !important; | |
| 206 | + justify-content: flex-end !important; | |
| 207 | +} | |
| 208 | +.merchant-quick-view-layout-side-panel .merchant-quick-view-inner { | |
| 209 | + width: var(--mrc-qv-panel-width, 420px); | |
| 210 | + max-width: 90vw; | |
| 211 | + height: 100vh; | |
| 212 | + max-height: 100vh; | |
| 213 | + margin: 0; | |
| 214 | + overflow-y: auto; | |
| 215 | + display: -webkit-box; | |
| 216 | + display: -ms-flexbox; | |
| 217 | + display: flex; | |
| 218 | + -webkit-box-orient: vertical; | |
| 219 | + -webkit-box-direction: normal; | |
| 220 | + -ms-flex-direction: column; | |
| 221 | + flex-direction: column; | |
| 222 | + -webkit-transform: translateX(100%); | |
| 223 | + transform: translateX(100%); | |
| 224 | + -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease; | |
| 225 | + transition: opacity 0.3s ease, -webkit-transform 0.3s ease; | |
| 226 | + transition: transform 0.3s ease, opacity 0.3s ease; | |
| 227 | + transition: transform 0.3s ease, opacity 0.3s ease, -webkit-transform 0.3s ease; | |
| 228 | +} | |
| 229 | +.merchant-quick-view-layout-side-panel .merchant-quick-view-inner.merchant-show { | |
| 230 | + -webkit-transform: translateX(0); | |
| 231 | + transform: translateX(0); | |
| 232 | +} | |
| 233 | +.merchant-quick-view-layout-side-panel .merchant-quick-view-header { | |
| 234 | + -webkit-box-flex: 0; | |
| 235 | + -ms-flex: none; | |
| 236 | + flex: none; | |
| 237 | + display: -webkit-box; | |
| 238 | + display: -ms-flexbox; | |
| 239 | + display: flex; | |
| 240 | + -webkit-box-align: center; | |
| 241 | + -ms-flex-align: center; | |
| 242 | + align-items: center; | |
| 243 | + -webkit-box-pack: end; | |
| 244 | + -ms-flex-pack: end; | |
| 245 | + justify-content: flex-end; | |
| 246 | + gap: 10px; | |
| 247 | + padding-bottom: 15px; | |
| 248 | + margin-bottom: 15px; | |
| 249 | + border-bottom: 1px solid #eee; | |
| 250 | +} | |
| 251 | +.merchant-quick-view-layout-side-panel .merchant-quick-view-content { | |
| 252 | + display: -webkit-box; | |
| 253 | + display: -ms-flexbox; | |
| 254 | + display: flex; | |
| 255 | + -webkit-box-orient: vertical; | |
| 256 | + -webkit-box-direction: normal; | |
| 257 | + -ms-flex-direction: column; | |
| 258 | + flex-direction: column; | |
| 259 | + -webkit-box-flex: 1; | |
| 260 | + -ms-flex: 1; | |
| 261 | + flex: 1; | |
| 262 | + min-height: 0; | |
| 263 | +} | |
| 264 | +.merchant-quick-view-layout-side-panel .merchant-quick-view-content > div { | |
| 265 | + display: -webkit-box; | |
| 266 | + display: -ms-flexbox; | |
| 267 | + display: flex; | |
| 268 | + -webkit-box-orient: vertical; | |
| 269 | + -webkit-box-direction: normal; | |
| 270 | + -ms-flex-direction: column; | |
| 271 | + flex-direction: column; | |
| 272 | + -webkit-box-flex: 1; | |
| 273 | + -ms-flex: 1; | |
| 274 | + flex: 1; | |
| 275 | + min-height: 0; | |
| 276 | +} | |
| 277 | +.merchant-quick-view-layout-side-panel .merchant-quick-view-row { | |
| 278 | + -webkit-box-orient: vertical; | |
| 279 | + -webkit-box-direction: normal; | |
| 280 | + -ms-flex-direction: column; | |
| 281 | + flex-direction: column; | |
| 282 | + -webkit-box-flex: 1; | |
| 283 | + -ms-flex: 1; | |
| 284 | + flex: 1; | |
| 285 | + min-height: 0; | |
| 286 | +} | |
| 287 | +.merchant-quick-view-layout-side-panel .merchant-quick-view-column { | |
| 288 | + -webkit-box-flex: 0; | |
| 289 | + -ms-flex: none; | |
| 290 | + flex: none; | |
| 291 | + width: 100%; | |
| 292 | +} | |
| 293 | +.merchant-quick-view-layout-side-panel .merchant-quick-view-column:last-child { | |
| 294 | + display: -webkit-box; | |
| 295 | + display: -ms-flexbox; | |
| 296 | + display: flex; | |
| 297 | + -webkit-box-orient: vertical; | |
| 298 | + -webkit-box-direction: normal; | |
| 299 | + -ms-flex-direction: column; | |
| 300 | + flex-direction: column; | |
| 301 | + -webkit-box-flex: 1; | |
| 302 | + -ms-flex: 1; | |
| 303 | + flex: 1; | |
| 304 | + min-height: 0; | |
| 305 | +} | |
| 306 | +.merchant-quick-view-layout-side-panel .merchant-quick-view-summary { | |
| 307 | + -webkit-box-flex: 1; | |
| 308 | + -ms-flex: 1; | |
| 309 | + flex: 1; | |
| 310 | + min-height: 0; | |
| 311 | + max-height: none; | |
| 312 | + overflow-y: auto; | |
| 313 | +} | |
| 314 | +.merchant-quick-view-layout-side-panel .merchant-quick-view-close-button, | |
| 315 | +.merchant-quick-view-layout-side-panel .merchant-quick-view-nav-prev, | |
| 316 | +.merchant-quick-view-layout-side-panel .merchant-quick-view-nav-next { | |
| 317 | + position: relative; | |
| 318 | + top: 0; | |
| 319 | + left: 0; | |
| 320 | + right: 0; | |
| 321 | + -webkit-transform: none; | |
| 322 | + transform: none; | |
| 323 | + width: 30px; | |
| 324 | + height: 30px; | |
| 325 | + background-color: transparent; | |
| 326 | + border-radius: 6px; | |
| 327 | + -webkit-transition: background-color 0.15s ease; | |
| 328 | + transition: background-color 0.15s ease; | |
| 329 | +} | |
| 330 | +.merchant-quick-view-layout-side-panel .merchant-quick-view-close-button svg, | |
| 331 | +.merchant-quick-view-layout-side-panel .merchant-quick-view-nav-prev svg, | |
| 332 | +.merchant-quick-view-layout-side-panel .merchant-quick-view-nav-next svg { | |
| 333 | + width: 18px; | |
| 334 | + height: 18px; | |
| 335 | + fill: #212121; | |
| 336 | +} | |
| 337 | +.merchant-quick-view-layout-side-panel .merchant-quick-view-close-button:hover, | |
| 338 | +.merchant-quick-view-layout-side-panel .merchant-quick-view-nav-prev:hover, | |
| 339 | +.merchant-quick-view-layout-side-panel .merchant-quick-view-nav-next:hover { | |
| 340 | + background-color: #f5f5f5; | |
| 341 | +} | |
| 342 | +.merchant-quick-view-layout-side-panel .merchant-quick-view-nav-next { | |
| 343 | + margin-right: auto; | |
| 344 | +} | |
| 345 | + | |
| 346 | +body.admin-bar .merchant-quick-view-layout-side-panel .merchant-quick-view-inner { | |
| 347 | + height: calc(100vh - 32px); | |
| 348 | +} | |
| 349 | +@media (max-width: 782px) { | |
| 350 | + body.admin-bar .merchant-quick-view-layout-side-panel .merchant-quick-view-inner { | |
| 351 | + height: calc(100vh - 46px); | |
| 352 | + } | |
| 353 | +} | |
| 354 | + | |
| 355 | +.merchant-quick-view-nav-prev, | |
| 356 | +.merchant-quick-view-nav-next { | |
| 357 | + position: absolute; | |
| 358 | + z-index: 4; | |
| 359 | + top: 50%; | |
| 360 | + -webkit-transform: translateY(-50%); | |
| 361 | + transform: translateY(-50%); | |
| 362 | + width: 48px; | |
| 363 | + height: 48px; | |
| 364 | + display: none; | |
| 365 | + -webkit-box-align: center; | |
| 366 | + -ms-flex-align: center; | |
| 367 | + align-items: center; | |
| 368 | + -webkit-box-pack: center; | |
| 369 | + -ms-flex-pack: center; | |
| 370 | + justify-content: center; | |
| 371 | + background-color: rgba(255, 255, 255, 0.1); | |
| 372 | + border-radius: 50%; | |
| 373 | + -webkit-transition: background-color 0.2s; | |
| 374 | + transition: background-color 0.2s; | |
| 375 | +} | |
| 376 | +.merchant-quick-view-nav-prev.merchant-quick-view-nav-visible, | |
| 377 | +.merchant-quick-view-nav-next.merchant-quick-view-nav-visible { | |
| 378 | + display: -webkit-box; | |
| 379 | + display: -ms-flexbox; | |
| 380 | + display: flex; | |
| 381 | +} | |
| 382 | +.merchant-quick-view-nav-prev svg, | |
| 383 | +.merchant-quick-view-nav-next svg { | |
| 384 | + width: 24px; | |
| 385 | + height: 24px; | |
| 386 | + fill: #fff; | |
| 387 | +} | |
| 388 | +.merchant-quick-view-nav-prev:hover, | |
| 389 | +.merchant-quick-view-nav-next:hover { | |
| 390 | + background-color: rgba(255, 255, 255, 0.2); | |
| 391 | +} | |
| 392 | + | |
| 393 | +.merchant-quick-view-nav-prev { | |
| 394 | + left: -65px; | |
| 395 | +} | |
| 396 | +@media (max-width: 768px) { | |
| 397 | + .merchant-quick-view-nav-prev { | |
| 398 | + left: 10px; | |
| 399 | + } | |
| 400 | +} | |
| 401 | + | |
| 402 | +.merchant-quick-view-nav-next { | |
| 403 | + right: -65px; | |
| 404 | +} | |
| 405 | +@media (max-width: 768px) { | |
| 406 | + .merchant-quick-view-nav-next { | |
| 407 | + right: 10px; | |
| 408 | + } | |
| 409 | +} | |
| 410 | + | |
| 186 | 411 | @-webkit-keyframes merchant-fa-spin { |
| 187 | 412 | 0% { |
| 188 | 413 | -webkit-transform: rotate(0deg); |
| 189 | 414 | transform: rotate(0deg); |
| @@ -203,9 +428,8 @@ | ||
| 203 | 428 | -webkit-transform: rotate(1turn); |
| 204 | 429 | transform: rotate(1turn); |
| 205 | 430 | } |
| 206 | 431 | } |
| 207 | - | |
| 208 | 432 | .merchant-quick-view-row { |
| 209 | 433 | display: -webkit-box; |
| 210 | 434 | display: -ms-flexbox; |
| 211 | 435 | display: flex; |
| @@ -221,13 +445,11 @@ | ||
| 221 | 445 | |
| 222 | 446 | .merchant-quick-view-product-gallery .woocommerce-product-gallery__image { |
| 223 | 447 | max-height: calc(var(--mrc-qv-modal-height, 500px) - 70px); |
| 224 | 448 | } |
| 225 | - | |
| 226 | 449 | .merchant-quick-view-product-gallery .woocommerce-product-gallery__image img { |
| 227 | 450 | max-height: calc(var(--mrc-qv-modal-height, 500px) - 70px); |
| 228 | 451 | } |
| 229 | - | |
| 230 | 452 | .merchant-quick-view-product-gallery .woocommerce-product-gallery { |
| 231 | 453 | width: 100% !important; |
| 232 | 454 | float: none !important; |
| 233 | 455 | margin: 0 !important; |
| @@ -235,23 +457,19 @@ | ||
| 235 | 457 | |
| 236 | 458 | .merchant-quick-view-product-gallery .flex-control-thumbs::-webkit-scrollbar { |
| 237 | 459 | width: 6px; |
| 238 | 460 | } |
| 239 | - | |
| 240 | 461 | .merchant-quick-view-product-gallery .flex-control-thumbs::-webkit-scrollbar-track { |
| 241 | 462 | background: #ddd; |
| 242 | 463 | border-radius: 6px; |
| 243 | 464 | } |
| 244 | - | |
| 245 | 465 | .merchant-quick-view-product-gallery .flex-control-thumbs::-webkit-scrollbar-thumb { |
| 246 | 466 | background: #999; |
| 247 | 467 | border-radius: 6px; |
| 248 | 468 | } |
| 249 | - | |
| 250 | 469 | .merchant-quick-view-product-gallery .flex-control-thumbs::-webkit-scrollbar-thumb:hover { |
| 251 | 470 | background: #000; |
| 252 | 471 | } |
| 253 | - | |
| 254 | 472 | .merchant-quick-view-product-gallery .flex-control-thumbs li { |
| 255 | 473 | display: -webkit-box !important; |
| 256 | 474 | display: -ms-flexbox !important; |
| 257 | 475 | display: flex !important; |
| @@ -257,9 +475,8 @@ | ||
| 257 | 475 | display: flex !important; |
| 258 | 476 | margin: 0 !important; |
| 259 | 477 | width: auto !important; |
| 260 | 478 | } |
| 261 | - | |
| 262 | 479 | .merchant-quick-view-product-gallery .flex-control-thumbs li img { |
| 263 | 480 | width: 60px !important; |
| 264 | 481 | } |
| 265 | 482 | |
| @@ -272,9 +489,8 @@ | ||
| 272 | 489 | -webkit-box-direction: reverse !important; |
| 273 | 490 | -ms-flex-direction: row-reverse !important; |
| 274 | 491 | flex-direction: row-reverse !important; |
| 275 | 492 | } |
| 276 | - | |
| 277 | 493 | .merchant-quick-view-thumbs-at-left .woocommerce-product-gallery .flex-control-thumbs { |
| 278 | 494 | padding-right: 5px !important; |
| 279 | 495 | -ms-flex-negative: 0 !important; |
| 280 | 496 | flex-shrink: 0 !important; |
| @@ -295,14 +511,16 @@ | ||
| 295 | 511 | display: -webkit-box !important; |
| 296 | 512 | display: -ms-flexbox !important; |
| 297 | 513 | display: flex !important; |
| 298 | 514 | grid-gap: 5px !important; |
| 515 | + -webkit-box-orient: horizontal; | |
| 516 | + -webkit-box-direction: normal; | |
| 517 | + -ms-flex-direction: row; | |
| 518 | + flex-direction: row; | |
| 299 | 519 | } |
| 300 | - | |
| 301 | 520 | .merchant-quick-view-thumbs-at-right .woocommerce-product-gallery .woocommerce-product-gallery__trigger { |
| 302 | 521 | display: none !important; |
| 303 | 522 | } |
| 304 | - | |
| 305 | 523 | .merchant-quick-view-thumbs-at-right .woocommerce-product-gallery .flex-control-thumbs { |
| 306 | 524 | padding-right: 5px !important; |
| 307 | 525 | -ms-flex-negative: 0 !important; |
| 308 | 526 | flex-shrink: 0 !important; |
| @@ -329,9 +547,8 @@ | ||
| 329 | 547 | -ms-flex-direction: column !important; |
| 330 | 548 | flex-direction: column !important; |
| 331 | 549 | max-height: calc(var(--mrc-qv-modal-height, 500px) - 70px) !important; |
| 332 | 550 | } |
| 333 | - | |
| 334 | 551 | .merchant-quick-view-thumbs-at-bottom .woocommerce-product-gallery .flex-control-thumbs { |
| 335 | 552 | -ms-flex-negative: 0 !important; |
| 336 | 553 | flex-shrink: 0 !important; |
| 337 | 554 | display: -webkit-box !important; |
| @@ -346,8 +563,10 @@ | ||
| 346 | 563 | .merchant-quick-view-summary { |
| 347 | 564 | display: -webkit-box; |
| 348 | 565 | display: -ms-flexbox; |
| 349 | 566 | display: flex; |
| 567 | + -ms-flex-wrap: nowrap; | |
| 568 | + flex-wrap: nowrap; | |
| 350 | 569 | grid-gap: 10px; |
| 351 | 570 | -webkit-box-orient: vertical; |
| 352 | 571 | -webkit-box-direction: normal; |
| 353 | 572 | -ms-flex-direction: column; |
| @@ -356,26 +575,28 @@ | ||
| 356 | 575 | overflow-y: auto; |
| 357 | 576 | padding-right: 12px; |
| 358 | 577 | scrollbar-color: #444 #ddd; |
| 359 | 578 | } |
| 360 | - | |
| 361 | 579 | .merchant-quick-view-summary .woocommerce-variation-price, |
| 362 | 580 | .merchant-quick-view-summary .merchant-quick-view-product-price { |
| 363 | - color: var(--mrc-qv-regular-price-color, #999999); | |
| 581 | + color: var(--mrc-qv-modal-regular-price-color, #999999); | |
| 364 | 582 | } |
| 365 | - | |
| 366 | 583 | .merchant-quick-view-summary .woocommerce-variation-price del, |
| 367 | 584 | .merchant-quick-view-summary .merchant-quick-view-product-price del { |
| 368 | - color: var(--mrc-qv-regular-price-color, #999999); | |
| 585 | + color: var(--mrc-qv-modal-regular-price-color, #999999); | |
| 369 | 586 | } |
| 370 | - | |
| 371 | 587 | .merchant-quick-view-summary .woocommerce-variation-price ins, |
| 372 | 588 | .merchant-quick-view-summary .merchant-quick-view-product-price ins { |
| 373 | - color: var(--mrc-qv-sale-price-color, #212121); | |
| 589 | + color: var(--mrc-qv-modal-sale-price-color, #212121); | |
| 374 | 590 | margin: 0; |
| 375 | 591 | font-size: 24px; |
| 376 | 592 | } |
| 377 | - | |
| 593 | +.merchant-quick-view-summary .woocommerce-variation-price span, | |
| 594 | +.merchant-quick-view-summary .woocommerce-variation-price strong, | |
| 595 | +.merchant-quick-view-summary .merchant-quick-view-product-price span, | |
| 596 | +.merchant-quick-view-summary .merchant-quick-view-product-price strong { | |
| 597 | + color: inherit; | |
| 598 | +} | |
| 378 | 599 | .merchant-quick-view-summary form.cart, |
| 379 | 600 | .merchant-quick-view-summary .woocommerce-variation-add-to-cart { |
| 380 | 601 | display: -webkit-box; |
| 381 | 602 | display: -ms-flexbox; |
| @@ -384,9 +605,8 @@ | ||
| 384 | 605 | -ms-flex-wrap: wrap; |
| 385 | 606 | flex-wrap: wrap; |
| 386 | 607 | margin: 0 !important; |
| 387 | 608 | } |
| 388 | - | |
| 389 | 609 | .merchant-quick-view-summary form.cart > *, |
| 390 | 610 | .merchant-quick-view-summary .woocommerce-variation-add-to-cart > * { |
| 391 | 611 | -ms-flex-item-align: inherit !important; |
| 392 | 612 | align-self: inherit !important; |
| @@ -392,32 +612,26 @@ | ||
| 392 | 612 | align-self: inherit !important; |
| 393 | 613 | justify-self: inherit !important; |
| 394 | 614 | margin: 0 !important; |
| 395 | 615 | } |
| 396 | - | |
| 397 | 616 | .merchant-quick-view-summary .quantity { |
| 398 | 617 | margin: 0; |
| 399 | 618 | width: auto; |
| 400 | 619 | } |
| 401 | - | |
| 402 | 620 | .merchant-quick-view-summary > div:empty { |
| 403 | 621 | display: none; |
| 404 | 622 | } |
| 405 | - | |
| 406 | 623 | .merchant-quick-view-summary::-webkit-scrollbar { |
| 407 | 624 | width: 6px; |
| 408 | 625 | } |
| 409 | - | |
| 410 | 626 | .merchant-quick-view-summary::-webkit-scrollbar-track { |
| 411 | 627 | background: #ddd; |
| 412 | 628 | border-radius: 6px; |
| 413 | 629 | } |
| 414 | - | |
| 415 | 630 | .merchant-quick-view-summary::-webkit-scrollbar-thumb { |
| 416 | 631 | background: #999; |
| 417 | 632 | border-radius: 6px; |
| 418 | 633 | } |
| 419 | - | |
| 420 | 634 | .merchant-quick-view-summary::-webkit-scrollbar-thumb:hover { |
| 421 | 635 | background: #000; |
| 422 | 636 | } |
| 423 | 637 | |
| @@ -441,17 +655,14 @@ | ||
| 441 | 655 | padding: 20px 0; |
| 442 | 656 | border-top: 1px solid #eee; |
| 443 | 657 | border-bottom: 1px solid #eee; |
| 444 | 658 | } |
| 445 | - | |
| 446 | 659 | .merchant-quick-view-product-add-to-cart .button { |
| 447 | 660 | text-decoration: none; |
| 448 | 661 | } |
| 449 | - | |
| 450 | 662 | .merchant-quick-view-product-add-to-cart .button:hover { |
| 451 | 663 | text-decoration: none; |
| 452 | 664 | } |
| 453 | - | |
| 454 | 665 | .merchant-quick-view-product-add-to-cart .disabled { |
| 455 | 666 | -webkit-user-select: none; |
| 456 | 667 | -moz-user-select: none; |
| 457 | 668 | -ms-user-select: none; |
| @@ -472,20 +683,32 @@ | ||
| 472 | 683 | -webkit-box-direction: normal; |
| 473 | 684 | -ms-flex-direction: column; |
| 474 | 685 | flex-direction: column; |
| 475 | 686 | } |
| 476 | - | |
| 477 | 687 | .merchant-quick-view-product-meta .product_meta span { |
| 478 | 688 | font-weight: bold; |
| 479 | 689 | } |
| 480 | - | |
| 481 | 690 | .merchant-quick-view-product-meta .product_meta span a, |
| 482 | 691 | .merchant-quick-view-product-meta .product_meta span span { |
| 483 | 692 | font-weight: normal; |
| 484 | 693 | } |
| 485 | 694 | |
| 486 | -@media (max-width: 767px) { | |
| 695 | +@media (max-width: 1024px) and (min-width: 769px) { | |
| 696 | + .merchant-quick-view-inner { | |
| 697 | + padding-inline: 25px; | |
| 698 | + } | |
| 487 | 699 | .merchant-quick-view-row { |
| 700 | + grid-gap: 20px; | |
| 701 | + } | |
| 702 | + .merchant-quick-view-column:first-child { | |
| 703 | + width: 40%; | |
| 704 | + } | |
| 705 | + .merchant-quick-view-column:last-child { | |
| 706 | + width: 60%; | |
| 707 | + } | |
| 708 | +} | |
| 709 | +@media (max-width: 768px) { | |
| 710 | + .merchant-quick-view-row { | |
| 488 | 711 | -webkit-box-orient: vertical; |
| 489 | 712 | -webkit-box-direction: normal; |
| 490 | 713 | -ms-flex-direction: column; |
| 491 | 714 | flex-direction: column; |
| @@ -552,5 +775,25 @@ | ||
| 552 | 775 | } |
| 553 | 776 | .merchant-quick-view-thumbs-at-bottom .woocommerce-product-gallery { |
| 554 | 777 | max-height: none !important; |
| 555 | 778 | } |
| 556 | -} | |
| 779 | + .merchant-quick-view-layout-side-panel { | |
| 780 | + -webkit-box-pack: center !important; | |
| 781 | + -ms-flex-pack: center !important; | |
| 782 | + justify-content: center !important; | |
| 783 | + -webkit-box-align: end !important; | |
| 784 | + -ms-flex-align: end !important; | |
| 785 | + align-items: flex-end !important; | |
| 786 | + } | |
| 787 | + .merchant-quick-view-layout-side-panel .merchant-quick-view-inner { | |
| 788 | + width: 100%; | |
| 789 | + max-width: 100%; | |
| 790 | + height: 85vh; | |
| 791 | + max-height: 85vh; | |
| 792 | + -webkit-transform: translateY(100%); | |
| 793 | + transform: translateY(100%); | |
| 794 | + } | |
| 795 | + .merchant-quick-view-layout-side-panel .merchant-quick-view-inner.merchant-show { | |
| 796 | + -webkit-transform: translateY(0); | |
| 797 | + transform: translateY(0); | |
| 798 | + } | |
| 799 | +} | |