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
File without changes
|
@@ -0,0 +1,197 @@
|
|
1
|
+
/*------------------------------------*\
|
2
|
+
#FORMS
|
3
|
+
\*------------------------------------*/
|
4
|
+
|
5
|
+
// scss-lint:disable QualifyingElement
|
6
|
+
|
7
|
+
$forms-color: $font-color !default;
|
8
|
+
$forms-placeholder-color: $input-color !default;
|
9
|
+
|
10
|
+
$forms-disabled-opacity: 0.5 !default;
|
11
|
+
|
12
|
+
// Checkbox settings
|
13
|
+
$checkbox-size: 18px !default;
|
14
|
+
$checkbox-color: $white !default;
|
15
|
+
$checkbox-border: 1px solid $gray !default;
|
16
|
+
|
17
|
+
$checkbox-fill-color: $primary-color !default;
|
18
|
+
$checkbox-box-shadow: 0 0 0 0 $checkbox-fill-color inset !default;
|
19
|
+
$checkbox-box-shadow-checked: 0 0 0 ($checkbox-size / 2) $checkbox-fill-color inset !default;
|
20
|
+
$checkbox-easing-function: cubic-bezier(0.75, 0.01, 0.48, 2);
|
21
|
+
|
22
|
+
// Radio button settings
|
23
|
+
$radio-button-size: 18px !default;
|
24
|
+
$radio-button-inner-size: 4px !default;
|
25
|
+
$radio-button-color: $white !default;
|
26
|
+
$radio-button-border: 1px solid $gray !default;
|
27
|
+
|
28
|
+
$radio-button-fill-color: $primary-color !default;
|
29
|
+
$radio-button-box-shadow: 0 0 0 0 $radio-button-fill-color inset !default;
|
30
|
+
$radio-button-box-shadow-checked: 0 0 0 ($radio-button-size / 2) $radio-button-fill-color inset !default;
|
31
|
+
$radio-button-inner-bg-color: $white !default;
|
32
|
+
$radio-button-easing-function: cubic-bezier(0.75, 0.01, 0.48, 2);
|
33
|
+
|
34
|
+
|
35
|
+
/**
|
36
|
+
* Provide default margins for form containment elements.
|
37
|
+
*/
|
38
|
+
fieldset, legend {
|
39
|
+
margin-bottom: $vertical-margin;
|
40
|
+
}
|
41
|
+
|
42
|
+
|
43
|
+
/**
|
44
|
+
* Set a larger default font size for basic form controls
|
45
|
+
*/
|
46
|
+
select,
|
47
|
+
input, textarea {
|
48
|
+
color: $forms-color;
|
49
|
+
font-size: $form-control-font-size;
|
50
|
+
line-height: $form-control-line-height;
|
51
|
+
}
|
52
|
+
|
53
|
+
|
54
|
+
/**
|
55
|
+
* Ensure select menus cannot exceed with width of their parents
|
56
|
+
*/
|
57
|
+
select {
|
58
|
+
max-width: 100%;
|
59
|
+
}
|
60
|
+
|
61
|
+
|
62
|
+
/**
|
63
|
+
* Ensure text within in a `textarea` displays at the top of the element now
|
64
|
+
* that they can be wrapped within a `display: table-cell` element.
|
65
|
+
*/
|
66
|
+
textarea {
|
67
|
+
vertical-align: top;
|
68
|
+
}
|
69
|
+
|
70
|
+
|
71
|
+
/**
|
72
|
+
* Ensure form controls in OSX will look more consistent with other OSes that do
|
73
|
+
* not utilize sub-pixel anti-aliasing.
|
74
|
+
*/
|
75
|
+
select,
|
76
|
+
button,
|
77
|
+
input, textarea {
|
78
|
+
-moz-osx-font-smoothing: grayscale;
|
79
|
+
-webkit-font-smoothing: antialiased;
|
80
|
+
}
|
81
|
+
|
82
|
+
|
83
|
+
/**
|
84
|
+
* Show clear indication that a form control is disabled by changing the cursor:
|
85
|
+
*
|
86
|
+
* 1. if the element itself is disabled
|
87
|
+
* 2. if the fieldset wrapping the element is disabled
|
88
|
+
*/
|
89
|
+
button,
|
90
|
+
input, textarea,
|
91
|
+
select, optgroup, option {
|
92
|
+
&[disabled], /* [1] */
|
93
|
+
fieldset[disabled] & { /* [2] */
|
94
|
+
cursor: not-allowed;
|
95
|
+
opacity: $forms-disabled-opacity;
|
96
|
+
}
|
97
|
+
}
|
98
|
+
|
99
|
+
|
100
|
+
/**
|
101
|
+
* Set default color for elements using `[placeholder]` attributes.
|
102
|
+
*/
|
103
|
+
::placeholder {
|
104
|
+
color: $forms-placeholder-color;
|
105
|
+
}
|
106
|
+
|
107
|
+
|
108
|
+
/**
|
109
|
+
* 1. animating box-shadow isn't preferable but it's the best way to acheive this effect
|
110
|
+
*/
|
111
|
+
input[type='checkbox'] {
|
112
|
+
position: relative;
|
113
|
+
width: $checkbox-size;
|
114
|
+
height: $checkbox-size;
|
115
|
+
border: $checkbox-border;
|
116
|
+
border-radius: $border-radius;
|
117
|
+
box-shadow: $checkbox-box-shadow;
|
118
|
+
transition: box-shadow 0.15s $checkbox-easing-function; /* [1] */
|
119
|
+
appearance: none;
|
120
|
+
|
121
|
+
&:after {
|
122
|
+
display: block;
|
123
|
+
position: absolute;
|
124
|
+
top: -50%;
|
125
|
+
width: $checkbox-size;
|
126
|
+
height: $checkbox-size / 2;
|
127
|
+
color: $checkbox-color;
|
128
|
+
text-align: center;
|
129
|
+
content: '✓';
|
130
|
+
opacity: 0;
|
131
|
+
transform: scale(0.2) translateY(50%);
|
132
|
+
transition: transform 0.15s $checkbox-easing-function, opacity 0.15s $checkbox-easing-function;
|
133
|
+
}
|
134
|
+
|
135
|
+
&:checked:after {
|
136
|
+
opacity: 1;
|
137
|
+
transform: scale(1) translateY(50%);
|
138
|
+
}
|
139
|
+
|
140
|
+
&:checked {
|
141
|
+
box-shadow: $checkbox-box-shadow-checked;
|
142
|
+
}
|
143
|
+
|
144
|
+
&.visually-hidden {
|
145
|
+
width: 0;
|
146
|
+
height: 0;
|
147
|
+
border: 0;
|
148
|
+
|
149
|
+
&:after {
|
150
|
+
display: none;
|
151
|
+
}
|
152
|
+
}
|
153
|
+
}
|
154
|
+
|
155
|
+
|
156
|
+
input[type='radio'] {
|
157
|
+
position: relative;
|
158
|
+
width: $radio-button-size;
|
159
|
+
height: $radio-button-size;
|
160
|
+
border: $radio-button-border;
|
161
|
+
border-radius: 50%;
|
162
|
+
box-shadow: $radio-button-box-shadow;
|
163
|
+
transition: box-shadow 0.15s $radio-button-easing-function; /* [1] */
|
164
|
+
appearance: none;
|
165
|
+
|
166
|
+
&:before {
|
167
|
+
@include center;
|
168
|
+
display: block;
|
169
|
+
width: $radio-button-inner-size;
|
170
|
+
height: $radio-button-inner-size;
|
171
|
+
text-align: center;
|
172
|
+
background-color: $radio-button-inner-bg-color;
|
173
|
+
border-radius: 50%;
|
174
|
+
opacity: 0;
|
175
|
+
content: '';
|
176
|
+
transform: translate(-50%, -50%);
|
177
|
+
transition: transform 0.15s $radio-button-easing-function, opacity 0.15s $radio-button-easing-function;
|
178
|
+
}
|
179
|
+
|
180
|
+
&:checked:before {
|
181
|
+
opacity: 1;
|
182
|
+
}
|
183
|
+
|
184
|
+
&:checked {
|
185
|
+
box-shadow: $radio-button-box-shadow-checked;
|
186
|
+
}
|
187
|
+
|
188
|
+
&.visually-hidden {
|
189
|
+
width: 0;
|
190
|
+
height: 0;
|
191
|
+
border: 0;
|
192
|
+
|
193
|
+
&:before {
|
194
|
+
display: none;
|
195
|
+
}
|
196
|
+
}
|
197
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
/*------------------------------------*\
|
2
|
+
#TABLES
|
3
|
+
\*------------------------------------*/
|
4
|
+
|
5
|
+
$table-cell-border-color: $transparent !default;
|
6
|
+
|
7
|
+
$table-header-color: $heading-color !default;
|
8
|
+
$table-header-bg-color: $transparent !default;
|
9
|
+
$table-data-bg-color: $transparent !default;
|
10
|
+
|
11
|
+
|
12
|
+
table {
|
13
|
+
margin-bottom: $vertical-margin;
|
14
|
+
width: 100%;
|
15
|
+
border-collapse: collapse;
|
16
|
+
}
|
17
|
+
|
18
|
+
th, td {
|
19
|
+
padding: $spacing-unit;
|
20
|
+
text-align: left;
|
21
|
+
border: 1px solid $table-cell-border-color;
|
22
|
+
vertical-align: baseline;
|
23
|
+
}
|
24
|
+
|
25
|
+
th {
|
26
|
+
color: $table-header-color;
|
27
|
+
background: $table-header-bg-color;
|
28
|
+
}
|
29
|
+
|
30
|
+
td {
|
31
|
+
background: $table-data-bg-color;
|
32
|
+
}
|
@@ -0,0 +1,139 @@
|
|
1
|
+
/*------------------------------------*\
|
2
|
+
#BLOG-ENTRY
|
3
|
+
\*------------------------------------*/
|
4
|
+
|
5
|
+
$blog-entry-background: $background-color-component !default;
|
6
|
+
$blog-entry-section-background: $background-color !default;
|
7
|
+
$blog-entry-content-padding: $spacing-unit * 5 !default;
|
8
|
+
|
9
|
+
$blog-entry-comments-background: $background-color !default;
|
10
|
+
$blog-entry-comment-background: $background-color-component !default;
|
11
|
+
|
12
|
+
$blog-entry-products-background: $background-color !default;
|
13
|
+
|
14
|
+
.blog-entry {
|
15
|
+
background-color: $blog-entry-background;
|
16
|
+
}
|
17
|
+
|
18
|
+
.blog-entry__label {
|
19
|
+
display: inline-block;
|
20
|
+
margin: 0 ($spacing-unit / 2) 0 0;
|
21
|
+
}
|
22
|
+
|
23
|
+
.blog-entry__title {
|
24
|
+
padding: ($spacing-unit * 2) $blog-entry-content-padding 0;
|
25
|
+
|
26
|
+
}
|
27
|
+
|
28
|
+
.blog-entry__author {
|
29
|
+
display: inline-block;
|
30
|
+
margin: 0 $blog-entry-content-padding;
|
31
|
+
}
|
32
|
+
|
33
|
+
.blog-entry__datetime {
|
34
|
+
display: inline-block;
|
35
|
+
}
|
36
|
+
|
37
|
+
.blog-entry__comment-count {
|
38
|
+
padding-left: $blog-entry-content-padding;
|
39
|
+
|
40
|
+
@include respond-to($medium-breakpoint) {
|
41
|
+
display: inline-block;
|
42
|
+
margin: 0 0 0 $spacing-unit;
|
43
|
+
padding-left: 0;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
.blog-entry__tags {
|
48
|
+
margin-bottom: $vertical-margin;
|
49
|
+
padding-left: $blog-entry-content-padding;
|
50
|
+
}
|
51
|
+
|
52
|
+
.blog-entry__tags-list {
|
53
|
+
@extend %inline-list;
|
54
|
+
display: inline-block;
|
55
|
+
}
|
56
|
+
|
57
|
+
.blog-entry__tags-list-item {
|
58
|
+
& + & {
|
59
|
+
margin: 0 0 0 ($spacing-unit / 2);
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
.blog-entry__body {
|
64
|
+
margin-bottom: $blog-entry-content-padding;
|
65
|
+
|
66
|
+
padding: 0 $blog-entry-content-padding;
|
67
|
+
}
|
68
|
+
|
69
|
+
.blog-entry__products {
|
70
|
+
padding-top: $spacing-unit * 2;
|
71
|
+
background-color: $blog-entry-products-background;
|
72
|
+
}
|
73
|
+
|
74
|
+
.blog-entry__products-heading {
|
75
|
+
@extend %heading;
|
76
|
+
@extend %heading--5;
|
77
|
+
}
|
78
|
+
|
79
|
+
/**
|
80
|
+
* Comments
|
81
|
+
*/
|
82
|
+
|
83
|
+
.blog-entry__comments {
|
84
|
+
padding-top: $spacing-unit * 4;
|
85
|
+
background-color: $blog-entry-comments-background;
|
86
|
+
}
|
87
|
+
|
88
|
+
.blog-entry__section {
|
89
|
+
overflow: hidden;
|
90
|
+
}
|
91
|
+
|
92
|
+
.blog-entry__comments-header {
|
93
|
+
@extend %clearfix;
|
94
|
+
}
|
95
|
+
|
96
|
+
.blog-entry__comments-heading {
|
97
|
+
@extend %heading;
|
98
|
+
@extend %heading--5;
|
99
|
+
|
100
|
+
@include respond-to($medium-breakpoint) {
|
101
|
+
float: left;
|
102
|
+
}
|
103
|
+
}
|
104
|
+
|
105
|
+
.blog-entry__write-comment-link {
|
106
|
+
@include respond-to($medium-breakpoint) {
|
107
|
+
float: right;
|
108
|
+
}
|
109
|
+
}
|
110
|
+
|
111
|
+
.blog-entry__comment-group {
|
112
|
+
@extend %list-reset;
|
113
|
+
margin-left: $spacing-unit * 2;
|
114
|
+
}
|
115
|
+
|
116
|
+
.blog-entry__comment {
|
117
|
+
margin-bottom: $vertical-margin;
|
118
|
+
padding: $spacing-unit * 2;
|
119
|
+
background-color: $blog-entry-comment-background;
|
120
|
+
}
|
121
|
+
|
122
|
+
.blog-entry__comment-item {
|
123
|
+
margin: 0 0 ($spacing-unit / 2);
|
124
|
+
}
|
125
|
+
|
126
|
+
.blog-entry__comment-item--author {}
|
127
|
+
|
128
|
+
.blog-entry__comment-item--datetime {}
|
129
|
+
|
130
|
+
.blog-entry__comment-item--body {
|
131
|
+
margin-bottom: $vertical-margin;
|
132
|
+
}
|
133
|
+
|
134
|
+
.blog-entry__comments-form {}
|
135
|
+
|
136
|
+
.blog-entry__comment-heading {
|
137
|
+
@extend %heading;
|
138
|
+
@extend %heading--5;
|
139
|
+
}
|
@@ -0,0 +1,90 @@
|
|
1
|
+
/*------------------------------------*\
|
2
|
+
#BLOG-ENTRY-SUMMARY
|
3
|
+
\*------------------------------------*/
|
4
|
+
|
5
|
+
$blog-entry-summary-thumbnail-small-width: 100% !default;
|
6
|
+
$blog-entry-summary-entry-background-color: $background-color-component !default;
|
7
|
+
|
8
|
+
|
9
|
+
|
10
|
+
.blog-entry-summary {}
|
11
|
+
|
12
|
+
.blog-entry-summary--featured {}
|
13
|
+
|
14
|
+
.blog-entry-summary__title {}
|
15
|
+
|
16
|
+
.blog-entry-summary__banner-content {
|
17
|
+
margin-bottom: $vertical-margin;
|
18
|
+
}
|
19
|
+
|
20
|
+
.blog-entry-summary__entry-group {}
|
21
|
+
|
22
|
+
.blog-entry-summary__entry {
|
23
|
+
margin-bottom: $vertical-margin;
|
24
|
+
padding: ($spacing-unit * 2) 0;
|
25
|
+
background-color: $blog-entry-summary-entry-background-color;
|
26
|
+
}
|
27
|
+
|
28
|
+
.blog-entry-summary__entry-thumbnail {
|
29
|
+
margin-bottom: $vertical-margin;
|
30
|
+
text-align: center;
|
31
|
+
|
32
|
+
@include respond-to($medium-breakpoint) {
|
33
|
+
margin: $spacing-unit double($spacing-unit) $spacing-unit 0;
|
34
|
+
width: $blog-entry-summary-thumbnail-small-width;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
.blog-entry-summary__entry-label {
|
39
|
+
display: inline-block;
|
40
|
+
margin: 0 ($spacing-unit / 2) 0 0;
|
41
|
+
}
|
42
|
+
|
43
|
+
.blog-entry-summary__entry-title {
|
44
|
+
padding: 0 ($spacing-unit * 2);
|
45
|
+
}
|
46
|
+
|
47
|
+
.blog-entry-summary__entry-author {
|
48
|
+
display: inline-block;
|
49
|
+
margin: 0 $spacing-unit 0 0;
|
50
|
+
padding-left: $spacing-unit * 2;
|
51
|
+
}
|
52
|
+
|
53
|
+
.blog-entry-summary__entry-datetime {
|
54
|
+
display: inline-block;
|
55
|
+
}
|
56
|
+
|
57
|
+
.blog-entry-summary__entry-comment-count {
|
58
|
+
padding-left: $spacing-unit * 2;
|
59
|
+
|
60
|
+
@include respond-to($medium-breakpoint) {
|
61
|
+
display: inline-block;
|
62
|
+
margin: 0 0 0 $spacing-unit;
|
63
|
+
padding-left: 0;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
.blog-entry-summary__entry-tags {
|
68
|
+
margin-bottom: $vertical-margin;
|
69
|
+
padding-left: $spacing-unit * 2;
|
70
|
+
}
|
71
|
+
|
72
|
+
.blog-entry-summary__entry-tags-list {
|
73
|
+
@extend %inline-list;
|
74
|
+
display: inline-block;
|
75
|
+
}
|
76
|
+
|
77
|
+
.blog-entry-summary__entry-tags-list-item {
|
78
|
+
& + & {
|
79
|
+
margin: 0 0 0 ($spacing-unit / 2);
|
80
|
+
}
|
81
|
+
}
|
82
|
+
|
83
|
+
.blog-entry-summary__content {
|
84
|
+
padding-left: $spacing-unit * 2;
|
85
|
+
}
|
86
|
+
|
87
|
+
.blog-entry-summary__read-more-link {
|
88
|
+
display: block;
|
89
|
+
margin-top: $spacing-unit;
|
90
|
+
}
|