spree_frontend 4.0.9 → 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,505 @@
|
|
1
|
+
.checkout {
|
2
|
+
&-header {
|
3
|
+
margin: 0;
|
4
|
+
&-link {
|
5
|
+
top: 70%;
|
6
|
+
transform: translateY(-70%);
|
7
|
+
font-size: font-px-to-rem(11px);
|
8
|
+
font-weight: 500;
|
9
|
+
@include media-breakpoint-up(sm) {
|
10
|
+
font-size: font-px-to-rem(20px);
|
11
|
+
}
|
12
|
+
@include media-breakpoint-up(lg) {
|
13
|
+
font-size: font-px-to-rem(18px);
|
14
|
+
}
|
15
|
+
@include media-breakpoint-up(xl) {
|
16
|
+
top: 50%;
|
17
|
+
transform: translateY(-50%);
|
18
|
+
}
|
19
|
+
a {
|
20
|
+
color: $header-font-color;
|
21
|
+
padding-left: 15px;
|
22
|
+
letter-spacing: 0.5px;
|
23
|
+
@include media-breakpoint-down(sm) {
|
24
|
+
padding-left: 0px;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
28
|
+
&-title {
|
29
|
+
margin: 10px 0;
|
30
|
+
@include media-breakpoint-up(lg) {
|
31
|
+
align-self: flex-start;
|
32
|
+
margin-bottom: 53px;
|
33
|
+
margin: 45px 0 78px 0;
|
34
|
+
}
|
35
|
+
h1 {
|
36
|
+
color: theme-color('dark-text');
|
37
|
+
font-size: font-px-to-rem(18px);
|
38
|
+
line-height: 11px;
|
39
|
+
letter-spacing: 0.45px;
|
40
|
+
margin-top: 18px;
|
41
|
+
margin-bottom: 24px;
|
42
|
+
|
43
|
+
@include media-breakpoint-up(sm) {
|
44
|
+
font-size: font-px-to-rem(34px);
|
45
|
+
letter-spacing: 0.85px;
|
46
|
+
line-height: 0.91;
|
47
|
+
margin-top: 30px;
|
48
|
+
margin-bottom: 58px;
|
49
|
+
}
|
50
|
+
|
51
|
+
@include media-breakpoint-up(lg) {
|
52
|
+
font-size: font-px-to-rem(32px);
|
53
|
+
line-height: 0.53;
|
54
|
+
letter-spacing: 0.8px;
|
55
|
+
margin: 0;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
&-progress {
|
61
|
+
position: relative;
|
62
|
+
width: 100%;
|
63
|
+
margin-bottom: 42px;
|
64
|
+
@include media-breakpoint-up(sm) {
|
65
|
+
margin-top: 33px;
|
66
|
+
margin-bottom: 113px;
|
67
|
+
}
|
68
|
+
@include media-breakpoint-up(lg) {
|
69
|
+
margin-top: 0;
|
70
|
+
margin-bottom: 80px;
|
71
|
+
}
|
72
|
+
&-steps {
|
73
|
+
font-size: font-px-to-rem(12px);
|
74
|
+
line-height: 16.8px;
|
75
|
+
letter-spacing: 0.3px;
|
76
|
+
@include media-breakpoint-up(sm) {
|
77
|
+
font-size: font-px-to-rem(20px);
|
78
|
+
line-height: 17px;
|
79
|
+
letter-spacing: 0.5px;
|
80
|
+
}
|
81
|
+
@include media-breakpoint-up(lg) {
|
82
|
+
font-size: font-px-to-rem(18px);
|
83
|
+
line-height: 0.94;
|
84
|
+
letter-spacing: 0.45px;
|
85
|
+
}
|
86
|
+
&-image {
|
87
|
+
z-index: 1;
|
88
|
+
width: 23px;
|
89
|
+
height: 23px;
|
90
|
+
margin-bottom: 6px;
|
91
|
+
color: $primary-background;
|
92
|
+
@include media-breakpoint-up(sm) {
|
93
|
+
width: 46px;
|
94
|
+
height: 46px;
|
95
|
+
margin-bottom: 16px;
|
96
|
+
}
|
97
|
+
@include media-breakpoint-up(lg) {
|
98
|
+
width: 36px;
|
99
|
+
height: 36px;
|
100
|
+
margin-bottom: 13px;
|
101
|
+
}
|
102
|
+
&--full {
|
103
|
+
@include colored-full-circle($primary-background, $secondary-color);
|
104
|
+
}
|
105
|
+
}
|
106
|
+
&-line {
|
107
|
+
display: flex;
|
108
|
+
position: absolute;
|
109
|
+
top: 12px;
|
110
|
+
left: 0;
|
111
|
+
right: 0;
|
112
|
+
margin: 0 25px;
|
113
|
+
@include media-breakpoint-up(sm) {
|
114
|
+
top: 22px;
|
115
|
+
margin: 0 50px;
|
116
|
+
}
|
117
|
+
@include media-breakpoint-up(lg) {
|
118
|
+
top: 18px;
|
119
|
+
margin: 0 35px;
|
120
|
+
}
|
121
|
+
&.state-delivery {
|
122
|
+
hr:first-child {
|
123
|
+
border-color: $secondary-color;
|
124
|
+
}
|
125
|
+
}
|
126
|
+
&.state-payment {
|
127
|
+
hr:first-child,
|
128
|
+
hr:nth-child(2) {
|
129
|
+
border-color: $secondary-color;
|
130
|
+
}
|
131
|
+
}
|
132
|
+
&.state-confirm {
|
133
|
+
hr {
|
134
|
+
border-color: $secondary-color;
|
135
|
+
}
|
136
|
+
}
|
137
|
+
hr {
|
138
|
+
margin: 0;
|
139
|
+
width: 33%;
|
140
|
+
border: 1px solid theme-color('info');
|
141
|
+
}
|
142
|
+
}
|
143
|
+
.nav-item.active,
|
144
|
+
.nav-item.completed {
|
145
|
+
color: theme-color('secondary');
|
146
|
+
}
|
147
|
+
.nav-item {
|
148
|
+
color: theme-color('info');
|
149
|
+
font-weight: 600;
|
150
|
+
@include media-breakpoint-up(sm) {
|
151
|
+
font-weight: 500;
|
152
|
+
}
|
153
|
+
a {
|
154
|
+
color: inherit;
|
155
|
+
}
|
156
|
+
}
|
157
|
+
}
|
158
|
+
}
|
159
|
+
&-content {
|
160
|
+
form {
|
161
|
+
justify-content: space-between;
|
162
|
+
}
|
163
|
+
|
164
|
+
&-header {
|
165
|
+
font-size: font-px-to-rem(16px);
|
166
|
+
font-weight: 500;
|
167
|
+
line-height: 1.06;
|
168
|
+
letter-spacing: 0.4px;
|
169
|
+
margin-bottom: 18px;
|
170
|
+
@include media-breakpoint-up(sm) {
|
171
|
+
font-size: font-px-to-rem(28px);
|
172
|
+
line-height: 1.14;
|
173
|
+
letter-spacing: 0.7px;
|
174
|
+
margin-bottom: 58px;
|
175
|
+
}
|
176
|
+
@include media-breakpoint-up(lg) {
|
177
|
+
font-size: font-px-to-rem(26px);
|
178
|
+
letter-spacing: 0.65px;
|
179
|
+
margin-bottom: 40px;
|
180
|
+
}
|
181
|
+
}
|
182
|
+
|
183
|
+
.payment-gateway {
|
184
|
+
&-title {
|
185
|
+
font-size: font-px-to-rem(15px);
|
186
|
+
font-weight: 500;
|
187
|
+
line-height: 1.06;
|
188
|
+
letter-spacing: 0.4px;
|
189
|
+
margin-bottom: 24px;
|
190
|
+
@include media-breakpoint-up(sm) {
|
191
|
+
font-size: font-px-to-rem(27px);
|
192
|
+
line-height: 1.22;
|
193
|
+
letter-spacing: 0.68px;
|
194
|
+
margin-bottom: 31px;
|
195
|
+
}
|
196
|
+
@include media-breakpoint-up(lg) {
|
197
|
+
font-size: font-px-to-rem(25px);
|
198
|
+
letter-spacing: 0.65px;
|
199
|
+
margin-bottom: 24px;
|
200
|
+
}
|
201
|
+
}
|
202
|
+
|
203
|
+
&-field {
|
204
|
+
input::-webkit-input-placeholder {
|
205
|
+
text-transform: uppercase;
|
206
|
+
}
|
207
|
+
@include media-breakpoint-up(sm) {
|
208
|
+
margin-top: 33px;
|
209
|
+
}
|
210
|
+
@include media-breakpoint-up(lg) {
|
211
|
+
margin-top: 0;
|
212
|
+
}
|
213
|
+
}
|
214
|
+
|
215
|
+
&-half-fields {
|
216
|
+
> .payment-gateway-field {
|
217
|
+
flex-basis: 48%;
|
218
|
+
}
|
219
|
+
}
|
220
|
+
}
|
221
|
+
|
222
|
+
.store-credit {
|
223
|
+
&-title {
|
224
|
+
font-size: font-px-to-rem(15px);
|
225
|
+
font-weight: 500;
|
226
|
+
line-height: 1.06;
|
227
|
+
letter-spacing: 0.4px;
|
228
|
+
margin-bottom: 0;
|
229
|
+
@include media-breakpoint-up(sm) {
|
230
|
+
font-size: font-px-to-rem(27px);
|
231
|
+
line-height: 1.22;
|
232
|
+
letter-spacing: 0.5px;
|
233
|
+
}
|
234
|
+
@include media-breakpoint-up(lg) {
|
235
|
+
font-size: font-px-to-rem(20px);
|
236
|
+
}
|
237
|
+
}
|
238
|
+
&-button {
|
239
|
+
padding: 1px 25px;
|
240
|
+
font-size: 16px;
|
241
|
+
@include media-breakpoint-up(sm) {
|
242
|
+
font-size: font-px-to-rem(30px);
|
243
|
+
}
|
244
|
+
@include media-breakpoint-up(lg) {
|
245
|
+
font-size: font-px-to-rem(20px);
|
246
|
+
}
|
247
|
+
}
|
248
|
+
}
|
249
|
+
|
250
|
+
&-subheader {
|
251
|
+
margin-bottom: 24px;
|
252
|
+
font-size: 27px;
|
253
|
+
}
|
254
|
+
&-billing-checkbox {
|
255
|
+
margin-bottom: 33px;
|
256
|
+
.spree-checkbox {
|
257
|
+
@include media-breakpoint-up(sm) {
|
258
|
+
margin-right: 1rem;
|
259
|
+
}
|
260
|
+
@include media-breakpoint-up(lg) {
|
261
|
+
margin-right: 0.5rem;
|
262
|
+
}
|
263
|
+
}
|
264
|
+
.spree-checkbox-label {
|
265
|
+
color: theme-color('dark-text');
|
266
|
+
font-size: font-px-to-rem(14px);
|
267
|
+
font-weight: 500;
|
268
|
+
line-height: 1.21;
|
269
|
+
letter-spacing: 0.35px;
|
270
|
+
@include media-breakpoint-up(sm) {
|
271
|
+
font-size: font-px-to-rem(22px);
|
272
|
+
line-height: 1.55;
|
273
|
+
letter-spacing: 0.55px;
|
274
|
+
}
|
275
|
+
@include media-breakpoint-up(lg) {
|
276
|
+
font-size: font-px-to-rem(16px);
|
277
|
+
line-height: 1.44;
|
278
|
+
letter-spacing: 0.4px;
|
279
|
+
}
|
280
|
+
}
|
281
|
+
}
|
282
|
+
&-inner {
|
283
|
+
&-field {
|
284
|
+
color: theme-color('info');
|
285
|
+
font-size: font-px-to-rem(12px);
|
286
|
+
font-weight: 500;
|
287
|
+
line-height: 1.08;
|
288
|
+
letter-spacing: 0.3px;
|
289
|
+
@include media-breakpoint-up(lg) {
|
290
|
+
&:last-child {
|
291
|
+
font-size: font-px-to-rem(11px);
|
292
|
+
}
|
293
|
+
}
|
294
|
+
.spree-flat-label {
|
295
|
+
@include media-breakpoint-up(sm) {
|
296
|
+
font-size: font-px-to-rem(22px);
|
297
|
+
letter-spacing: 0.55px;
|
298
|
+
}
|
299
|
+
@include media-breakpoint-up(lg) {
|
300
|
+
font-size: font-px-to-rem(17px);
|
301
|
+
letter-spacing: 0.3px;
|
302
|
+
}
|
303
|
+
}
|
304
|
+
}
|
305
|
+
}
|
306
|
+
&-shipping-methods {
|
307
|
+
&-header {
|
308
|
+
@include media-breakpoint-up(lg) {
|
309
|
+
margin-top: 30px;
|
310
|
+
margin-bottom: 50px;
|
311
|
+
}
|
312
|
+
}
|
313
|
+
&-list {
|
314
|
+
list-style: none;
|
315
|
+
padding-left: 0;
|
316
|
+
.spree-radio-label {
|
317
|
+
font-size: font-px-to-rem(14px);
|
318
|
+
font-weight: 500;
|
319
|
+
letter-spacing: 0.35px;
|
320
|
+
@include media-breakpoint-up(sm) {
|
321
|
+
font-size: font-px-to-rem(27px);
|
322
|
+
letter-spacing: 0.68px;
|
323
|
+
padding-left: 55.4px;
|
324
|
+
}
|
325
|
+
@include media-breakpoint-up(lg) {
|
326
|
+
font-size: font-px-to-rem(20px);
|
327
|
+
letter-spacing: 0.5px;
|
328
|
+
padding-left: 52px;
|
329
|
+
}
|
330
|
+
&-custom-input {
|
331
|
+
@include media-breakpoint-up(sm) {
|
332
|
+
width: 31.7px;
|
333
|
+
height: 31.7px;
|
334
|
+
}
|
335
|
+
@include media-breakpoint-up(lg) {
|
336
|
+
width: 27px;
|
337
|
+
height: 27px;
|
338
|
+
}
|
339
|
+
}
|
340
|
+
.rate-cost {
|
341
|
+
font-size: font-px-to-rem(16px);
|
342
|
+
font-weight: 600;
|
343
|
+
line-height: 0.31;
|
344
|
+
letter-spacing: 0.4px;
|
345
|
+
margin-top: 8px;
|
346
|
+
@include media-breakpoint-up(sm) {
|
347
|
+
font-size: font-px-to-rem(27px);
|
348
|
+
line-height: 1;
|
349
|
+
letter-spacing: 0.68px;
|
350
|
+
margin-top: 5px;
|
351
|
+
}
|
352
|
+
@include media-breakpoint-up(lg) {
|
353
|
+
font-size: font-px-to-rem(23px);
|
354
|
+
line-height: 0.39;
|
355
|
+
letter-spacing: 0.58px;
|
356
|
+
margin-top: 12px;
|
357
|
+
}
|
358
|
+
}
|
359
|
+
}
|
360
|
+
}
|
361
|
+
}
|
362
|
+
&-summary {
|
363
|
+
padding: 25px 46px;
|
364
|
+
margin-bottom: 30px;
|
365
|
+
background: $secondary-background;
|
366
|
+
color: $secondary-font-color;
|
367
|
+
@include media-breakpoint-up(sm) {
|
368
|
+
padding: 70px 120px;
|
369
|
+
}
|
370
|
+
@include media-breakpoint-up(lg) {
|
371
|
+
padding: 35px 40px;
|
372
|
+
}
|
373
|
+
&-header {
|
374
|
+
font-size: font-px-to-rem(16px);
|
375
|
+
font-weight: 500;
|
376
|
+
line-height: 1.06;
|
377
|
+
letter-spacing: 0.4px;
|
378
|
+
margin-bottom: 35px;
|
379
|
+
@include media-breakpoint-up(sm) {
|
380
|
+
font-size: font-px-to-rem(29px);
|
381
|
+
line-height: 1.1;
|
382
|
+
letter-spacing: 0.73px;
|
383
|
+
margin-bottom: 74px;
|
384
|
+
}
|
385
|
+
@include media-breakpoint-up(lg) {
|
386
|
+
font-size: font-px-to-rem(26px);
|
387
|
+
line-height: 0.65;
|
388
|
+
letter-spacing: 0.65px;
|
389
|
+
margin-bottom: 35px;
|
390
|
+
}
|
391
|
+
}
|
392
|
+
&-table {
|
393
|
+
display: grid;
|
394
|
+
grid-template-columns: 1fr fit-content(0.5fr);
|
395
|
+
grid-gap: 5px;
|
396
|
+
font-size: font-px-to-rem(14px);
|
397
|
+
font-weight: 500;
|
398
|
+
letter-spacing: 0.35px;
|
399
|
+
color: theme-color('secondary');
|
400
|
+
@include media-breakpoint-up(sm) {
|
401
|
+
font-size: font-px-to-rem(24px);
|
402
|
+
}
|
403
|
+
@include media-breakpoint-up(lg) {
|
404
|
+
font-size: font-px-to-rem(16px);
|
405
|
+
}
|
406
|
+
.d-table-cell {
|
407
|
+
@include media-breakpoint-up(lg) {
|
408
|
+
&:last-child {
|
409
|
+
font-size: font-px-to-rem(18px);
|
410
|
+
}
|
411
|
+
}
|
412
|
+
}
|
413
|
+
.d-table-cell.text-right {
|
414
|
+
@include media-breakpoint-up(sm) {
|
415
|
+
font-weight: 600;
|
416
|
+
}
|
417
|
+
@include media-breakpoint-up(lg) {
|
418
|
+
font-size: font-px-to-rem(18px);
|
419
|
+
}
|
420
|
+
}
|
421
|
+
&-order-total {
|
422
|
+
grid-column: span 2;
|
423
|
+
display: flex;
|
424
|
+
justify-content: space-between;
|
425
|
+
padding: 5px 0;
|
426
|
+
align-items: center;
|
427
|
+
font-size: font-px-to-rem(16px);
|
428
|
+
font-weight: 600;
|
429
|
+
letter-spacing: 0.4px;
|
430
|
+
color: theme-color('dark-text');
|
431
|
+
border-top: 1px solid theme-color('dark-text');
|
432
|
+
@include media-breakpoint-up(sm) {
|
433
|
+
font-size: font-px-to-rem(28px);
|
434
|
+
padding: 20px 0 0;
|
435
|
+
margin-top: 20px;
|
436
|
+
}
|
437
|
+
@include media-breakpoint-up(lg) {
|
438
|
+
font-size: font-px-to-rem(16px);
|
439
|
+
padding: 5px 0;
|
440
|
+
margin-top: 0;
|
441
|
+
}
|
442
|
+
.d-table-cell {
|
443
|
+
@include media-breakpoint-up(lg) {
|
444
|
+
&:last-child {
|
445
|
+
font-size: font-px-to-rem(20px);
|
446
|
+
}
|
447
|
+
}
|
448
|
+
}
|
449
|
+
}
|
450
|
+
}
|
451
|
+
}
|
452
|
+
&-save-continue-button {
|
453
|
+
margin-bottom: 32px;
|
454
|
+
@include media-breakpoint-up(sm) {
|
455
|
+
font-size: font-px-to-rem(30px);
|
456
|
+
line-height: 1.03;
|
457
|
+
letter-spacing: 0.75px;
|
458
|
+
font-weight: 600;
|
459
|
+
padding: 18px 12px;
|
460
|
+
}
|
461
|
+
@include media-breakpoint-up(lg) {
|
462
|
+
height: 65px;
|
463
|
+
font-size: font-px-to-rem(22px);
|
464
|
+
line-height: 0.76;
|
465
|
+
letter-spacing: 0.55px;
|
466
|
+
margin-bottom: 100px;
|
467
|
+
padding: 6px 12px;
|
468
|
+
}
|
469
|
+
}
|
470
|
+
|
471
|
+
.select_address {
|
472
|
+
.spree-radio-label {
|
473
|
+
font-weight: 500;
|
474
|
+
@include media-breakpoint-up(sm) {
|
475
|
+
font-size: font-px-to-rem(20px);
|
476
|
+
letter-spacing: 0.5;
|
477
|
+
line-height: 1.7;
|
478
|
+
}
|
479
|
+
|
480
|
+
@include media-breakpoint-up(lg) {
|
481
|
+
font-size: font-px-to-rem(16px);
|
482
|
+
}
|
483
|
+
}
|
484
|
+
.delete-address-img {
|
485
|
+
color: $primary-color;
|
486
|
+
}
|
487
|
+
}
|
488
|
+
|
489
|
+
#checkout-summary {
|
490
|
+
@include media-breakpoint-up(sm) {
|
491
|
+
border: none;
|
492
|
+
}
|
493
|
+
|
494
|
+
@include media-breakpoint-up(lg) {
|
495
|
+
padding: 0;
|
496
|
+
max-width: 380px;
|
497
|
+
align-self: flex-end;
|
498
|
+
}
|
499
|
+
}
|
500
|
+
|
501
|
+
#checkout_form_confirm {
|
502
|
+
justify-content: flex-end;
|
503
|
+
}
|
504
|
+
}
|
505
|
+
}
|
@@ -0,0 +1,98 @@
|
|
1
|
+
.payment-option {
|
2
|
+
font-size: font-px-to-rem(14px);
|
3
|
+
font-weight: 500;
|
4
|
+
height: 18px;
|
5
|
+
line-height: 23px;
|
6
|
+
margin-bottom: 10px;
|
7
|
+
|
8
|
+
@include media-breakpoint-up(sm) {
|
9
|
+
font-size: font-px-to-rem(27px);
|
10
|
+
line-height: 35px;
|
11
|
+
margin-bottom: 37px;
|
12
|
+
}
|
13
|
+
|
14
|
+
@include media-breakpoint-up(lg) {
|
15
|
+
font-size: font-px-to-rem(20px);
|
16
|
+
height: 27px;
|
17
|
+
line-height: 32px;
|
18
|
+
margin-bottom: 23px;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
.payment-sources {
|
23
|
+
box-shadow: 0 3px 6px 0 theme-color('shadow');
|
24
|
+
margin: 0 0 125px;
|
25
|
+
padding: 28px 18px 0;
|
26
|
+
|
27
|
+
@include media-breakpoint-up(sm) {
|
28
|
+
padding: 40px 40px 0;
|
29
|
+
}
|
30
|
+
|
31
|
+
@include media-breakpoint-up(lg) {
|
32
|
+
padding: 50px 50px 0;
|
33
|
+
}
|
34
|
+
|
35
|
+
.form-group {
|
36
|
+
margin-bottom: 0;
|
37
|
+
}
|
38
|
+
|
39
|
+
&-list {
|
40
|
+
font-size: font-px-to-rem(14px);
|
41
|
+
font-weight: 500;
|
42
|
+
|
43
|
+
@include media-breakpoint-up(sm) {
|
44
|
+
font-size: font-px-to-rem(27px);
|
45
|
+
}
|
46
|
+
|
47
|
+
@include media-breakpoint-up(lg) {
|
48
|
+
font-size: font-px-to-rem(20px);
|
49
|
+
}
|
50
|
+
|
51
|
+
> div:not(:last-child) {
|
52
|
+
margin-bottom: 5px;
|
53
|
+
|
54
|
+
@include media-breakpoint-up(sm) {
|
55
|
+
margin-bottom: 36px;
|
56
|
+
}
|
57
|
+
|
58
|
+
@include media-breakpoint-up(lg) {
|
59
|
+
margin-bottom: 20px;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
&-item {
|
64
|
+
@include media-breakpoint-between(sm, lg) {
|
65
|
+
align-items: flex-end;
|
66
|
+
line-height: 38px;
|
67
|
+
}
|
68
|
+
|
69
|
+
&-image {
|
70
|
+
height: 22px;
|
71
|
+
margin-right: 10px;
|
72
|
+
|
73
|
+
@include media-breakpoint-up(sm) {
|
74
|
+
height: auto;
|
75
|
+
width: 50px;
|
76
|
+
}
|
77
|
+
|
78
|
+
@include media-breakpoint-up(lg) {
|
79
|
+
height: auto;
|
80
|
+
margin-right: 17px;
|
81
|
+
width: 50px;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
&-add-form, &-existing-cards {
|
88
|
+
padding-bottom: 28px;
|
89
|
+
|
90
|
+
@include media-breakpoint-up(sm) {
|
91
|
+
padding-bottom: 40px;
|
92
|
+
}
|
93
|
+
|
94
|
+
@include media-breakpoint-up(lg) {
|
95
|
+
padding-bottom: 50px;
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
.checkout-registration {
|
2
|
+
padding-bottom: 64px;
|
3
|
+
border-bottom: 1px solid theme-color('borders');
|
4
|
+
|
5
|
+
&-styled-or {
|
6
|
+
font-size: 12px;
|
7
|
+
display: flex;
|
8
|
+
width: 100%;
|
9
|
+
justify-content: center;
|
10
|
+
align-items: center;
|
11
|
+
text-align: center;
|
12
|
+
margin: 30px 0;
|
13
|
+
|
14
|
+
&:before,
|
15
|
+
&:after {
|
16
|
+
content: '';
|
17
|
+
border-top: 2px solid theme-color('borders');
|
18
|
+
margin: 0 20px 0 0;
|
19
|
+
flex: 1 0 20px;
|
20
|
+
}
|
21
|
+
|
22
|
+
&:after {
|
23
|
+
margin: 0 0 0 20px;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|