spree_frontend 4.0.8 → 4.1.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/app/assets/images/arrow-right.svg +1 -0
- data/app/assets/images/arrow.svg +1 -0
- data/app/assets/images/bag.svg +1 -0
- data/app/assets/images/burger.svg +1 -0
- data/app/assets/images/check-mark-circle.png +0 -0
- data/app/assets/images/check-mark-circle.svg +1 -0
- data/app/assets/images/check-mark.svg +1 -0
- data/app/assets/images/circle-radio.svg +1 -0
- data/app/assets/images/circle.svg +1 -0
- data/app/assets/images/close.svg +1 -0
- data/app/assets/images/credit_cards/icons/american_express.svg +1 -0
- data/app/assets/images/credit_cards/icons/diners_club.svg +1 -0
- data/app/assets/images/credit_cards/icons/discover.svg +1 -0
- data/app/assets/images/credit_cards/icons/generic.svg +1 -0
- data/app/assets/images/credit_cards/icons/jcb.svg +1 -0
- data/app/assets/images/credit_cards/icons/maestro.svg +1 -0
- data/app/assets/images/credit_cards/icons/master.svg +1 -0
- data/app/assets/images/credit_cards/icons/visa.svg +1 -0
- data/app/assets/images/edit.svg +1 -0
- data/app/assets/images/empty-cart.svg +1 -0
- data/app/assets/images/error.svg +1 -0
- data/app/assets/images/facebook.svg +1 -0
- data/app/assets/images/full_circle-radio.svg +1 -0
- data/app/assets/images/full_circle.svg +1 -0
- data/app/assets/images/garbage.svg +1 -0
- data/app/assets/images/garbage_2.svg +1 -0
- data/app/assets/images/homepage/big_category_banner.jpg +0 -0
- data/app/assets/images/homepage/big_category_banner_mobile.jpg +0 -0
- data/app/assets/images/homepage/big_category_banner_tablet_landscape.jpg +0 -0
- data/app/assets/images/homepage/big_category_banner_tablet_portrait.jpg +0 -0
- data/app/assets/images/homepage/category_banner_lower.jpg +0 -0
- data/app/assets/images/homepage/category_banner_lower_mobile.jpg +0 -0
- data/app/assets/images/homepage/category_banner_lower_tablet_landscape.jpg +0 -0
- data/app/assets/images/homepage/category_banner_lower_tablet_portrait.jpg +0 -0
- data/app/assets/images/homepage/category_banner_upper.jpg +0 -0
- data/app/assets/images/homepage/category_banner_upper_mobile.jpg +0 -0
- data/app/assets/images/homepage/category_banner_upper_tablet_landscape.jpg +0 -0
- data/app/assets/images/homepage/category_banner_upper_tablet_portrait.jpg +0 -0
- data/app/assets/images/homepage/main_banner.jpg +0 -0
- data/app/assets/images/homepage/main_banner_mobile.jpg +0 -0
- data/app/assets/images/homepage/main_banner_tablet_landscape.jpg +0 -0
- data/app/assets/images/homepage/main_banner_tablet_portrait.jpg +0 -0
- data/app/assets/images/homepage/products.jpg +0 -0
- data/app/assets/images/homepage/promo_banner_left.jpg +0 -0
- data/app/assets/images/homepage/promo_banner_left_mobile.jpg +0 -0
- data/app/assets/images/homepage/promo_banner_left_tablet_landscape.jpg +0 -0
- data/app/assets/images/homepage/promo_banner_left_tablet_portrait.jpg +0 -0
- data/app/assets/images/homepage/promo_banner_right.jpg +0 -0
- data/app/assets/images/homepage/promo_banner_right_mobile.jpg +0 -0
- data/app/assets/images/homepage/promo_banner_right_tablet_landscape.jpg +0 -0
- data/app/assets/images/homepage/promo_banner_right_tablet_portrait.jpg +0 -0
- data/app/assets/images/instagram.svg +1 -0
- data/app/assets/images/logo-spree.png +0 -0
- data/app/assets/images/logo.png +0 -0
- data/app/assets/images/logo.svg +1 -0
- data/app/assets/images/logo@2x.png +0 -0
- data/app/assets/images/logo@3x.png +0 -0
- data/app/assets/images/magnifying-glass.svg +1 -0
- data/app/assets/images/meganav/promo_banner_left-first-category.jpg +0 -0
- data/app/assets/images/meganav/promo_banner_left-second-category.jpg +0 -0
- data/app/assets/images/meganav/promo_banner_left-third-category.jpg +0 -0
- data/app/assets/images/meganav/promo_banner_right-first-category.jpg +0 -0
- data/app/assets/images/meganav/promo_banner_right-second-category.jpg +0 -0
- data/app/assets/images/meganav/promo_banner_right-third-category.jpg +0 -0
- data/app/assets/images/minus.svg +1 -0
- data/app/assets/images/noimage/big_category_banner.jpg +0 -0
- data/app/assets/images/noimage/big_category_banner_mobile.jpg +0 -0
- data/app/assets/images/noimage/big_category_banner_tablet_landscape.jpg +0 -0
- data/app/assets/images/noimage/big_category_banner_tablet_portrait.jpg +0 -0
- data/app/assets/images/noimage/category_banner.jpg +0 -0
- data/app/assets/images/noimage/category_banner_mobile.jpg +0 -0
- data/app/assets/images/noimage/category_banner_plp.jpg +0 -0
- data/app/assets/images/noimage/category_banner_tablet_landscape.jpg +0 -0
- data/app/assets/images/noimage/category_banner_tablet_portrait.jpg +0 -0
- data/app/assets/images/noimage/main_banner.jpg +0 -0
- data/app/assets/images/noimage/main_banner_mobile.jpg +0 -0
- data/app/assets/images/noimage/main_banner_tablet_landscape.jpg +0 -0
- data/app/assets/images/noimage/main_banner_tablet_portrait.jpg +0 -0
- data/app/assets/images/noimage/plp.png +0 -0
- data/app/assets/images/noimage/product_photo.jpg +0 -0
- data/app/assets/images/noimage/promo_banner.jpg +0 -0
- data/app/assets/images/noimage/promo_banner_megamenu.jpg +0 -0
- data/app/assets/images/noimage/promo_banner_mobile.jpg +0 -0
- data/app/assets/images/noimage/promo_banner_tablet_landscape.jpg +0 -0
- data/app/assets/images/noimage/promo_banner_tablet_portrait.jpg +0 -0
- data/app/assets/images/pagination-arrow-right.svg +12 -0
- data/app/assets/images/pagination-double-arrow-right.svg +15 -0
- data/app/assets/images/person.svg +1 -0
- data/app/assets/images/picture-zoom.svg +31 -0
- data/app/assets/images/plus.svg +1 -0
- data/app/assets/images/radio-button.svg +1 -0
- data/app/assets/images/search-no-results.svg +1 -0
- data/app/assets/images/search.svg +1 -0
- data/app/assets/images/spark-logo@3x.png +0 -0
- data/app/assets/images/twitter.svg +1 -0
- data/app/assets/images/vimeo.svg +1 -0
- data/app/assets/javascripts/spree/frontend/account.js +12 -0
- data/app/assets/javascripts/spree/frontend/api_tokens.js +4 -1
- data/app/assets/javascripts/spree/frontend/carousel-noconflict.js +3 -0
- data/app/assets/javascripts/spree/frontend/cart.js +61 -3
- data/app/assets/javascripts/spree/frontend/checkout/payment.js +24 -6
- data/app/assets/javascripts/spree/frontend/checkout/shipment.js +1 -1
- data/app/assets/javascripts/spree/frontend/checkout.js +42 -0
- data/app/assets/javascripts/spree/frontend/components-bootstrap/.gitkeep +0 -0
- data/app/assets/javascripts/spree/frontend/components-custom/.gitkeep +0 -0
- data/app/assets/javascripts/spree/frontend/coupon_manager.js +49 -1
- data/app/assets/javascripts/spree/frontend/viewport.js +7 -0
- data/app/assets/javascripts/spree/frontend/views/spree/home/product_carousels.js +31 -0
- data/app/assets/javascripts/spree/frontend/views/spree/layouts/spree_application.js +35 -0
- data/app/assets/javascripts/spree/frontend/views/spree/product/related.js +30 -0
- data/app/assets/javascripts/spree/frontend/views/spree/products/cart_form.js +280 -0
- data/app/assets/javascripts/spree/frontend/views/spree/products/description.js +8 -0
- data/app/assets/javascripts/spree/frontend/views/spree/products/index.js +37 -0
- data/app/assets/javascripts/spree/frontend/views/spree/products/modal_carousel.js +35 -0
- data/app/assets/javascripts/spree/frontend/views/spree/shared/carousel/single.js +139 -0
- data/app/assets/javascripts/spree/frontend/views/spree/shared/carousel/swipes.js +53 -0
- data/app/assets/javascripts/spree/frontend/views/spree/shared/carousel/thumbnails.js +137 -0
- data/app/assets/javascripts/spree/frontend/views/spree/shared/carousel.js +129 -0
- data/app/assets/javascripts/spree/frontend/views/spree/shared/delete_address_popup.js +27 -0
- data/app/assets/javascripts/spree/frontend/views/spree/shared/mobile_navigation.js +123 -0
- data/app/assets/javascripts/spree/frontend/views/spree/shared/nav_bar.js +16 -0
- data/app/assets/javascripts/spree/frontend/views/spree/shared/product_added_modal.js +28 -0
- data/app/assets/javascripts/spree/frontend/views/spree/shared/quantity_select.js +58 -0
- data/app/assets/javascripts/spree/frontend.js +9 -7
- data/app/assets/javascripts/spree/lazysizes.config.js +8 -0
- data/app/assets/stylesheets/spree/frontend/application.scss +54 -0
- data/app/assets/stylesheets/spree/frontend/bootstrap-patches.scss +11 -0
- data/app/assets/stylesheets/spree/frontend/components-bootstrap/.gitkeep +0 -0
- data/app/assets/stylesheets/spree/frontend/components-bootstrap/alert.scss +3 -0
- data/app/assets/stylesheets/spree/frontend/components-bootstrap/button.scss +8 -0
- data/app/assets/stylesheets/spree/frontend/components-bootstrap/carousel.scss +85 -0
- data/app/assets/stylesheets/spree/frontend/components-bootstrap/modal.scss +3 -0
- data/app/assets/stylesheets/spree/frontend/components-custom/.gitkeep +0 -0
- data/app/assets/stylesheets/spree/frontend/components-custom/headers.scss +28 -0
- data/app/assets/stylesheets/spree/frontend/components-custom/inputs.scss +265 -0
- data/app/assets/stylesheets/spree/frontend/fonts.scss +137 -0
- data/app/assets/stylesheets/spree/frontend/functions.scss +104 -0
- data/app/assets/stylesheets/spree/frontend/helpers/spree/frontend_helper.scss +23 -0
- data/app/assets/stylesheets/spree/frontend/margins.scss +53 -0
- data/app/assets/stylesheets/spree/frontend/mixins.scss +20 -0
- data/app/assets/stylesheets/spree/frontend/variables/.gitkeep +0 -0
- data/app/assets/stylesheets/spree/frontend/variables/bootstrap-overrides.scss +40 -0
- data/app/assets/stylesheets/spree/frontend/variables/helper-variables.scss +10 -0
- data/app/assets/stylesheets/spree/frontend/variables/variables.scss +20 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/.gitkeep +0 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/checkout/confirm.scss +255 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/checkout/edit.scss +505 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/checkout/payment.scss +98 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/checkout/registration.scss +26 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/errors/not_found.scss +3 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/home/index.scss +293 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/icon.scss +13 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/layouts/spree_application.scss +44 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/orders/edit.scss +467 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/orders/show.scss +273 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/products/cart_form.scss +250 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/products/index.scss +317 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/products/show.scss +165 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/_color_select.scss +27 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/_images.scss +9 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/carousel/single.scss +142 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/carousel/thumbnails.scss +97 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/cart.scss +57 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/category_nav_bar.scss +86 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/delete_address_popup.scss +141 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/footer.scss +56 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/header.scss +82 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/login.scss +30 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/main_nav_bar.scss +103 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/mobile_navigation.scss +87 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/nav_bar.scss +78 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/no_product_available.scss +135 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/order_details.scss +37 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/product.scss +45 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/product_added_modal.scss +61 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/quantity_select.scss +55 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/shared/registration.scss +7 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/taxons/show.scss +47 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/user_passwords/user_passwords.scss +12 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/user_sessions/new.scss +3 -0
- data/app/assets/stylesheets/spree/frontend/views/spree/users/show.scss +325 -0
- data/app/assets/stylesheets/spree/frontend.css +1 -1
- data/app/controllers/concerns/spree/checkout/address_book.rb +7 -9
- data/app/controllers/spree/addresses_controller.rb +5 -6
- data/app/controllers/spree/checkout_controller.rb +3 -1
- data/app/controllers/spree/home_controller.rb +1 -5
- data/app/controllers/spree/orders_controller.rb +3 -1
- data/app/controllers/spree/products_controller.rb +45 -15
- data/app/controllers/spree/store_controller.rb +14 -2
- data/app/controllers/spree/taxons_controller.rb +20 -5
- data/app/helpers/spree/addresses_helper.rb +11 -12
- data/app/helpers/spree/frontend_helper.rb +168 -14
- data/app/helpers/spree/navigation_helper.rb +34 -0
- data/app/helpers/spree/structured_data_helper.rb +3 -3
- data/app/helpers/spree/taxons_helper.rb +4 -0
- data/app/models/spree/frontend_configuration.rb +1 -0
- data/app/views/kaminari/twitter-bootstrap-4/_first_page.html.erb +1 -1
- data/app/views/kaminari/twitter-bootstrap-4/_gap.html.erb +1 -1
- data/app/views/kaminari/twitter-bootstrap-4/_last_page.html.erb +1 -1
- data/app/views/kaminari/twitter-bootstrap-4/_next_page.html.erb +1 -1
- data/app/views/kaminari/twitter-bootstrap-4/_prev_page.html.erb +1 -1
- data/app/views/spree/address/_form.html.erb +24 -27
- data/app/views/spree/addresses/_form.html.erb +13 -8
- data/app/views/spree/addresses/edit.html.erb +11 -21
- data/app/views/spree/addresses/new.html.erb +11 -21
- data/app/views/spree/checkout/_address.html.erb +61 -54
- data/app/views/spree/checkout/_confirm.html.erb +112 -16
- data/app/views/spree/checkout/_credit_card.html.erb +9 -0
- data/app/views/spree/checkout/_delivery.html.erb +10 -86
- data/app/views/spree/checkout/_payment.html.erb +39 -64
- data/app/views/spree/checkout/_summary.html.erb +46 -73
- data/app/views/spree/checkout/edit.html.erb +22 -25
- data/app/views/spree/checkout/payment/_gateway.html.erb +14 -34
- data/app/views/spree/checkout/payment/_storecredit.html.erb +8 -8
- data/app/views/spree/checkout/registration.html.erb +30 -0
- data/app/views/spree/errors/not_found.html.erb +7 -0
- data/app/views/spree/home/index.html.erb +124 -10
- data/app/views/spree/layouts/checkout.html.erb +26 -0
- data/app/views/spree/layouts/spree_application.html.erb +10 -15
- data/app/views/spree/orders/_coupon_code.html.erb +24 -0
- data/app/views/spree/orders/_form.html.erb +25 -39
- data/app/views/spree/orders/_line_item.html.erb +19 -25
- data/app/views/spree/orders/_line_item_data.html.erb +31 -0
- data/app/views/spree/orders/edit.html.erb +50 -40
- data/app/views/spree/orders/show.html.erb +83 -17
- data/app/views/spree/products/_cart_form.html.erb +69 -73
- data/app/views/spree/products/_cart_form_availability_templates.html.erb +10 -0
- data/app/views/spree/products/_color_option_type.html.erb +36 -0
- data/app/views/spree/products/_description.html.erb +17 -0
- data/app/views/spree/products/_filter_and_sort_mobile_buttons.html.erb +16 -0
- data/app/views/spree/products/_filters_desktop.html.erb +58 -0
- data/app/views/spree/products/_filters_mobile.html.erb +62 -0
- data/app/views/spree/products/_gallery.html.erb +31 -0
- data/app/views/spree/products/_gallery_modal.html.erb +33 -0
- data/app/views/spree/products/_no_results.html.erb +14 -0
- data/app/views/spree/products/_no_results_with_filters.html.erb +13 -0
- data/app/views/spree/products/_option_type.html.erb +32 -0
- data/app/views/spree/products/_product.html.erb +5 -5
- data/app/views/spree/products/_promotions.html.erb +19 -12
- data/app/views/spree/products/_properties.html.erb +9 -20
- data/app/views/spree/products/_sort_desktop.html.erb +30 -0
- data/app/views/spree/products/_sort_mobile.html.erb +43 -0
- data/app/views/spree/products/_taxons.html.erb +1 -0
- data/app/views/spree/products/index.html.erb +40 -24
- data/app/views/spree/products/related.html.erb +8 -0
- data/app/views/spree/products/show.html.erb +39 -37
- data/app/views/spree/shared/_address.html.erb +0 -12
- data/app/views/spree/shared/_breadcrumbs.html.erb +23 -0
- data/app/views/spree/shared/_carousel_4_products.html.erb +99 -0
- data/app/views/spree/shared/_cart.html.erb +11 -0
- data/app/views/spree/shared/_checkout_header.html.erb +19 -0
- data/app/views/spree/shared/_color_select.html.erb +9 -0
- data/app/views/spree/shared/_copyright.html.erb +18 -0
- data/app/views/spree/shared/_delete_address_popup.html.erb +26 -0
- data/app/views/spree/shared/_error_messages.html.erb +2 -4
- data/app/views/spree/shared/_flashes.html.erb +9 -0
- data/app/views/spree/shared/_footer.html.erb +73 -0
- data/app/views/spree/shared/_head.html.erb +4 -9
- data/app/views/spree/shared/_header.html.erb +26 -13
- data/app/views/spree/shared/_link_to_account.html.erb +7 -0
- data/app/views/spree/shared/_link_to_cart.html.erb +2 -1
- data/app/views/spree/shared/_login.html.erb +34 -17
- data/app/views/spree/shared/_main_nav_bar.html.erb +41 -15
- data/app/views/spree/shared/_mobile_navigation.html.erb +68 -0
- data/app/views/spree/shared/_nav_bar.html.erb +52 -6
- data/app/views/spree/shared/_no_product_available.html.erb +23 -0
- data/app/views/spree/shared/_option_values.html.erb +24 -0
- data/app/views/spree/shared/_order_details.html.erb +5 -4
- data/app/views/spree/shared/_payment.html.erb +0 -3
- data/app/views/spree/shared/_payment_sources.html.erb +8 -0
- data/app/views/spree/shared/_product.html.erb +12 -0
- data/app/views/spree/shared/_product_added_modal.html.erb +66 -0
- data/app/views/spree/shared/_products.html.erb +22 -18
- data/app/views/spree/shared/_quantity_select.html.erb +6 -0
- data/app/views/spree/shared/_registration.html.erb +4 -0
- data/app/views/spree/shared/_search.html.erb +17 -20
- data/app/views/spree/shared/_translations.html.erb +9 -5
- data/app/views/spree/shared/_user_form.html.erb +12 -0
- data/app/views/spree/shared/carousel/_single.html.erb +83 -0
- data/app/views/spree/shared/carousel/_thumbnails.html.erb +68 -0
- data/app/views/spree/taxons/_header.html.erb +19 -0
- data/app/views/spree/taxons/_subcategories.html.erb +26 -0
- data/app/views/spree/taxons/product_carousel.html.erb +5 -0
- data/app/views/spree/taxons/show.html.erb +8 -20
- data/app/views/spree/users/_address.html.erb +25 -0
- data/app/views/spree/users/edit.html.erb +11 -0
- data/app/views/spree/users/show.html.erb +79 -0
- data/config/initializers/assets.rb +13 -1
- data/config/routes.rb +3 -0
- data/lib/generators/spree/frontend/copy_storefront/copy_storefront_generator.rb +24 -0
- data/lib/spree/frontend.rb +2 -0
- data/spree_frontend.gemspec +7 -11
- data/vendor/assets/javascripts/lazysizes.min.js +2 -0
- metadata +265 -25
- data/README.md +0 -50
- data/app/assets/javascripts/spree/frontend/product.js +0 -143
- data/app/assets/stylesheets/spree/frontend/_variables.scss +0 -4
- data/app/assets/stylesheets/spree/frontend/frontend_bootstrap.css.scss +0 -94
- data/app/views/spree/shared/_filters.html.erb +0 -48
- data/app/views/spree/shared/_login_bar.html.erb +0 -12
- data/app/views/spree/taxons/_taxon.html.erb +0 -4
- data/lib/generators/spree/frontend/copy_views/copy_views_generator.rb +0 -15
@@ -0,0 +1,317 @@
|
|
1
|
+
.plp {
|
2
|
+
&-not-found-header {
|
3
|
+
color: theme-color("dark-text");
|
4
|
+
font-size: font-px-to-rem(18px);
|
5
|
+
font-weight: 500;
|
6
|
+
letter-spacing: 0.45px;
|
7
|
+
@include media-breakpoint-up(sm) {
|
8
|
+
font-size: font-px-to-rem(32px);
|
9
|
+
letter-spacing: 0.8px;
|
10
|
+
}
|
11
|
+
@include media-breakpoint-up(lg) {
|
12
|
+
font-size: font-px-to-rem(26px);
|
13
|
+
letter-spacing: 0.4px;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
&-not-found-image {
|
18
|
+
color: $primary-color;
|
19
|
+
margin-top: 3rem;
|
20
|
+
@include media-breakpoint-up(sm) {
|
21
|
+
width: 177.5px;
|
22
|
+
height: 161.1px;
|
23
|
+
margin-top: 93.3px;
|
24
|
+
}
|
25
|
+
@include media-breakpoint-up(lg) {
|
26
|
+
width: 206px;
|
27
|
+
height: 186px;
|
28
|
+
margin-top: 3rem;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
&-not-found-text {
|
33
|
+
color: theme-color("dark-text");
|
34
|
+
margin-bottom: 350px;
|
35
|
+
font-size: font-px-to-rem(14px);
|
36
|
+
font-weight: 500;
|
37
|
+
letter-spacing: 0.35px;
|
38
|
+
@include media-breakpoint-up(sm) {
|
39
|
+
font-size: font-px-to-rem(18px);
|
40
|
+
letter-spacing: 0.45px;
|
41
|
+
}
|
42
|
+
@include media-breakpoint-up(lg) {
|
43
|
+
font-size: font-px-to-rem(16px);
|
44
|
+
letter-spacing: 0.4px;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
&-results-text {
|
49
|
+
font-size: font-px-to-rem(14px);
|
50
|
+
height: 60px;
|
51
|
+
display: flex;
|
52
|
+
align-items: center;
|
53
|
+
color: theme-color("dark-text");
|
54
|
+
@include media-breakpoint-up("md") {
|
55
|
+
font-size: font-px-to-rem(32px);
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
&-filter-and-sort {
|
60
|
+
&-horizontal-border {
|
61
|
+
border-width: 1px 0px;
|
62
|
+
border-style: solid;
|
63
|
+
border-color: $global-border-style;
|
64
|
+
}
|
65
|
+
|
66
|
+
&-vertical-border {
|
67
|
+
border-right: 1px solid $global-border-style;
|
68
|
+
}
|
69
|
+
|
70
|
+
&-buttons {
|
71
|
+
color: theme-color("dark-text");
|
72
|
+
display: flex;
|
73
|
+
align-items: center;
|
74
|
+
justify-content: space-between;
|
75
|
+
height: 45px;
|
76
|
+
font-size: font-px-to-rem(14px);
|
77
|
+
@include media-breakpoint-up("md") {
|
78
|
+
height: 88px;
|
79
|
+
font-size: font-px-to-rem(22px);
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
&-icon {
|
85
|
+
@include media-breakpoint-down("md") {
|
86
|
+
height: 30%;
|
87
|
+
width: auto;
|
88
|
+
}
|
89
|
+
}
|
90
|
+
|
91
|
+
&-filters {
|
92
|
+
top: $spree-plp-filter-desktop-position;
|
93
|
+
left: 0;
|
94
|
+
&-card {
|
95
|
+
background: $primary-background;
|
96
|
+
border: none;
|
97
|
+
a:hover {
|
98
|
+
text-decoration: none;
|
99
|
+
}
|
100
|
+
|
101
|
+
&-header.collapsed {
|
102
|
+
.arrow {
|
103
|
+
transform: rotate(90deg);
|
104
|
+
}
|
105
|
+
}
|
106
|
+
&-header {
|
107
|
+
background-color: theme-color("light-background");
|
108
|
+
border-color: $global-border-style;
|
109
|
+
cursor: pointer;
|
110
|
+
font-size: font-px-to-rem(17px);
|
111
|
+
font-weight: bold;
|
112
|
+
&-arrow {
|
113
|
+
&--minus {
|
114
|
+
display: none;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
}
|
118
|
+
&-header:not(.collapsed) {
|
119
|
+
.plp-filters-card-header-arrow--minus {
|
120
|
+
display: inline;
|
121
|
+
}
|
122
|
+
.plp-filters-card-header-arrow--plus {
|
123
|
+
display: none;
|
124
|
+
}
|
125
|
+
}
|
126
|
+
&-item {
|
127
|
+
border: solid 1px $second-global-border;
|
128
|
+
color: theme-color("dark-text");
|
129
|
+
font-size: font-px-to-rem(16px);
|
130
|
+
font-weight: 500;
|
131
|
+
&--selected {
|
132
|
+
border: solid 2px $secondary-color;
|
133
|
+
}
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
137
|
+
|
138
|
+
&-sort {
|
139
|
+
font-size: font-px-to-rem(17px);
|
140
|
+
&-header {
|
141
|
+
cursor: pointer;
|
142
|
+
&-arrow {
|
143
|
+
&--up {
|
144
|
+
display: none;
|
145
|
+
}
|
146
|
+
}
|
147
|
+
}
|
148
|
+
|
149
|
+
&-dropdown {
|
150
|
+
margin-left: -60px;
|
151
|
+
&-ul {
|
152
|
+
padding-inline-start: 0;
|
153
|
+
&-li,
|
154
|
+
&-li--active {
|
155
|
+
list-style: none;
|
156
|
+
a {
|
157
|
+
color: theme-color("dark-text");
|
158
|
+
}
|
159
|
+
}
|
160
|
+
&-li--active {
|
161
|
+
font-weight: bold;
|
162
|
+
}
|
163
|
+
}
|
164
|
+
}
|
165
|
+
}
|
166
|
+
|
167
|
+
&-sort.show {
|
168
|
+
.plp-sort-header-arrow--up {
|
169
|
+
display: inline;
|
170
|
+
}
|
171
|
+
.plp-sort-header-arrow--down {
|
172
|
+
display: none;
|
173
|
+
}
|
174
|
+
}
|
175
|
+
|
176
|
+
&-pagination {
|
177
|
+
display: flex;
|
178
|
+
justify-content: center;
|
179
|
+
font-size: font-px-to-rem(16px);
|
180
|
+
.first,
|
181
|
+
.prev,
|
182
|
+
.next_page,
|
183
|
+
.last {
|
184
|
+
a {
|
185
|
+
padding: 4px 11px;
|
186
|
+
}
|
187
|
+
}
|
188
|
+
a {
|
189
|
+
color: theme-color('dark-text');
|
190
|
+
border-color: $global-border-style !important;
|
191
|
+
padding: 5px 13px;
|
192
|
+
min-width: 37px;
|
193
|
+
height: 37px;
|
194
|
+
text-align: center;
|
195
|
+
line-height: 25px;
|
196
|
+
}
|
197
|
+
.page-item {
|
198
|
+
&:not(.active) {
|
199
|
+
.page-link {
|
200
|
+
background: $primary-background;
|
201
|
+
}
|
202
|
+
}
|
203
|
+
&:not(:last-child) {
|
204
|
+
margin-right: 7px;
|
205
|
+
}
|
206
|
+
}
|
207
|
+
}
|
208
|
+
|
209
|
+
&-overlay {
|
210
|
+
color: theme-color("dark-text");
|
211
|
+
position: fixed;
|
212
|
+
width: 100%;
|
213
|
+
height: 100%;
|
214
|
+
top: 0;
|
215
|
+
left: 0;
|
216
|
+
right: 0;
|
217
|
+
bottom: 0;
|
218
|
+
z-index: 999;
|
219
|
+
background-color: theme-color("light-background");
|
220
|
+
|
221
|
+
&-header {
|
222
|
+
height: 60px;
|
223
|
+
display: flex;
|
224
|
+
justify-content: space-between;
|
225
|
+
align-items: center;
|
226
|
+
font-size: font-px-to-rem(18px);
|
227
|
+
|
228
|
+
&-border {
|
229
|
+
border-top: 1px solid $global-border-style;
|
230
|
+
}
|
231
|
+
}
|
232
|
+
|
233
|
+
&-ul {
|
234
|
+
list-style: none;
|
235
|
+
padding: 0;
|
236
|
+
margin: 0;
|
237
|
+
&-li {
|
238
|
+
&--active {
|
239
|
+
.filled-dot {
|
240
|
+
z-index: 1px;
|
241
|
+
display: block;
|
242
|
+
width: 12px;
|
243
|
+
height: 12px;
|
244
|
+
margin-top: 2px;
|
245
|
+
margin-left: 2px;
|
246
|
+
background-color: theme-color("secondary");
|
247
|
+
border: solid 1px theme-color("secondary");
|
248
|
+
border-radius: 50%;
|
249
|
+
}
|
250
|
+
}
|
251
|
+
a {
|
252
|
+
color: theme-color("dark-text");
|
253
|
+
&:hover {
|
254
|
+
text-decoration: none;
|
255
|
+
}
|
256
|
+
}
|
257
|
+
.filled-dot {
|
258
|
+
display: none;
|
259
|
+
}
|
260
|
+
}
|
261
|
+
}
|
262
|
+
|
263
|
+
&-card {
|
264
|
+
border: none;
|
265
|
+
border-top: solid 1px $global-border-style;
|
266
|
+
&-header.collapsed {
|
267
|
+
.arrow {
|
268
|
+
transform: rotate(90deg);
|
269
|
+
}
|
270
|
+
}
|
271
|
+
&-header {
|
272
|
+
background-color: theme-color("light-background");
|
273
|
+
border-bottom: none;
|
274
|
+
cursor: pointer;
|
275
|
+
&-arrow {
|
276
|
+
color: theme-color("dark-test");
|
277
|
+
transform: rotate(-90deg);
|
278
|
+
}
|
279
|
+
}
|
280
|
+
|
281
|
+
&-item {
|
282
|
+
border: solid 1px $second-global-border;
|
283
|
+
color: theme-color("dark-text");
|
284
|
+
font-size: font-px-to-rem(13px);
|
285
|
+
&--selected {
|
286
|
+
border: solid 2px $secondary-color;
|
287
|
+
}
|
288
|
+
}
|
289
|
+
&:last-of-type {
|
290
|
+
border-bottom: solid 1px $global-border-style;
|
291
|
+
}
|
292
|
+
a:hover {
|
293
|
+
text-decoration: none;
|
294
|
+
}
|
295
|
+
}
|
296
|
+
&-buttons {
|
297
|
+
bottom: 30px;
|
298
|
+
background-color: white;
|
299
|
+
}
|
300
|
+
}
|
301
|
+
|
302
|
+
&-scroll {
|
303
|
+
max-height: 100%;
|
304
|
+
overflow-y: auto;
|
305
|
+
padding-bottom: 140px;
|
306
|
+
}
|
307
|
+
|
308
|
+
&-empty-dot {
|
309
|
+
background-color: theme-color("light-background");
|
310
|
+
border: solid 1px theme-color("secondary");
|
311
|
+
border-radius: 50%;
|
312
|
+
display: inline-block;
|
313
|
+
margin-right: 16px;
|
314
|
+
height: 17.7px;
|
315
|
+
width: 17.7px;
|
316
|
+
}
|
317
|
+
}
|
@@ -0,0 +1,165 @@
|
|
1
|
+
.product-details {
|
2
|
+
&-title {
|
3
|
+
font-size: font-px-to-rem(22px);
|
4
|
+
color: $font-color;
|
5
|
+
@include media-breakpoint-up(sm) {
|
6
|
+
font-size: font-px-to-rem(34px);
|
7
|
+
}
|
8
|
+
}
|
9
|
+
&-subtitle {
|
10
|
+
font-size: font-px-to-rem(14px);
|
11
|
+
color: $font-color;
|
12
|
+
@include media-breakpoint-up(sm) {
|
13
|
+
font-size: font-px-to-rem(22px);
|
14
|
+
}
|
15
|
+
@include media-breakpoint-up(md) {
|
16
|
+
font-size: font-px-to-rem(16px);
|
17
|
+
}
|
18
|
+
}
|
19
|
+
&-images {
|
20
|
+
& > .product-details-thumbnails {
|
21
|
+
width: (1 / 7) * 100%;
|
22
|
+
flex: 0 1 auto;
|
23
|
+
margin-right: $grid-gutter-width / 2;
|
24
|
+
& + .product-details-single {
|
25
|
+
@include media-breakpoint-up(sm) {
|
26
|
+
margin-left: $grid-gutter-width / 2;
|
27
|
+
}
|
28
|
+
|
29
|
+
@include media-breakpoint-up(lg) {
|
30
|
+
margin-left: 4rem;
|
31
|
+
margin-right: 4rem;
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
& > .product-details-single {
|
36
|
+
width: (6 / 7) * 100%;
|
37
|
+
flex: 1 1 auto;
|
38
|
+
// It's simpler to use a desktop-first approach here to counter container gutters and make the carousel edge-to-edge on xs.
|
39
|
+
@include media-breakpoint-down(xs) {
|
40
|
+
margin-left: -$container-padding;
|
41
|
+
margin-right: -$container-padding;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
@include media-breakpoint-up(md) {
|
46
|
+
&-title {
|
47
|
+
font-size: font-px-to-rem(28px);
|
48
|
+
}
|
49
|
+
&-subtitle {
|
50
|
+
font-size: font-px-to-rem(16px);
|
51
|
+
}
|
52
|
+
}
|
53
|
+
&-carousel {
|
54
|
+
a,
|
55
|
+
a:hover,
|
56
|
+
a:active,
|
57
|
+
a:visited,
|
58
|
+
a:focus {
|
59
|
+
text-decoration: none !important;
|
60
|
+
}
|
61
|
+
&-text {
|
62
|
+
font-size: font-px-to-rem(12px);
|
63
|
+
margin-bottom: 30px;
|
64
|
+
@include media-breakpoint-up(sm) {
|
65
|
+
font-size: font-px-to-rem(20px);
|
66
|
+
}
|
67
|
+
|
68
|
+
@include media-breakpoint-up(md) {
|
69
|
+
font-size: font-px-to-rem(18px);
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
&-related {
|
74
|
+
margin: 56px auto 102px auto;
|
75
|
+
}
|
76
|
+
.modal-dialog {
|
77
|
+
&--zoom {
|
78
|
+
&.modal-dialog .modal-content {
|
79
|
+
padding: 0;
|
80
|
+
.modal-close {
|
81
|
+
top: 5px;
|
82
|
+
}
|
83
|
+
@media (min-height: 780px) {
|
84
|
+
padding: 62px;
|
85
|
+
.modal-close {
|
86
|
+
top: -30px;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
.product-details-thumbnails {
|
90
|
+
@include zoom-modal-thumbnails-width(0px);
|
91
|
+
@media (min-height: 780px) {
|
92
|
+
@include zoom-modal-thumbnails-width(62px);
|
93
|
+
}
|
94
|
+
|
95
|
+
@media (min-height: $zoom-height-breakpoint) {
|
96
|
+
margin-right: 4rem;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
.product-details-single {
|
101
|
+
width: auto;
|
102
|
+
flex: none;
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
.modal-content {
|
107
|
+
padding: 62px;
|
108
|
+
.product-details-single {
|
109
|
+
width: 650px;
|
110
|
+
}
|
111
|
+
.product-details-thumbnails {
|
112
|
+
width: 113px;
|
113
|
+
}
|
114
|
+
.modal-close {
|
115
|
+
align-self: flex-end;
|
116
|
+
border-color: transparent;
|
117
|
+
background: transparent;
|
118
|
+
font-size: 30px;
|
119
|
+
position: absolute;
|
120
|
+
right: 10px;
|
121
|
+
top: -30px;
|
122
|
+
span {
|
123
|
+
background: transparent;
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
129
|
+
.modal {
|
130
|
+
.product-details-thumbnails {
|
131
|
+
margin-right: 2rem;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
|
136
|
+
.product-description {
|
137
|
+
font-size: font-px-to-rem(12px);
|
138
|
+
@include media-breakpoint-up(sm) {
|
139
|
+
font-size: font-px-to-rem(16px);
|
140
|
+
}
|
141
|
+
@include media-breakpoint-up(md) {
|
142
|
+
font-size: font-px-to-rem(14px);
|
143
|
+
line-height: font-px-to-rem(26px);
|
144
|
+
}
|
145
|
+
|
146
|
+
&-arrow {
|
147
|
+
width: 44px;
|
148
|
+
height: 44px;
|
149
|
+
}
|
150
|
+
|
151
|
+
&-arrow:hover {
|
152
|
+
cursor: pointer;
|
153
|
+
}
|
154
|
+
}
|
155
|
+
|
156
|
+
.product-properies {
|
157
|
+
font-size: font-px-to-rem(12px);
|
158
|
+
@include media-breakpoint-up(sm) {
|
159
|
+
font-size: font-px-to-rem(16px);
|
160
|
+
}
|
161
|
+
@include media-breakpoint-up(md) {
|
162
|
+
font-size: font-px-to-rem(14px);
|
163
|
+
line-height: font-px-to-rem(26px);
|
164
|
+
}
|
165
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
.color-select {
|
2
|
+
&-border {
|
3
|
+
stroke: $second-global-border;
|
4
|
+
&--selected {
|
5
|
+
stroke: $secondary-color;
|
6
|
+
}
|
7
|
+
}
|
8
|
+
&-label {
|
9
|
+
cursor: pointer;
|
10
|
+
@include media-breakpoint-up(sm) {
|
11
|
+
svg {
|
12
|
+
width: 49px;
|
13
|
+
height: 49px;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
@include media-breakpoint-up(md) {
|
17
|
+
svg {
|
18
|
+
width: auto;
|
19
|
+
height: auto;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
input:checked + label svg .color-select-border {
|
26
|
+
stroke: $secondary-color !important;
|
27
|
+
}
|
@@ -0,0 +1,142 @@
|
|
1
|
+
.product-carousel {
|
2
|
+
.modal-dialog--zoom & .carousel-inner {
|
3
|
+
@include zoom-modal-single-width(0px);
|
4
|
+
@media (min-height: 780px) {
|
5
|
+
@include zoom-modal-single-width(62px);
|
6
|
+
}
|
7
|
+
}
|
8
|
+
&-control {
|
9
|
+
$arrow-width: 15%;
|
10
|
+
|
11
|
+
@mixin arrow {
|
12
|
+
top: 0;
|
13
|
+
width: $arrow-width;
|
14
|
+
z-index: 2;
|
15
|
+
}
|
16
|
+
&--previous {
|
17
|
+
left: -$arrow-width;
|
18
|
+
@include arrow;
|
19
|
+
@include media-breakpoint-between(md, md) {
|
20
|
+
left: 15px;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
&--next {
|
24
|
+
right: -$arrow-width;
|
25
|
+
@include arrow;
|
26
|
+
@include media-breakpoint-between(md, md) {
|
27
|
+
right: 15px;
|
28
|
+
}
|
29
|
+
}
|
30
|
+
&-rounded {
|
31
|
+
$size: 44px;
|
32
|
+
border-radius: 50%;
|
33
|
+
width: $size;
|
34
|
+
height: $size;
|
35
|
+
background: $secondary-background;
|
36
|
+
color: $secondary-font-color;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
&-item {
|
40
|
+
transition: transform 0.1s ease-in-out;
|
41
|
+
|
42
|
+
&-squared {
|
43
|
+
position: relative;
|
44
|
+
height: 0;
|
45
|
+
padding: 0 0 100% / $photo-width-to-height-ratio;
|
46
|
+
|
47
|
+
.modal-dialog--zoom & {
|
48
|
+
padding-bottom: 100% / $photo-width-to-height-ratio-zoom;
|
49
|
+
}
|
50
|
+
|
51
|
+
img {
|
52
|
+
position: absolute;
|
53
|
+
height: 100%;
|
54
|
+
width: 100%;
|
55
|
+
object-fit: contain;
|
56
|
+
}
|
57
|
+
|
58
|
+
&-only {
|
59
|
+
padding-bottom: 0;
|
60
|
+
height: auto;
|
61
|
+
|
62
|
+
img {
|
63
|
+
position: static;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
&:not(.carousel-item) {
|
68
|
+
display: none;
|
69
|
+
}
|
70
|
+
}
|
71
|
+
&-indicators {
|
72
|
+
text-align: center;
|
73
|
+
padding: 5px 10px 0;
|
74
|
+
overflow-x: auto;
|
75
|
+
position: static;
|
76
|
+
white-space: nowrap;
|
77
|
+
display: block;
|
78
|
+
margin: 0;
|
79
|
+
|
80
|
+
&-indicator {
|
81
|
+
display: none;
|
82
|
+
&--visible {
|
83
|
+
display: inline-block;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
li {
|
88
|
+
$image-width: 60px;
|
89
|
+
$image-height: 82px;
|
90
|
+
|
91
|
+
width: $image-width;
|
92
|
+
height: $image-height;
|
93
|
+
flex: none;
|
94
|
+
border-radius: 0;
|
95
|
+
border: none;
|
96
|
+
background: none;
|
97
|
+
opacity: 1;
|
98
|
+
|
99
|
+
&:first-child {
|
100
|
+
margin-left: 0;
|
101
|
+
}
|
102
|
+
|
103
|
+
&:last-child {
|
104
|
+
margin-right: 0;
|
105
|
+
}
|
106
|
+
|
107
|
+
img {
|
108
|
+
width: auto;
|
109
|
+
height: auto;
|
110
|
+
max-height: $image-height;
|
111
|
+
max-width: $image-width;
|
112
|
+
margin: 0 auto;
|
113
|
+
border: 1px solid transparent;
|
114
|
+
}
|
115
|
+
|
116
|
+
&.active {
|
117
|
+
img {
|
118
|
+
border-color: theme-color("dark-text");
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
}
|
123
|
+
&--empty {
|
124
|
+
padding: 0 0 100% / $photo-width-to-height-ratio 0;
|
125
|
+
background: theme-color("light");
|
126
|
+
& > * {
|
127
|
+
display: none !important;
|
128
|
+
}
|
129
|
+
}
|
130
|
+
&-overlay {
|
131
|
+
bottom: 0;
|
132
|
+
left: 0;
|
133
|
+
right: 0;
|
134
|
+
top: 0;
|
135
|
+
z-index: 1;
|
136
|
+
justify-content: center;
|
137
|
+
&-modal-opener {
|
138
|
+
flex-basis: 430px;
|
139
|
+
cursor: image-url("picture-zoom.svg"), auto;
|
140
|
+
}
|
141
|
+
}
|
142
|
+
}
|