solidus_starter_frontend 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- metadata +30 -514
- data/.circleci/config.yml +0 -57
- data/.erb-lint.yml +0 -22
- data/.eslintrc +0 -5
- data/.gem_release.yml +0 -5
- data/.github/pull_request_template.md +0 -28
- data/.github/stale.yml +0 -17
- data/.gitignore +0 -17
- data/.hound.yml +0 -16
- data/.rspec +0 -2
- data/.rubocop.yml +0 -19
- data/.rubocop_todo.yml +0 -229
- data/.scss-lint.yml +0 -4
- data/Gemfile +0 -34
- data/LICENSE +0 -26
- data/README.md +0 -69
- data/Rakefile +0 -6
- data/app/assets/config/solidus_starter_frontend_manifest.js +0 -2
- data/app/assets/javascripts/spree/frontend/cart.js +0 -26
- data/app/assets/javascripts/spree/frontend/checkout/address.js +0 -124
- data/app/assets/javascripts/spree/frontend/checkout/payment.js +0 -44
- data/app/assets/javascripts/spree/frontend/checkout.js +0 -34
- data/app/assets/javascripts/spree/frontend/locale_selector.js +0 -9
- data/app/assets/javascripts/spree/frontend/product.js +0 -21
- data/app/assets/javascripts/spree/frontend/solidus_starter_frontend.js +0 -9
- data/app/assets/javascripts/spree/frontend/utils.js.erb +0 -18
- data/app/assets/javascripts/spree/frontend.js +0 -6
- data/app/assets/stylesheets/spree/frontend/base/_base.scss +0 -29
- data/app/assets/stylesheets/spree/frontend/base/_reset.scss +0 -179
- data/app/assets/stylesheets/spree/frontend/base/_responsive.scss +0 -21
- data/app/assets/stylesheets/spree/frontend/components/account/_account_order.scss +0 -23
- data/app/assets/stylesheets/spree/frontend/components/account/_account_summary.scss +0 -17
- data/app/assets/stylesheets/spree/frontend/components/auth/_auth_container.scss +0 -11
- data/app/assets/stylesheets/spree/frontend/components/auth/_auth_form.scss +0 -5
- data/app/assets/stylesheets/spree/frontend/components/brand/_logo.scss +0 -4
- data/app/assets/stylesheets/spree/frontend/components/buttons/_button_inline.scss +0 -8
- data/app/assets/stylesheets/spree/frontend/components/buttons/_button_primary.scss +0 -26
- data/app/assets/stylesheets/spree/frontend/components/cart/_cart_adjustments.scss +0 -6
- data/app/assets/stylesheets/spree/frontend/components/cart/_cart_amount_row.scss +0 -11
- data/app/assets/stylesheets/spree/frontend/components/cart/_cart_empty.scss +0 -10
- data/app/assets/stylesheets/spree/frontend/components/cart/_cart_footer.scss +0 -20
- data/app/assets/stylesheets/spree/frontend/components/cart/_cart_header.scss +0 -12
- data/app/assets/stylesheets/spree/frontend/components/cart/_cart_item.scss +0 -86
- data/app/assets/stylesheets/spree/frontend/components/cart/_cart_link.scss +0 -22
- data/app/assets/stylesheets/spree/frontend/components/cart/_cart_page.scss +0 -15
- data/app/assets/stylesheets/spree/frontend/components/cart/_cart_secondary_actions.scss +0 -19
- data/app/assets/stylesheets/spree/frontend/components/cart/_coupon_code.scss +0 -8
- data/app/assets/stylesheets/spree/frontend/components/cart/_item_info.scss +0 -19
- data/app/assets/stylesheets/spree/frontend/components/checkout/_checkout.scss +0 -27
- data/app/assets/stylesheets/spree/frontend/components/checkout/_checkout_header.scss +0 -19
- data/app/assets/stylesheets/spree/frontend/components/checkout/_checkout_summary.scss +0 -31
- data/app/assets/stylesheets/spree/frontend/components/checkout/_existing_cards.scss +0 -27
- data/app/assets/stylesheets/spree/frontend/components/checkout/_payment_method_controls.scss +0 -5
- data/app/assets/stylesheets/spree/frontend/components/checkout/_payment_method_selector.scss +0 -14
- data/app/assets/stylesheets/spree/frontend/components/checkout/_progress_steps.scss +0 -38
- data/app/assets/stylesheets/spree/frontend/components/checkout/_proposed_shipment.scss +0 -18
- data/app/assets/stylesheets/spree/frontend/components/checkout/_shipment_items.scss +0 -50
- data/app/assets/stylesheets/spree/frontend/components/checkout/_shipping_methods.scss +0 -9
- data/app/assets/stylesheets/spree/frontend/components/checkout/payments/_gateway_payment_method.scss +0 -11
- data/app/assets/stylesheets/spree/frontend/components/checkout/steps/_address_step.scss +0 -20
- data/app/assets/stylesheets/spree/frontend/components/checkout/steps/_confirm_step.scss +0 -13
- data/app/assets/stylesheets/spree/frontend/components/checkout/steps/_delivery_step.scss +0 -13
- data/app/assets/stylesheets/spree/frontend/components/checkout/steps/_payment_step.scss +0 -13
- data/app/assets/stylesheets/spree/frontend/components/forms/_address_inputs.scss +0 -13
- data/app/assets/stylesheets/spree/frontend/components/forms/inputs/_checkbox_input.scss +0 -3
- data/app/assets/stylesheets/spree/frontend/components/forms/inputs/_radio_input.scss +0 -3
- data/app/assets/stylesheets/spree/frontend/components/forms/inputs/_select_input.scss +0 -27
- data/app/assets/stylesheets/spree/frontend/components/forms/inputs/_text.scss +0 -32
- data/app/assets/stylesheets/spree/frontend/components/forms/inputs/_textarea_input.scss +0 -25
- data/app/assets/stylesheets/spree/frontend/components/general/_flash.scss +0 -20
- data/app/assets/stylesheets/spree/frontend/components/layout/_aside.scss +0 -4
- data/app/assets/stylesheets/spree/frontend/components/layout/_breadcrumbs.scss +0 -16
- data/app/assets/stylesheets/spree/frontend/components/layout/_category_navigation.scss +0 -3
- data/app/assets/stylesheets/spree/frontend/components/layout/_footer.scss +0 -8
- data/app/assets/stylesheets/spree/frontend/components/layout/_header.scss +0 -12
- data/app/assets/stylesheets/spree/frontend/components/layout/_horizontal_input_group.scss +0 -7
- data/app/assets/stylesheets/spree/frontend/components/layout/_top_bar.scss +0 -44
- data/app/assets/stylesheets/spree/frontend/components/navigation/_auth_link.scss +0 -11
- data/app/assets/stylesheets/spree/frontend/components/navigation/_categories.scss +0 -29
- data/app/assets/stylesheets/spree/frontend/components/navigation/_locale_selector.scss +0 -21
- data/app/assets/stylesheets/spree/frontend/components/navigation/_taxonomies.scss +0 -7
- data/app/assets/stylesheets/spree/frontend/components/navigation/_taxonomy.scss +0 -28
- data/app/assets/stylesheets/spree/frontend/components/orders/_address_overview.scss +0 -27
- data/app/assets/stylesheets/spree/frontend/components/orders/_coupon_codes.scss +0 -4
- data/app/assets/stylesheets/spree/frontend/components/orders/_line_items.scss +0 -20
- data/app/assets/stylesheets/spree/frontend/components/orders/_order_details.scss +0 -18
- data/app/assets/stylesheets/spree/frontend/components/orders/_order_item.scss +0 -85
- data/app/assets/stylesheets/spree/frontend/components/orders/_order_page.scss +0 -41
- data/app/assets/stylesheets/spree/frontend/components/orders/_order_shipments.scss +0 -27
- data/app/assets/stylesheets/spree/frontend/components/orders/_payment_info.scss +0 -29
- data/app/assets/stylesheets/spree/frontend/components/presentation/_hero.scss +0 -18
- data/app/assets/stylesheets/spree/frontend/components/products/_product_card.scss +0 -35
- data/app/assets/stylesheets/spree/frontend/components/products/_product_image.scss +0 -7
- data/app/assets/stylesheets/spree/frontend/components/products/_product_info.scss +0 -14
- data/app/assets/stylesheets/spree/frontend/components/products/_product_page.scss +0 -31
- data/app/assets/stylesheets/spree/frontend/components/products/_product_properties.scss +0 -23
- data/app/assets/stylesheets/spree/frontend/components/products/_product_submit.scss +0 -9
- data/app/assets/stylesheets/spree/frontend/components/products/_product_taxons.scss +0 -27
- data/app/assets/stylesheets/spree/frontend/components/products/_product_thumbnails.scss +0 -7
- data/app/assets/stylesheets/spree/frontend/components/products/_product_variants.scss +0 -20
- data/app/assets/stylesheets/spree/frontend/components/products/_products.scss +0 -13
- data/app/assets/stylesheets/spree/frontend/components/products/_products_by_taxon.scss +0 -6
- data/app/assets/stylesheets/spree/frontend/components/products/_products_grid.scss +0 -18
- data/app/assets/stylesheets/spree/frontend/components/search/_filter.scss +0 -32
- data/app/assets/stylesheets/spree/frontend/components/search/_search_bar.scss +0 -34
- data/app/assets/stylesheets/spree/frontend/components/typography/_hero_title.scss +0 -6
- data/app/assets/stylesheets/spree/frontend/components/typography/_subtitle.scss +0 -7
- data/app/assets/stylesheets/spree/frontend/placeholders/main.scss +0 -5
- data/app/assets/stylesheets/spree/frontend/screen.scss +0 -89
- data/app/assets/stylesheets/spree/frontend/solidus_starter_frontend.css +0 -7
- data/app/assets/stylesheets/spree/frontend/variables/_colors.scss +0 -20
- data/app/assets/stylesheets/spree/frontend.css +0 -8
- data/app/controllers/concerns/solidus_starter_frontend/auth_views.rb +0 -16
- data/app/controllers/concerns/solidus_starter_frontend/taxonomies.rb +0 -16
- data/app/controllers/spree/checkout_controller.rb +0 -249
- data/app/controllers/spree/coupon_codes_controller.rb +0 -35
- data/app/controllers/spree/home_controller.rb +0 -13
- data/app/controllers/spree/locale_controller.rb +0 -20
- data/app/controllers/spree/orders_controller.rb +0 -126
- data/app/controllers/spree/products_controller.rb +0 -51
- data/app/controllers/spree/store_controller.rb +0 -31
- data/app/controllers/spree/taxons_controller.rb +0 -30
- data/app/helpers/spree/orders_helper.rb +0 -18
- data/app/helpers/spree/taxon_filters_helper.rb +0 -13
- data/app/views/spree/address/_form_hidden.html.erb +0 -12
- data/app/views/spree/checkout/_terms_and_conditions.en.html.erb +0 -1
- data/app/views/spree/checkout/edit.html.erb +0 -16
- data/app/views/spree/checkout/existing_payment/_gateway.html.erb +0 -9
- data/app/views/spree/checkout/payment/_check.html.erb +0 -0
- data/app/views/spree/checkout/payment/_gateway.html.erb +0 -43
- data/app/views/spree/components/auth/_change_form.html.erb +0 -40
- data/app/views/spree/components/auth/_forgot_form.html.erb +0 -28
- data/app/views/spree/components/auth/_guest_form.html.erb +0 -31
- data/app/views/spree/components/auth/_login_form.html.erb +0 -42
- data/app/views/spree/components/auth/_signup_form.html.erb +0 -48
- data/app/views/spree/components/brand/_logo.html.erb +0 -3
- data/app/views/spree/components/buttons/_button_inline.html.erb +0 -23
- data/app/views/spree/components/buttons/_button_primary.html.erb +0 -29
- data/app/views/spree/components/cart/_cart_adjustment.html.erb +0 -15
- data/app/views/spree/components/cart/_cart_adjustments.html.erb +0 -47
- data/app/views/spree/components/cart/_cart_amount_row.html.erb +0 -12
- data/app/views/spree/components/cart/_cart_empty.html.erb +0 -9
- data/app/views/spree/components/cart/_cart_footer.html.erb +0 -15
- data/app/views/spree/components/cart/_cart_header.html.erb +0 -17
- data/app/views/spree/components/cart/_cart_item.html.erb +0 -52
- data/app/views/spree/components/cart/_cart_items.html.erb +0 -23
- data/app/views/spree/components/cart/_cart_link.html.erb +0 -9
- data/app/views/spree/components/cart/_cart_secondary_actions.html.erb +0 -17
- data/app/views/spree/components/cart/_item_info.html.erb +0 -26
- data/app/views/spree/components/checkout/_checkout_header.html.erb +0 -8
- data/app/views/spree/components/checkout/_checkout_step.html.erb +0 -21
- data/app/views/spree/components/checkout/_checkout_summary.html.erb +0 -70
- data/app/views/spree/components/checkout/_existing_cards.html.erb +0 -39
- data/app/views/spree/components/checkout/_payment_method_controls.html.erb +0 -10
- data/app/views/spree/components/checkout/_payment_method_selector.html.erb +0 -14
- data/app/views/spree/components/checkout/_proposed_shipment.erb +0 -18
- data/app/views/spree/components/checkout/_shipment_items.html.erb +0 -22
- data/app/views/spree/components/checkout/_shipping_methods.html.erb +0 -20
- data/app/views/spree/components/checkout/_unshippable_items.html.erb +0 -7
- data/app/views/spree/components/checkout/steps/_address_step.html.erb +0 -60
- data/app/views/spree/components/checkout/steps/_confirm_step.html.erb +0 -31
- data/app/views/spree/components/checkout/steps/_delivery_step.html.erb +0 -31
- data/app/views/spree/components/checkout/steps/_payment_step.html.erb +0 -25
- data/app/views/spree/components/forms/_address_inputs.html.erb +0 -152
- data/app/views/spree/components/forms/inputs/_checkbox_input.html.erb +0 -29
- data/app/views/spree/components/forms/inputs/_collection_select.html.erb +0 -42
- data/app/views/spree/components/forms/inputs/_radio_input.html.erb +0 -29
- data/app/views/spree/components/forms/inputs/_select_input.html.erb +0 -31
- data/app/views/spree/components/forms/inputs/_text.html.erb +0 -54
- data/app/views/spree/components/forms/inputs/_textarea_input.html.erb +0 -42
- data/app/views/spree/components/layout/_category_navigation.html.erb +0 -3
- data/app/views/spree/components/layout/_footer.html.erb +0 -7
- data/app/views/spree/components/layout/_header.html.erb +0 -8
- data/app/views/spree/components/layout/_top_bar.html.erb +0 -8
- data/app/views/spree/components/navigation/_auth_link.html.erb +0 -1
- data/app/views/spree/components/navigation/_breadcrumbs.html.erb +0 -47
- data/app/views/spree/components/navigation/_categories.html.erb +0 -12
- data/app/views/spree/components/navigation/_locale_selector.html.erb +0 -25
- data/app/views/spree/components/navigation/_taxonomies.html.erb +0 -17
- data/app/views/spree/components/navigation/_taxons.html.erb +0 -17
- data/app/views/spree/components/navigation/_taxons_tree.html.erb +0 -29
- data/app/views/spree/components/orders/_address_overview.html.erb +0 -40
- data/app/views/spree/components/orders/_coupon_code.html.erb +0 -22
- data/app/views/spree/components/orders/_line_items.html.erb +0 -55
- data/app/views/spree/components/orders/_order_details.html.erb +0 -35
- data/app/views/spree/components/orders/_order_item.html.erb +0 -33
- data/app/views/spree/components/orders/_order_items.html.erb +0 -5
- data/app/views/spree/components/orders/_order_shipments.html.erb +0 -25
- data/app/views/spree/components/orders/_payment_info.html.erb +0 -31
- data/app/views/spree/components/presentation/_hero.html.erb +0 -14
- data/app/views/spree/components/products/_product-card.html.erb +0 -36
- data/app/views/spree/components/products/_product_availability.html.erb +0 -19
- data/app/views/spree/components/products/_product_form.html.erb +0 -21
- data/app/views/spree/components/products/_product_image.html.erb +0 -6
- data/app/views/spree/components/products/_product_info.html.erb +0 -9
- data/app/views/spree/components/products/_product_promotions.html.erb +0 -25
- data/app/views/spree/components/products/_product_properties.html.erb +0 -19
- data/app/views/spree/components/products/_product_submit.html.erb +0 -39
- data/app/views/spree/components/products/_product_taxons.html.erb +0 -15
- data/app/views/spree/components/products/_product_thumbnails.html.erb +0 -19
- data/app/views/spree/components/products/_product_variants.html.erb +0 -36
- data/app/views/spree/components/products/_products-grid.html.erb +0 -13
- data/app/views/spree/components/products/_products.html.erb +0 -28
- data/app/views/spree/components/products/_products_by_taxon.html.erb +0 -7
- data/app/views/spree/components/products/_variants_list.html.erb +0 -12
- data/app/views/spree/components/search/_filter.html.erb +0 -42
- data/app/views/spree/components/search/_filters.html.erb +0 -20
- data/app/views/spree/components/search/_form.html.erb +0 -12
- data/app/views/spree/components/search/_products_search.html.erb +0 -36
- data/app/views/spree/components/search/_search_bar.html.erb +0 -36
- data/app/views/spree/components/typography/_hero_title.html.erb +0 -11
- data/app/views/spree/components/typography/_subtitle.html.erb +0 -11
- data/app/views/spree/home/index.html.erb +0 -7
- data/app/views/spree/layouts/spree_application.html.erb +0 -27
- data/app/views/spree/orders/edit.html.erb +0 -21
- data/app/views/spree/orders/show.html.erb +0 -29
- data/app/views/spree/products/index.html.erb +0 -22
- data/app/views/spree/products/show.html.erb +0 -18
- data/app/views/spree/shared/_image.html.erb +0 -12
- data/app/views/spree/shared/_link_to_cart.html.erb +0 -1
- data/app/views/spree/shared/_login_bar_items.html.erb +0 -1
- data/app/views/spree/shared/_shipment_tracking.html.erb +0 -11
- data/app/views/spree/shared/unauthorized.html.erb +0 -0
- data/app/views/spree/taxons/show.html.erb +0 -17
- data/bin/console +0 -17
- data/bin/r +0 -13
- data/bin/rails +0 -7
- data/bin/rake +0 -7
- data/bin/rspec +0 -29
- data/bin/sandbox +0 -84
- data/bin/sandbox_rails +0 -18
- data/bin/setup +0 -8
- data/bin/solidus_compare +0 -155
- data/config/initializers/assets.rb +0 -1
- data/config/initializers/canonical_rails.rb +0 -16
- data/config/locales/en.yml +0 -5
- data/config/routes.rb +0 -33
- data/config/solidus_compare.yml +0 -33
- data/docs/development.md +0 -28
- data/exe/solidus_starter_frontend +0 -9
- data/lib/generators/solidus_starter_frontend/install/install_generator.rb +0 -15
- data/lib/generators/solidus_starter_frontend/solidus_starter_frontend_generator.rb +0 -30
- data/lib/generators/solidus_starter_frontend/views/override_generator.rb +0 -50
- data/lib/solidus_starter_frontend/config.rb +0 -7
- data/lib/solidus_starter_frontend/engine.rb +0 -34
- data/lib/solidus_starter_frontend/factories.rb +0 -4
- data/lib/solidus_starter_frontend/solidus_support_extensions.rb +0 -9
- data/lib/solidus_starter_frontend/version.rb +0 -5
- data/lib/solidus_starter_frontend.rb +0 -12
- data/lib/solidus_starter_frontend_configuration.rb +0 -8
- data/lib/views/auth/spree/checkout/registration.html.erb +0 -7
- data/lib/views/auth/spree/components/navigation/_auth_link.html.erb +0 -5
- data/lib/views/auth/spree/user_passwords/edit.html.erb +0 -7
- data/lib/views/auth/spree/user_passwords/new.html.erb +0 -5
- data/lib/views/auth/spree/user_registrations/new.html.erb +0 -7
- data/lib/views/auth/spree/user_sessions/guest.html.erb +0 -5
- data/lib/views/auth/spree/user_sessions/new.html.erb +0 -7
- data/lib/views/auth/spree/users/edit.html.erb +0 -45
- data/lib/views/auth/spree/users/show.html.erb +0 -55
- data/solidus_starter_frontend.gemspec +0 -43
- data/spec/controllers/controller_helpers_spec.rb +0 -29
- data/spec/controllers/locale_controller_spec.rb +0 -57
- data/spec/controllers/spree/checkout_controller_spec.rb +0 -563
- data/spec/controllers/spree/checkout_controller_with_views_spec.rb +0 -37
- data/spec/controllers/spree/current_order_tracking_spec.rb +0 -33
- data/spec/controllers/spree/home_controller_spec.rb +0 -29
- data/spec/controllers/spree/orders_controller_ability_spec.rb +0 -90
- data/spec/controllers/spree/orders_controller_spec.rb +0 -241
- data/spec/controllers/spree/orders_controller_transitions_spec.rb +0 -33
- data/spec/controllers/spree/products_controller_spec.rb +0 -38
- data/spec/controllers/spree/taxons_controller_spec.rb +0 -14
- data/spec/fixtures/thinking-cat.jpg +0 -0
- data/spec/generators/solidus/views/override_generator_spec.rb +0 -50
- data/spec/helpers/base_helper_spec.rb +0 -13
- data/spec/helpers/order_helper_spec.rb +0 -14
- data/spec/helpers/taxon_filters_helper_spec.rb +0 -12
- data/spec/spec_helper.rb +0 -64
- data/spec/support/shared_contexts/checkout_setup.rb +0 -12
- data/spec/support/shared_contexts/custom_products.rb +0 -28
- data/spec/support/shared_contexts/locales.rb +0 -16
- data/spec/system/address_spec.rb +0 -87
- data/spec/system/automatic_promotion_adjustments_spec.rb +0 -49
- data/spec/system/caching/products_spec.rb +0 -48
- data/spec/system/caching/taxons_spec.rb +0 -35
- data/spec/system/cart_spec.rb +0 -81
- data/spec/system/checkout_confirm_insufficient_stock_spec.rb +0 -71
- data/spec/system/checkout_spec.rb +0 -699
- data/spec/system/checkout_unshippable_spec.rb +0 -37
- data/spec/system/coupon_code_spec.rb +0 -267
- data/spec/system/currency_spec.rb +0 -20
- data/spec/system/first_order_promotion_spec.rb +0 -59
- data/spec/system/free_shipping_promotions_spec.rb +0 -60
- data/spec/system/locale_spec.rb +0 -26
- data/spec/system/order_spec.rb +0 -57
- data/spec/system/products_spec.rb +0 -302
- data/spec/system/promotion_code_invalidation_spec.rb +0 -54
- data/spec/system/quantity_promotions_spec.rb +0 -130
- data/spec/system/taxons_spec.rb +0 -158
- data/spec/system/template_rendering_spec.rb +0 -20
- data/spec/views/spree/checkout/_summary_spec.rb +0 -11
@@ -1,19 +0,0 @@
|
|
1
|
-
.item-info {
|
2
|
-
line-height: 1.35;
|
3
|
-
|
4
|
-
&__name {
|
5
|
-
font-size: 1.7rem;
|
6
|
-
font-weight: 400;
|
7
|
-
margin: 0;
|
8
|
-
}
|
9
|
-
|
10
|
-
&__options {
|
11
|
-
margin: 0.8rem 0;
|
12
|
-
}
|
13
|
-
|
14
|
-
&__description {
|
15
|
-
color: $color-copy-light;
|
16
|
-
font-style: italic;
|
17
|
-
margin: 0;
|
18
|
-
}
|
19
|
-
}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
.checkout {
|
2
|
-
margin: 0 auto;
|
3
|
-
max-width: 86rem;
|
4
|
-
padding: 1rem 3rem;
|
5
|
-
|
6
|
-
@include desktop {
|
7
|
-
padding: 8rem 3rem;
|
8
|
-
|
9
|
-
&__main {
|
10
|
-
display: flex;
|
11
|
-
}
|
12
|
-
|
13
|
-
&__step {
|
14
|
-
flex-grow: 1;
|
15
|
-
}
|
16
|
-
}
|
17
|
-
|
18
|
-
&__summary {
|
19
|
-
margin-top: 3rem;
|
20
|
-
|
21
|
-
@include desktop {
|
22
|
-
flex: 0 0 28rem;
|
23
|
-
margin-top: 0;
|
24
|
-
padding-left: 2rem;
|
25
|
-
}
|
26
|
-
}
|
27
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
.checkout-header {
|
2
|
-
margin-bottom: 2rem;
|
3
|
-
|
4
|
-
@include tablet {
|
5
|
-
align-items: center;
|
6
|
-
display: flex;
|
7
|
-
justify-content: flex-start;
|
8
|
-
}
|
9
|
-
|
10
|
-
&__title {
|
11
|
-
font-size: 2.6rem;
|
12
|
-
font-weight: 700;
|
13
|
-
margin-right: 0;
|
14
|
-
|
15
|
-
@include tablet {
|
16
|
-
margin-right: 20px;
|
17
|
-
}
|
18
|
-
}
|
19
|
-
}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
.checkout-summary {
|
2
|
-
font-size: 1.3rem;
|
3
|
-
|
4
|
-
&__title {
|
5
|
-
font-size: 1.8rem;
|
6
|
-
margin: 1rem 0;
|
7
|
-
}
|
8
|
-
|
9
|
-
&__entry,
|
10
|
-
&__total {
|
11
|
-
display: flex;
|
12
|
-
|
13
|
-
> dt {
|
14
|
-
flex-grow: 1;
|
15
|
-
}
|
16
|
-
|
17
|
-
> dd {
|
18
|
-
font-weight: 600;
|
19
|
-
}
|
20
|
-
}
|
21
|
-
|
22
|
-
&__entry {
|
23
|
-
margin: .5rem 0;
|
24
|
-
}
|
25
|
-
|
26
|
-
&__total {
|
27
|
-
border-top: solid 1px $color-border;
|
28
|
-
margin-top: 1.5rem;
|
29
|
-
padding-top: 1rem;
|
30
|
-
}
|
31
|
-
}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
.existing-cards {
|
2
|
-
margin-top: 3rem;
|
3
|
-
|
4
|
-
&__options {
|
5
|
-
display: flex;
|
6
|
-
list-style-type: none;
|
7
|
-
margin: 0 0 1rem;
|
8
|
-
padding: 0;
|
9
|
-
|
10
|
-
> li {
|
11
|
-
margin-right: 1rem;
|
12
|
-
}
|
13
|
-
}
|
14
|
-
|
15
|
-
&__cards {
|
16
|
-
list-style-type: none;
|
17
|
-
margin: 0;
|
18
|
-
padding: 0;
|
19
|
-
|
20
|
-
> li {
|
21
|
-
border: solid 1px $color-border;
|
22
|
-
border-left: 0;
|
23
|
-
border-right: 0;
|
24
|
-
padding: 1rem 0;
|
25
|
-
}
|
26
|
-
}
|
27
|
-
}
|
@@ -1,38 +0,0 @@
|
|
1
|
-
.progress-steps {
|
2
|
-
display: flex;
|
3
|
-
font-size: 1.3rem;
|
4
|
-
justify-content: space-between;
|
5
|
-
list-style-type: none;
|
6
|
-
margin: 0;
|
7
|
-
padding: 0;
|
8
|
-
|
9
|
-
@include tablet {
|
10
|
-
min-width: 360px;
|
11
|
-
}
|
12
|
-
|
13
|
-
> li {
|
14
|
-
&.completed,
|
15
|
-
&.completed-first {
|
16
|
-
font-weight: 500;
|
17
|
-
}
|
18
|
-
|
19
|
-
&.current,
|
20
|
-
&.current-first {
|
21
|
-
color: $color-accent;
|
22
|
-
font-weight: 600;
|
23
|
-
|
24
|
-
&::before {
|
25
|
-
content: "➝";
|
26
|
-
margin-right: .5rem;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
}
|
30
|
-
|
31
|
-
a {
|
32
|
-
text-decoration: none;
|
33
|
-
|
34
|
-
&:hover {
|
35
|
-
text-decoration: underline;
|
36
|
-
}
|
37
|
-
}
|
38
|
-
}
|
@@ -1,50 +0,0 @@
|
|
1
|
-
.shipment-items {
|
2
|
-
font-size: 1.4rem;
|
3
|
-
list-style-type: none;
|
4
|
-
margin: 0;
|
5
|
-
padding: 0;
|
6
|
-
|
7
|
-
> li {
|
8
|
-
align-items: center;
|
9
|
-
border-bottom: solid 1px $color-border-light;
|
10
|
-
display: flex;
|
11
|
-
padding: 1rem 0;
|
12
|
-
|
13
|
-
&:first-child {
|
14
|
-
border-top: solid 1px $color-border-light;
|
15
|
-
}
|
16
|
-
}
|
17
|
-
|
18
|
-
&__name {
|
19
|
-
flex-grow: 1;
|
20
|
-
font-weight: 500;
|
21
|
-
padding: 0 2rem;
|
22
|
-
}
|
23
|
-
|
24
|
-
&__image {
|
25
|
-
flex-basis: 8rem;
|
26
|
-
flex-grow: 0;
|
27
|
-
flex-shrink: 0;
|
28
|
-
|
29
|
-
img {
|
30
|
-
width: 100%;
|
31
|
-
}
|
32
|
-
}
|
33
|
-
|
34
|
-
&__quantity {
|
35
|
-
font-size: 1.3rem;
|
36
|
-
text-align: right;
|
37
|
-
|
38
|
-
&::before {
|
39
|
-
content: "✕";
|
40
|
-
}
|
41
|
-
}
|
42
|
-
|
43
|
-
&__price {
|
44
|
-
flex-basis: 8rem;
|
45
|
-
flex-grow: 0;
|
46
|
-
flex-shrink: 0;
|
47
|
-
font-weight: 700;
|
48
|
-
text-align: right;
|
49
|
-
}
|
50
|
-
}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
.address-step {
|
2
|
-
margin-top: 2rem;
|
3
|
-
|
4
|
-
&__billing,
|
5
|
-
&__shipping {
|
6
|
-
border: solid 1px $color-border;
|
7
|
-
margin-bottom: 2rem;
|
8
|
-
padding: 1.5rem;
|
9
|
-
|
10
|
-
> legend {
|
11
|
-
font-size: 1.2rem;
|
12
|
-
font-weight: 700;
|
13
|
-
text-transform: uppercase;
|
14
|
-
}
|
15
|
-
}
|
16
|
-
|
17
|
-
&__actions {
|
18
|
-
margin-top: 2rem;
|
19
|
-
}
|
20
|
-
}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
.select-input {
|
2
|
-
> label {
|
3
|
-
display: block;
|
4
|
-
font-size: 1rem;
|
5
|
-
font-weight: 700;
|
6
|
-
margin-bottom: .3rem;
|
7
|
-
text-transform: uppercase;
|
8
|
-
}
|
9
|
-
|
10
|
-
> select {
|
11
|
-
appearance: none;
|
12
|
-
background: none;
|
13
|
-
border: solid 1px $color-border;
|
14
|
-
border-radius: 1px;
|
15
|
-
display: block;
|
16
|
-
font-size: 1.3rem;
|
17
|
-
height: 3.8rem;
|
18
|
-
padding: 0 1rem;
|
19
|
-
width: 100%;
|
20
|
-
|
21
|
-
&:focus {
|
22
|
-
border-color: transparent;
|
23
|
-
box-shadow: none;
|
24
|
-
outline: solid 1px $color-border-dark;
|
25
|
-
}
|
26
|
-
}
|
27
|
-
}
|
@@ -1,32 +0,0 @@
|
|
1
|
-
.text-input {
|
2
|
-
> label {
|
3
|
-
display: block;
|
4
|
-
font-size: 1rem;
|
5
|
-
font-weight: 700;
|
6
|
-
margin-bottom: 0.3rem;
|
7
|
-
text-transform: uppercase;
|
8
|
-
}
|
9
|
-
|
10
|
-
> input {
|
11
|
-
border: solid 1px $color-border;
|
12
|
-
border-radius: 1px;
|
13
|
-
display: block;
|
14
|
-
font-size: 1.3rem;
|
15
|
-
height: 3.8rem;
|
16
|
-
padding: 0 1rem;
|
17
|
-
width: 100%;
|
18
|
-
|
19
|
-
&:focus {
|
20
|
-
border-color: transparent;
|
21
|
-
box-shadow: none;
|
22
|
-
outline: solid 1px $color-border-dark;
|
23
|
-
}
|
24
|
-
}
|
25
|
-
|
26
|
-
&--small {
|
27
|
-
> input {
|
28
|
-
font-size: 1.2rem;
|
29
|
-
height: 3.2rem;
|
30
|
-
}
|
31
|
-
}
|
32
|
-
}
|
@@ -1,25 +0,0 @@
|
|
1
|
-
.textarea-input {
|
2
|
-
> label {
|
3
|
-
display: block;
|
4
|
-
font-size: 1rem;
|
5
|
-
font-weight: 700;
|
6
|
-
margin-bottom: .3rem;
|
7
|
-
text-transform: uppercase;
|
8
|
-
}
|
9
|
-
|
10
|
-
> textarea {
|
11
|
-
border: solid 1px $color-border;
|
12
|
-
border-radius: 1px;
|
13
|
-
display: block;
|
14
|
-
font-size: 1.3rem;
|
15
|
-
height: 8rem;
|
16
|
-
padding: 1rem;
|
17
|
-
width: 100%;
|
18
|
-
|
19
|
-
&:focus {
|
20
|
-
border-color: transparent;
|
21
|
-
box-shadow: none;
|
22
|
-
outline: solid 1px $color-border-dark;
|
23
|
-
}
|
24
|
-
}
|
25
|
-
}
|
@@ -1,20 +0,0 @@
|
|
1
|
-
.flash {
|
2
|
-
color: $color-copy-bright;
|
3
|
-
font-size: 1.3rem;
|
4
|
-
font-weight: 600;
|
5
|
-
padding: 1.5rem;
|
6
|
-
text-align: center;
|
7
|
-
|
8
|
-
&.alert {
|
9
|
-
background: $color-background-alert;
|
10
|
-
}
|
11
|
-
|
12
|
-
&.error {
|
13
|
-
background: $color-background-error;
|
14
|
-
}
|
15
|
-
|
16
|
-
&.notice,
|
17
|
-
&.success {
|
18
|
-
background: $color-background-success;
|
19
|
-
}
|
20
|
-
}
|
@@ -1,44 +0,0 @@
|
|
1
|
-
.top-bar {
|
2
|
-
align-items: center;
|
3
|
-
display: flex;
|
4
|
-
flex-wrap: wrap;
|
5
|
-
justify-content: space-between;
|
6
|
-
padding: 2rem 3rem;
|
7
|
-
|
8
|
-
@include desktop {
|
9
|
-
flex-wrap: nowrap;
|
10
|
-
justify-content: flex-end;
|
11
|
-
}
|
12
|
-
|
13
|
-
.logo {
|
14
|
-
order: 1;
|
15
|
-
|
16
|
-
img {
|
17
|
-
width: 10em;
|
18
|
-
|
19
|
-
@include tablet {
|
20
|
-
width: auto;
|
21
|
-
}
|
22
|
-
}
|
23
|
-
}
|
24
|
-
|
25
|
-
&__search {
|
26
|
-
flex: 0 0 100%;
|
27
|
-
margin-top: 10px;
|
28
|
-
order: 4;
|
29
|
-
|
30
|
-
@include desktop {
|
31
|
-
flex: 1 0 auto;
|
32
|
-
margin: 0 2rem;
|
33
|
-
order: 2;
|
34
|
-
}
|
35
|
-
}
|
36
|
-
|
37
|
-
.auth-link {
|
38
|
-
order: 2;
|
39
|
-
}
|
40
|
-
|
41
|
-
.cart-link {
|
42
|
-
order: 3;
|
43
|
-
}
|
44
|
-
}
|
@@ -1,29 +0,0 @@
|
|
1
|
-
.categories {
|
2
|
-
display: flex;
|
3
|
-
justify-content: center;
|
4
|
-
align-items: center;
|
5
|
-
|
6
|
-
&__list {
|
7
|
-
display: flex;
|
8
|
-
justify-content: center;
|
9
|
-
padding: 0;
|
10
|
-
|
11
|
-
> li {
|
12
|
-
display: flex;
|
13
|
-
list-style-type: none;
|
14
|
-
margin: 0 1rem;
|
15
|
-
padding: 0;
|
16
|
-
}
|
17
|
-
}
|
18
|
-
|
19
|
-
a {
|
20
|
-
font-size: 1.2rem;
|
21
|
-
font-weight: 500;
|
22
|
-
text-decoration: none;
|
23
|
-
height: fit-content;
|
24
|
-
|
25
|
-
@include tablet {
|
26
|
-
font-size: 1.7rem;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
}
|
@@ -1,21 +0,0 @@
|
|
1
|
-
.locale-selector {
|
2
|
-
margin: 3rem auto;
|
3
|
-
width: 20rem;
|
4
|
-
|
5
|
-
&__select-input {
|
6
|
-
position: relative;
|
7
|
-
|
8
|
-
select {
|
9
|
-
padding: 0 3rem 0 1rem;
|
10
|
-
}
|
11
|
-
|
12
|
-
&::after {
|
13
|
-
content: '\2304';
|
14
|
-
font-size: 2rem;
|
15
|
-
pointer-events: none;
|
16
|
-
position: absolute;
|
17
|
-
right: 1rem;
|
18
|
-
top: 1.6rem;
|
19
|
-
}
|
20
|
-
}
|
21
|
-
}
|