jquery-ui
5 years ago
photoswipe
5 years ago
_animation.scss
8 years ago
_fonts.scss
8 years ago
_mixins.scss
5 years ago
_variables.scss
6 years ago
activation-rtl.css
6 years ago
activation.css
6 years ago
activation.scss
6 years ago
admin-rtl.css
5 years ago
admin.css
5 years ago
admin.scss
5 years ago
auth-rtl.css
7 years ago
auth.css
7 years ago
auth.scss
8 years ago
dashboard-rtl.css
5 years ago
dashboard.css
5 years ago
dashboard.scss
5 years ago
helper-rtl.css
6 years ago
helper.css
6 years ago
helper.scss
7 years ago
marketplace-suggestions-rtl.css
6 years ago
marketplace-suggestions.css
6 years ago
marketplace-suggestions.scss
6 years ago
menu-rtl.css
7 years ago
menu.css
7 years ago
menu.scss
8 years ago
network-order-widget-rtl.css
6 years ago
network-order-widget.css
6 years ago
network-order-widget.scss
8 years ago
prettyPhoto-rtl.css
5 years ago
prettyPhoto.css
5 years ago
prettyPhoto.scss
8 years ago
privacy-rtl.css
6 years ago
privacy.css
6 years ago
privacy.scss
6 years ago
reports-print-rtl.css
7 years ago
reports-print.css
7 years ago
reports-print.scss
8 years ago
select2.css
5 years ago
select2.scss
8 years ago
twenty-nineteen-rtl.css
6 years ago
twenty-nineteen.css
6 years ago
twenty-nineteen.scss
6 years ago
twenty-seventeen-rtl.css
5 years ago
twenty-seventeen.css
5 years ago
twenty-seventeen.scss
7 years ago
twenty-twenty-one-admin-rtl.css
5 years ago
twenty-twenty-one-admin.css
5 years ago
twenty-twenty-one-admin.scss
5 years ago
twenty-twenty-one-rtl.css
5 years ago
twenty-twenty-one.css
5 years ago
twenty-twenty-one.scss
5 years ago
twenty-twenty-rtl.css
5 years ago
twenty-twenty.css
5 years ago
twenty-twenty.scss
5 years ago
wc-setup-rtl.css
5 years ago
wc-setup.css
5 years ago
wc-setup.scss
5 years ago
woocommerce-layout-rtl.css
5 years ago
woocommerce-layout.css
5 years ago
woocommerce-layout.scss
6 years ago
woocommerce-rtl.css
5 years ago
woocommerce-smallscreen-rtl.css
5 years ago
woocommerce-smallscreen.css
5 years ago
woocommerce-smallscreen.scss
8 years ago
woocommerce.css
5 years ago
woocommerce.scss
6 years ago
twenty-twenty-one.scss
3047 lines
| 1 | @import "mixins"; |
| 2 | |
| 3 | /** |
| 4 | * Sass variables |
| 5 | */ |
| 6 | |
| 7 | $headings: -apple-system, blinkmacsystemfont, "Helvetica Neue", helvetica, sans-serif; |
| 8 | $body: nonbreakingspaceoverride, "Hoefler Text", garamond, "Times New Roman", serif; |
| 9 | |
| 10 | $body-color: currentColor; |
| 11 | $highlights-color: #88a171; |
| 12 | |
| 13 | /** |
| 14 | * Fonts |
| 15 | */ |
| 16 | @font-face { |
| 17 | font-family: star; |
| 18 | src: url(../fonts/star.eot); |
| 19 | src: |
| 20 | url(../fonts/star.eot?#iefix) format("embedded-opentype"), |
| 21 | url(../fonts/star.woff) format("woff"), |
| 22 | url(../fonts/star.ttf) format("truetype"), |
| 23 | url(../fonts/star.svg#star) format("svg"); |
| 24 | font-weight: 400; |
| 25 | font-style: normal; |
| 26 | } |
| 27 | |
| 28 | @font-face { |
| 29 | font-family: WooCommerce; |
| 30 | src: url(../fonts/WooCommerce.eot); |
| 31 | src: |
| 32 | url(../fonts/WooCommerce.eot?#iefix) format("embedded-opentype"), |
| 33 | url(../fonts/WooCommerce.woff) format("woff"), |
| 34 | url(../fonts/WooCommerce.ttf) format("truetype"), |
| 35 | url(../fonts/WooCommerce.svg#WooCommerce) format("svg"); |
| 36 | font-weight: 400; |
| 37 | font-style: normal; |
| 38 | } |
| 39 | |
| 40 | /** |
| 41 | * Global elements |
| 42 | */ |
| 43 | a.button { |
| 44 | display: inline-block; |
| 45 | text-align: center; |
| 46 | box-sizing: border-box; |
| 47 | word-break: break-word; |
| 48 | text-decoration: none !important; |
| 49 | |
| 50 | &:hover, |
| 51 | &:visited { |
| 52 | text-decoration: underline !important; |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | .woocommerce { |
| 57 | |
| 58 | form .form-row { |
| 59 | |
| 60 | .required { |
| 61 | color: #b22222; |
| 62 | text-decoration: none; |
| 63 | visibility: hidden; // Only show optional by default. |
| 64 | |
| 65 | &[title]] { |
| 66 | border: 0 !important; |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | .optional { |
| 71 | visibility: visible; |
| 72 | } |
| 73 | } |
| 74 | |
| 75 | form.woocommerce-form-login, |
| 76 | form.woocommerce-form-register { |
| 77 | |
| 78 | p, |
| 79 | label { |
| 80 | font-family: $headings; |
| 81 | } |
| 82 | |
| 83 | input { |
| 84 | border: 1px solid #ddd; |
| 85 | } |
| 86 | } |
| 87 | |
| 88 | .woocommerce-form-login__rememberme { |
| 89 | margin: 1rem 0 3rem 0; |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | .woocommerce-notices-wrapper:empty { |
| 94 | margin: 0 auto; |
| 95 | } |
| 96 | |
| 97 | .woocommerce-view-order { |
| 98 | |
| 99 | .woocommerce-MyAccount-content { |
| 100 | |
| 101 | table { |
| 102 | |
| 103 | border: 0; |
| 104 | |
| 105 | tbody { |
| 106 | border-bottom: 1px solid $body-color; |
| 107 | } |
| 108 | |
| 109 | tfoot { |
| 110 | |
| 111 | tr:last-of-type { |
| 112 | border-top: 1px solid $body-color; |
| 113 | |
| 114 | .woocommerce-Price-amount { |
| 115 | font-weight: 700; |
| 116 | } |
| 117 | } |
| 118 | } |
| 119 | |
| 120 | td, |
| 121 | tr, |
| 122 | th { |
| 123 | border: 0; |
| 124 | } |
| 125 | } |
| 126 | } |
| 127 | } |
| 128 | |
| 129 | .woocommerce-breadcrumb { |
| 130 | margin-bottom: 5rem; |
| 131 | font-size: 0.88889em; |
| 132 | font-family: $headings; |
| 133 | } |
| 134 | |
| 135 | .woocommerce-pagination { |
| 136 | font-family: $headings; |
| 137 | font-size: 0.88889em; |
| 138 | |
| 139 | ul.page-numbers { |
| 140 | margin: 0; |
| 141 | padding: 0; |
| 142 | display: block; |
| 143 | font-weight: 700; |
| 144 | letter-spacing: -0.02em; |
| 145 | line-height: 1.2; |
| 146 | } |
| 147 | |
| 148 | span.page-numbers, |
| 149 | a.page-numbers, |
| 150 | .next.page-numbers, |
| 151 | .prev.page-numbers { |
| 152 | padding: 0 calc(0.5 * 1rem); |
| 153 | display: inline-block; |
| 154 | } |
| 155 | } |
| 156 | |
| 157 | .onsale { |
| 158 | position: absolute; |
| 159 | top: -0.7rem; |
| 160 | right: -0.7rem; |
| 161 | background: $highlights-color; |
| 162 | color: #fff; |
| 163 | font-family: $headings; |
| 164 | font-size: 1.2rem; |
| 165 | font-weight: 700; |
| 166 | letter-spacing: -0.02em; |
| 167 | z-index: 1; |
| 168 | border-radius: 50%; |
| 169 | text-align: center; |
| 170 | padding: 0.8rem; |
| 171 | margin: 0; |
| 172 | display: inline-flex; |
| 173 | align-items: center; |
| 174 | justify-content: center; |
| 175 | |
| 176 | &::before { |
| 177 | content: ""; |
| 178 | float: left; |
| 179 | padding-top: 100%; |
| 180 | } |
| 181 | } |
| 182 | |
| 183 | .onsale + .woocommerce-product-gallery .woocommerce-product-gallery__trigger { |
| 184 | top: 2.2em; |
| 185 | right: 2.2em; |
| 186 | } |
| 187 | |
| 188 | .single-product .type-product.sale > .onsale { |
| 189 | right: calc(52% - 0.7rem); |
| 190 | } |
| 191 | |
| 192 | .price { |
| 193 | font-family: $headings; |
| 194 | font-size: 1rem; |
| 195 | |
| 196 | del { |
| 197 | opacity: 0.5; |
| 198 | display: inline-block; |
| 199 | } |
| 200 | |
| 201 | ins { |
| 202 | display: inline-block; |
| 203 | text-decoration: none; |
| 204 | } |
| 205 | } |
| 206 | |
| 207 | .woocommerce-message, |
| 208 | .woocommerce-error, |
| 209 | .woocommerce-info { |
| 210 | margin-bottom: 2rem; |
| 211 | margin-left: 0; |
| 212 | background: var(--global--color-background); |
| 213 | font-size: 0.88889em; |
| 214 | font-family: $headings; |
| 215 | list-style: none; |
| 216 | overflow: hidden; |
| 217 | } |
| 218 | |
| 219 | .woocommerce-message, |
| 220 | .woocommerce-error li, |
| 221 | .woocommerce-info { |
| 222 | padding: 1.5rem 3rem; |
| 223 | justify-content: space-between; |
| 224 | align-items: center; |
| 225 | |
| 226 | .button { |
| 227 | order: 2; |
| 228 | } |
| 229 | } |
| 230 | |
| 231 | .woocommerce-error { |
| 232 | color: #fff; |
| 233 | background: #b22222; |
| 234 | |
| 235 | a { |
| 236 | color: #fff; |
| 237 | |
| 238 | &:hover { |
| 239 | color: #fff; |
| 240 | } |
| 241 | |
| 242 | &.button { |
| 243 | background: #111; |
| 244 | } |
| 245 | } |
| 246 | |
| 247 | > li { |
| 248 | margin: 0; |
| 249 | } |
| 250 | } |
| 251 | |
| 252 | #main { |
| 253 | |
| 254 | .woocommerce-error, |
| 255 | .woocommerce-info { |
| 256 | font-family: $headings; |
| 257 | } |
| 258 | } |
| 259 | |
| 260 | .woocommerce-message, |
| 261 | .woocommerce-info { |
| 262 | background: #eee; |
| 263 | color: #000; |
| 264 | border-top: 2px solid $highlights-color; |
| 265 | |
| 266 | a { |
| 267 | color: #444; |
| 268 | |
| 269 | &:hover { |
| 270 | color: #000; |
| 271 | } |
| 272 | |
| 273 | &.button { |
| 274 | background: $highlights-color; |
| 275 | color: #f5efe0; |
| 276 | } |
| 277 | } |
| 278 | } |
| 279 | |
| 280 | .woocommerce-store-notice { |
| 281 | background: #eee; |
| 282 | color: #000; |
| 283 | border-top: 2px solid $highlights-color; |
| 284 | padding: 2rem; |
| 285 | position: absolute; |
| 286 | top: 0; |
| 287 | left: 0; |
| 288 | width: 100%; |
| 289 | z-index: 999; |
| 290 | } |
| 291 | |
| 292 | .admin-bar .woocommerce-store-notice { |
| 293 | top: 32px; |
| 294 | } |
| 295 | |
| 296 | .woocommerce-store-notice__dismiss-link { |
| 297 | float: right; |
| 298 | color: #fff; |
| 299 | |
| 300 | &:hover { |
| 301 | text-decoration: underline; |
| 302 | color: #fff; |
| 303 | } |
| 304 | } |
| 305 | |
| 306 | .flex-viewport { |
| 307 | margin-bottom: 1.5em; |
| 308 | } |
| 309 | |
| 310 | #main { |
| 311 | |
| 312 | .post-inner { |
| 313 | padding-top: 0; |
| 314 | } |
| 315 | |
| 316 | .wp-block-cover { |
| 317 | margin-top: 0; |
| 318 | } |
| 319 | } |
| 320 | |
| 321 | .cross-sells { |
| 322 | |
| 323 | .woocommerce-loop-product__title { |
| 324 | font-family: $headings; |
| 325 | } |
| 326 | |
| 327 | .star-rating { |
| 328 | font-size: 1.4rem; |
| 329 | } |
| 330 | } |
| 331 | |
| 332 | /* Make thumbnails in the gallery affect parent's height and wrapping */ |
| 333 | .flex-control-nav::after { |
| 334 | clear: both; |
| 335 | content: ""; |
| 336 | display: table; |
| 337 | } |
| 338 | |
| 339 | /** |
| 340 | * Tables |
| 341 | */ |
| 342 | .woocommerce, |
| 343 | .woocommerce-page { |
| 344 | |
| 345 | table.shop_table { |
| 346 | |
| 347 | td, |
| 348 | th { |
| 349 | word-break: normal; |
| 350 | border-left: none; |
| 351 | border-right: none; |
| 352 | } |
| 353 | } |
| 354 | } |
| 355 | |
| 356 | /** |
| 357 | * Shop page |
| 358 | */ |
| 359 | .woocommerce-result-count, |
| 360 | .woocommerce-ordering { |
| 361 | margin: 0 0 1rem; |
| 362 | padding: 0.75rem 0; |
| 363 | } |
| 364 | |
| 365 | /** |
| 366 | * Products |
| 367 | */ |
| 368 | ul.products { |
| 369 | margin: 0; |
| 370 | padding: 0; |
| 371 | |
| 372 | li.product { |
| 373 | list-style: none; |
| 374 | |
| 375 | .woocommerce-loop-product__link { |
| 376 | display: block; |
| 377 | text-decoration: none; |
| 378 | } |
| 379 | |
| 380 | .woocommerce-loop-product__title { |
| 381 | margin: 0.5rem 0 0.5rem; |
| 382 | font-size: 1.5rem; |
| 383 | font-weight: 400; |
| 384 | |
| 385 | &::before { |
| 386 | content: none; |
| 387 | } |
| 388 | } |
| 389 | |
| 390 | .woocommerce-loop-product__title, |
| 391 | .price, |
| 392 | .star-rating { |
| 393 | color: $body-color; |
| 394 | } |
| 395 | |
| 396 | .star-rating { |
| 397 | margin-bottom: 0.8rem; |
| 398 | } |
| 399 | |
| 400 | .price { |
| 401 | margin-bottom: 1rem; |
| 402 | } |
| 403 | |
| 404 | .price, |
| 405 | .star-rating { |
| 406 | display: block; |
| 407 | } |
| 408 | |
| 409 | .woocommerce-placeholder { |
| 410 | border: 1px solid #f2f2f2; |
| 411 | } |
| 412 | |
| 413 | .button { |
| 414 | vertical-align: middle; |
| 415 | background-color: transparent; |
| 416 | color: var(--button--color-text-hover); |
| 417 | text-decoration: none !important; |
| 418 | |
| 419 | &.loading { |
| 420 | opacity: 0.5; |
| 421 | } |
| 422 | |
| 423 | &:hover { |
| 424 | background-color: var(--button--color-background); |
| 425 | color: var(--button--color-text); |
| 426 | } |
| 427 | } |
| 428 | |
| 429 | .added_to_cart { |
| 430 | margin: 0.5rem; |
| 431 | } |
| 432 | } |
| 433 | } |
| 434 | |
| 435 | .star-rating { |
| 436 | overflow: hidden; |
| 437 | position: relative; |
| 438 | height: 1em; |
| 439 | line-height: 1; |
| 440 | font-size: 1em; |
| 441 | width: 5.4em; |
| 442 | font-family: star; |
| 443 | margin-bottom: 0.7rem; |
| 444 | |
| 445 | &::before { |
| 446 | content: "\73\73\73\73\73"; |
| 447 | float: left; |
| 448 | top: 0; |
| 449 | left: 0; |
| 450 | position: absolute; |
| 451 | } |
| 452 | |
| 453 | span { |
| 454 | overflow: hidden; |
| 455 | float: left; |
| 456 | top: 0; |
| 457 | left: 0; |
| 458 | position: absolute; |
| 459 | padding-top: 1.5em; |
| 460 | } |
| 461 | |
| 462 | span::before { |
| 463 | content: "\53\53\53\53\53"; |
| 464 | top: 0; |
| 465 | position: absolute; |
| 466 | left: 0; |
| 467 | } |
| 468 | } |
| 469 | |
| 470 | a.remove { |
| 471 | display: inline-block; |
| 472 | width: 20px; |
| 473 | height: 20px; |
| 474 | line-height: 18px; |
| 475 | font-size: 20px; |
| 476 | font-weight: 700; |
| 477 | text-align: center; |
| 478 | border-radius: 100%; |
| 479 | text-decoration: none !important; |
| 480 | background: #fff; |
| 481 | color: #000; |
| 482 | |
| 483 | &:hover { |
| 484 | background: $highlights-color; |
| 485 | color: #fff !important; |
| 486 | } |
| 487 | } |
| 488 | |
| 489 | dl.variation, |
| 490 | .wc-item-meta { |
| 491 | list-style: none outside; |
| 492 | |
| 493 | dt, |
| 494 | .wc-item-meta-label { |
| 495 | float: left; |
| 496 | clear: both; |
| 497 | margin-right: 0.25rem; |
| 498 | margin-top: 0; |
| 499 | list-style: none outside; |
| 500 | font-weight: 400; |
| 501 | } |
| 502 | |
| 503 | dd { |
| 504 | margin: 0; |
| 505 | } |
| 506 | |
| 507 | p, |
| 508 | &:last-child { |
| 509 | margin-bottom: 0; |
| 510 | } |
| 511 | } |
| 512 | |
| 513 | /** |
| 514 | * Single product |
| 515 | */ |
| 516 | .single-product { |
| 517 | |
| 518 | div.product { |
| 519 | position: relative; |
| 520 | |
| 521 | .product_meta { |
| 522 | clear: both; |
| 523 | font-size: 0.7em; |
| 524 | padding-top: 0.5em; |
| 525 | margin-top: 3rem; |
| 526 | } |
| 527 | } |
| 528 | |
| 529 | .single_add_to_cart_button { |
| 530 | line-height: var(--global--line-height-body) !important; |
| 531 | padding-top: var(--form--spacing-unit) !important; |
| 532 | padding-bottom: var(--form--spacing-unit) !important; |
| 533 | font-size: 1.6rem; |
| 534 | } |
| 535 | |
| 536 | .single-featured-image-header { |
| 537 | display: none; |
| 538 | } |
| 539 | |
| 540 | .entry-title { |
| 541 | margin: 0 0 2.5rem; |
| 542 | |
| 543 | &::before { |
| 544 | margin-top: 0; |
| 545 | } |
| 546 | } |
| 547 | |
| 548 | .summary { |
| 549 | margin-bottom: 8rem; |
| 550 | |
| 551 | p.price { |
| 552 | margin-bottom: 2rem; |
| 553 | } |
| 554 | |
| 555 | .woocommerce-product-details__short-description { |
| 556 | margin-bottom: 1rem; |
| 557 | } |
| 558 | } |
| 559 | |
| 560 | .woocommerce-variation-price { |
| 561 | margin: 2rem 0; |
| 562 | } |
| 563 | |
| 564 | .woocommerce-product-rating { |
| 565 | margin: -1rem 0 4rem; |
| 566 | line-height: 1; |
| 567 | font-size: 1.4rem; |
| 568 | |
| 569 | .star-rating { |
| 570 | float: left; |
| 571 | margin-right: 0.25rem; |
| 572 | } |
| 573 | } |
| 574 | |
| 575 | form.cart { |
| 576 | |
| 577 | .quantity { |
| 578 | float: left; |
| 579 | margin-right: 0.5rem; |
| 580 | } |
| 581 | |
| 582 | input { |
| 583 | width: 5em; |
| 584 | } |
| 585 | } |
| 586 | |
| 587 | .woocommerce-variation-add-to-cart { |
| 588 | |
| 589 | .button { |
| 590 | padding-top: 1.55rem; |
| 591 | padding-bottom: 1.59rem; |
| 592 | font-size: 1.6rem; |
| 593 | } |
| 594 | |
| 595 | .button.disabled { |
| 596 | opacity: 0.2; |
| 597 | } |
| 598 | } |
| 599 | |
| 600 | .woocommerce-message { |
| 601 | flex-direction: row-reverse; |
| 602 | } |
| 603 | |
| 604 | .woocommerce-Tabs-panel--additional_information, |
| 605 | .woocommerce-Tabs-panel--reviews { |
| 606 | |
| 607 | table { |
| 608 | border: 1px solid #ddd; |
| 609 | |
| 610 | tr, |
| 611 | td, |
| 612 | th { |
| 613 | border: 1px solid #ddd; |
| 614 | } |
| 615 | } |
| 616 | |
| 617 | p { |
| 618 | font-family: $headings; |
| 619 | } |
| 620 | |
| 621 | input { |
| 622 | border: 1px solid #ddd; |
| 623 | } |
| 624 | } |
| 625 | |
| 626 | .woocommerce-product-attributes-item__value { |
| 627 | |
| 628 | p { |
| 629 | margin-bottom: 0; |
| 630 | } |
| 631 | } |
| 632 | } |
| 633 | |
| 634 | table.variations { |
| 635 | margin: 1rem 0; |
| 636 | |
| 637 | label { |
| 638 | margin: 0; |
| 639 | padding: 6px 0; |
| 640 | } |
| 641 | |
| 642 | select { |
| 643 | margin-right: 0.5rem; |
| 644 | } |
| 645 | } |
| 646 | |
| 647 | a.reset_variations { |
| 648 | margin-left: 0.5em; |
| 649 | } |
| 650 | |
| 651 | .woocommerce-product-gallery { |
| 652 | max-width: 600px; |
| 653 | position: relative; |
| 654 | margin-bottom: 2rem; |
| 655 | |
| 656 | figure { |
| 657 | margin: 0; |
| 658 | padding: 0; |
| 659 | } |
| 660 | |
| 661 | .woocommerce-product-gallery__wrapper { |
| 662 | margin: 0; |
| 663 | padding: 0; |
| 664 | } |
| 665 | |
| 666 | .zoomImg { |
| 667 | background-color: #fff; |
| 668 | opacity: 0; |
| 669 | } |
| 670 | |
| 671 | .woocommerce-product-gallery__image--placeholder { |
| 672 | border: 1px solid #f2f2f2; |
| 673 | } |
| 674 | |
| 675 | .woocommerce-product-gallery__image:nth-child(n+2) { |
| 676 | width: 25%; |
| 677 | display: inline-block; |
| 678 | } |
| 679 | |
| 680 | .flex-control-thumbs { |
| 681 | |
| 682 | li { |
| 683 | list-style: none; |
| 684 | cursor: pointer; |
| 685 | float: left; |
| 686 | } |
| 687 | |
| 688 | img { |
| 689 | opacity: 0.5; |
| 690 | |
| 691 | &:hover, |
| 692 | &.flex-active { |
| 693 | opacity: 1; |
| 694 | } |
| 695 | } |
| 696 | } |
| 697 | |
| 698 | img { |
| 699 | display: block; |
| 700 | height: auto; |
| 701 | } |
| 702 | } |
| 703 | |
| 704 | .woocommerce-product-gallery--columns-3 { |
| 705 | |
| 706 | .flex-control-thumbs li { |
| 707 | width: 33.3333%; |
| 708 | } |
| 709 | |
| 710 | .flex-control-thumbs li:nth-child(3n+1) { |
| 711 | clear: left; |
| 712 | } |
| 713 | } |
| 714 | |
| 715 | .woocommerce-product-gallery--columns-4 { |
| 716 | |
| 717 | ol { |
| 718 | margin-left: 0; |
| 719 | margin-bottom: 0; |
| 720 | } |
| 721 | |
| 722 | .flex-control-thumbs li { |
| 723 | width: 14.2857142857%; |
| 724 | margin: 0 14.2857142857% 1.6em 0; |
| 725 | } |
| 726 | |
| 727 | .flex-control-thumbs li:nth-child(4n) { |
| 728 | margin-right: 0; |
| 729 | } |
| 730 | |
| 731 | .flex-control-thumbs li:nth-child(4n+1) { |
| 732 | clear: left; |
| 733 | } |
| 734 | } |
| 735 | |
| 736 | .woocommerce-product-gallery--columns-5 { |
| 737 | |
| 738 | .flex-control-thumbs li { |
| 739 | width: 20%; |
| 740 | } |
| 741 | |
| 742 | .flex-control-thumbs li:nth-child(5n+1) { |
| 743 | clear: left; |
| 744 | } |
| 745 | } |
| 746 | |
| 747 | .woocommerce-product-gallery__trigger { |
| 748 | position: absolute; |
| 749 | top: 1rem; |
| 750 | right: 1rem; |
| 751 | z-index: 99; |
| 752 | } |
| 753 | |
| 754 | .woocommerce-tabs { |
| 755 | margin: 4rem 0 2rem; |
| 756 | |
| 757 | /* reset description tab width to full width */ |
| 758 | #tab-description { |
| 759 | |
| 760 | h2, |
| 761 | p { |
| 762 | max-width: 100vw; |
| 763 | width: 100%; |
| 764 | } |
| 765 | } |
| 766 | |
| 767 | /* reset additional info tab width to full width */ |
| 768 | #tab-additional_information { |
| 769 | |
| 770 | .woocommerce-product-attributes { |
| 771 | max-width: 100vw; |
| 772 | width: 100%; |
| 773 | } |
| 774 | } |
| 775 | |
| 776 | #tab-reviews { |
| 777 | |
| 778 | /* reset reviews tab width to full width */ |
| 779 | .woocommerce-Reviews { |
| 780 | max-width: 100vw; |
| 781 | width: 100%; |
| 782 | } |
| 783 | |
| 784 | #submit { |
| 785 | float: right; |
| 786 | } |
| 787 | } |
| 788 | |
| 789 | |
| 790 | ul { |
| 791 | margin: 0 0 1.5rem; |
| 792 | padding: 0; |
| 793 | font-family: $headings; |
| 794 | border-bottom: var(--button--border-width) solid var(--button--color-background); |
| 795 | |
| 796 | li { |
| 797 | display: inline-flex !important; |
| 798 | |
| 799 | a { |
| 800 | color: $body-color; |
| 801 | text-decoration: none; |
| 802 | font-weight: 700; |
| 803 | padding: var(--button--padding-vertical) var(--button--padding-horizontal); |
| 804 | } |
| 805 | |
| 806 | &.active { |
| 807 | |
| 808 | a { |
| 809 | color: var(--button--color-text); |
| 810 | background-color: var(--button--color-background); |
| 811 | border: var(--button--border-width) solid var(--button--color-background); |
| 812 | } |
| 813 | } |
| 814 | } |
| 815 | } |
| 816 | |
| 817 | .panel { |
| 818 | |
| 819 | > * { |
| 820 | margin-top: 0 !important; |
| 821 | } |
| 822 | |
| 823 | h1, |
| 824 | h2 { |
| 825 | |
| 826 | &::before { |
| 827 | content: none; |
| 828 | } |
| 829 | } |
| 830 | |
| 831 | h2:first-of-type { |
| 832 | font-size: 3rem; |
| 833 | margin: 0 0 2rem !important; |
| 834 | } |
| 835 | } |
| 836 | |
| 837 | #comments { |
| 838 | padding-top: 0; |
| 839 | } |
| 840 | |
| 841 | .comment-reply-title { |
| 842 | font-family: $headings; |
| 843 | font-size: 1em; |
| 844 | font-weight: 700; |
| 845 | display: block; |
| 846 | } |
| 847 | |
| 848 | #reviews { |
| 849 | |
| 850 | ol.commentlist { |
| 851 | padding: 0; |
| 852 | margin: 0; |
| 853 | } |
| 854 | |
| 855 | li.review, |
| 856 | li.comment { |
| 857 | list-style: none; |
| 858 | margin: 0.5rem 0 2.5rem 0; |
| 859 | |
| 860 | .avatar { |
| 861 | max-height: 36px; |
| 862 | width: auto; |
| 863 | float: right; |
| 864 | } |
| 865 | |
| 866 | p.meta { |
| 867 | margin-bottom: 0.5em; |
| 868 | } |
| 869 | } |
| 870 | |
| 871 | .comment-form-rating { |
| 872 | |
| 873 | label { |
| 874 | max-width: 58rem; |
| 875 | margin: 0 auto; |
| 876 | } |
| 877 | } |
| 878 | |
| 879 | p.stars { |
| 880 | margin-top: 0; |
| 881 | |
| 882 | a { |
| 883 | position: relative; |
| 884 | height: 1em; |
| 885 | width: 1em; |
| 886 | text-indent: -999em; |
| 887 | display: inline-block; |
| 888 | text-decoration: none; |
| 889 | box-shadow: none; |
| 890 | |
| 891 | &::before { |
| 892 | display: block; |
| 893 | position: absolute; |
| 894 | top: 0; |
| 895 | left: 0; |
| 896 | width: 1em; |
| 897 | height: 1em; |
| 898 | line-height: 1; |
| 899 | font-family: WooCommerce; |
| 900 | content: "\e021"; |
| 901 | text-indent: 0; |
| 902 | } |
| 903 | |
| 904 | &:hover { |
| 905 | |
| 906 | ~ a::before { |
| 907 | content: "\e021"; |
| 908 | } |
| 909 | } |
| 910 | } |
| 911 | |
| 912 | &:hover { |
| 913 | |
| 914 | a { |
| 915 | |
| 916 | &::before { |
| 917 | content: "\e020"; |
| 918 | } |
| 919 | } |
| 920 | } |
| 921 | |
| 922 | &.selected { |
| 923 | |
| 924 | a.active { |
| 925 | |
| 926 | &::before { |
| 927 | content: "\e020"; |
| 928 | } |
| 929 | |
| 930 | ~ a::before { |
| 931 | content: "\e021"; |
| 932 | } |
| 933 | } |
| 934 | |
| 935 | a:not(.active) { |
| 936 | |
| 937 | &::before { |
| 938 | content: "\e020"; |
| 939 | } |
| 940 | } |
| 941 | } |
| 942 | } |
| 943 | |
| 944 | .comment-form-author, |
| 945 | .comment-form-email { |
| 946 | float: none; |
| 947 | margin-left: auto; |
| 948 | } |
| 949 | } |
| 950 | } |
| 951 | |
| 952 | /** |
| 953 | * Related products |
| 954 | */ |
| 955 | |
| 956 | .related.products, |
| 957 | .up-sells { |
| 958 | |
| 959 | h2 { |
| 960 | margin-bottom: 2rem; |
| 961 | } |
| 962 | |
| 963 | clear: both; |
| 964 | |
| 965 | ul.products { |
| 966 | display: flex; |
| 967 | justify-content: space-evenly; |
| 968 | align-items: stretch; |
| 969 | |
| 970 | li.product { |
| 971 | display: flex; |
| 972 | flex-direction: column; |
| 973 | justify-content: space-between; |
| 974 | align-items: flex-start; |
| 975 | } |
| 976 | } |
| 977 | } |
| 978 | |
| 979 | /** |
| 980 | * Widgets |
| 981 | */ |
| 982 | .widget.woocommerce { |
| 983 | |
| 984 | ul { |
| 985 | padding-left: 0; |
| 986 | |
| 987 | li { |
| 988 | list-style: none; |
| 989 | } |
| 990 | } |
| 991 | } |
| 992 | |
| 993 | .widget .product_list_widget, |
| 994 | .site-footer .widget .product_list_widget { |
| 995 | margin-bottom: 1.5rem; |
| 996 | |
| 997 | a { |
| 998 | display: block; |
| 999 | box-shadow: none; |
| 1000 | |
| 1001 | &:hover { |
| 1002 | box-shadow: none; |
| 1003 | } |
| 1004 | } |
| 1005 | |
| 1006 | li { |
| 1007 | padding: 0.5rem 0; |
| 1008 | |
| 1009 | a.remove { |
| 1010 | float: left; |
| 1011 | margin-top: 7px; |
| 1012 | line-height: 20px; |
| 1013 | color: #fff; |
| 1014 | margin-right: 0.5rem; |
| 1015 | } |
| 1016 | } |
| 1017 | |
| 1018 | img { |
| 1019 | display: none; |
| 1020 | } |
| 1021 | } |
| 1022 | |
| 1023 | .widget_shopping_cart { |
| 1024 | |
| 1025 | .buttons { |
| 1026 | |
| 1027 | a { |
| 1028 | display: inline-block; |
| 1029 | margin: 0 0.5rem 0 0; |
| 1030 | } |
| 1031 | } |
| 1032 | } |
| 1033 | |
| 1034 | .woocommerce-shopping-totals { |
| 1035 | vertical-align: text-top; |
| 1036 | } |
| 1037 | |
| 1038 | .widget_layered_nav { |
| 1039 | |
| 1040 | .chosen { |
| 1041 | |
| 1042 | &::before { |
| 1043 | content: "×"; |
| 1044 | display: inline-block; |
| 1045 | width: 16px; |
| 1046 | height: 16px; |
| 1047 | line-height: 16px; |
| 1048 | font-size: 16px; |
| 1049 | text-align: center; |
| 1050 | border-radius: 100%; |
| 1051 | border: 1px solid #000; |
| 1052 | margin-right: 0.25rem; |
| 1053 | } |
| 1054 | } |
| 1055 | } |
| 1056 | |
| 1057 | .widget_price_filter { |
| 1058 | |
| 1059 | .price_slider { |
| 1060 | margin-bottom: 1rem; |
| 1061 | } |
| 1062 | |
| 1063 | .price_slider_amount { |
| 1064 | text-align: right; |
| 1065 | line-height: 2.4; |
| 1066 | font-size: 0.8751em; |
| 1067 | |
| 1068 | .button { |
| 1069 | float: left; |
| 1070 | padding: 0.4rem 1rem; |
| 1071 | } |
| 1072 | } |
| 1073 | |
| 1074 | .ui-slider { |
| 1075 | position: relative; |
| 1076 | text-align: left; |
| 1077 | margin-left: 0.5rem; |
| 1078 | margin-right: 0.5rem; |
| 1079 | } |
| 1080 | |
| 1081 | .ui-slider .ui-slider-handle { |
| 1082 | position: absolute; |
| 1083 | z-index: 2; |
| 1084 | width: 1em; |
| 1085 | height: 1em; |
| 1086 | background-color: #000; |
| 1087 | border-radius: 1em; |
| 1088 | cursor: ew-resize; |
| 1089 | outline: none; |
| 1090 | top: -0.3em; |
| 1091 | margin-left: -0.5em; |
| 1092 | } |
| 1093 | |
| 1094 | .ui-slider .ui-slider-range { |
| 1095 | position: absolute; |
| 1096 | z-index: 1; |
| 1097 | font-size: 0.7em; |
| 1098 | display: block; |
| 1099 | border: 0; |
| 1100 | border-radius: 1em; |
| 1101 | background-color: #000; |
| 1102 | } |
| 1103 | |
| 1104 | .price_slider_wrapper .ui-widget-content { |
| 1105 | border-radius: 1em; |
| 1106 | background-color: #666; |
| 1107 | border: 0; |
| 1108 | } |
| 1109 | |
| 1110 | .ui-slider-horizontal { |
| 1111 | height: 0.5em; |
| 1112 | } |
| 1113 | |
| 1114 | .ui-slider-horizontal .ui-slider-range { |
| 1115 | top: 0; |
| 1116 | height: 100%; |
| 1117 | } |
| 1118 | |
| 1119 | .ui-slider-horizontal .ui-slider-range-min { |
| 1120 | left: -1px; |
| 1121 | } |
| 1122 | |
| 1123 | .ui-slider-horizontal .ui-slider-range-max { |
| 1124 | right: -1px; |
| 1125 | } |
| 1126 | } |
| 1127 | |
| 1128 | .widget_rating_filter { |
| 1129 | |
| 1130 | li { |
| 1131 | text-align: right; |
| 1132 | |
| 1133 | .star-rating { |
| 1134 | float: left; |
| 1135 | margin-top: 0.3rem; |
| 1136 | } |
| 1137 | } |
| 1138 | } |
| 1139 | |
| 1140 | .widget_product_search { |
| 1141 | |
| 1142 | form { |
| 1143 | position: relative; |
| 1144 | } |
| 1145 | |
| 1146 | .search-field { |
| 1147 | padding-right: 100px; |
| 1148 | } |
| 1149 | |
| 1150 | input[type="submit"]="submit""] { |
| 1151 | position: absolute; |
| 1152 | top: 0.5rem; |
| 1153 | right: 0.5rem; |
| 1154 | padding-left: 1rem; |
| 1155 | padding-right: 1rem; |
| 1156 | } |
| 1157 | } |
| 1158 | |
| 1159 | /** |
| 1160 | * Account section |
| 1161 | */ |
| 1162 | .woocommerce-account { |
| 1163 | |
| 1164 | #main { |
| 1165 | |
| 1166 | .post-inner { |
| 1167 | padding-top: 0; |
| 1168 | } |
| 1169 | |
| 1170 | .woocommerce { |
| 1171 | max-width: 1600px; |
| 1172 | padding: 0 6vw; |
| 1173 | margin: 0 auto; |
| 1174 | } |
| 1175 | } |
| 1176 | |
| 1177 | .woocommerce-MyAccount-navigation { |
| 1178 | font-family: $headings; |
| 1179 | margin: 0 0 2rem; |
| 1180 | |
| 1181 | ul { |
| 1182 | margin: 0; |
| 1183 | padding: 0; |
| 1184 | } |
| 1185 | |
| 1186 | li { |
| 1187 | list-style: none; |
| 1188 | padding: 0.5rem 0; |
| 1189 | font-family: $headings; |
| 1190 | font-size: 2rem; |
| 1191 | |
| 1192 | &:first-child { |
| 1193 | padding-top: 0; |
| 1194 | } |
| 1195 | |
| 1196 | a { |
| 1197 | box-shadow: none; |
| 1198 | text-decoration: none; |
| 1199 | font-weight: 600; |
| 1200 | color: #aaa; |
| 1201 | |
| 1202 | &:hover { |
| 1203 | color: #000; |
| 1204 | text-decoration: underline; |
| 1205 | } |
| 1206 | } |
| 1207 | |
| 1208 | &.is-active { |
| 1209 | |
| 1210 | a { |
| 1211 | text-decoration: underline; |
| 1212 | color: $highlights-color; |
| 1213 | } |
| 1214 | } |
| 1215 | } |
| 1216 | } |
| 1217 | |
| 1218 | .woocommerce-MyAccount-content { |
| 1219 | |
| 1220 | p { |
| 1221 | font-family: $headings; |
| 1222 | font-size: 2rem; |
| 1223 | } |
| 1224 | |
| 1225 | form { |
| 1226 | |
| 1227 | h3 { |
| 1228 | margin-top: 0; |
| 1229 | } |
| 1230 | } |
| 1231 | |
| 1232 | .woocommerce-Addresses { |
| 1233 | margin-top: -1rem; |
| 1234 | |
| 1235 | .woocommerce-Address-title { |
| 1236 | |
| 1237 | h3 { |
| 1238 | display: inline-block; |
| 1239 | margin-right: 1rem; |
| 1240 | font-size: 1.8rem; |
| 1241 | margin-top: 2rem; |
| 1242 | } |
| 1243 | } |
| 1244 | |
| 1245 | address { |
| 1246 | line-height: 1.8rem; |
| 1247 | } |
| 1248 | } |
| 1249 | |
| 1250 | .woocommerce-address-fields { |
| 1251 | |
| 1252 | label { |
| 1253 | font-size: 1.5rem; |
| 1254 | margin-bottom: 0.1rem; |
| 1255 | } |
| 1256 | |
| 1257 | input, |
| 1258 | .selection { |
| 1259 | font-size: 1.5rem; |
| 1260 | padding-top: 0.3rem; |
| 1261 | padding-bottom: 0.3rem; |
| 1262 | } |
| 1263 | |
| 1264 | input { |
| 1265 | border: 3px solid black; |
| 1266 | } |
| 1267 | |
| 1268 | .form-row { |
| 1269 | margin-top: 1.5rem !important; |
| 1270 | margin-bottom: 0 !important; |
| 1271 | } |
| 1272 | |
| 1273 | #billing_company_field { |
| 1274 | padding-top: 1.5rem !important; |
| 1275 | } |
| 1276 | |
| 1277 | .select2-selection { |
| 1278 | border: 2px solid black; |
| 1279 | height: 3rem; |
| 1280 | padding-top: 0.5rem; |
| 1281 | margin-top: -1rem; |
| 1282 | } |
| 1283 | |
| 1284 | .select2-selection__arrow { |
| 1285 | position: absolute; |
| 1286 | top: -0.2rem; |
| 1287 | } |
| 1288 | |
| 1289 | .select2-dropdown { |
| 1290 | border: 2px solid black !important; |
| 1291 | } |
| 1292 | |
| 1293 | .woocommerce-address-fields__field-wrapper { |
| 1294 | margin-bottom: 2rem; |
| 1295 | } |
| 1296 | } |
| 1297 | } |
| 1298 | |
| 1299 | table.account-orders-table { |
| 1300 | margin-top: 0; |
| 1301 | border: 0; |
| 1302 | |
| 1303 | tr, |
| 1304 | td, |
| 1305 | th { |
| 1306 | border: 0; |
| 1307 | } |
| 1308 | |
| 1309 | td { |
| 1310 | padding-left: 1.5rem; |
| 1311 | } |
| 1312 | |
| 1313 | thead { |
| 1314 | border-bottom: 1px solid #ddd; |
| 1315 | } |
| 1316 | |
| 1317 | .button { |
| 1318 | margin: 0 0.35rem 0.35rem 0; |
| 1319 | width: 80%; |
| 1320 | } |
| 1321 | } |
| 1322 | |
| 1323 | table.account-orders-table:not(.has-background) { |
| 1324 | |
| 1325 | tbody { |
| 1326 | |
| 1327 | tr:nth-child(2n+1) { |
| 1328 | |
| 1329 | td { |
| 1330 | background: var(--global--color-background); |
| 1331 | filter: brightness(88%); |
| 1332 | |
| 1333 | .is-dark-theme & { |
| 1334 | filter: brightness(112%); |
| 1335 | } |
| 1336 | } |
| 1337 | } |
| 1338 | } |
| 1339 | } |
| 1340 | |
| 1341 | .woocommerce-EditAccountForm { |
| 1342 | |
| 1343 | label { |
| 1344 | font-size: 1.5rem; |
| 1345 | } |
| 1346 | |
| 1347 | input { |
| 1348 | border: var(--form--border-width) solid var(--form--border-color); |
| 1349 | font-size: 1.5rem; |
| 1350 | } |
| 1351 | |
| 1352 | fieldset { |
| 1353 | border: none; |
| 1354 | padding-left: 0; |
| 1355 | padding-right: 0; |
| 1356 | margin-top: 30px; |
| 1357 | |
| 1358 | legend { |
| 1359 | display: contents; |
| 1360 | font-size: 2rem; |
| 1361 | } |
| 1362 | |
| 1363 | p { |
| 1364 | margin-top: 20px; |
| 1365 | margin-bottom: 0 !important; |
| 1366 | } |
| 1367 | |
| 1368 | .show-password-input { |
| 1369 | display: inherit; |
| 1370 | } |
| 1371 | } |
| 1372 | |
| 1373 | button { |
| 1374 | margin-top: 0; |
| 1375 | } |
| 1376 | |
| 1377 | #account_display_name + span { |
| 1378 | font-size: 1.5rem; |
| 1379 | } |
| 1380 | |
| 1381 | p { |
| 1382 | margin-top: 20px; |
| 1383 | |
| 1384 | &:nth-of-type(4) { |
| 1385 | margin-top: 30px; |
| 1386 | } |
| 1387 | } |
| 1388 | } |
| 1389 | } |
| 1390 | |
| 1391 | .logged-in.woocommerce-account { |
| 1392 | |
| 1393 | #main { |
| 1394 | |
| 1395 | .woocommerce { |
| 1396 | display: flex; |
| 1397 | flex-direction: row; |
| 1398 | } |
| 1399 | } |
| 1400 | } |
| 1401 | |
| 1402 | .checkout-button { |
| 1403 | display: block; |
| 1404 | padding: 1rem 2rem; |
| 1405 | border: 2px solid #000; |
| 1406 | text-align: center; |
| 1407 | font-weight: 800; |
| 1408 | |
| 1409 | &:hover { |
| 1410 | border-color: #999; |
| 1411 | } |
| 1412 | |
| 1413 | &::after { |
| 1414 | content: "→"; |
| 1415 | margin-left: 0.5rem; |
| 1416 | } |
| 1417 | } |
| 1418 | |
| 1419 | .woocommerce-cart { |
| 1420 | |
| 1421 | .post-inner { |
| 1422 | padding-top: 0; |
| 1423 | } |
| 1424 | |
| 1425 | #main { |
| 1426 | |
| 1427 | .entry-header { |
| 1428 | padding: 3vw 0 1.5vw; |
| 1429 | } |
| 1430 | |
| 1431 | .woocommerce { |
| 1432 | max-width: var(--responsive--alignwide-width); |
| 1433 | margin: 0 auto; |
| 1434 | |
| 1435 | } |
| 1436 | } |
| 1437 | |
| 1438 | .select2-container .select2-dropdown { |
| 1439 | border: var(--form--border-width) solid var(--form--border-color); |
| 1440 | border-radius: var(--form--border-radius); |
| 1441 | border-top: none; |
| 1442 | } |
| 1443 | |
| 1444 | .select2-container .select2-selection { |
| 1445 | border: var(--form--border-width) solid var(--form--border-color); |
| 1446 | border-radius: var(--form--border-radius); |
| 1447 | } |
| 1448 | |
| 1449 | .select2-container--focus .select2-selection, |
| 1450 | .select2-container--open .select2-selection { |
| 1451 | outline-offset: 2px; |
| 1452 | outline: 2px dotted var(--form--border-color); |
| 1453 | } |
| 1454 | |
| 1455 | .select2-results__option { |
| 1456 | margin-left: 0; |
| 1457 | } |
| 1458 | |
| 1459 | .select2-container { |
| 1460 | |
| 1461 | .select2-search__field { |
| 1462 | height: 3rem; |
| 1463 | background: #eee; |
| 1464 | } |
| 1465 | } |
| 1466 | |
| 1467 | p.form-row { |
| 1468 | |
| 1469 | input { |
| 1470 | border: 1px solid #ddd; |
| 1471 | } |
| 1472 | } |
| 1473 | } |
| 1474 | |
| 1475 | /** |
| 1476 | * Checkout |
| 1477 | */ |
| 1478 | .woocommerce-form-coupon-toggle .woocommerce-info { |
| 1479 | display: block; |
| 1480 | margin-bottom: 2rem; |
| 1481 | padding: 1rem; |
| 1482 | } |
| 1483 | |
| 1484 | .woocommerce-form-coupon { |
| 1485 | background: #eee; |
| 1486 | padding: 1rem; |
| 1487 | font-size: 0.88889em; |
| 1488 | color: var(--form--color-text); |
| 1489 | |
| 1490 | #coupon_code { |
| 1491 | border: var(--form--border-width) solid var(--form--border-color); |
| 1492 | } |
| 1493 | |
| 1494 | button[name="apply_coupon"]="apply_coupon""] { |
| 1495 | padding: 0.5rem; |
| 1496 | |
| 1497 | .is-dark-theme & { |
| 1498 | border-color: var(--global--color-background); |
| 1499 | |
| 1500 | &:hover, |
| 1501 | &:active { |
| 1502 | background: var(--global--color-background); |
| 1503 | } |
| 1504 | } |
| 1505 | } |
| 1506 | } |
| 1507 | |
| 1508 | #ship-to-different-address { |
| 1509 | font-size: 1em; |
| 1510 | display: inline-block; |
| 1511 | margin: 1.42em 0; |
| 1512 | |
| 1513 | label { |
| 1514 | font-weight: 400; |
| 1515 | cursor: pointer; |
| 1516 | |
| 1517 | span { |
| 1518 | position: relative; |
| 1519 | display: block; |
| 1520 | text-align: right; |
| 1521 | padding-right: 45px; |
| 1522 | |
| 1523 | &::before { |
| 1524 | content: ""; |
| 1525 | display: block; |
| 1526 | height: 16px; |
| 1527 | width: 30px; |
| 1528 | border: 2px solid var(--form--border-color); |
| 1529 | background: var(--global--color-primary); |
| 1530 | border-radius: 13rem; |
| 1531 | box-sizing: content-box; |
| 1532 | transition: all ease-in-out 0.3s; |
| 1533 | position: absolute; |
| 1534 | top: 0; |
| 1535 | right: 0; |
| 1536 | } |
| 1537 | |
| 1538 | &::after { |
| 1539 | content: ""; |
| 1540 | display: block; |
| 1541 | width: 14px; |
| 1542 | height: 14px; |
| 1543 | background: var(--global--color-background); |
| 1544 | position: absolute; |
| 1545 | top: 3px; |
| 1546 | right: 17px; |
| 1547 | border-radius: 13rem; |
| 1548 | transition: all ease-in-out 0.3s; |
| 1549 | } |
| 1550 | } |
| 1551 | |
| 1552 | input[type="checkbox"]="checkbox""] { |
| 1553 | display: none; |
| 1554 | } |
| 1555 | |
| 1556 | input[type="checkbox"]="checkbox""]:checked + span::after { |
| 1557 | right: 3px; |
| 1558 | background: var(--global--color-primary); |
| 1559 | } |
| 1560 | |
| 1561 | input[type="checkbox"]="checkbox""]:checked + span::before { |
| 1562 | background: var(--global--color-background); |
| 1563 | } |
| 1564 | } |
| 1565 | } |
| 1566 | |
| 1567 | .woocommerce-no-js { |
| 1568 | |
| 1569 | form.woocommerce-form-login, |
| 1570 | form.woocommerce-form-coupon { |
| 1571 | display: block !important; |
| 1572 | } |
| 1573 | |
| 1574 | .woocommerce-form-login-toggle, |
| 1575 | .woocommerce-form-coupon-toggle, |
| 1576 | .showcoupon { |
| 1577 | display: none !important; |
| 1578 | } |
| 1579 | } |
| 1580 | |
| 1581 | .woocommerce-terms-and-conditions { |
| 1582 | border: 1px solid rgba(0, 0, 0, 0.2); |
| 1583 | box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); |
| 1584 | background: rgba(0, 0, 0, 0.05); |
| 1585 | } |
| 1586 | |
| 1587 | .woocommerce-terms-and-conditions-link { |
| 1588 | display: inline-block; |
| 1589 | |
| 1590 | &::after { |
| 1591 | content: ""; |
| 1592 | display: inline-block; |
| 1593 | border-style: solid; |
| 1594 | margin-bottom: 2px; |
| 1595 | margin-left: 0.25rem; |
| 1596 | border-width: 6px 6px 0 6px; |
| 1597 | border-color: $body-color transparent transparent transparent; |
| 1598 | } |
| 1599 | |
| 1600 | &.woocommerce-terms-and-conditions-link--open::after { |
| 1601 | border-width: 0 6px 6px 6px; |
| 1602 | border-color: transparent transparent $body-color transparent; |
| 1603 | } |
| 1604 | } |
| 1605 | |
| 1606 | .woocommerce-checkout { |
| 1607 | |
| 1608 | .woocommerce { |
| 1609 | max-width: var(--responsive--alignwide-width); |
| 1610 | margin: 0 auto; |
| 1611 | } |
| 1612 | |
| 1613 | ul.woocommerce-error { |
| 1614 | flex-direction: column; |
| 1615 | align-items: flex-start; |
| 1616 | |
| 1617 | li { |
| 1618 | font-family: $headings; |
| 1619 | margin: 0.5rem 0 0.5rem; |
| 1620 | } |
| 1621 | } |
| 1622 | |
| 1623 | .post-inner { |
| 1624 | padding-top: 0; |
| 1625 | } |
| 1626 | |
| 1627 | .woocommerce-billing-fields { |
| 1628 | |
| 1629 | h3 { |
| 1630 | margin: 2rem 0; |
| 1631 | } |
| 1632 | } |
| 1633 | |
| 1634 | form[name="checkout"]="checkout""] { |
| 1635 | display: table; |
| 1636 | } |
| 1637 | |
| 1638 | .blockUI.blockOverlay { |
| 1639 | position: relative; |
| 1640 | |
| 1641 | @include loader(); |
| 1642 | } |
| 1643 | |
| 1644 | form { |
| 1645 | |
| 1646 | .col2-set { |
| 1647 | width: 50%; |
| 1648 | float: left; |
| 1649 | padding-right: 1.5vw; |
| 1650 | |
| 1651 | .col-1, |
| 1652 | .col-2 { |
| 1653 | float: none; |
| 1654 | width: 100%; |
| 1655 | } |
| 1656 | |
| 1657 | label { |
| 1658 | font-family: $headings; |
| 1659 | letter-spacing: normal; |
| 1660 | } |
| 1661 | |
| 1662 | p { |
| 1663 | margin-bottom: 1.15em; |
| 1664 | } |
| 1665 | } |
| 1666 | |
| 1667 | #order_review_heading { |
| 1668 | margin-top: 2rem; |
| 1669 | } |
| 1670 | |
| 1671 | #order_review_heading, |
| 1672 | #order_review { |
| 1673 | width: 50%; |
| 1674 | padding-left: 1.5vw; |
| 1675 | float: right; |
| 1676 | clear: right; |
| 1677 | |
| 1678 | .woocommerce-checkout-review-order-table { |
| 1679 | margin-top: 2rem; |
| 1680 | border: 0; |
| 1681 | |
| 1682 | th, |
| 1683 | td { |
| 1684 | border: 0; |
| 1685 | } |
| 1686 | |
| 1687 | thead { |
| 1688 | display: none; |
| 1689 | } |
| 1690 | |
| 1691 | .woocommerce-Price-amount { |
| 1692 | font-weight: bold; |
| 1693 | } |
| 1694 | |
| 1695 | .cart-subtotal, |
| 1696 | .order-total { |
| 1697 | border-top: 2px solid var(--form--border-color); |
| 1698 | } |
| 1699 | } |
| 1700 | } |
| 1701 | |
| 1702 | .form-row.woocommerce-invalid { |
| 1703 | |
| 1704 | input.input-text { |
| 1705 | border: 2px solid $highlights-color; |
| 1706 | } |
| 1707 | } |
| 1708 | |
| 1709 | } |
| 1710 | |
| 1711 | .woocommerce-input-wrapper { |
| 1712 | |
| 1713 | .description { |
| 1714 | background: #4169e1; |
| 1715 | color: #fff; |
| 1716 | border-radius: 3px; |
| 1717 | padding: 1rem; |
| 1718 | margin: 0.5rem 0 0; |
| 1719 | clear: both; |
| 1720 | display: none; |
| 1721 | position: relative; |
| 1722 | |
| 1723 | a { |
| 1724 | color: #fff; |
| 1725 | text-decoration: underline; |
| 1726 | border: 0; |
| 1727 | box-shadow: none; |
| 1728 | } |
| 1729 | |
| 1730 | &::before { |
| 1731 | left: 50%; |
| 1732 | top: 0; |
| 1733 | margin-top: -4px; |
| 1734 | transform: translateX(-50%) rotate(180deg); |
| 1735 | content: ""; |
| 1736 | position: absolute; |
| 1737 | border-width: 4px 6px 0 6px; |
| 1738 | border-style: solid; |
| 1739 | border-color: #4169e1 transparent transparent transparent; |
| 1740 | z-index: 100; |
| 1741 | display: block; |
| 1742 | } |
| 1743 | } |
| 1744 | } |
| 1745 | |
| 1746 | .woocommerce-form-login { |
| 1747 | |
| 1748 | p.form-row.form-row-first, |
| 1749 | p.form-row.form-row-last { |
| 1750 | float: none; |
| 1751 | } |
| 1752 | } |
| 1753 | |
| 1754 | .select2-choice, |
| 1755 | .select2-choice:hover { |
| 1756 | box-shadow: none !important; |
| 1757 | } |
| 1758 | |
| 1759 | .select2-choice { |
| 1760 | padding: 0.7rem 0 0.7rem 0.7rem; |
| 1761 | } |
| 1762 | |
| 1763 | .select2-container .select2-selection--single { |
| 1764 | height: 48px; |
| 1765 | } |
| 1766 | |
| 1767 | .select2-container .select2-selection--single .select2-selection__rendered { |
| 1768 | line-height: 48px; |
| 1769 | } |
| 1770 | |
| 1771 | .select2-container .select2-selection { |
| 1772 | border: var(--form--border-width) solid var(--form--border-color); |
| 1773 | border-radius: var(--form--border-radius); |
| 1774 | } |
| 1775 | |
| 1776 | .select2-container .select2-dropdown { |
| 1777 | border: var(--form--border-width) solid var(--form--border-color); |
| 1778 | border-radius: var(--form--border-radius); |
| 1779 | border-top: none; |
| 1780 | } |
| 1781 | |
| 1782 | .select2-container--default .select2-selection--single .select2-selection__arrow { |
| 1783 | height: 46px; |
| 1784 | } |
| 1785 | |
| 1786 | .select2-container--focus .select2-selection, |
| 1787 | .select2-container--open .select2-selection { |
| 1788 | outline-offset: 2px; |
| 1789 | outline: 2px dotted var(--form--border-color); |
| 1790 | } |
| 1791 | |
| 1792 | .select2-results__option { |
| 1793 | margin-left: 0; |
| 1794 | } |
| 1795 | |
| 1796 | .select2-container { |
| 1797 | |
| 1798 | .select2-search__field { |
| 1799 | height: 3rem; |
| 1800 | background: #eee; |
| 1801 | } |
| 1802 | } |
| 1803 | } |
| 1804 | |
| 1805 | .woocommerce-checkout-review-order-table { |
| 1806 | |
| 1807 | ul li { |
| 1808 | list-style-type: none; |
| 1809 | } |
| 1810 | |
| 1811 | input[type="radio"]="radio""].shipping_method { |
| 1812 | display: none; |
| 1813 | |
| 1814 | & + label { |
| 1815 | |
| 1816 | &::before { |
| 1817 | content: ""; |
| 1818 | display: inline-block; |
| 1819 | width: 14px !important; |
| 1820 | height: 14px; |
| 1821 | border: var(--form--border-width) solid var(--form--border-color); |
| 1822 | background: var(--global--color-white); |
| 1823 | margin-left: 4px; |
| 1824 | margin-right: 1.2rem; |
| 1825 | border-radius: 100%; |
| 1826 | transform: translateY(2px); |
| 1827 | } |
| 1828 | } |
| 1829 | |
| 1830 | &:checked + label { |
| 1831 | |
| 1832 | &::before { |
| 1833 | background: var(--global--color-border); |
| 1834 | } |
| 1835 | |
| 1836 | .is-dark-theme &::before { |
| 1837 | background: var(--global--color-background); |
| 1838 | } |
| 1839 | } |
| 1840 | } |
| 1841 | |
| 1842 | td { |
| 1843 | padding: 1rem 0.5em; |
| 1844 | } |
| 1845 | |
| 1846 | dl.variation { |
| 1847 | margin: 0; |
| 1848 | |
| 1849 | p { |
| 1850 | margin: 0; |
| 1851 | } |
| 1852 | |
| 1853 | dt, |
| 1854 | dd { |
| 1855 | font-family: $headings; |
| 1856 | |
| 1857 | p { |
| 1858 | padding-top: 1px; |
| 1859 | font-family: $headings; |
| 1860 | } |
| 1861 | } |
| 1862 | } |
| 1863 | } |
| 1864 | |
| 1865 | .woocommerce-order-received { |
| 1866 | |
| 1867 | .woocommerce-order { |
| 1868 | |
| 1869 | p, |
| 1870 | li { |
| 1871 | font-family: $headings; |
| 1872 | } |
| 1873 | } |
| 1874 | |
| 1875 | table { |
| 1876 | border: 0; |
| 1877 | |
| 1878 | td, |
| 1879 | th, |
| 1880 | tr { |
| 1881 | border: 0; |
| 1882 | } |
| 1883 | |
| 1884 | tr { |
| 1885 | height: 5rem; |
| 1886 | } |
| 1887 | |
| 1888 | tfoot { |
| 1889 | border-top: 1px solid #ddd; |
| 1890 | |
| 1891 | /* Targeting total */ |
| 1892 | tr:last-of-type { |
| 1893 | border-top: 1px solid #ddd; |
| 1894 | |
| 1895 | .woocommerce-Price-amount { |
| 1896 | font-weight: 700; |
| 1897 | } |
| 1898 | } |
| 1899 | } |
| 1900 | |
| 1901 | } |
| 1902 | } |
| 1903 | |
| 1904 | .woocommerce-checkout-review-order { |
| 1905 | |
| 1906 | ul { |
| 1907 | margin: 2rem 0 3rem; |
| 1908 | padding-left: 0; |
| 1909 | } |
| 1910 | |
| 1911 | #place_order { |
| 1912 | width: 100%; |
| 1913 | } |
| 1914 | } |
| 1915 | |
| 1916 | .wc_payment_method { |
| 1917 | list-style: none; |
| 1918 | |
| 1919 | .payment_box { |
| 1920 | padding: 1rem; |
| 1921 | background: #eee; |
| 1922 | color: var(--global--color-dark-gray); |
| 1923 | |
| 1924 | a, |
| 1925 | a:hover, |
| 1926 | a:visited { |
| 1927 | color: var(--global--color-dark-gray); |
| 1928 | } |
| 1929 | |
| 1930 | ul, |
| 1931 | ol { |
| 1932 | |
| 1933 | &:last-of-type { |
| 1934 | margin-bottom: 0; |
| 1935 | } |
| 1936 | } |
| 1937 | |
| 1938 | fieldset { |
| 1939 | padding: 1.5rem; |
| 1940 | padding-bottom: 0; |
| 1941 | border: 0; |
| 1942 | background: #f6f6f6; |
| 1943 | } |
| 1944 | |
| 1945 | li { |
| 1946 | list-style: none; |
| 1947 | } |
| 1948 | |
| 1949 | p { |
| 1950 | |
| 1951 | &:first-child { |
| 1952 | margin-top: 0; |
| 1953 | } |
| 1954 | |
| 1955 | &:last-child { |
| 1956 | margin-bottom: 0; |
| 1957 | } |
| 1958 | } |
| 1959 | |
| 1960 | input[type=checkbox]=checkbox] { |
| 1961 | width: 25px !important; |
| 1962 | } |
| 1963 | |
| 1964 | input[type=radio]=radio] { |
| 1965 | |
| 1966 | & + label::before { |
| 1967 | background: #fff !important; |
| 1968 | border: var(--form--border-width) solid #000 !important; |
| 1969 | } |
| 1970 | |
| 1971 | &:checked + label::before { |
| 1972 | background: #000 !important; |
| 1973 | } |
| 1974 | } |
| 1975 | } |
| 1976 | |
| 1977 | > label:first-of-type { |
| 1978 | display: block; |
| 1979 | margin: 1rem 0; |
| 1980 | |
| 1981 | img { |
| 1982 | max-height: 24px; |
| 1983 | max-width: 200px; |
| 1984 | float: right; |
| 1985 | } |
| 1986 | } |
| 1987 | |
| 1988 | label { |
| 1989 | cursor: pointer; |
| 1990 | } |
| 1991 | |
| 1992 | input[type="radio"]="radio""] { |
| 1993 | display: none; |
| 1994 | |
| 1995 | & + label { |
| 1996 | font-family: $headings; |
| 1997 | |
| 1998 | &::before { |
| 1999 | content: ""; |
| 2000 | display: inline-block; |
| 2001 | width: 14px; |
| 2002 | height: 14px; |
| 2003 | border: var(--form--border-width) solid var(--form--border-color); |
| 2004 | background: var(--global--color-white); |
| 2005 | margin-left: 4px; |
| 2006 | margin-right: 1.2rem; |
| 2007 | border-radius: 100%; |
| 2008 | transform: translateY(2px); |
| 2009 | } |
| 2010 | |
| 2011 | } |
| 2012 | |
| 2013 | &:checked + label { |
| 2014 | |
| 2015 | &::before { |
| 2016 | background: var(--global--color-border); |
| 2017 | } |
| 2018 | |
| 2019 | .is-dark-theme &::before { |
| 2020 | background: var(--global--color-background); |
| 2021 | } |
| 2022 | } |
| 2023 | } |
| 2024 | } |
| 2025 | |
| 2026 | .wc_payment_methods { |
| 2027 | |
| 2028 | .payment_box { |
| 2029 | |
| 2030 | p { |
| 2031 | font-family: $headings; |
| 2032 | } |
| 2033 | } |
| 2034 | } |
| 2035 | |
| 2036 | .account-payment-methods-table { |
| 2037 | padding-top: 0 !important; |
| 2038 | margin-bottom: 1rem; |
| 2039 | |
| 2040 | table, |
| 2041 | tr { |
| 2042 | border-style: hidden; |
| 2043 | } |
| 2044 | |
| 2045 | tr:nth-child(2n) { |
| 2046 | |
| 2047 | td { |
| 2048 | background: transparent !important; |
| 2049 | } |
| 2050 | } |
| 2051 | |
| 2052 | tr:nth-child(2n+1) { |
| 2053 | |
| 2054 | td { |
| 2055 | background: var(--global--color-background); |
| 2056 | filter: brightness(88%); |
| 2057 | |
| 2058 | .is-dark-theme & { |
| 2059 | filter: brightness(112%); |
| 2060 | } |
| 2061 | } |
| 2062 | } |
| 2063 | |
| 2064 | td.payment-method-actions { |
| 2065 | padding-right: 0.5rem; |
| 2066 | padding-left: 0.5rem; |
| 2067 | padding-top: 0.3rem; |
| 2068 | padding-bottom: 0.3rem; |
| 2069 | |
| 2070 | display: grid; |
| 2071 | border: none; |
| 2072 | |
| 2073 | font-size: 0; |
| 2074 | |
| 2075 | a { |
| 2076 | width: 100%; |
| 2077 | padding-top: 0.3rem !important; |
| 2078 | padding-bottom: 0.3rem !important; |
| 2079 | margin-top: 0.5rem !important; |
| 2080 | margin-bottom: 0.5rem !important; |
| 2081 | |
| 2082 | @include inversebuttoncolors(); |
| 2083 | } |
| 2084 | } |
| 2085 | } |
| 2086 | |
| 2087 | |
| 2088 | .woocommerce-terms-and-conditions-wrapper { |
| 2089 | margin-bottom: 5rem; |
| 2090 | |
| 2091 | .woocommerce-privacy-policy-text { |
| 2092 | |
| 2093 | p { |
| 2094 | font-family: $headings; |
| 2095 | font-size: 1.6rem; |
| 2096 | } |
| 2097 | } |
| 2098 | } |
| 2099 | |
| 2100 | .woocommerce-order-overview { |
| 2101 | margin-bottom: 2rem; |
| 2102 | } |
| 2103 | |
| 2104 | .woocommerce-table--order-details { |
| 2105 | margin-bottom: 2rem; |
| 2106 | } |
| 2107 | |
| 2108 | /** |
| 2109 | * Layout stuff |
| 2110 | */ |
| 2111 | .woocommerce { |
| 2112 | |
| 2113 | section { |
| 2114 | padding-top: 2rem; |
| 2115 | padding-bottom: 0; |
| 2116 | } |
| 2117 | |
| 2118 | .content-area { |
| 2119 | |
| 2120 | .site-main { |
| 2121 | margin: 0 5vw; |
| 2122 | } |
| 2123 | } |
| 2124 | |
| 2125 | /* Shop layout */ |
| 2126 | ul.products { |
| 2127 | display: flex; |
| 2128 | align-items: stretch; |
| 2129 | flex-direction: row; |
| 2130 | flex-wrap: wrap; |
| 2131 | box-sizing: border-box; |
| 2132 | word-break: break-word; |
| 2133 | min-width: 12vw; |
| 2134 | |
| 2135 | &.columns-2 { |
| 2136 | |
| 2137 | li.product { |
| 2138 | width: calc(100% / 2 - 16px) !important; |
| 2139 | } |
| 2140 | } |
| 2141 | |
| 2142 | &.columns-3 { |
| 2143 | |
| 2144 | li.product { |
| 2145 | width: calc(100% / 3 - 16px) !important; |
| 2146 | } |
| 2147 | } |
| 2148 | |
| 2149 | &.columns-4 { |
| 2150 | |
| 2151 | li.product { |
| 2152 | width: calc(100% / 4 - 16px) !important; |
| 2153 | } |
| 2154 | } |
| 2155 | |
| 2156 | &.columns-5 { |
| 2157 | |
| 2158 | li.product { |
| 2159 | width: calc(100% / 5 - 16px) !important; |
| 2160 | } |
| 2161 | } |
| 2162 | |
| 2163 | &.columns-6 { |
| 2164 | |
| 2165 | li.product { |
| 2166 | width: calc(100% / 6 - 16px) !important; |
| 2167 | } |
| 2168 | } |
| 2169 | |
| 2170 | li.product { |
| 2171 | display: flex; |
| 2172 | flex-direction: column; |
| 2173 | justify-content: space-between; |
| 2174 | align-items: flex-start; |
| 2175 | margin: 0 8px 16px 8px; |
| 2176 | box-sizing: border-box; |
| 2177 | |
| 2178 | img.attachment-woocommerce_thumbnail, |
| 2179 | img.woocommerce-placeholder { |
| 2180 | height: auto !important; |
| 2181 | } |
| 2182 | } |
| 2183 | |
| 2184 | li.product-category { |
| 2185 | |
| 2186 | a { |
| 2187 | text-align: left; |
| 2188 | text-decoration: none; |
| 2189 | |
| 2190 | h2.woocommerce-loop-category__title { |
| 2191 | margin-top: 0.4rem; |
| 2192 | font-family: $headings; |
| 2193 | font-size: 1.5rem; |
| 2194 | |
| 2195 | .count { |
| 2196 | background-color: transparent; |
| 2197 | color: $body-color; |
| 2198 | } |
| 2199 | } |
| 2200 | } |
| 2201 | |
| 2202 | mark { |
| 2203 | background-color: initial; |
| 2204 | } |
| 2205 | } |
| 2206 | } |
| 2207 | } |
| 2208 | |
| 2209 | @media only screen and (max-width: 600px) { |
| 2210 | |
| 2211 | .woocommerce { |
| 2212 | |
| 2213 | .woocommerce-ordering { |
| 2214 | float: left; |
| 2215 | clear: both; |
| 2216 | margin-top: 0; |
| 2217 | } |
| 2218 | |
| 2219 | .woocommerce-result-count { |
| 2220 | margin-top: 0; |
| 2221 | margin-bottom: 20px; |
| 2222 | } |
| 2223 | } |
| 2224 | } |
| 2225 | |
| 2226 | @media only screen and (max-width: 667px) { |
| 2227 | |
| 2228 | .woocommerce, |
| 2229 | .woocommerce-page { |
| 2230 | |
| 2231 | ul.products[class*=columns-]*=columns-] { |
| 2232 | |
| 2233 | li.product { |
| 2234 | width: auto !important; |
| 2235 | margin-left: auto; |
| 2236 | margin-right: auto; |
| 2237 | } |
| 2238 | } |
| 2239 | } |
| 2240 | } |
| 2241 | |
| 2242 | @media only screen and (min-width: 668px) and (max-width: 768px) { |
| 2243 | |
| 2244 | .woocommerce, |
| 2245 | .woocommerce-page { |
| 2246 | |
| 2247 | .related.products { |
| 2248 | |
| 2249 | ul.products[class*=columns-]*=columns-] { |
| 2250 | |
| 2251 | li.product { |
| 2252 | padding: 0 2vw 3em 0 !important; |
| 2253 | margin-bottom: 2em; |
| 2254 | } |
| 2255 | } |
| 2256 | } |
| 2257 | |
| 2258 | ul.products[class*=columns-]*=columns-] { |
| 2259 | justify-content: center; |
| 2260 | |
| 2261 | li.product { |
| 2262 | width: 50%; |
| 2263 | padding: 0 2vw 3em 0; |
| 2264 | } |
| 2265 | |
| 2266 | } |
| 2267 | |
| 2268 | .onsale { |
| 2269 | font-size: 1rem; |
| 2270 | } |
| 2271 | |
| 2272 | .onsale + .woocommerce-product-gallery .woocommerce-product-gallery__trigger { |
| 2273 | top: 1.8em; |
| 2274 | right: 1.8em; |
| 2275 | } |
| 2276 | |
| 2277 | } |
| 2278 | } |
| 2279 | |
| 2280 | @media only screen and (max-width: 768px) { |
| 2281 | |
| 2282 | .woocommerce section.content-area { |
| 2283 | padding-top: 0; |
| 2284 | } |
| 2285 | |
| 2286 | #main { |
| 2287 | |
| 2288 | .woocommerce { |
| 2289 | |
| 2290 | .woocommerce-cart-form { |
| 2291 | |
| 2292 | .actions { |
| 2293 | |
| 2294 | .coupon { |
| 2295 | margin-bottom: 2rem; |
| 2296 | |
| 2297 | button { |
| 2298 | width: 100%; |
| 2299 | } |
| 2300 | } |
| 2301 | } |
| 2302 | |
| 2303 | #coupon_code { |
| 2304 | width: 100% !important; |
| 2305 | } |
| 2306 | } |
| 2307 | } |
| 2308 | |
| 2309 | #shipping_method { |
| 2310 | |
| 2311 | li { |
| 2312 | display: flex; |
| 2313 | justify-content: flex-end; |
| 2314 | } |
| 2315 | } |
| 2316 | } |
| 2317 | |
| 2318 | .woocommerce, |
| 2319 | .woocommerce-page { |
| 2320 | |
| 2321 | .onsale { |
| 2322 | right: -0.7rem !important; |
| 2323 | } |
| 2324 | |
| 2325 | .woocommerce-tabs { |
| 2326 | |
| 2327 | ul { |
| 2328 | |
| 2329 | li { |
| 2330 | font-size: 1rem; |
| 2331 | |
| 2332 | a { |
| 2333 | padding: calc(0.75 * var(--button--padding-vertical)) calc(0.75 * var(--button--padding-horizontal)); |
| 2334 | } |
| 2335 | } |
| 2336 | } |
| 2337 | } |
| 2338 | |
| 2339 | table.shop_table_responsive { |
| 2340 | |
| 2341 | .button { |
| 2342 | |
| 2343 | @include inversebuttoncolors(); |
| 2344 | } |
| 2345 | |
| 2346 | tr { |
| 2347 | margin: 0 0 1.5rem; |
| 2348 | |
| 2349 | &:first-child { |
| 2350 | border-top: 1px solid; |
| 2351 | } |
| 2352 | |
| 2353 | &:last-child { |
| 2354 | margin-bottom: 0; |
| 2355 | } |
| 2356 | |
| 2357 | &:nth-child(2n) { |
| 2358 | |
| 2359 | td { |
| 2360 | background: transparent; |
| 2361 | } |
| 2362 | } |
| 2363 | |
| 2364 | &:nth-child(2n+1) { |
| 2365 | |
| 2366 | td { |
| 2367 | background: var(--global--color-background); |
| 2368 | filter: brightness(88%); |
| 2369 | |
| 2370 | .is-dark-theme & { |
| 2371 | filter: brightness(112%); |
| 2372 | } |
| 2373 | } |
| 2374 | } |
| 2375 | |
| 2376 | td { |
| 2377 | border-bottom-width: 0; |
| 2378 | |
| 2379 | &:last-child { |
| 2380 | border-bottom-width: 1px; |
| 2381 | } |
| 2382 | } |
| 2383 | |
| 2384 | td.product-quantity::before { |
| 2385 | padding-top: 0.9rem; |
| 2386 | } |
| 2387 | |
| 2388 | .product-remove { |
| 2389 | float: right; |
| 2390 | } |
| 2391 | |
| 2392 | .product-thumbnail { |
| 2393 | display: block; |
| 2394 | |
| 2395 | img { |
| 2396 | width: 70px; |
| 2397 | } |
| 2398 | |
| 2399 | &::before { |
| 2400 | content: ""; |
| 2401 | } |
| 2402 | } |
| 2403 | } |
| 2404 | |
| 2405 | } |
| 2406 | |
| 2407 | .woocommerce-breadcrumb { |
| 2408 | margin-bottom: 4rem; |
| 2409 | font-size: 0.8em; |
| 2410 | font-family: $headings; |
| 2411 | } |
| 2412 | |
| 2413 | .related.products { |
| 2414 | |
| 2415 | ul.products { |
| 2416 | display: flex; |
| 2417 | flex-direction: column; |
| 2418 | align-items: flex-start; |
| 2419 | |
| 2420 | li.product { |
| 2421 | margin-bottom: 5em; |
| 2422 | } |
| 2423 | } |
| 2424 | } |
| 2425 | |
| 2426 | .woocommerce-products-header__title.page-title { |
| 2427 | margin: 3rem auto 4rem; |
| 2428 | } |
| 2429 | |
| 2430 | .woocommerce-result-count, |
| 2431 | .woocommerce-ordering { |
| 2432 | font-size: 0.8em; |
| 2433 | } |
| 2434 | |
| 2435 | .woocommerce-ordering { |
| 2436 | margin-bottom: 3rem; |
| 2437 | } |
| 2438 | } |
| 2439 | |
| 2440 | .woocommerce-cart-form { |
| 2441 | |
| 2442 | table { |
| 2443 | |
| 2444 | td.product-name { |
| 2445 | padding-left: 0.5em; |
| 2446 | } |
| 2447 | |
| 2448 | input.qty { |
| 2449 | padding: 1rem 1.5rem; |
| 2450 | } |
| 2451 | } |
| 2452 | } |
| 2453 | |
| 2454 | .woocommerce-checkout { |
| 2455 | |
| 2456 | form { |
| 2457 | |
| 2458 | .col2-set { |
| 2459 | width: 100%; |
| 2460 | float: none; |
| 2461 | padding-right: 0; |
| 2462 | |
| 2463 | .col-1, |
| 2464 | .col-2 { |
| 2465 | float: none; |
| 2466 | width: 100%; |
| 2467 | } |
| 2468 | } |
| 2469 | |
| 2470 | #order_review_heading { |
| 2471 | margin-top: 2rem; |
| 2472 | } |
| 2473 | |
| 2474 | #order_review_heading, |
| 2475 | #order_review { |
| 2476 | width: 100%; |
| 2477 | padding-left: 0; |
| 2478 | float: none; |
| 2479 | } |
| 2480 | |
| 2481 | table { |
| 2482 | |
| 2483 | tbody { |
| 2484 | |
| 2485 | td.product-total { |
| 2486 | text-align: end; |
| 2487 | } |
| 2488 | } |
| 2489 | |
| 2490 | tfoot { |
| 2491 | |
| 2492 | .cart-subtotal, |
| 2493 | .order-total { |
| 2494 | |
| 2495 | td { |
| 2496 | text-align: end; |
| 2497 | } |
| 2498 | } |
| 2499 | } |
| 2500 | } |
| 2501 | } |
| 2502 | } |
| 2503 | |
| 2504 | .logged-in.woocommerce-account { |
| 2505 | |
| 2506 | #main { |
| 2507 | |
| 2508 | .woocommerce { |
| 2509 | flex-direction: column; |
| 2510 | } |
| 2511 | |
| 2512 | .woocommerce-MyAccount-navigation, |
| 2513 | .woocommerce-MyAccount-content { |
| 2514 | width: 100%; |
| 2515 | } |
| 2516 | |
| 2517 | table.account-orders-table { |
| 2518 | |
| 2519 | .button { |
| 2520 | padding-left: 0.5em; |
| 2521 | padding-right: 0.5em; |
| 2522 | width: 100%; |
| 2523 | margin: 2rem 0; |
| 2524 | } |
| 2525 | } |
| 2526 | } |
| 2527 | |
| 2528 | table.account-orders-table { |
| 2529 | |
| 2530 | td { |
| 2531 | padding-bottom: 1.5rem; |
| 2532 | } |
| 2533 | } |
| 2534 | } |
| 2535 | } |
| 2536 | |
| 2537 | @media only screen and (min-width: 768px) { |
| 2538 | |
| 2539 | /** |
| 2540 | * Tables |
| 2541 | */ |
| 2542 | .woocommerce, |
| 2543 | .woocommerce-page { |
| 2544 | |
| 2545 | table.shop_table { |
| 2546 | |
| 2547 | tbody { |
| 2548 | |
| 2549 | tr { |
| 2550 | font-size: 0.88889em; |
| 2551 | } |
| 2552 | } |
| 2553 | } |
| 2554 | |
| 2555 | .onsale { |
| 2556 | font-size: 1rem; |
| 2557 | } |
| 2558 | |
| 2559 | } |
| 2560 | |
| 2561 | /** |
| 2562 | * Home page |
| 2563 | */ |
| 2564 | .home #main { |
| 2565 | |
| 2566 | [class*="woocommerce columns-"]*="woocommerce columns-""] { |
| 2567 | word-break: break-word; |
| 2568 | max-width: var(--responsive--aligndefault-width); |
| 2569 | margin-left: auto; |
| 2570 | margin-right: auto; |
| 2571 | } |
| 2572 | } |
| 2573 | |
| 2574 | /** |
| 2575 | * Shop page |
| 2576 | */ |
| 2577 | |
| 2578 | .woocommerce-pagination { |
| 2579 | |
| 2580 | span.page-numbers, |
| 2581 | a.page-numbers, |
| 2582 | .next.page-numbers, |
| 2583 | .prev.page-numbers { |
| 2584 | padding: 1rem; |
| 2585 | } |
| 2586 | } |
| 2587 | |
| 2588 | /** |
| 2589 | * Account section |
| 2590 | */ |
| 2591 | .woocommerce-account { |
| 2592 | |
| 2593 | .woocommerce-MyAccount-navigation { |
| 2594 | float: none; |
| 2595 | width: 20%; |
| 2596 | margin-bottom: 1.5rem; |
| 2597 | margin-right: 3rem; |
| 2598 | |
| 2599 | li { |
| 2600 | margin: 0 1rem 3rem 0; |
| 2601 | padding: 0; |
| 2602 | border-bottom: 0; |
| 2603 | |
| 2604 | &:last-child { |
| 2605 | margin-right: 0; |
| 2606 | } |
| 2607 | } |
| 2608 | } |
| 2609 | |
| 2610 | .woocommerce-MyAccount-content { |
| 2611 | float: none; |
| 2612 | width: 75%; |
| 2613 | } |
| 2614 | |
| 2615 | table.account-orders-table { |
| 2616 | margin-top: 0; |
| 2617 | border: 0; |
| 2618 | margin-bottom: 1rem; |
| 2619 | |
| 2620 | tr, |
| 2621 | td, |
| 2622 | th { |
| 2623 | border: 0; |
| 2624 | padding: 0; |
| 2625 | } |
| 2626 | |
| 2627 | th, |
| 2628 | td, |
| 2629 | td.woocommerce-orders-table__cell-order-actions { |
| 2630 | width: 1%; |
| 2631 | padding-right: 0.5rem; |
| 2632 | padding-left: 0.5rem; |
| 2633 | |
| 2634 | a { |
| 2635 | padding-top: 0.3rem !important; |
| 2636 | padding-bottom: 0.3rem !important; |
| 2637 | margin-top: 0.5rem !important; |
| 2638 | margin-bottom: 0.5rem !important; |
| 2639 | } |
| 2640 | } |
| 2641 | |
| 2642 | td.woocommerce-orders-table__cell-order-date { |
| 2643 | padding-right: 0; |
| 2644 | } |
| 2645 | |
| 2646 | thead { |
| 2647 | border-bottom: 1px solid $body-color; |
| 2648 | } |
| 2649 | |
| 2650 | .button { |
| 2651 | padding-left: 0.5em; |
| 2652 | padding-right: 0.5em; |
| 2653 | width: 100%; |
| 2654 | margin: 1.5rem 0; |
| 2655 | |
| 2656 | @include inversebuttoncolors(); |
| 2657 | } |
| 2658 | } |
| 2659 | } |
| 2660 | |
| 2661 | /** |
| 2662 | * Layout stuff |
| 2663 | */ |
| 2664 | .woocommerce { |
| 2665 | |
| 2666 | .content-area { |
| 2667 | margin: 0 auto; |
| 2668 | padding: 0 6vw; |
| 2669 | |
| 2670 | .site-main { |
| 2671 | margin: 0; |
| 2672 | } |
| 2673 | } |
| 2674 | } |
| 2675 | |
| 2676 | .single-product { |
| 2677 | |
| 2678 | .entry { |
| 2679 | |
| 2680 | .entry-content, |
| 2681 | .entry-summary { |
| 2682 | max-width: none; |
| 2683 | margin: 0 0 3rem; |
| 2684 | padding: 0; |
| 2685 | |
| 2686 | > * { |
| 2687 | max-width: none; |
| 2688 | } |
| 2689 | } |
| 2690 | } |
| 2691 | } |
| 2692 | |
| 2693 | .woocommerce-breadcrumb { |
| 2694 | margin-bottom: 5rem; |
| 2695 | font-size: 0.88889em; |
| 2696 | font-family: $headings; |
| 2697 | } |
| 2698 | |
| 2699 | .woocommerce-product-gallery { |
| 2700 | margin-bottom: 8rem; |
| 2701 | } |
| 2702 | |
| 2703 | .woocommerce-checkout { |
| 2704 | |
| 2705 | #main { |
| 2706 | |
| 2707 | .woocommerce { |
| 2708 | |
| 2709 | max-width: 1600px; |
| 2710 | padding: 0 6vw; |
| 2711 | margin: 0 auto; |
| 2712 | } |
| 2713 | } |
| 2714 | } |
| 2715 | |
| 2716 | } |
| 2717 | |
| 2718 | @media only screen and (min-width: 1168px) { |
| 2719 | |
| 2720 | .woocommerce { |
| 2721 | |
| 2722 | .content-area { |
| 2723 | max-width: 1600px; |
| 2724 | margin: 0 auto; |
| 2725 | padding: 0 6vw; |
| 2726 | |
| 2727 | .site-main { |
| 2728 | |
| 2729 | } |
| 2730 | } |
| 2731 | |
| 2732 | .onsale { |
| 2733 | font-size: 1.2rem; |
| 2734 | } |
| 2735 | } |
| 2736 | |
| 2737 | .woocommerce-breadcrumb { |
| 2738 | margin-bottom: 5rem; |
| 2739 | font-size: 0.88889em; |
| 2740 | font-family: $headings; |
| 2741 | } |
| 2742 | |
| 2743 | .woocommerce-product-gallery { |
| 2744 | margin-bottom: 8rem; |
| 2745 | } |
| 2746 | |
| 2747 | .woocommerce-account { |
| 2748 | |
| 2749 | table.account-orders-table { |
| 2750 | |
| 2751 | th, |
| 2752 | td, |
| 2753 | td.woocommerce-orders-table__cell-order-actions { |
| 2754 | padding-right: 1.5rem; |
| 2755 | padding-left: 1.5rem; |
| 2756 | } |
| 2757 | } |
| 2758 | } |
| 2759 | } |
| 2760 | |
| 2761 | @media only screen and (max-width: 768px) { |
| 2762 | |
| 2763 | .woocommerce-products-header { |
| 2764 | border-bottom: none !important; |
| 2765 | padding-bottom: 0; |
| 2766 | margin-bottom: 0 !important; |
| 2767 | } |
| 2768 | } |
| 2769 | |
| 2770 | @media only screen and (min-width: 600px) { |
| 2771 | |
| 2772 | .woocommerce-products-header { |
| 2773 | padding-bottom: 1.5vw; |
| 2774 | } |
| 2775 | |
| 2776 | .woocommerce-ordering, |
| 2777 | .woocommerce-result-count { |
| 2778 | margin-top: 0 !important; |
| 2779 | } |
| 2780 | } |
| 2781 | |
| 2782 | @media only screen and (min-width: 690px) { |
| 2783 | |
| 2784 | .woocommerce-products-header { |
| 2785 | border-bottom: 3px solid var(--global--color-border); |
| 2786 | } |
| 2787 | } |
| 2788 | |
| 2789 | .woocommerce-account { |
| 2790 | |
| 2791 | .entry-header { |
| 2792 | |
| 2793 | padding-bottom: 20px !important; |
| 2794 | } |
| 2795 | |
| 2796 | .woocommerce-MyAccount-content { |
| 2797 | |
| 2798 | p:first-of-type { |
| 2799 | margin-bottom: 2rem; |
| 2800 | } |
| 2801 | |
| 2802 | #add_payment_method { |
| 2803 | |
| 2804 | ul { |
| 2805 | list-style-type: none !important; |
| 2806 | } |
| 2807 | |
| 2808 | .woocommerce-PaymentMethod { |
| 2809 | margin-bottom: 1.5rem; |
| 2810 | } |
| 2811 | } |
| 2812 | |
| 2813 | input[type=radio]=radio] { |
| 2814 | float: left; |
| 2815 | margin-top: 0.5rem; |
| 2816 | margin-right: 0.5rem; |
| 2817 | } |
| 2818 | |
| 2819 | label { |
| 2820 | font-size: 1.5rem; |
| 2821 | display: flex; |
| 2822 | justify-content: flex-end; |
| 2823 | |
| 2824 | img { |
| 2825 | margin-left: 10px !important; |
| 2826 | } |
| 2827 | |
| 2828 | img:first-child { |
| 2829 | margin-left: auto !important; |
| 2830 | } |
| 2831 | |
| 2832 | img:last-child { |
| 2833 | margin-right: 5px !important; |
| 2834 | } |
| 2835 | } |
| 2836 | |
| 2837 | .woocommerce-PaymentBox { |
| 2838 | |
| 2839 | p, |
| 2840 | label { |
| 2841 | font-size: 1.3rem; |
| 2842 | } |
| 2843 | |
| 2844 | p { |
| 2845 | margin-bottom: 1.5rem; |
| 2846 | } |
| 2847 | |
| 2848 | br { |
| 2849 | display: none; |
| 2850 | } |
| 2851 | |
| 2852 | .woocommerce_error { |
| 2853 | margin-top: 1rem; |
| 2854 | margin-bottom: 0; |
| 2855 | } |
| 2856 | } |
| 2857 | } |
| 2858 | |
| 2859 | .woocommerce-MyAccount-navigation-link { |
| 2860 | |
| 2861 | margin-bottom: 20px !important; |
| 2862 | |
| 2863 | a { |
| 2864 | color: $body-color !important; |
| 2865 | font-weight: normal !important; |
| 2866 | font-size: 1.8rem; |
| 2867 | |
| 2868 | &:hover { |
| 2869 | color: $body-color !important; |
| 2870 | text-decoration: underline solid $body-color 1px !important; |
| 2871 | } |
| 2872 | } |
| 2873 | } |
| 2874 | } |
| 2875 | |
| 2876 | .alignwide .woocommerce { |
| 2877 | |
| 2878 | & > * { |
| 2879 | max-width: var(--responsive--alignwide-width); |
| 2880 | display: block; |
| 2881 | margin: var(--global--spacing-vertical) auto; |
| 2882 | } |
| 2883 | } |
| 2884 | |
| 2885 | .woocommerce { |
| 2886 | |
| 2887 | .woocommerce-notices-wrapper { |
| 2888 | |
| 2889 | & > * { |
| 2890 | padding: 15px; |
| 2891 | list-style: none; |
| 2892 | } |
| 2893 | } |
| 2894 | |
| 2895 | .return-to-shop, |
| 2896 | .wc-proceed-to-checkout { |
| 2897 | |
| 2898 | a.button { |
| 2899 | margin-top: var(--global--spacing-vertical); |
| 2900 | float: left; |
| 2901 | display: inline-block; |
| 2902 | width: 100%; |
| 2903 | } |
| 2904 | } |
| 2905 | |
| 2906 | .woocommerce-cart-form { |
| 2907 | |
| 2908 | .shop_table_responsive { |
| 2909 | margin-top: var(--global--spacing-vertical); |
| 2910 | margin-bottom: var(--global--spacing-vertical); |
| 2911 | |
| 2912 | th { |
| 2913 | border: none; |
| 2914 | } |
| 2915 | |
| 2916 | #coupon_code { |
| 2917 | min-width: 9rem; |
| 2918 | } |
| 2919 | } |
| 2920 | |
| 2921 | button[name="update_cart"]="update_cart""], |
| 2922 | button[name="apply_coupon"]="apply_coupon""] { |
| 2923 | padding: 0.5rem; |
| 2924 | color: var(--global--color-primary); |
| 2925 | background: var(--global--color-background); |
| 2926 | border: var(--form--border-width) solid var(--global--color-primary); |
| 2927 | |
| 2928 | &:hover, |
| 2929 | &:active { |
| 2930 | color: var(--global--color-background); |
| 2931 | background: var(--global--color-primary); |
| 2932 | } |
| 2933 | } |
| 2934 | |
| 2935 | .product-thumbnail { |
| 2936 | |
| 2937 | .attachment-woocommerce_thumbnail { |
| 2938 | height: auto !important; |
| 2939 | } |
| 2940 | } |
| 2941 | } |
| 2942 | |
| 2943 | .cart-collaterals { |
| 2944 | |
| 2945 | h2 { |
| 2946 | margin-bottom: var(--global--spacing-vertical); |
| 2947 | } |
| 2948 | |
| 2949 | #shipping_method { |
| 2950 | list-style: none; |
| 2951 | padding-left: 0; |
| 2952 | } |
| 2953 | |
| 2954 | .shipping-calculator-form { |
| 2955 | |
| 2956 | p { |
| 2957 | margin-bottom: 0.5rem; |
| 2958 | } |
| 2959 | |
| 2960 | .select2-container { |
| 2961 | |
| 2962 | .select2-selection { |
| 2963 | height: auto; |
| 2964 | } |
| 2965 | |
| 2966 | .select2-selection__rendered { |
| 2967 | border: var(--form--border-width) solid var(--form--border-color); |
| 2968 | border-radius: var(--form--border-radius); |
| 2969 | color: var(--form--color-text); |
| 2970 | height: var(--global--line-height-body); |
| 2971 | padding: var(--form--spacing-unit); |
| 2972 | } |
| 2973 | |
| 2974 | .select2-selection__arrow { |
| 2975 | height: 100%; |
| 2976 | } |
| 2977 | } |
| 2978 | } |
| 2979 | |
| 2980 | .cross-sells { |
| 2981 | |
| 2982 | li { |
| 2983 | list-style: none; |
| 2984 | } |
| 2985 | |
| 2986 | li > em, |
| 2987 | a { |
| 2988 | display: inline-block; |
| 2989 | } |
| 2990 | } |
| 2991 | } |
| 2992 | } |
| 2993 | |
| 2994 | /** |
| 2995 | * Downloads |
| 2996 | */ |
| 2997 | |
| 2998 | .woocommerce-order-downloads { |
| 2999 | |
| 3000 | padding-top: 0 !important; |
| 3001 | |
| 3002 | table, |
| 3003 | tr { |
| 3004 | border-style: hidden; |
| 3005 | |
| 3006 | td.download-remaining { |
| 3007 | text-align: center !important; |
| 3008 | } |
| 3009 | } |
| 3010 | |
| 3011 | tr:nth-child(2n) { |
| 3012 | |
| 3013 | td { |
| 3014 | background: transparent !important; |
| 3015 | } |
| 3016 | } |
| 3017 | |
| 3018 | tr:nth-child(2n+1) { |
| 3019 | |
| 3020 | td { |
| 3021 | background: var(--global--color-background); |
| 3022 | filter: brightness(88%); |
| 3023 | |
| 3024 | .is-dark-theme & { |
| 3025 | filter: brightness(112%); |
| 3026 | } |
| 3027 | } |
| 3028 | } |
| 3029 | |
| 3030 | td.download-file { |
| 3031 | padding-right: 0.5rem; |
| 3032 | padding-left: 0.5rem; |
| 3033 | padding-top: 0.3rem; |
| 3034 | padding-bottom: 0.3rem; |
| 3035 | |
| 3036 | a { |
| 3037 | width: 100%; |
| 3038 | padding-top: 0.3rem !important; |
| 3039 | padding-bottom: 0.3rem !important; |
| 3040 | margin-top: 0.5rem !important; |
| 3041 | margin-bottom: 0.5rem !important; |
| 3042 | |
| 3043 | @include inversebuttoncolors(); |
| 3044 | } |
| 3045 | } |
| 3046 | } |
| 3047 |