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,97 @@
|
|
1
|
+
.product-thumbnails-carousel {
|
2
|
+
&-item {
|
3
|
+
$single-gap: 5%;
|
4
|
+
&-content {
|
5
|
+
height: 0;
|
6
|
+
padding-bottom: thubnails-carousel-content-min-height(
|
7
|
+
5,
|
8
|
+
$single-gap,
|
9
|
+
$thumbnails-carousel-single-height
|
10
|
+
);
|
11
|
+
display: block;
|
12
|
+
}
|
13
|
+
&-single {
|
14
|
+
height: 0;
|
15
|
+
padding-bottom: $thumbnails-carousel-single-height;
|
16
|
+
position: relative;
|
17
|
+
display: none;
|
18
|
+
|
19
|
+
.modal-dialog--zoom & {
|
20
|
+
padding-bottom: $thumbnails-carousel-single-height-zoom;
|
21
|
+
}
|
22
|
+
|
23
|
+
img {
|
24
|
+
position: absolute;
|
25
|
+
width: 100%;
|
26
|
+
height: 100%;
|
27
|
+
object-fit: contain;
|
28
|
+
border: 1px solid transparent;
|
29
|
+
&.selected {
|
30
|
+
border-color: $secondary-color;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
&--empty {
|
34
|
+
background: none;
|
35
|
+
}
|
36
|
+
&--visible {
|
37
|
+
margin-top: 0;
|
38
|
+
display: block;
|
39
|
+
cursor: pointer;
|
40
|
+
& ~ & {
|
41
|
+
margin-top: $single-gap;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
&:not(.carousel-item) {
|
46
|
+
display: none;
|
47
|
+
}
|
48
|
+
}
|
49
|
+
&-previous {
|
50
|
+
top: 0;
|
51
|
+
.spree-icon {
|
52
|
+
display: block;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
&-next {
|
56
|
+
bottom: 0;
|
57
|
+
.spree-icon {
|
58
|
+
display: block;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
&--empty {
|
62
|
+
padding: 0 0 100% / $photo-width-to-height-ratio 0;
|
63
|
+
background: theme-color("light");
|
64
|
+
& > * {
|
65
|
+
display: none !important;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
@include media-breakpoint-up(md) {
|
69
|
+
&-item {
|
70
|
+
$single-gap-md: 16%;
|
71
|
+
&-content {
|
72
|
+
padding-bottom: 0px;
|
73
|
+
height: fit-content;
|
74
|
+
}
|
75
|
+
&-single {
|
76
|
+
&--visible {
|
77
|
+
& ~ & {
|
78
|
+
margin-top: $single-gap-md;
|
79
|
+
}
|
80
|
+
|
81
|
+
.modal-dialog--zoom & ~ & {
|
82
|
+
margin-top: 6px;
|
83
|
+
}
|
84
|
+
|
85
|
+
@media (min-height: $zoom-height-breakpoint) {
|
86
|
+
.modal-dialog--zoom & ~ & {
|
87
|
+
margin-top: 10px;
|
88
|
+
}
|
89
|
+
.modal-dialog--zoom & {
|
90
|
+
margin-top: 10px;
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
.cart-icon {
|
2
|
+
$self: &;
|
3
|
+
position: relative;
|
4
|
+
display: inline-block;
|
5
|
+
padding-right: 7%;
|
6
|
+
|
7
|
+
&,
|
8
|
+
&:hover {
|
9
|
+
color: $header-font-color;
|
10
|
+
}
|
11
|
+
|
12
|
+
&-count {
|
13
|
+
$size: 19px;
|
14
|
+
$border-width: 1px;
|
15
|
+
border-radius: $size / 2;
|
16
|
+
border: 1px solid $header-background;
|
17
|
+
color: $header-background;
|
18
|
+
background: $header-font-color;
|
19
|
+
position: absolute;
|
20
|
+
height: $size;
|
21
|
+
min-width: $size;
|
22
|
+
right: 0;
|
23
|
+
bottom: -15%;
|
24
|
+
text-align: center;
|
25
|
+
line-height: $size - $border-width * 2;
|
26
|
+
padding: 0 2px;
|
27
|
+
font-size: font-px-to-rem(12px);
|
28
|
+
display: none;
|
29
|
+
}
|
30
|
+
&--xl {
|
31
|
+
#{$self}-count {
|
32
|
+
$size: 26px;
|
33
|
+
$border-width: 2px;
|
34
|
+
border-radius: $size / 2;
|
35
|
+
border-width: $border-width;
|
36
|
+
height: $size;
|
37
|
+
min-width: $size;
|
38
|
+
right: 0;
|
39
|
+
bottom: -15%;
|
40
|
+
line-height: $size - $border-width * 2;
|
41
|
+
font-size: font-px-to-rem(15px);
|
42
|
+
}
|
43
|
+
}
|
44
|
+
&--visible-count {
|
45
|
+
#{$self}-count {
|
46
|
+
display: flex;
|
47
|
+
justify-content: center;
|
48
|
+
align-items: center;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
.cart-checkout-btn {
|
54
|
+
font-size: 1.375rem;
|
55
|
+
height: 65px;
|
56
|
+
padding: 16px 28px;
|
57
|
+
}
|
@@ -0,0 +1,86 @@
|
|
1
|
+
.category {
|
2
|
+
&-links {
|
3
|
+
width: 176px;
|
4
|
+
min-width: 176px;
|
5
|
+
|
6
|
+
&-header {
|
7
|
+
color: $meganav-font-color;
|
8
|
+
font-weight: bold;
|
9
|
+
line-height: 1.06;
|
10
|
+
letter-spacing: 0.4px;
|
11
|
+
}
|
12
|
+
|
13
|
+
ul {
|
14
|
+
list-style-type: none;
|
15
|
+
padding-top: 27px;
|
16
|
+
}
|
17
|
+
|
18
|
+
li {
|
19
|
+
font-size: 14px;
|
20
|
+
padding-bottom: 11px;
|
21
|
+
}
|
22
|
+
|
23
|
+
li:hover {
|
24
|
+
text-decoration: underline;
|
25
|
+
}
|
26
|
+
|
27
|
+
a {
|
28
|
+
color: $meganav-font-color;
|
29
|
+
font-weight: 500;
|
30
|
+
line-height: 1.21;
|
31
|
+
letter-spacing: 0.35px;
|
32
|
+
display: block;
|
33
|
+
}
|
34
|
+
|
35
|
+
a:hover {
|
36
|
+
text-decoration: none;
|
37
|
+
color: $font-color;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
&-image {
|
42
|
+
background: $secondary-background;
|
43
|
+
color: $secondary-font-color;
|
44
|
+
display: flex;
|
45
|
+
justify-content: center;
|
46
|
+
flex-direction: column;
|
47
|
+
text-align: center;
|
48
|
+
position: relative;
|
49
|
+
width: 350px;
|
50
|
+
height: 234px;
|
51
|
+
|
52
|
+
img {
|
53
|
+
object-fit: contain;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
&-box {
|
58
|
+
background-color: white;
|
59
|
+
padding: 1rem 0 0.5rem;
|
60
|
+
width: 90%;
|
61
|
+
position: absolute;
|
62
|
+
bottom: 5%;
|
63
|
+
left: 5%;
|
64
|
+
|
65
|
+
&-small-text {
|
66
|
+
text-align: center;
|
67
|
+
color: theme-color('primary');
|
68
|
+
font-size: font-px-to-rem(12px);
|
69
|
+
padding-bottom: 7px;
|
70
|
+
font-weight: 500;
|
71
|
+
line-height: 0.75;
|
72
|
+
letter-spacing: 0.3px;
|
73
|
+
text-align: center;
|
74
|
+
}
|
75
|
+
|
76
|
+
&-big-text {
|
77
|
+
font-weight: 600;
|
78
|
+
color: $font-color;
|
79
|
+
font-size: font-px-to-rem(16px);
|
80
|
+
font-weight: 600;
|
81
|
+
line-height: 1.38;
|
82
|
+
letter-spacing: 0.4px;
|
83
|
+
text-align: center;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
@@ -0,0 +1,141 @@
|
|
1
|
+
.delete-address-popup {
|
2
|
+
width: 100%;
|
3
|
+
height: 277px;
|
4
|
+
border: solid 1px $global-border-style;
|
5
|
+
background-color: $primary-background;
|
6
|
+
align-items: center;
|
7
|
+
position: static;
|
8
|
+
margin: auto;
|
9
|
+
padding: 0;
|
10
|
+
|
11
|
+
@include media-breakpoint-up(sm) {
|
12
|
+
height: auto;
|
13
|
+
padding-bottom: 79.1px;
|
14
|
+
}
|
15
|
+
|
16
|
+
@include media-breakpoint-up(lg) {
|
17
|
+
width: 686px;
|
18
|
+
height: 378px;
|
19
|
+
padding-bottom: 0;
|
20
|
+
}
|
21
|
+
|
22
|
+
&-dropdown {
|
23
|
+
visibility: hidden;
|
24
|
+
opacity: 0;
|
25
|
+
z-index: 5;
|
26
|
+
left: 0;
|
27
|
+
right: 0;
|
28
|
+
position: fixed;
|
29
|
+
top: $spree-header-mobile-height;
|
30
|
+
margin: auto;
|
31
|
+
|
32
|
+
@include media-breakpoint-up(sm) {
|
33
|
+
left: 50%;
|
34
|
+
transform: translateX(-50%);
|
35
|
+
top: 129.2px;
|
36
|
+
width: 80%;
|
37
|
+
}
|
38
|
+
|
39
|
+
form {
|
40
|
+
input#keywords {
|
41
|
+
color: theme-color('dark-text');
|
42
|
+
font-size: font-px-to-rem(14px);
|
43
|
+
width: calc(100% - 40px);
|
44
|
+
&:focus {
|
45
|
+
outline: none;
|
46
|
+
}
|
47
|
+
&::placeholder {
|
48
|
+
color: theme-color('borders');
|
49
|
+
}
|
50
|
+
&::-webkit-search-cancel-button {
|
51
|
+
display: none;
|
52
|
+
}
|
53
|
+
@include media-breakpoint-up(lg) {
|
54
|
+
font-size: font-px-to-rem(22px);
|
55
|
+
}
|
56
|
+
}
|
57
|
+
input[type='submit'] {
|
58
|
+
display: none;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
&.shown {
|
63
|
+
visibility: visible;
|
64
|
+
opacity: 1;
|
65
|
+
transition: opacity 0.5s;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
&-header {
|
69
|
+
font-size: font-px-to-rem(22px);
|
70
|
+
font-weight: 600;
|
71
|
+
line-height: 0.91;
|
72
|
+
letter-spacing: 0.55px;
|
73
|
+
text-align: center;
|
74
|
+
color: #232323;
|
75
|
+
margin-bottom: 23px;
|
76
|
+
|
77
|
+
@include media-breakpoint-up(lg) {
|
78
|
+
font-size: font-px-to-rem(24px);
|
79
|
+
margin-bottom: 27px;
|
80
|
+
line-height: 1.06;
|
81
|
+
letter-spacing: 0.8px;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
&-text {
|
85
|
+
width: 234px;
|
86
|
+
font-size: font-px-to-rem(16px);
|
87
|
+
font-weight: 500;
|
88
|
+
line-height: 1.38;
|
89
|
+
letter-spacing: 0.4px;
|
90
|
+
text-align: center;
|
91
|
+
color: #232323;
|
92
|
+
margin: auto;
|
93
|
+
|
94
|
+
@include media-breakpoint-up(sm) {
|
95
|
+
width: 462px;
|
96
|
+
font-size: font-px-to-rem(24px);
|
97
|
+
line-height: 1.42;
|
98
|
+
letter-spacing: 0.6px;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
&-buttons {
|
102
|
+
margin-top: 48px;
|
103
|
+
justify-content: space-evenly;
|
104
|
+
@supports (-ms-ime-align:auto) {
|
105
|
+
justify-content: space-around;
|
106
|
+
}
|
107
|
+
}
|
108
|
+
&-button {
|
109
|
+
width: 198px;
|
110
|
+
height: 29px;
|
111
|
+
font-size: font-px-to-rem(12px);
|
112
|
+
line-height: 1.4;
|
113
|
+
letter-spacing: 0.3px;
|
114
|
+
text-align: center;
|
115
|
+
|
116
|
+
@include media-breakpoint-up(sm) {
|
117
|
+
height: 53px;
|
118
|
+
font-size: font-px-to-rem(20px);
|
119
|
+
line-height: 37px;
|
120
|
+
letter-spacing: 0.5px;
|
121
|
+
}
|
122
|
+
|
123
|
+
@include media-breakpoint-down(xs) {
|
124
|
+
width: 145px;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
&-icon {
|
128
|
+
width: 16.8px;
|
129
|
+
height: 16.8px;
|
130
|
+
margin: 17px 18px 20px auto;
|
131
|
+
|
132
|
+
@include media-breakpoint-up(sm) {
|
133
|
+
width: 29.7px;
|
134
|
+
height: 29.7px;
|
135
|
+
margin: 34px 32px 20px auto;
|
136
|
+
}
|
137
|
+
}
|
138
|
+
&-icon:hover {
|
139
|
+
cursor: pointer;
|
140
|
+
}
|
141
|
+
}
|
@@ -0,0 +1,56 @@
|
|
1
|
+
.footer-spree {
|
2
|
+
background: $footer-background;
|
3
|
+
color: $footer-font-color;
|
4
|
+
border-color: $global-border-style !important;
|
5
|
+
.logo img {
|
6
|
+
height: 27px;
|
7
|
+
width: 62px;
|
8
|
+
@include media-breakpoint-up(xl) {
|
9
|
+
height: 52px;
|
10
|
+
width: 122px;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
.spree-icon path {
|
14
|
+
fill: $footer-font-color;
|
15
|
+
}
|
16
|
+
&-contact-note {
|
17
|
+
font-size: font-px-to-rem(12px);
|
18
|
+
@include media-breakpoint-up(xl) {
|
19
|
+
font-size: font-px-to-rem(14px);
|
20
|
+
}
|
21
|
+
}
|
22
|
+
&-copyright {
|
23
|
+
border-color: $global-border-style !important;
|
24
|
+
font-size: font-px-to-rem(9px);
|
25
|
+
a {
|
26
|
+
color: $footer-font-color;
|
27
|
+
text-decoration: underline;
|
28
|
+
}
|
29
|
+
|
30
|
+
@include media-breakpoint-up(md) {
|
31
|
+
font-size: font-px-to-rem(14px);
|
32
|
+
}
|
33
|
+
&-logo-spark {
|
34
|
+
height: 14px;
|
35
|
+
@include media-breakpoint-up(md) {
|
36
|
+
height: 21px;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
&-label {
|
41
|
+
@include media-breakpoint-up(xl) {
|
42
|
+
font-size: font-px-to-rem(16px);
|
43
|
+
font-weight: 500;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
&-info {
|
47
|
+
font-size: font-px-to-rem(14px);
|
48
|
+
}
|
49
|
+
&-menu-links {
|
50
|
+
border-color: $global-border-style !important;
|
51
|
+
a {
|
52
|
+
color: $footer-font-color;
|
53
|
+
font-size: font-px-to-rem(14px);
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
@@ -0,0 +1,82 @@
|
|
1
|
+
body {
|
2
|
+
padding-top: $spree-header-mobile-height;
|
3
|
+
|
4
|
+
@include media-breakpoint-up(sm) {
|
5
|
+
padding-top: $spree-header-tablet-height;
|
6
|
+
}
|
7
|
+
@include media-breakpoint-up(xl) {
|
8
|
+
padding-top: $spree-header-desktop-height;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
|
12
|
+
.header-spree {
|
13
|
+
background: $header-background;
|
14
|
+
color: $header-font-color;
|
15
|
+
border-color: $global-border-style !important;
|
16
|
+
position: fixed;
|
17
|
+
top: 0;
|
18
|
+
width: 100%;
|
19
|
+
z-index: 16;
|
20
|
+
|
21
|
+
@include media-breakpoint-up(xl) {
|
22
|
+
z-index: 4;
|
23
|
+
|
24
|
+
&.above-overlay {
|
25
|
+
z-index: 6;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
height: $spree-header-mobile-height;
|
30
|
+
&-fluid {
|
31
|
+
max-width: $spree-header-max-width;
|
32
|
+
&-logo {
|
33
|
+
flex-basis: auto;
|
34
|
+
margin: 0;
|
35
|
+
img {
|
36
|
+
max-height: 32px;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
&-secondary-navigation {
|
40
|
+
flex-basis: 0;
|
41
|
+
}
|
42
|
+
&-mobile-menu-toggler {
|
43
|
+
flex-basis: 0;
|
44
|
+
.navbar-toggler {
|
45
|
+
color: $header-font-color;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
@include media-breakpoint-up(sm) {
|
50
|
+
height: $spree-header-tablet-height;
|
51
|
+
&-fluid {
|
52
|
+
&-logo {
|
53
|
+
img {
|
54
|
+
max-height: 50px;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
@include media-breakpoint-up(xl) {
|
60
|
+
height: $spree-header-desktop-height;
|
61
|
+
&-fluid {
|
62
|
+
&-logo {
|
63
|
+
flex-basis: 0;
|
64
|
+
margin: 0 0 1rem;
|
65
|
+
img {
|
66
|
+
max-height: 50px;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
&-primary-navigation {
|
70
|
+
flex-basis: auto;
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
#logo {
|
77
|
+
margin: 0;
|
78
|
+
padding: 0;
|
79
|
+
a {
|
80
|
+
display: inline-block;
|
81
|
+
}
|
82
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
.forgot-password {
|
2
|
+
margin-top: font-px-to-rem(10px);
|
3
|
+
|
4
|
+
a {
|
5
|
+
transition: basic-transition(color);
|
6
|
+
text-transform: uppercase;
|
7
|
+
text-decoration: underline;
|
8
|
+
color: theme-color('info');
|
9
|
+
font-size: font-px-to-rem(12px);
|
10
|
+
|
11
|
+
&:hover,
|
12
|
+
&:active {
|
13
|
+
color: theme-color('primary');
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
@include media-breakpoint-up(sm) {
|
18
|
+
margin-top: font-px-to-rem(19.7px);
|
19
|
+
a {
|
20
|
+
font-size: font-px-to-rem(23px);
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
@include media-breakpoint-up(lg) {
|
25
|
+
margin-top: font-px-to-rem(20px);
|
26
|
+
a {
|
27
|
+
font-size: font-px-to-rem(16px);
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
@@ -0,0 +1,103 @@
|
|
1
|
+
.main-nav-bar {
|
2
|
+
@mixin active-category-button {
|
3
|
+
border-bottom-color: $header-font-color;
|
4
|
+
}
|
5
|
+
|
6
|
+
&-item {
|
7
|
+
text-transform: uppercase;
|
8
|
+
font-size: 20px;
|
9
|
+
font-weight: $font-weight-medium;
|
10
|
+
a {
|
11
|
+
color: theme-color('dark-text');
|
12
|
+
|
13
|
+
&:hover {
|
14
|
+
text-decoration: none;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
&-dropdown {
|
19
|
+
&-toggle {
|
20
|
+
background: none;
|
21
|
+
border: none;
|
22
|
+
padding: 0;
|
23
|
+
margin: 0;
|
24
|
+
&:focus {
|
25
|
+
outline: none;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
&-category {
|
30
|
+
$self: &;
|
31
|
+
|
32
|
+
position: static;
|
33
|
+
|
34
|
+
&:hover {
|
35
|
+
#{$self}-dropdown {
|
36
|
+
display: block;
|
37
|
+
}
|
38
|
+
#{$self}-button {
|
39
|
+
color: $header-font-color;
|
40
|
+
text-decoration: none;
|
41
|
+
@include active-category-button;
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
&-button {
|
46
|
+
background: none;
|
47
|
+
border: none;
|
48
|
+
border-bottom: 3px solid transparent;
|
49
|
+
color: $header-font-color;
|
50
|
+
margin: 0;
|
51
|
+
&:focus {
|
52
|
+
outline: none;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
&-dropdown {
|
57
|
+
padding: 51px 0px 51px 0px;
|
58
|
+
min-height: 341px;
|
59
|
+
left: 0;
|
60
|
+
right: 0;
|
61
|
+
width: 100%;
|
62
|
+
position: absolute;
|
63
|
+
top: $spree-header-mobile-height;
|
64
|
+
margin: 0;
|
65
|
+
border: none;
|
66
|
+
z-index: 1000;
|
67
|
+
display: none;
|
68
|
+
background: $meganav-background;
|
69
|
+
background-clip: padding-box;
|
70
|
+
|
71
|
+
form {
|
72
|
+
input#keywords {
|
73
|
+
color: theme-color('dark-text');
|
74
|
+
font-size: font-px-to-rem(14px);
|
75
|
+
width: calc(100% - 40px);
|
76
|
+
&:focus {
|
77
|
+
outline: none;
|
78
|
+
}
|
79
|
+
&::placeholder {
|
80
|
+
color: theme-color('borders');
|
81
|
+
}
|
82
|
+
&::-webkit-search-cancel-button {
|
83
|
+
display: none;
|
84
|
+
}
|
85
|
+
@include media-breakpoint-up(md) {
|
86
|
+
font-size: font-px-to-rem(22px);
|
87
|
+
}
|
88
|
+
}
|
89
|
+
input[type='submit'] {
|
90
|
+
display: none;
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
@include media-breakpoint-up(xl) {
|
95
|
+
top: $spree-header-desktop-height;
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
.spree-icon {
|
101
|
+
color: theme-color('dark-text');
|
102
|
+
}
|
103
|
+
}
|