workarea-one_theme 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.editorconfig +20 -0
- data/.eslintignore +1 -0
- data/.eslintrc +25 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +37 -0
- data/.github/ISSUE_TEMPLATE/documentation-request.md +17 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- data/.github/workflows/ci.yml +60 -0
- data/.gitignore +21 -0
- data/.rubocop.yml +3 -0
- data/.stylelintrc.json +8 -0
- data/CHANGELOG.md +267 -0
- data/CODE_OF_CONDUCT.md +3 -0
- data/CONTRIBUTING.md +3 -0
- data/Gemfile +20 -0
- data/LICENSE.md +3 -0
- data/README.md +173 -0
- data/Rakefile +63 -0
- data/app/assets/fonts/workarea/storefront/Hind/hind_bold_webfont.woff +0 -0
- data/app/assets/fonts/workarea/storefront/Hind/hind_bold_webfont.woff2 +0 -0
- data/app/assets/fonts/workarea/storefront/Hind/hind_regular_webfont.woff +0 -0
- data/app/assets/fonts/workarea/storefront/Hind/hind_regular_webfont.woff2 +0 -0
- data/app/assets/fonts/workarea/storefront/Muli/muli_bold_webfont.woff +0 -0
- data/app/assets/fonts/workarea/storefront/Muli/muli_bold_webfont.woff2 +0 -0
- data/app/assets/fonts/workarea/storefront/Muli/muli_bolditalic_webfont.woff +0 -0
- data/app/assets/fonts/workarea/storefront/Muli/muli_bolditalic_webfont.woff2 +0 -0
- data/app/assets/fonts/workarea/storefront/Muli/muli_italic_webfont.woff +0 -0
- data/app/assets/fonts/workarea/storefront/Muli/muli_italic_webfont.woff2 +0 -0
- data/app/assets/fonts/workarea/storefront/Muli/muli_regular_webfont.woff +0 -0
- data/app/assets/fonts/workarea/storefront/Muli/muli_regular_webfont.woff2 +0 -0
- data/app/assets/fonts/workarea/storefront/Playfair_Display/playfairdisplay_bold_webfont.woff +0 -0
- data/app/assets/fonts/workarea/storefront/Playfair_Display/playfairdisplay_bold_webfont.woff2 +0 -0
- data/app/assets/fonts/workarea/storefront/Playfair_Display/playfairdisplay_bolditalic_webfont.woff +0 -0
- data/app/assets/fonts/workarea/storefront/Playfair_Display/playfairdisplay_bolditalic_webfont.woff2 +0 -0
- data/app/assets/fonts/workarea/storefront/Playfair_Display/playfairdisplay_italic_webfont.woff +0 -0
- data/app/assets/fonts/workarea/storefront/Playfair_Display/playfairdisplay_italic_webfont.woff2 +0 -0
- data/app/assets/fonts/workarea/storefront/Playfair_Display/playfairdisplay_regular_webfont.woff +0 -0
- data/app/assets/fonts/workarea/storefront/Playfair_Display/playfairdisplay_regular_webfont.woff2 +0 -0
- data/app/assets/fonts/workarea/storefront/Source_Serif_Pro/source_serif_pro_bold_webfont.woff +0 -0
- data/app/assets/fonts/workarea/storefront/Source_Serif_Pro/source_serif_pro_bold_webfont.woff2 +0 -0
- data/app/assets/fonts/workarea/storefront/Source_Serif_Pro/source_serif_pro_regular_webfont.woff +0 -0
- data/app/assets/fonts/workarea/storefront/Source_Serif_Pro/source_serif_pro_regular_webfont.woff2 +0 -0
- data/app/assets/fonts/workarea/storefront/lora/lora_bold_webfont.woff +0 -0
- data/app/assets/fonts/workarea/storefront/lora/lora_bold_webfont.woff2 +0 -0
- data/app/assets/fonts/workarea/storefront/lora/lora_bolditalic_webfont.woff +0 -0
- data/app/assets/fonts/workarea/storefront/lora/lora_bolditalic_webfont.woff2 +0 -0
- data/app/assets/fonts/workarea/storefront/lora/lora_italic_webfont.woff +0 -0
- data/app/assets/fonts/workarea/storefront/lora/lora_italic_webfont.woff2 +0 -0
- data/app/assets/fonts/workarea/storefront/lora/lora_regular_webfont.woff +0 -0
- data/app/assets/fonts/workarea/storefront/lora/lora_regular_webfont.woff2 +0 -0
- data/app/assets/fonts/workarea/storefront/roboto/roboto_bold_webfont.woff +0 -0
- data/app/assets/fonts/workarea/storefront/roboto/roboto_bold_webfont.woff2 +0 -0
- data/app/assets/fonts/workarea/storefront/roboto/roboto_italic_webfont.woff +0 -0
- data/app/assets/fonts/workarea/storefront/roboto/roboto_italic_webfont.woff2 +0 -0
- data/app/assets/fonts/workarea/storefront/roboto/roboto_regular_webfont.woff +0 -0
- data/app/assets/fonts/workarea/storefront/roboto/roboto_regular_webfont.woff2 +0 -0
- data/app/assets/images/workarea/admin/content_block_types/hero_slider.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/taxonomy_with_category_summary.svg +1 -0
- data/app/assets/images/workarea/admin/content_block_types/taxonomy_with_products.svg +1 -0
- data/app/assets/images/workarea/storefront/dialog_close.svg +1 -0
- data/app/assets/images/workarea/storefront/icons/account.svg +1 -0
- data/app/assets/images/workarea/storefront/icons/arrow_left.svg +1 -0
- data/app/assets/images/workarea/storefront/icons/arrow_right.svg +1 -0
- data/app/assets/images/workarea/storefront/icons/cart.svg +1 -0
- data/app/assets/images/workarea/storefront/icons/chevron_down.svg +1 -0
- data/app/assets/images/workarea/storefront/icons/chevron_right.svg +1 -0
- data/app/assets/images/workarea/storefront/icons/search.svg +1 -0
- data/app/assets/images/workarea/storefront/logo.png +0 -0
- data/app/assets/javascripts/workarea/storefront/application.js.erb +147 -0
- data/app/assets/javascripts/workarea/storefront/clothing/modules/product_details_color_buttons.js +86 -0
- data/app/assets/javascripts/workarea/storefront/dependencies/jquery.payment.js +655 -0
- data/app/assets/javascripts/workarea/storefront/modules/address_region_fields.js +93 -0
- data/app/assets/javascripts/workarea/storefront/modules/cart_indicator.js +35 -0
- data/app/assets/javascripts/workarea/storefront/modules/checkout_primary_payments.js +136 -0
- data/app/assets/javascripts/workarea/storefront/modules/header_search_ui.js +64 -0
- data/app/assets/javascripts/workarea/storefront/modules/mobile_filters.js +79 -0
- data/app/assets/javascripts/workarea/storefront/modules/mobile_nav_button.js +137 -0
- data/app/assets/javascripts/workarea/storefront/modules/quantity_control.js +56 -0
- data/app/assets/javascripts/workarea/storefront/modules/utility_nav_dropdown.js +43 -0
- data/app/assets/javascripts/workarea/storefront/one_theme/config.js +20 -0
- data/app/assets/javascripts/workarea/storefront/product_quickview/templates/quickview_button.jst.ejs +3 -0
- data/app/assets/javascripts/workarea/storefront/reviews/modules/product_reviews_sort_menus.js +82 -0
- data/app/assets/javascripts/workarea/storefront/reviews/templates/sort_by_property.jst.ejs +19 -0
- data/app/assets/javascripts/workarea/storefront/templates/log_out_link.jst.ejs +1 -0
- data/app/assets/javascripts/workarea/storefront/templates/saved_addresses_property.jst.ejs +23 -0
- data/app/assets/stylesheets/jquery_ui/storefront/_ui_autocomplete.scss +17 -0
- data/app/assets/stylesheets/jquery_ui/storefront/_ui_dialog.scss +150 -0
- data/app/assets/stylesheets/jquery_ui/storefront/_ui_menu.scss +42 -0
- data/app/assets/stylesheets/one_theme/.keep +0 -0
- data/app/assets/stylesheets/workarea/storefront/base/_forms.scss +197 -0
- data/app/assets/stylesheets/workarea/storefront/base/_tables.scss +32 -0
- data/app/assets/stylesheets/workarea/storefront/blog/components/_blog_entry.scss +139 -0
- data/app/assets/stylesheets/workarea/storefront/blog/components/_blog_entry_summary.scss +90 -0
- data/app/assets/stylesheets/workarea/storefront/clothing/components/_color_options.scss +57 -0
- data/app/assets/stylesheets/workarea/storefront/clothing/components/_size_options.scss +123 -0
- data/app/assets/stylesheets/workarea/storefront/components/_account_dashboard.scss +33 -0
- data/app/assets/stylesheets/workarea/storefront/components/_box.scss +45 -0
- data/app/assets/stylesheets/workarea/storefront/components/_breadcrumbs.scss +27 -0
- data/app/assets/stylesheets/workarea/storefront/components/_button.scss +72 -0
- data/app/assets/stylesheets/workarea/storefront/components/_button_property.scss +41 -0
- data/app/assets/stylesheets/workarea/storefront/components/_cart.scss +26 -0
- data/app/assets/stylesheets/workarea/storefront/components/_category_summary_content_block.scss +78 -0
- data/app/assets/stylesheets/workarea/storefront/components/_checkout_addresses.scss +21 -0
- data/app/assets/stylesheets/workarea/storefront/components/_checkout_payment.scss +58 -0
- data/app/assets/stylesheets/workarea/storefront/components/_checkout_progress.scss +47 -0
- data/app/assets/stylesheets/workarea/storefront/components/_checkout_shipping.scss +15 -0
- data/app/assets/stylesheets/workarea/storefront/components/_checkout_step_summary.scss +47 -0
- data/app/assets/stylesheets/workarea/storefront/components/_color_box.scss +48 -0
- data/app/assets/stylesheets/workarea/storefront/components/_data_card.scss +70 -0
- data/app/assets/stylesheets/workarea/storefront/components/_hamburger.scss +107 -0
- data/app/assets/stylesheets/workarea/storefront/components/_header.scss +31 -0
- data/app/assets/stylesheets/workarea/storefront/components/_hero_slider_content_block.scss +75 -0
- data/app/assets/stylesheets/workarea/storefront/components/_loading.scss +92 -0
- data/app/assets/stylesheets/workarea/storefront/components/_mobile_filters.scss +42 -0
- data/app/assets/stylesheets/workarea/storefront/components/_mobile_nav.scss +146 -0
- data/app/assets/stylesheets/workarea/storefront/components/_option_button.scss +45 -0
- data/app/assets/stylesheets/workarea/storefront/components/_order_help_menu.scss +33 -0
- data/app/assets/stylesheets/workarea/storefront/components/_order_summary.scss +19 -0
- data/app/assets/stylesheets/workarea/storefront/components/_page_container.scss +31 -0
- data/app/assets/stylesheets/workarea/storefront/components/_page_content.scss +30 -0
- data/app/assets/stylesheets/workarea/storefront/components/_page_footer.scss +96 -0
- data/app/assets/stylesheets/workarea/storefront/components/_page_header.scss +188 -0
- data/app/assets/stylesheets/workarea/storefront/components/_page_messages.scss +36 -0
- data/app/assets/stylesheets/workarea/storefront/components/_page_sub_footer.scss +39 -0
- data/app/assets/stylesheets/workarea/storefront/components/_pagination.scss +10 -0
- data/app/assets/stylesheets/workarea/storefront/components/_payment_icon.scss +29 -0
- data/app/assets/stylesheets/workarea/storefront/components/_primary_nav.scss +99 -0
- data/app/assets/stylesheets/workarea/storefront/components/_product_detail_container.scss +19 -0
- data/app/assets/stylesheets/workarea/storefront/components/_product_details.scss +94 -0
- data/app/assets/stylesheets/workarea/storefront/components/_product_list.scss +182 -0
- data/app/assets/stylesheets/workarea/storefront/components/_product_list_content_block.scss +20 -0
- data/app/assets/stylesheets/workarea/storefront/components/_product_media.scss +109 -0
- data/app/assets/stylesheets/workarea/storefront/components/_product_prices.scss +45 -0
- data/app/assets/stylesheets/workarea/storefront/components/_product_summary.scss +92 -0
- data/app/assets/stylesheets/workarea/storefront/components/_promo_code_accordion.scss +13 -0
- data/app/assets/stylesheets/workarea/storefront/components/_property.scss +68 -0
- data/app/assets/stylesheets/workarea/storefront/components/_quantity_control.scss +77 -0
- data/app/assets/stylesheets/workarea/storefront/components/_result_filters.scss +57 -0
- data/app/assets/stylesheets/workarea/storefront/components/_select_menu.scss +68 -0
- data/app/assets/stylesheets/workarea/storefront/components/_svg_icon.scss +78 -0
- data/app/assets/stylesheets/workarea/storefront/components/_taxonomy_content_block.scss +173 -0
- data/app/assets/stylesheets/workarea/storefront/components/_text_box.scss +57 -0
- data/app/assets/stylesheets/workarea/storefront/components/_text_button.scss +19 -0
- data/app/assets/stylesheets/workarea/storefront/components/_utility_nav.scss +49 -0
- data/app/assets/stylesheets/workarea/storefront/components/_value.scss +51 -0
- data/app/assets/stylesheets/workarea/storefront/email/_settings.scss +23 -0
- data/app/assets/stylesheets/workarea/storefront/generic/_fonts.scss.erb +11 -0
- data/app/assets/stylesheets/workarea/storefront/objects/_content_wrapper.scss +23 -0
- data/app/assets/stylesheets/workarea/storefront/product_quickview/components/_quickview_button.scss +33 -0
- data/app/assets/stylesheets/workarea/storefront/reviews/components/_reviews.scss +66 -0
- data/app/assets/stylesheets/workarea/storefront/reviews/components/_write_review.scss +71 -0
- data/app/assets/stylesheets/workarea/storefront/settings/_colors.scss.erb +21 -0
- data/app/assets/stylesheets/workarea/storefront/settings/_font_families.scss.erb +6 -0
- data/app/assets/stylesheets/workarea/storefront/settings/_global.scss +39 -0
- data/app/assets/stylesheets/workarea/storefront/settings/_typography.scss +8 -0
- data/app/assets/stylesheets/workarea/storefront/settings/_z_indexes.scss +43 -0
- data/app/assets/stylesheets/workarea/storefront/share/components/_share_buttons.scss +22 -0
- data/app/assets/stylesheets/workarea/storefront/slick_slider/components/_slick_slider.scss +171 -0
- data/app/assets/stylesheets/workarea/storefront/swatches/components/_swatch_facet.scss +26 -0
- data/app/assets/stylesheets/workarea/storefront/swatches/components/_swatch_options.scss +55 -0
- data/app/assets/stylesheets/workarea/storefront/theme_config/_midnight_color_scheme.scss +110 -0
- data/app/assets/stylesheets/workarea/storefront/theme_config/_one_color_scheme.scss +104 -0
- data/app/assets/stylesheets/workarea/storefront/theme_config/_workarea_color_scheme.scss +105 -0
- data/app/assets/stylesheets/workarea/storefront/theme_config/fonts/_hind.scss +19 -0
- data/app/assets/stylesheets/workarea/storefront/theme_config/fonts/_lora.scss +33 -0
- data/app/assets/stylesheets/workarea/storefront/theme_config/fonts/_muli.scss +33 -0
- data/app/assets/stylesheets/workarea/storefront/theme_config/fonts/_playfair_display.scss +33 -0
- data/app/assets/stylesheets/workarea/storefront/theme_config/fonts/_roboto.scss +26 -0
- data/app/assets/stylesheets/workarea/storefront/theme_config/fonts/_source_serif_pro.scss +19 -0
- data/app/assets/stylesheets/workarea/storefront/tools/_checkout_section.scss +12 -0
- data/app/assets/stylesheets/workarea/storefront/tools/_full_bleed_container.scss +15 -0
- data/app/assets/stylesheets/workarea/storefront/typography/_headings.scss +81 -0
- data/app/assets/stylesheets/workarea/storefront/typography/_links.scss +27 -0
- data/app/assets/stylesheets/workarea/storefront/typography/_text.scss +30 -0
- data/app/helpers/workarea/storefront/one_theme_helper.rb +71 -0
- data/app/seeds/workarea/browse_navigation_seeds.rb +35 -0
- data/app/seeds/workarea/content_block_page_seeds.rb +22 -0
- data/app/seeds/workarea/theme_home_page_seeds.rb +58 -0
- data/app/seeds/workarea/theme_layout_content_seeds.rb +41 -0
- data/app/view_models/workarea/storefront/content_blocks/category_summary_view_model.decorator +21 -0
- data/app/view_models/workarea/storefront/content_blocks/hero_slider_block_view_model.rb +44 -0
- data/app/view_models/workarea/storefront/content_blocks/product_list_view_model.decorator +50 -0
- data/app/view_models/workarea/storefront/content_blocks/taxonomy_with_category_view_model.rb +49 -0
- data/app/view_models/workarea/storefront/content_blocks/taxonomy_with_products_view_model.rb +21 -0
- data/app/view_models/workarea/storefront/product_view_model.decorator +11 -0
- data/app/views/layouts/workarea/storefront/_wish_lists_link.html.haml +4 -0
- data/app/views/layouts/workarea/storefront/application.html.haml +211 -0
- data/app/views/layouts/workarea/storefront/checkout.html.haml +97 -0
- data/app/views/workarea/storefront/blog_comments/index.html.haml +31 -0
- data/app/views/workarea/storefront/blog_entries/_summary.html.haml +26 -0
- data/app/views/workarea/storefront/blog_entries/show.html.haml +85 -0
- data/app/views/workarea/storefront/blogs/_blog_navigation.html.haml +7 -0
- data/app/views/workarea/storefront/blogs/index.html.haml +47 -0
- data/app/views/workarea/storefront/cart_items/create.html.haml +66 -0
- data/app/views/workarea/storefront/carts/show.html.haml +175 -0
- data/app/views/workarea/storefront/categories/show.html.haml +105 -0
- data/app/views/workarea/storefront/checkouts/_gift_card_payment.html.haml +38 -0
- data/app/views/workarea/storefront/checkouts/_summary.html.haml +102 -0
- data/app/views/workarea/storefront/checkouts/addresses.html.haml +56 -0
- data/app/views/workarea/storefront/checkouts/confirmation.html.haml +58 -0
- data/app/views/workarea/storefront/checkouts/payment.html.haml +186 -0
- data/app/views/workarea/storefront/checkouts/shipping.html.haml +38 -0
- data/app/views/workarea/storefront/content_blocks/_blog_entry.html.haml +19 -0
- data/app/views/workarea/storefront/content_blocks/_category_summary.html.haml +20 -0
- data/app/views/workarea/storefront/content_blocks/_hero_slider.html.haml +15 -0
- data/app/views/workarea/storefront/content_blocks/_product_list.html.haml +11 -0
- data/app/views/workarea/storefront/content_blocks/_social_networks.html.haml +17 -0
- data/app/views/workarea/storefront/content_blocks/_taxonomy_with_category_summary.html.haml +26 -0
- data/app/views/workarea/storefront/content_blocks/_taxonomy_with_products.html.haml +26 -0
- data/app/views/workarea/storefront/menus/index.html.haml +17 -0
- data/app/views/workarea/storefront/orders/_summary.html.haml +286 -0
- data/app/views/workarea/storefront/products/_media.html.haml +22 -0
- data/app/views/workarea/storefront/products/_media_carousel.html.haml +25 -0
- data/app/views/workarea/storefront/products/_pricing.html.haml +40 -0
- data/app/views/workarea/storefront/products/_reviews.html.haml +27 -0
- data/app/views/workarea/storefront/products/_subscription_fields.html.haml +15 -0
- data/app/views/workarea/storefront/products/_summary.html.haml +16 -0
- data/app/views/workarea/storefront/products/_swatch_summary.html.haml +17 -0
- data/app/views/workarea/storefront/products/package_show.html.haml +46 -0
- data/app/views/workarea/storefront/products/show.html.haml +53 -0
- data/app/views/workarea/storefront/products/templates/_generic.html.haml +61 -0
- data/app/views/workarea/storefront/products/templates/_gift_card.html.haml +68 -0
- data/app/views/workarea/storefront/products/templates/_option_selects.html.haml +61 -0
- data/app/views/workarea/storefront/products/templates/_option_thumbnails.html.haml +67 -0
- data/app/views/workarea/storefront/products/templates/_swatches.html.haml +78 -0
- data/app/views/workarea/storefront/reviews/new.html.haml +72 -0
- data/app/views/workarea/storefront/searches/content.html.haml +78 -0
- data/app/views/workarea/storefront/searches/show.html.haml +97 -0
- data/app/views/workarea/storefront/shared/_address_fields.html.haml +109 -0
- data/app/views/workarea/storefront/shares/_share_buttons.html.haml +17 -0
- data/app/views/workarea/storefront/style_guides/base/_forms.html.haml +91 -0
- data/app/views/workarea/storefront/style_guides/components/_breadcrumbs.html.haml +13 -0
- data/app/views/workarea/storefront/style_guides/components/_button.html.haml +69 -0
- data/app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml +54 -0
- data/app/views/workarea/storefront/style_guides/components/_header.html.haml +18 -0
- data/app/views/workarea/storefront/style_guides/components/_hero_slider_content_block.html.haml +46 -0
- data/app/views/workarea/storefront/style_guides/components/_mobile_filters.html.haml +17 -0
- data/app/views/workarea/storefront/style_guides/components/_product_list_content_block.html.haml +46 -0
- data/app/views/workarea/storefront/style_guides/components/_product_summary.html.haml +47 -0
- data/app/views/workarea/storefront/style_guides/components/_svg_icon.html.haml +63 -0
- data/app/views/workarea/storefront/style_guides/components/_taxonomy_with_category_summary_content_block.html.haml +33 -0
- data/app/views/workarea/storefront/style_guides/components/_taxonomy_with_products_content_block.html.haml +33 -0
- data/app/views/workarea/storefront/style_guides/components/_text_box.html.haml +63 -0
- data/app/views/workarea/storefront/style_guides/settings/_color_variables.html.haml +79 -0
- data/app/views/workarea/storefront/style_guides/settings/color_schemes/_midnight_color_scheme.html.haml +7 -0
- data/app/views/workarea/storefront/style_guides/settings/color_schemes/_one_color_scheme.html.haml +7 -0
- data/app/views/workarea/storefront/style_guides/settings/color_schemes/_workarea_color_scheme.html.haml +8 -0
- data/app/views/workarea/storefront/style_guides/typography/_headings.html.haml +47 -0
- data/app/views/workarea/storefront/style_guides/typography/_links.html.haml +27 -0
- data/app/views/workarea/storefront/users/accounts/_wish_list_summary.html.haml +16 -0
- data/app/views/workarea/storefront/users/accounts/edit.html.haml +41 -0
- data/app/views/workarea/storefront/users/accounts/show.html.haml +118 -0
- data/app/views/workarea/storefront/users/credit_cards/edit.html.haml +74 -0
- data/app/views/workarea/storefront/users/credit_cards/new.html.haml +66 -0
- data/app/views/workarea/storefront/users/orders/index.html.haml +22 -0
- data/app/views/workarea/storefront/users/orders/show.html.haml +31 -0
- data/app/views/workarea/storefront/users/wish_lists/show.html.haml +136 -0
- data/app/views/workarea/storefront/wish_lists/show.html.haml +99 -0
- data/bin/rails +20 -0
- data/config/initializers/appends.rb +62 -0
- data/config/initializers/configuration.rb +9 -0
- data/config/initializers/content_block_types.rb +91 -0
- data/config/initializers/dragonfly.rb +50 -0
- data/config/initializers/seeds.rb +5 -0
- data/config/initializers/theme.rb +16 -0
- data/config/initializers/workarea.rb +3 -0
- data/config/locales/en.yml +26 -0
- data/config/routes.rb +2 -0
- data/lib/tasks/one_theme_tasks.rake +4 -0
- data/lib/workarea/one_theme.rb +24 -0
- data/lib/workarea/one_theme/engine.rb +13 -0
- data/lib/workarea/one_theme/version.rb +5 -0
- data/package.json +9 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/config/manifest.js +4 -0
- data/test/dummy/app/assets/images/.keep +0 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/controllers/concerns/.keep +0 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/jobs/application_job.rb +2 -0
- data/test/dummy/app/mailers/application_mailer.rb +4 -0
- data/test/dummy/app/models/concerns/.keep +0 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/bin/setup +38 -0
- data/test/dummy/bin/update +29 -0
- data/test/dummy/bin/yarn +11 -0
- data/test/dummy/config.ru +5 -0
- data/test/dummy/config/application.rb +29 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/cable.yml +10 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +54 -0
- data/test/dummy/config/environments/production.rb +91 -0
- data/test/dummy/config/environments/test.rb +44 -0
- data/test/dummy/config/initializers/application_controller_renderer.rb +8 -0
- data/test/dummy/config/initializers/assets.rb +14 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/workarea.rb +5 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +33 -0
- data/test/dummy/config/puma.rb +56 -0
- data/test/dummy/config/routes.rb +5 -0
- data/test/dummy/config/secrets.yml +32 -0
- data/test/dummy/config/spring.rb +6 -0
- data/test/dummy/db/seeds.rb +2 -0
- data/test/dummy/lib/assets/.keep +0 -0
- data/test/dummy/log/.keep +0 -0
- data/test/dummy/package.json +5 -0
- data/test/helpers/workarea/storefront/reviews_helper_test.decorator +11 -0
- data/test/integration/workarea/blog/wordpress_import_integration_test.decorator +27 -0
- data/test/integration/workarea/storefront/sharing_integration_test.decorator +40 -0
- data/test/integration/workarea/storefront/swatches_integration_test.decorator +28 -0
- data/test/system/workarea/admin/guest_browsing_system_test.decorator +40 -0
- data/test/system/workarea/storefront/analytics_system_test.decorator +51 -0
- data/test/system/workarea/storefront/browse_swatches_system_test.decorator +48 -0
- data/test/system/workarea/storefront/cart_items_system_test.decorator +98 -0
- data/test/system/workarea/storefront/categories_system_test.decorator +100 -0
- data/test/system/workarea/storefront/content_search_autocomplete_system_test.decorator +33 -0
- data/test/system/workarea/storefront/content_search_system_test.decorator +21 -0
- data/test/system/workarea/storefront/content_system_test.decorator +21 -0
- data/test/system/workarea/storefront/guest_checkout_system_test.decorator +37 -0
- data/test/system/workarea/storefront/logged_in_checkout_system_test.decorator +34 -0
- data/test/system/workarea/storefront/login_system_test.decorator +94 -0
- data/test/system/workarea/storefront/navigation_system_test.decorator +28 -0
- data/test/system/workarea/storefront/passwords_system_test.decorator +59 -0
- data/test/system/workarea/storefront/review_system_test.decorator +23 -0
- data/test/system/workarea/storefront/search_autocomplete_system_test.decorator +46 -0
- data/test/system/workarea/storefront/search_system_test.decorator +71 -0
- data/test/teaspoon_env.rb +6 -0
- data/test/test_helper.rb +10 -0
- data/test/view_models/workarea/storefront/taxonomy_with_category_view_model_test.rb +35 -0
- data/test/view_models/workarea/storefront/taxonomy_with_products_view_model_test.rb +28 -0
- data/workarea-one_theme.gemspec +33 -0
- data/yarn.lock +3290 -0
- metadata +582 -0
@@ -0,0 +1,66 @@
|
|
1
|
+
/*------------------------------------*\
|
2
|
+
#REVIEWS
|
3
|
+
\*------------------------------------*/
|
4
|
+
|
5
|
+
$reviews-background-color: $background-color-component !default;
|
6
|
+
|
7
|
+
|
8
|
+
.reviews {
|
9
|
+
margin-top: $spacing-unit * 2;
|
10
|
+
padding: $spacing-unit * 2;
|
11
|
+
background-color: $reviews-background-color;
|
12
|
+
|
13
|
+
@include respond-to($medium-breakpoint) {
|
14
|
+
padding: $spacing-unit * 5;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
.reviews__header {
|
19
|
+
padding-left: $spacing-unit * 2;
|
20
|
+
width: 100%;
|
21
|
+
}
|
22
|
+
|
23
|
+
.reviews__heading {
|
24
|
+
margin-bottom: 0;
|
25
|
+
}
|
26
|
+
|
27
|
+
.reviews__count {}
|
28
|
+
|
29
|
+
.reviews__write-action {
|
30
|
+
text-align: center;
|
31
|
+
|
32
|
+
@include respond-to($medium-breakpoint) {
|
33
|
+
margin: 0 $spacing-unit * 2;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
.reviews__review-group {
|
38
|
+
margin: 0;
|
39
|
+
list-style: none;
|
40
|
+
}
|
41
|
+
|
42
|
+
.reviews__review {
|
43
|
+
padding: ($spacing-unit * 2) 0;
|
44
|
+
border-top: 1px solid $border-color;
|
45
|
+
}
|
46
|
+
|
47
|
+
.reviews__review-title {}
|
48
|
+
|
49
|
+
.reviews__review-body {}
|
50
|
+
|
51
|
+
.reviews__review-meta {
|
52
|
+
@extend %clearfix;
|
53
|
+
}
|
54
|
+
|
55
|
+
.reviews__review-author {
|
56
|
+
margin: 0;
|
57
|
+
float: left;
|
58
|
+
line-height: 1;
|
59
|
+
}
|
60
|
+
|
61
|
+
.reviews__review-date {
|
62
|
+
margin: 0 0 0 $spacing-unit;
|
63
|
+
padding-left: $spacing-unit;
|
64
|
+
float: left;
|
65
|
+
line-height: 1;
|
66
|
+
}
|
@@ -0,0 +1,71 @@
|
|
1
|
+
/*------------------------------------*\
|
2
|
+
#WRITE-REVIEW
|
3
|
+
\*------------------------------------*/
|
4
|
+
|
5
|
+
$write-review-fill-color: $yellow !default;
|
6
|
+
$write-review-empty-color: $transparent !default;
|
7
|
+
$write-review-star-size: 16px !default;
|
8
|
+
$write-review-star-hover-opacity: 0.4 !default;
|
9
|
+
|
10
|
+
.write-review {}
|
11
|
+
|
12
|
+
.write-review__ratings {
|
13
|
+
margin: 0;
|
14
|
+
list-style: none;
|
15
|
+
|
16
|
+
.js & {
|
17
|
+
@extend %clearfix;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
.write-review__rating-fieldset {}
|
22
|
+
|
23
|
+
.write-review__rating-ledgend {
|
24
|
+
margin-bottom: 0;
|
25
|
+
}
|
26
|
+
|
27
|
+
|
28
|
+
.write-review__rating {
|
29
|
+
display: inline-block;
|
30
|
+
font-size: $write-review-star-size;
|
31
|
+
|
32
|
+
.js & {
|
33
|
+
padding-right: $spacing-unit;
|
34
|
+
float: left;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
.write-review__rating-input {
|
39
|
+
margin: 0 $spacing-unit 0 0;
|
40
|
+
|
41
|
+
.js & {
|
42
|
+
@extend %visually-hidden;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
.write-review__star {}
|
47
|
+
|
48
|
+
.write-review__star-icon {
|
49
|
+
width: $write-review-star-size;
|
50
|
+
height: $write-review-star-size;
|
51
|
+
fill: $write-review-empty-color;
|
52
|
+
stroke: $write-review-fill-color;
|
53
|
+
|
54
|
+
.write-review__star--hovered &,
|
55
|
+
.write-review__star--active & {
|
56
|
+
fill: $write-review-fill-color;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
|
60
|
+
|
61
|
+
.write-review__star--hovered {
|
62
|
+
opacity: $write-review-star-hover-opacity;
|
63
|
+
}
|
64
|
+
|
65
|
+
.write-review__star--active {
|
66
|
+
opacity: 1;
|
67
|
+
}
|
68
|
+
|
69
|
+
.write-review__star-text {
|
70
|
+
@extend %hidden-if-js-enabled;
|
71
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
/*------------------------------------*\
|
2
|
+
#COLORS
|
3
|
+
\*------------------------------------*/
|
4
|
+
|
5
|
+
/**
|
6
|
+
* Color Variables
|
7
|
+
*
|
8
|
+
* These variables are loaded in from the theme's color scheme configurations
|
9
|
+
* Available color scheme names for this theme are:
|
10
|
+
* - Workarea
|
11
|
+
* - Midnight
|
12
|
+
* - One
|
13
|
+
*
|
14
|
+
* To customize colors in this theme you can add your own color scheme
|
15
|
+
* file to the storefront/theme_config directory and reference
|
16
|
+
* it by name below.
|
17
|
+
*/
|
18
|
+
|
19
|
+
<% path = "\'workarea/storefront/theme_config/#{Workarea.config.theme[:color_scheme].downcase}_color_scheme\';" %>
|
20
|
+
|
21
|
+
<%= "@import #{path}" %>
|
@@ -0,0 +1,6 @@
|
|
1
|
+
/*------------------------------------*\
|
2
|
+
#FONT-FAMILIES
|
3
|
+
\*------------------------------------*/
|
4
|
+
|
5
|
+
<%= "$font-family: #{Workarea.config.theme[:font_stacks][Workarea.config.theme[:primary_font_family].to_sym]} !default;" %>
|
6
|
+
<%= "$secondary-font-family: #{Workarea.config.theme[:font_stacks][Workarea.config.theme[:secondary_font_family].to_sym]} !default;" %>
|
@@ -0,0 +1,39 @@
|
|
1
|
+
/*------------------------------------*\
|
2
|
+
#GLOBAL
|
3
|
+
\*------------------------------------*/
|
4
|
+
|
5
|
+
/**
|
6
|
+
* Default global spacing units
|
7
|
+
*/
|
8
|
+
$spacing-unit: 8px !default;
|
9
|
+
|
10
|
+
$vertical-margin: $spacing-unit * 2 !default;
|
11
|
+
$horizontal-margin: $spacing-unit * 2 !default;
|
12
|
+
|
13
|
+
|
14
|
+
/**
|
15
|
+
* These dialog dimensions allow for certain components to know their maximum
|
16
|
+
* possible width when being displayed within a dialog.
|
17
|
+
*/
|
18
|
+
$dialog-content-min-width: 300px !default;
|
19
|
+
$dialog-content-max-width: 700px !default;
|
20
|
+
|
21
|
+
|
22
|
+
/**
|
23
|
+
* Heights
|
24
|
+
*/
|
25
|
+
$global-admin-toolbar-height: 64px !default;
|
26
|
+
|
27
|
+
|
28
|
+
/**
|
29
|
+
* Transitions
|
30
|
+
*/
|
31
|
+
$transition-time: 0.15s;
|
32
|
+
$drawer-transition: transform 0.15s ease-in-out;
|
33
|
+
|
34
|
+
|
35
|
+
/**
|
36
|
+
* Border Radius
|
37
|
+
*/
|
38
|
+
|
39
|
+
$border-radius: 4px;
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/*------------------------------------*\
|
2
|
+
#Z-INDEXES
|
3
|
+
\*------------------------------------*/
|
4
|
+
|
5
|
+
/**
|
6
|
+
* z-index values ordered pertaining to their container.
|
7
|
+
*
|
8
|
+
* $components is the base level. Other containers require a position
|
9
|
+
* other than 'static'
|
10
|
+
*
|
11
|
+
* Based upon this article in Smashing Magazine
|
12
|
+
* https://www.smashingmagazine.com/2014/06/sassy-z-index-management-for-complex-layouts/
|
13
|
+
*/
|
14
|
+
|
15
|
+
$components: (
|
16
|
+
page-container,
|
17
|
+
back-to-top-button,
|
18
|
+
ui-autocomplete,
|
19
|
+
ui-dialog,
|
20
|
+
admin-toolbar,
|
21
|
+
page-messages,
|
22
|
+
mobile-nav,
|
23
|
+
result-filters
|
24
|
+
) !default;
|
25
|
+
|
26
|
+
$page-container: (
|
27
|
+
page-content,
|
28
|
+
page-header
|
29
|
+
) !default;
|
30
|
+
|
31
|
+
$page-header: (
|
32
|
+
header-promo,
|
33
|
+
primary-nav,
|
34
|
+
primary-nav-content,
|
35
|
+
utility-nav,
|
36
|
+
page-header-main
|
37
|
+
) !default;
|
38
|
+
|
39
|
+
$category-summary-content-block: (
|
40
|
+
overlay,
|
41
|
+
content
|
42
|
+
) !default;
|
43
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
/*------------------------------------*\
|
2
|
+
#SHARE-BUTTONS
|
3
|
+
\*------------------------------------*/
|
4
|
+
|
5
|
+
.share-buttons {
|
6
|
+
@extend %inline-list;
|
7
|
+
margin: $spacing-unit 0;
|
8
|
+
padding: $spacing-unit 0;
|
9
|
+
text-align: right;
|
10
|
+
border-top: 1px solid $border-color;
|
11
|
+
}
|
12
|
+
|
13
|
+
.share-buttons__item {
|
14
|
+
margin: 0 ($spacing-unit * 2);
|
15
|
+
vertical-align: middle;
|
16
|
+
}
|
17
|
+
|
18
|
+
.share-buttons__title {
|
19
|
+
margin-bottom: 0;
|
20
|
+
}
|
21
|
+
|
22
|
+
.share-buttons__button {}
|
@@ -0,0 +1,171 @@
|
|
1
|
+
/*------------------------------------*\
|
2
|
+
#SLICK-SLIDER
|
3
|
+
\*------------------------------------*/
|
4
|
+
|
5
|
+
$slick-slider-elements: (
|
6
|
+
slick-list,
|
7
|
+
slick-slider__nav,
|
8
|
+
slick-slider__dots
|
9
|
+
) !default;
|
10
|
+
|
11
|
+
$slick-slider-dots-width: $font-size !default;
|
12
|
+
$slick-slider-dots-color: $link-color !default;
|
13
|
+
$slick-slider-dots-bg-color: $background-color !default;
|
14
|
+
$slick-slider-dots-border-width: 2px !default;
|
15
|
+
$slick-slider-dots-spacing: 2 * $spacing-unit !default;
|
16
|
+
$slick-slider-nav-font-size: 40px !default;
|
17
|
+
$slick-slider-nav-color: $font-color !default;
|
18
|
+
$slick-slider-nav-bg-color: transparent !default;
|
19
|
+
|
20
|
+
$slick-slider-nav-font-size-hero-slider: $spacing-unit * 3 !default;
|
21
|
+
$slick-slider-nav-color-hero-slider: $primary-nav-links !default;
|
22
|
+
$slick-slider-nav-bg-color-hero-slider: $background-secondary-color !default;
|
23
|
+
|
24
|
+
$slick-slider-arrows-offset: -30px !default;
|
25
|
+
|
26
|
+
$slick-slider-active-color: $slick-slider-dots-color !default;
|
27
|
+
|
28
|
+
|
29
|
+
.slick-slider {
|
30
|
+
transition: opacity 0.15s ease-in;
|
31
|
+
}
|
32
|
+
|
33
|
+
.slick-slider--waiting-for-images {
|
34
|
+
opacity: 0;
|
35
|
+
}
|
36
|
+
|
37
|
+
.slick-slider--images-loaded {
|
38
|
+
opacity: 1;
|
39
|
+
}
|
40
|
+
|
41
|
+
.slick-slider__image-wrapper {}
|
42
|
+
|
43
|
+
.slick-slider__image {}
|
44
|
+
|
45
|
+
.slick-slider__nav {
|
46
|
+
@extend %button-reset;
|
47
|
+
@include center('vertical');
|
48
|
+
z-index: index($slick-slider-elements, slick-slider__nav);
|
49
|
+
background: $slick-slider-nav-bg-color;
|
50
|
+
cursor: pointer;
|
51
|
+
|
52
|
+
.hero-slider-content-block & {
|
53
|
+
background-color: $slick-slider-nav-bg-color-hero-slider;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
.slick-slider__nav--prev {
|
58
|
+
left: $slick-slider-arrows-offset;
|
59
|
+
|
60
|
+
.product-list-content-block & {
|
61
|
+
left: 0;
|
62
|
+
}
|
63
|
+
|
64
|
+
.hero-slider-content-block & {
|
65
|
+
left: 0;
|
66
|
+
}
|
67
|
+
|
68
|
+
.hero-slider-content-block--full-bleed & {
|
69
|
+
left: $slick-slider-arrows-offset * -1;
|
70
|
+
}
|
71
|
+
|
72
|
+
.slick-vertical & {
|
73
|
+
top: $slick-slider-arrows-offset;
|
74
|
+
right: 50%;
|
75
|
+
left: auto;
|
76
|
+
transform: translateX(50%) rotate(90deg);
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
.slick-slider__nav--next {
|
81
|
+
right: $slick-slider-arrows-offset;
|
82
|
+
|
83
|
+
.product-list-content-block & {
|
84
|
+
right: 0;
|
85
|
+
}
|
86
|
+
|
87
|
+
.hero-slider-content-block & {
|
88
|
+
right: 0;
|
89
|
+
}
|
90
|
+
|
91
|
+
.hero-slider-content-block--full-bleed & {
|
92
|
+
right: $slick-slider-arrows-offset * -1;
|
93
|
+
}
|
94
|
+
|
95
|
+
.slick-vertical & {
|
96
|
+
top: auto;
|
97
|
+
right: 50%;
|
98
|
+
bottom: $slick-slider-arrows-offset;
|
99
|
+
transform: translateX(50%) rotate(90deg);
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
103
|
+
.slick-slider__nav-icon {
|
104
|
+
@include svg('icons/arrow_left.svg', $slick-slider-nav-font-size);
|
105
|
+
fill: $slick-slider-nav-color;
|
106
|
+
|
107
|
+
.hero-slider-content-block & {
|
108
|
+
padding: $spacing-unit;
|
109
|
+
background: none;
|
110
|
+
fill: $slick-slider-nav-color-hero-slider;
|
111
|
+
}
|
112
|
+
}
|
113
|
+
|
114
|
+
.slick-slider__nav-icon--left {}
|
115
|
+
.slick-slider__nav-icon--right { background-image: image-url('workarea/storefront/icons/arrow_right.svg'); }
|
116
|
+
|
117
|
+
|
118
|
+
.slick-slider__dots {
|
119
|
+
@extend %inline-list;
|
120
|
+
z-index: index($slick-slider-elements, slick-slider__dots);
|
121
|
+
text-align: center;
|
122
|
+
|
123
|
+
.slick-vertical & {
|
124
|
+
@include center($to: vertical);
|
125
|
+
left: -100%;
|
126
|
+
}
|
127
|
+
|
128
|
+
li {
|
129
|
+
margin: $slick-slider-dots-spacing;
|
130
|
+
|
131
|
+
.slick-vertical & {
|
132
|
+
display: block;
|
133
|
+
}
|
134
|
+
}
|
135
|
+
|
136
|
+
button {
|
137
|
+
display: block;
|
138
|
+
padding: 0;
|
139
|
+
width: $slick-slider-dots-width;
|
140
|
+
height: $slick-slider-dots-width;
|
141
|
+
font-size: 0;
|
142
|
+
background: $slick-slider-dots-bg-color;
|
143
|
+
border: $slick-slider-dots-border-width solid $slick-slider-dots-color;
|
144
|
+
border-radius: 50%;
|
145
|
+
cursor: pointer;
|
146
|
+
outline: 0;
|
147
|
+
|
148
|
+
&:hover,
|
149
|
+
&:focus {
|
150
|
+
outline: 0;
|
151
|
+
}
|
152
|
+
}
|
153
|
+
}
|
154
|
+
|
155
|
+
|
156
|
+
/*------------------------------------*\
|
157
|
+
#SLICK-LIST
|
158
|
+
\*------------------------------------*/
|
159
|
+
|
160
|
+
.slick-list { z-index: index($slick-slider-elements, slick-list); }
|
161
|
+
|
162
|
+
|
163
|
+
/*------------------------------------*\
|
164
|
+
#SLICK-ACTIVE
|
165
|
+
\*------------------------------------*/
|
166
|
+
|
167
|
+
.slick-active {
|
168
|
+
button {
|
169
|
+
background: $slick-slider-active-color;
|
170
|
+
}
|
171
|
+
}
|