workarea-one_theme 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (346) hide show
  1. checksums.yaml +7 -0
  2. data/.editorconfig +20 -0
  3. data/.eslintignore +1 -0
  4. data/.eslintrc +25 -0
  5. data/.github/ISSUE_TEMPLATE/bug_report.md +37 -0
  6. data/.github/ISSUE_TEMPLATE/documentation-request.md +17 -0
  7. data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  8. data/.github/workflows/ci.yml +60 -0
  9. data/.gitignore +21 -0
  10. data/.rubocop.yml +3 -0
  11. data/.stylelintrc.json +8 -0
  12. data/CHANGELOG.md +267 -0
  13. data/CODE_OF_CONDUCT.md +3 -0
  14. data/CONTRIBUTING.md +3 -0
  15. data/Gemfile +20 -0
  16. data/LICENSE.md +3 -0
  17. data/README.md +173 -0
  18. data/Rakefile +63 -0
  19. data/app/assets/fonts/workarea/storefront/Hind/hind_bold_webfont.woff +0 -0
  20. data/app/assets/fonts/workarea/storefront/Hind/hind_bold_webfont.woff2 +0 -0
  21. data/app/assets/fonts/workarea/storefront/Hind/hind_regular_webfont.woff +0 -0
  22. data/app/assets/fonts/workarea/storefront/Hind/hind_regular_webfont.woff2 +0 -0
  23. data/app/assets/fonts/workarea/storefront/Muli/muli_bold_webfont.woff +0 -0
  24. data/app/assets/fonts/workarea/storefront/Muli/muli_bold_webfont.woff2 +0 -0
  25. data/app/assets/fonts/workarea/storefront/Muli/muli_bolditalic_webfont.woff +0 -0
  26. data/app/assets/fonts/workarea/storefront/Muli/muli_bolditalic_webfont.woff2 +0 -0
  27. data/app/assets/fonts/workarea/storefront/Muli/muli_italic_webfont.woff +0 -0
  28. data/app/assets/fonts/workarea/storefront/Muli/muli_italic_webfont.woff2 +0 -0
  29. data/app/assets/fonts/workarea/storefront/Muli/muli_regular_webfont.woff +0 -0
  30. data/app/assets/fonts/workarea/storefront/Muli/muli_regular_webfont.woff2 +0 -0
  31. data/app/assets/fonts/workarea/storefront/Playfair_Display/playfairdisplay_bold_webfont.woff +0 -0
  32. data/app/assets/fonts/workarea/storefront/Playfair_Display/playfairdisplay_bold_webfont.woff2 +0 -0
  33. data/app/assets/fonts/workarea/storefront/Playfair_Display/playfairdisplay_bolditalic_webfont.woff +0 -0
  34. data/app/assets/fonts/workarea/storefront/Playfair_Display/playfairdisplay_bolditalic_webfont.woff2 +0 -0
  35. data/app/assets/fonts/workarea/storefront/Playfair_Display/playfairdisplay_italic_webfont.woff +0 -0
  36. data/app/assets/fonts/workarea/storefront/Playfair_Display/playfairdisplay_italic_webfont.woff2 +0 -0
  37. data/app/assets/fonts/workarea/storefront/Playfair_Display/playfairdisplay_regular_webfont.woff +0 -0
  38. data/app/assets/fonts/workarea/storefront/Playfair_Display/playfairdisplay_regular_webfont.woff2 +0 -0
  39. data/app/assets/fonts/workarea/storefront/Source_Serif_Pro/source_serif_pro_bold_webfont.woff +0 -0
  40. data/app/assets/fonts/workarea/storefront/Source_Serif_Pro/source_serif_pro_bold_webfont.woff2 +0 -0
  41. data/app/assets/fonts/workarea/storefront/Source_Serif_Pro/source_serif_pro_regular_webfont.woff +0 -0
  42. data/app/assets/fonts/workarea/storefront/Source_Serif_Pro/source_serif_pro_regular_webfont.woff2 +0 -0
  43. data/app/assets/fonts/workarea/storefront/lora/lora_bold_webfont.woff +0 -0
  44. data/app/assets/fonts/workarea/storefront/lora/lora_bold_webfont.woff2 +0 -0
  45. data/app/assets/fonts/workarea/storefront/lora/lora_bolditalic_webfont.woff +0 -0
  46. data/app/assets/fonts/workarea/storefront/lora/lora_bolditalic_webfont.woff2 +0 -0
  47. data/app/assets/fonts/workarea/storefront/lora/lora_italic_webfont.woff +0 -0
  48. data/app/assets/fonts/workarea/storefront/lora/lora_italic_webfont.woff2 +0 -0
  49. data/app/assets/fonts/workarea/storefront/lora/lora_regular_webfont.woff +0 -0
  50. data/app/assets/fonts/workarea/storefront/lora/lora_regular_webfont.woff2 +0 -0
  51. data/app/assets/fonts/workarea/storefront/roboto/roboto_bold_webfont.woff +0 -0
  52. data/app/assets/fonts/workarea/storefront/roboto/roboto_bold_webfont.woff2 +0 -0
  53. data/app/assets/fonts/workarea/storefront/roboto/roboto_italic_webfont.woff +0 -0
  54. data/app/assets/fonts/workarea/storefront/roboto/roboto_italic_webfont.woff2 +0 -0
  55. data/app/assets/fonts/workarea/storefront/roboto/roboto_regular_webfont.woff +0 -0
  56. data/app/assets/fonts/workarea/storefront/roboto/roboto_regular_webfont.woff2 +0 -0
  57. data/app/assets/images/workarea/admin/content_block_types/hero_slider.svg +1 -0
  58. data/app/assets/images/workarea/admin/content_block_types/taxonomy_with_category_summary.svg +1 -0
  59. data/app/assets/images/workarea/admin/content_block_types/taxonomy_with_products.svg +1 -0
  60. data/app/assets/images/workarea/storefront/dialog_close.svg +1 -0
  61. data/app/assets/images/workarea/storefront/icons/account.svg +1 -0
  62. data/app/assets/images/workarea/storefront/icons/arrow_left.svg +1 -0
  63. data/app/assets/images/workarea/storefront/icons/arrow_right.svg +1 -0
  64. data/app/assets/images/workarea/storefront/icons/cart.svg +1 -0
  65. data/app/assets/images/workarea/storefront/icons/chevron_down.svg +1 -0
  66. data/app/assets/images/workarea/storefront/icons/chevron_right.svg +1 -0
  67. data/app/assets/images/workarea/storefront/icons/search.svg +1 -0
  68. data/app/assets/images/workarea/storefront/logo.png +0 -0
  69. data/app/assets/javascripts/workarea/storefront/application.js.erb +147 -0
  70. data/app/assets/javascripts/workarea/storefront/clothing/modules/product_details_color_buttons.js +86 -0
  71. data/app/assets/javascripts/workarea/storefront/dependencies/jquery.payment.js +655 -0
  72. data/app/assets/javascripts/workarea/storefront/modules/address_region_fields.js +93 -0
  73. data/app/assets/javascripts/workarea/storefront/modules/cart_indicator.js +35 -0
  74. data/app/assets/javascripts/workarea/storefront/modules/checkout_primary_payments.js +136 -0
  75. data/app/assets/javascripts/workarea/storefront/modules/header_search_ui.js +64 -0
  76. data/app/assets/javascripts/workarea/storefront/modules/mobile_filters.js +79 -0
  77. data/app/assets/javascripts/workarea/storefront/modules/mobile_nav_button.js +137 -0
  78. data/app/assets/javascripts/workarea/storefront/modules/quantity_control.js +56 -0
  79. data/app/assets/javascripts/workarea/storefront/modules/utility_nav_dropdown.js +43 -0
  80. data/app/assets/javascripts/workarea/storefront/one_theme/config.js +20 -0
  81. data/app/assets/javascripts/workarea/storefront/product_quickview/templates/quickview_button.jst.ejs +3 -0
  82. data/app/assets/javascripts/workarea/storefront/reviews/modules/product_reviews_sort_menus.js +82 -0
  83. data/app/assets/javascripts/workarea/storefront/reviews/templates/sort_by_property.jst.ejs +19 -0
  84. data/app/assets/javascripts/workarea/storefront/templates/log_out_link.jst.ejs +1 -0
  85. data/app/assets/javascripts/workarea/storefront/templates/saved_addresses_property.jst.ejs +23 -0
  86. data/app/assets/stylesheets/jquery_ui/storefront/_ui_autocomplete.scss +17 -0
  87. data/app/assets/stylesheets/jquery_ui/storefront/_ui_dialog.scss +150 -0
  88. data/app/assets/stylesheets/jquery_ui/storefront/_ui_menu.scss +42 -0
  89. data/app/assets/stylesheets/one_theme/.keep +0 -0
  90. data/app/assets/stylesheets/workarea/storefront/base/_forms.scss +197 -0
  91. data/app/assets/stylesheets/workarea/storefront/base/_tables.scss +32 -0
  92. data/app/assets/stylesheets/workarea/storefront/blog/components/_blog_entry.scss +139 -0
  93. data/app/assets/stylesheets/workarea/storefront/blog/components/_blog_entry_summary.scss +90 -0
  94. data/app/assets/stylesheets/workarea/storefront/clothing/components/_color_options.scss +57 -0
  95. data/app/assets/stylesheets/workarea/storefront/clothing/components/_size_options.scss +123 -0
  96. data/app/assets/stylesheets/workarea/storefront/components/_account_dashboard.scss +33 -0
  97. data/app/assets/stylesheets/workarea/storefront/components/_box.scss +45 -0
  98. data/app/assets/stylesheets/workarea/storefront/components/_breadcrumbs.scss +27 -0
  99. data/app/assets/stylesheets/workarea/storefront/components/_button.scss +72 -0
  100. data/app/assets/stylesheets/workarea/storefront/components/_button_property.scss +41 -0
  101. data/app/assets/stylesheets/workarea/storefront/components/_cart.scss +26 -0
  102. data/app/assets/stylesheets/workarea/storefront/components/_category_summary_content_block.scss +78 -0
  103. data/app/assets/stylesheets/workarea/storefront/components/_checkout_addresses.scss +21 -0
  104. data/app/assets/stylesheets/workarea/storefront/components/_checkout_payment.scss +58 -0
  105. data/app/assets/stylesheets/workarea/storefront/components/_checkout_progress.scss +47 -0
  106. data/app/assets/stylesheets/workarea/storefront/components/_checkout_shipping.scss +15 -0
  107. data/app/assets/stylesheets/workarea/storefront/components/_checkout_step_summary.scss +47 -0
  108. data/app/assets/stylesheets/workarea/storefront/components/_color_box.scss +48 -0
  109. data/app/assets/stylesheets/workarea/storefront/components/_data_card.scss +70 -0
  110. data/app/assets/stylesheets/workarea/storefront/components/_hamburger.scss +107 -0
  111. data/app/assets/stylesheets/workarea/storefront/components/_header.scss +31 -0
  112. data/app/assets/stylesheets/workarea/storefront/components/_hero_slider_content_block.scss +75 -0
  113. data/app/assets/stylesheets/workarea/storefront/components/_loading.scss +92 -0
  114. data/app/assets/stylesheets/workarea/storefront/components/_mobile_filters.scss +42 -0
  115. data/app/assets/stylesheets/workarea/storefront/components/_mobile_nav.scss +146 -0
  116. data/app/assets/stylesheets/workarea/storefront/components/_option_button.scss +45 -0
  117. data/app/assets/stylesheets/workarea/storefront/components/_order_help_menu.scss +33 -0
  118. data/app/assets/stylesheets/workarea/storefront/components/_order_summary.scss +19 -0
  119. data/app/assets/stylesheets/workarea/storefront/components/_page_container.scss +31 -0
  120. data/app/assets/stylesheets/workarea/storefront/components/_page_content.scss +30 -0
  121. data/app/assets/stylesheets/workarea/storefront/components/_page_footer.scss +96 -0
  122. data/app/assets/stylesheets/workarea/storefront/components/_page_header.scss +188 -0
  123. data/app/assets/stylesheets/workarea/storefront/components/_page_messages.scss +36 -0
  124. data/app/assets/stylesheets/workarea/storefront/components/_page_sub_footer.scss +39 -0
  125. data/app/assets/stylesheets/workarea/storefront/components/_pagination.scss +10 -0
  126. data/app/assets/stylesheets/workarea/storefront/components/_payment_icon.scss +29 -0
  127. data/app/assets/stylesheets/workarea/storefront/components/_primary_nav.scss +99 -0
  128. data/app/assets/stylesheets/workarea/storefront/components/_product_detail_container.scss +19 -0
  129. data/app/assets/stylesheets/workarea/storefront/components/_product_details.scss +94 -0
  130. data/app/assets/stylesheets/workarea/storefront/components/_product_list.scss +182 -0
  131. data/app/assets/stylesheets/workarea/storefront/components/_product_list_content_block.scss +20 -0
  132. data/app/assets/stylesheets/workarea/storefront/components/_product_media.scss +109 -0
  133. data/app/assets/stylesheets/workarea/storefront/components/_product_prices.scss +45 -0
  134. data/app/assets/stylesheets/workarea/storefront/components/_product_summary.scss +92 -0
  135. data/app/assets/stylesheets/workarea/storefront/components/_promo_code_accordion.scss +13 -0
  136. data/app/assets/stylesheets/workarea/storefront/components/_property.scss +68 -0
  137. data/app/assets/stylesheets/workarea/storefront/components/_quantity_control.scss +77 -0
  138. data/app/assets/stylesheets/workarea/storefront/components/_result_filters.scss +57 -0
  139. data/app/assets/stylesheets/workarea/storefront/components/_select_menu.scss +68 -0
  140. data/app/assets/stylesheets/workarea/storefront/components/_svg_icon.scss +78 -0
  141. data/app/assets/stylesheets/workarea/storefront/components/_taxonomy_content_block.scss +173 -0
  142. data/app/assets/stylesheets/workarea/storefront/components/_text_box.scss +57 -0
  143. data/app/assets/stylesheets/workarea/storefront/components/_text_button.scss +19 -0
  144. data/app/assets/stylesheets/workarea/storefront/components/_utility_nav.scss +49 -0
  145. data/app/assets/stylesheets/workarea/storefront/components/_value.scss +51 -0
  146. data/app/assets/stylesheets/workarea/storefront/email/_settings.scss +23 -0
  147. data/app/assets/stylesheets/workarea/storefront/generic/_fonts.scss.erb +11 -0
  148. data/app/assets/stylesheets/workarea/storefront/objects/_content_wrapper.scss +23 -0
  149. data/app/assets/stylesheets/workarea/storefront/product_quickview/components/_quickview_button.scss +33 -0
  150. data/app/assets/stylesheets/workarea/storefront/reviews/components/_reviews.scss +66 -0
  151. data/app/assets/stylesheets/workarea/storefront/reviews/components/_write_review.scss +71 -0
  152. data/app/assets/stylesheets/workarea/storefront/settings/_colors.scss.erb +21 -0
  153. data/app/assets/stylesheets/workarea/storefront/settings/_font_families.scss.erb +6 -0
  154. data/app/assets/stylesheets/workarea/storefront/settings/_global.scss +39 -0
  155. data/app/assets/stylesheets/workarea/storefront/settings/_typography.scss +8 -0
  156. data/app/assets/stylesheets/workarea/storefront/settings/_z_indexes.scss +43 -0
  157. data/app/assets/stylesheets/workarea/storefront/share/components/_share_buttons.scss +22 -0
  158. data/app/assets/stylesheets/workarea/storefront/slick_slider/components/_slick_slider.scss +171 -0
  159. data/app/assets/stylesheets/workarea/storefront/swatches/components/_swatch_facet.scss +26 -0
  160. data/app/assets/stylesheets/workarea/storefront/swatches/components/_swatch_options.scss +55 -0
  161. data/app/assets/stylesheets/workarea/storefront/theme_config/_midnight_color_scheme.scss +110 -0
  162. data/app/assets/stylesheets/workarea/storefront/theme_config/_one_color_scheme.scss +104 -0
  163. data/app/assets/stylesheets/workarea/storefront/theme_config/_workarea_color_scheme.scss +105 -0
  164. data/app/assets/stylesheets/workarea/storefront/theme_config/fonts/_hind.scss +19 -0
  165. data/app/assets/stylesheets/workarea/storefront/theme_config/fonts/_lora.scss +33 -0
  166. data/app/assets/stylesheets/workarea/storefront/theme_config/fonts/_muli.scss +33 -0
  167. data/app/assets/stylesheets/workarea/storefront/theme_config/fonts/_playfair_display.scss +33 -0
  168. data/app/assets/stylesheets/workarea/storefront/theme_config/fonts/_roboto.scss +26 -0
  169. data/app/assets/stylesheets/workarea/storefront/theme_config/fonts/_source_serif_pro.scss +19 -0
  170. data/app/assets/stylesheets/workarea/storefront/tools/_checkout_section.scss +12 -0
  171. data/app/assets/stylesheets/workarea/storefront/tools/_full_bleed_container.scss +15 -0
  172. data/app/assets/stylesheets/workarea/storefront/typography/_headings.scss +81 -0
  173. data/app/assets/stylesheets/workarea/storefront/typography/_links.scss +27 -0
  174. data/app/assets/stylesheets/workarea/storefront/typography/_text.scss +30 -0
  175. data/app/helpers/workarea/storefront/one_theme_helper.rb +71 -0
  176. data/app/seeds/workarea/browse_navigation_seeds.rb +35 -0
  177. data/app/seeds/workarea/content_block_page_seeds.rb +22 -0
  178. data/app/seeds/workarea/theme_home_page_seeds.rb +58 -0
  179. data/app/seeds/workarea/theme_layout_content_seeds.rb +41 -0
  180. data/app/view_models/workarea/storefront/content_blocks/category_summary_view_model.decorator +21 -0
  181. data/app/view_models/workarea/storefront/content_blocks/hero_slider_block_view_model.rb +44 -0
  182. data/app/view_models/workarea/storefront/content_blocks/product_list_view_model.decorator +50 -0
  183. data/app/view_models/workarea/storefront/content_blocks/taxonomy_with_category_view_model.rb +49 -0
  184. data/app/view_models/workarea/storefront/content_blocks/taxonomy_with_products_view_model.rb +21 -0
  185. data/app/view_models/workarea/storefront/product_view_model.decorator +11 -0
  186. data/app/views/layouts/workarea/storefront/_wish_lists_link.html.haml +4 -0
  187. data/app/views/layouts/workarea/storefront/application.html.haml +211 -0
  188. data/app/views/layouts/workarea/storefront/checkout.html.haml +97 -0
  189. data/app/views/workarea/storefront/blog_comments/index.html.haml +31 -0
  190. data/app/views/workarea/storefront/blog_entries/_summary.html.haml +26 -0
  191. data/app/views/workarea/storefront/blog_entries/show.html.haml +85 -0
  192. data/app/views/workarea/storefront/blogs/_blog_navigation.html.haml +7 -0
  193. data/app/views/workarea/storefront/blogs/index.html.haml +47 -0
  194. data/app/views/workarea/storefront/cart_items/create.html.haml +66 -0
  195. data/app/views/workarea/storefront/carts/show.html.haml +175 -0
  196. data/app/views/workarea/storefront/categories/show.html.haml +105 -0
  197. data/app/views/workarea/storefront/checkouts/_gift_card_payment.html.haml +38 -0
  198. data/app/views/workarea/storefront/checkouts/_summary.html.haml +102 -0
  199. data/app/views/workarea/storefront/checkouts/addresses.html.haml +56 -0
  200. data/app/views/workarea/storefront/checkouts/confirmation.html.haml +58 -0
  201. data/app/views/workarea/storefront/checkouts/payment.html.haml +186 -0
  202. data/app/views/workarea/storefront/checkouts/shipping.html.haml +38 -0
  203. data/app/views/workarea/storefront/content_blocks/_blog_entry.html.haml +19 -0
  204. data/app/views/workarea/storefront/content_blocks/_category_summary.html.haml +20 -0
  205. data/app/views/workarea/storefront/content_blocks/_hero_slider.html.haml +15 -0
  206. data/app/views/workarea/storefront/content_blocks/_product_list.html.haml +11 -0
  207. data/app/views/workarea/storefront/content_blocks/_social_networks.html.haml +17 -0
  208. data/app/views/workarea/storefront/content_blocks/_taxonomy_with_category_summary.html.haml +26 -0
  209. data/app/views/workarea/storefront/content_blocks/_taxonomy_with_products.html.haml +26 -0
  210. data/app/views/workarea/storefront/menus/index.html.haml +17 -0
  211. data/app/views/workarea/storefront/orders/_summary.html.haml +286 -0
  212. data/app/views/workarea/storefront/products/_media.html.haml +22 -0
  213. data/app/views/workarea/storefront/products/_media_carousel.html.haml +25 -0
  214. data/app/views/workarea/storefront/products/_pricing.html.haml +40 -0
  215. data/app/views/workarea/storefront/products/_reviews.html.haml +27 -0
  216. data/app/views/workarea/storefront/products/_subscription_fields.html.haml +15 -0
  217. data/app/views/workarea/storefront/products/_summary.html.haml +16 -0
  218. data/app/views/workarea/storefront/products/_swatch_summary.html.haml +17 -0
  219. data/app/views/workarea/storefront/products/package_show.html.haml +46 -0
  220. data/app/views/workarea/storefront/products/show.html.haml +53 -0
  221. data/app/views/workarea/storefront/products/templates/_generic.html.haml +61 -0
  222. data/app/views/workarea/storefront/products/templates/_gift_card.html.haml +68 -0
  223. data/app/views/workarea/storefront/products/templates/_option_selects.html.haml +61 -0
  224. data/app/views/workarea/storefront/products/templates/_option_thumbnails.html.haml +67 -0
  225. data/app/views/workarea/storefront/products/templates/_swatches.html.haml +78 -0
  226. data/app/views/workarea/storefront/reviews/new.html.haml +72 -0
  227. data/app/views/workarea/storefront/searches/content.html.haml +78 -0
  228. data/app/views/workarea/storefront/searches/show.html.haml +97 -0
  229. data/app/views/workarea/storefront/shared/_address_fields.html.haml +109 -0
  230. data/app/views/workarea/storefront/shares/_share_buttons.html.haml +17 -0
  231. data/app/views/workarea/storefront/style_guides/base/_forms.html.haml +91 -0
  232. data/app/views/workarea/storefront/style_guides/components/_breadcrumbs.html.haml +13 -0
  233. data/app/views/workarea/storefront/style_guides/components/_button.html.haml +69 -0
  234. data/app/views/workarea/storefront/style_guides/components/_category_summary_content_block.html.haml +54 -0
  235. data/app/views/workarea/storefront/style_guides/components/_header.html.haml +18 -0
  236. data/app/views/workarea/storefront/style_guides/components/_hero_slider_content_block.html.haml +46 -0
  237. data/app/views/workarea/storefront/style_guides/components/_mobile_filters.html.haml +17 -0
  238. data/app/views/workarea/storefront/style_guides/components/_product_list_content_block.html.haml +46 -0
  239. data/app/views/workarea/storefront/style_guides/components/_product_summary.html.haml +47 -0
  240. data/app/views/workarea/storefront/style_guides/components/_svg_icon.html.haml +63 -0
  241. data/app/views/workarea/storefront/style_guides/components/_taxonomy_with_category_summary_content_block.html.haml +33 -0
  242. data/app/views/workarea/storefront/style_guides/components/_taxonomy_with_products_content_block.html.haml +33 -0
  243. data/app/views/workarea/storefront/style_guides/components/_text_box.html.haml +63 -0
  244. data/app/views/workarea/storefront/style_guides/settings/_color_variables.html.haml +79 -0
  245. data/app/views/workarea/storefront/style_guides/settings/color_schemes/_midnight_color_scheme.html.haml +7 -0
  246. data/app/views/workarea/storefront/style_guides/settings/color_schemes/_one_color_scheme.html.haml +7 -0
  247. data/app/views/workarea/storefront/style_guides/settings/color_schemes/_workarea_color_scheme.html.haml +8 -0
  248. data/app/views/workarea/storefront/style_guides/typography/_headings.html.haml +47 -0
  249. data/app/views/workarea/storefront/style_guides/typography/_links.html.haml +27 -0
  250. data/app/views/workarea/storefront/users/accounts/_wish_list_summary.html.haml +16 -0
  251. data/app/views/workarea/storefront/users/accounts/edit.html.haml +41 -0
  252. data/app/views/workarea/storefront/users/accounts/show.html.haml +118 -0
  253. data/app/views/workarea/storefront/users/credit_cards/edit.html.haml +74 -0
  254. data/app/views/workarea/storefront/users/credit_cards/new.html.haml +66 -0
  255. data/app/views/workarea/storefront/users/orders/index.html.haml +22 -0
  256. data/app/views/workarea/storefront/users/orders/show.html.haml +31 -0
  257. data/app/views/workarea/storefront/users/wish_lists/show.html.haml +136 -0
  258. data/app/views/workarea/storefront/wish_lists/show.html.haml +99 -0
  259. data/bin/rails +20 -0
  260. data/config/initializers/appends.rb +62 -0
  261. data/config/initializers/configuration.rb +9 -0
  262. data/config/initializers/content_block_types.rb +91 -0
  263. data/config/initializers/dragonfly.rb +50 -0
  264. data/config/initializers/seeds.rb +5 -0
  265. data/config/initializers/theme.rb +16 -0
  266. data/config/initializers/workarea.rb +3 -0
  267. data/config/locales/en.yml +26 -0
  268. data/config/routes.rb +2 -0
  269. data/lib/tasks/one_theme_tasks.rake +4 -0
  270. data/lib/workarea/one_theme.rb +24 -0
  271. data/lib/workarea/one_theme/engine.rb +13 -0
  272. data/lib/workarea/one_theme/version.rb +5 -0
  273. data/package.json +9 -0
  274. data/test/dummy/Rakefile +6 -0
  275. data/test/dummy/app/assets/config/manifest.js +4 -0
  276. data/test/dummy/app/assets/images/.keep +0 -0
  277. data/test/dummy/app/assets/javascripts/application.js +13 -0
  278. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  279. data/test/dummy/app/controllers/application_controller.rb +3 -0
  280. data/test/dummy/app/controllers/concerns/.keep +0 -0
  281. data/test/dummy/app/helpers/application_helper.rb +2 -0
  282. data/test/dummy/app/jobs/application_job.rb +2 -0
  283. data/test/dummy/app/mailers/application_mailer.rb +4 -0
  284. data/test/dummy/app/models/concerns/.keep +0 -0
  285. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  286. data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
  287. data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
  288. data/test/dummy/bin/bundle +3 -0
  289. data/test/dummy/bin/rails +4 -0
  290. data/test/dummy/bin/rake +4 -0
  291. data/test/dummy/bin/setup +38 -0
  292. data/test/dummy/bin/update +29 -0
  293. data/test/dummy/bin/yarn +11 -0
  294. data/test/dummy/config.ru +5 -0
  295. data/test/dummy/config/application.rb +29 -0
  296. data/test/dummy/config/boot.rb +5 -0
  297. data/test/dummy/config/cable.yml +10 -0
  298. data/test/dummy/config/environment.rb +5 -0
  299. data/test/dummy/config/environments/development.rb +54 -0
  300. data/test/dummy/config/environments/production.rb +91 -0
  301. data/test/dummy/config/environments/test.rb +44 -0
  302. data/test/dummy/config/initializers/application_controller_renderer.rb +8 -0
  303. data/test/dummy/config/initializers/assets.rb +14 -0
  304. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  305. data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
  306. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  307. data/test/dummy/config/initializers/inflections.rb +16 -0
  308. data/test/dummy/config/initializers/mime_types.rb +4 -0
  309. data/test/dummy/config/initializers/workarea.rb +5 -0
  310. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  311. data/test/dummy/config/locales/en.yml +33 -0
  312. data/test/dummy/config/puma.rb +56 -0
  313. data/test/dummy/config/routes.rb +5 -0
  314. data/test/dummy/config/secrets.yml +32 -0
  315. data/test/dummy/config/spring.rb +6 -0
  316. data/test/dummy/db/seeds.rb +2 -0
  317. data/test/dummy/lib/assets/.keep +0 -0
  318. data/test/dummy/log/.keep +0 -0
  319. data/test/dummy/package.json +5 -0
  320. data/test/helpers/workarea/storefront/reviews_helper_test.decorator +11 -0
  321. data/test/integration/workarea/blog/wordpress_import_integration_test.decorator +27 -0
  322. data/test/integration/workarea/storefront/sharing_integration_test.decorator +40 -0
  323. data/test/integration/workarea/storefront/swatches_integration_test.decorator +28 -0
  324. data/test/system/workarea/admin/guest_browsing_system_test.decorator +40 -0
  325. data/test/system/workarea/storefront/analytics_system_test.decorator +51 -0
  326. data/test/system/workarea/storefront/browse_swatches_system_test.decorator +48 -0
  327. data/test/system/workarea/storefront/cart_items_system_test.decorator +98 -0
  328. data/test/system/workarea/storefront/categories_system_test.decorator +100 -0
  329. data/test/system/workarea/storefront/content_search_autocomplete_system_test.decorator +33 -0
  330. data/test/system/workarea/storefront/content_search_system_test.decorator +21 -0
  331. data/test/system/workarea/storefront/content_system_test.decorator +21 -0
  332. data/test/system/workarea/storefront/guest_checkout_system_test.decorator +37 -0
  333. data/test/system/workarea/storefront/logged_in_checkout_system_test.decorator +34 -0
  334. data/test/system/workarea/storefront/login_system_test.decorator +94 -0
  335. data/test/system/workarea/storefront/navigation_system_test.decorator +28 -0
  336. data/test/system/workarea/storefront/passwords_system_test.decorator +59 -0
  337. data/test/system/workarea/storefront/review_system_test.decorator +23 -0
  338. data/test/system/workarea/storefront/search_autocomplete_system_test.decorator +46 -0
  339. data/test/system/workarea/storefront/search_system_test.decorator +71 -0
  340. data/test/teaspoon_env.rb +6 -0
  341. data/test/test_helper.rb +10 -0
  342. data/test/view_models/workarea/storefront/taxonomy_with_category_view_model_test.rb +35 -0
  343. data/test/view_models/workarea/storefront/taxonomy_with_products_view_model_test.rb +28 -0
  344. data/workarea-one_theme.gemspec +33 -0
  345. data/yarn.lock +3290 -0
  346. metadata +582 -0
@@ -0,0 +1,21 @@
1
+ /*------------------------------------*\
2
+ #CHECKOUT-ADDRESSES
3
+ \*------------------------------------*/
4
+
5
+ .checkout-addresses {}
6
+
7
+ .checkout-addresses__section {
8
+ @include checkout-section;
9
+ margin-bottom: $vertical-margin;
10
+ }
11
+
12
+ .checkout-addresses__section--email {}
13
+ .checkout-addresses__section--shipping {}
14
+ .checkout-addresses__section--billing {}
15
+
16
+ .checkout-addresses__heading {
17
+ @extend %heading;
18
+ @extend %heading--4;
19
+ }
20
+
21
+ .checkout-addresses__fields {}
@@ -0,0 +1,58 @@
1
+ /*------------------------------------*\
2
+ #CHECKOUT-PAYMENT
3
+ \*------------------------------------*/
4
+
5
+ $checkout-payment-method-selected-color: $highlight-color !default;
6
+
7
+
8
+ .checkout-payment {}
9
+
10
+ .checkout-payment__section {
11
+ @include checkout-section;
12
+ margin-bottom: $vertical-margin;
13
+ }
14
+
15
+ .checkout-payment__heading {
16
+ @extend %heading;
17
+ @extend %heading--4;
18
+ }
19
+
20
+ .checkout-payment__secondary {}
21
+
22
+ .checkout-payment__secondary-method {
23
+ margin-bottom: $spacing-unit * 2;
24
+ }
25
+
26
+ .checkout-payment__primary-payment {}
27
+
28
+ .checkout-payment__primary-method-group {
29
+ margin-bottom: $vertical-margin;
30
+ }
31
+
32
+ .checkout-payment__primary-method {
33
+ padding: ($spacing-unit * 2);
34
+ }
35
+
36
+ .checkout-payment__primary-method-description {}
37
+
38
+ .checkout-payment__primary-method-edit {
39
+ .js & {
40
+ display: none;
41
+ }
42
+
43
+ .checkout-payment__primary-method--selected & {
44
+ .js & {
45
+ display: block;
46
+ }
47
+ }
48
+ }
49
+
50
+ .checkout-payment__primary-method--selected {
51
+ background: $checkout-payment-method-selected-color;
52
+ }
53
+
54
+ .checkout-payment__cart-items {}
55
+
56
+ .checkout-payment__place-order {
57
+ margin-bottom: 0;
58
+ }
@@ -0,0 +1,47 @@
1
+ /*------------------------------------*\
2
+ #CHECKOUT-PROGRESS
3
+ \*------------------------------------*/
4
+
5
+ $checkout-progress-color: $font-color !default;
6
+ $checkout-progress-active-color: $font-color !default;
7
+ $checkout-progress-completed-color: darken($font-color, 50) !default;
8
+
9
+
10
+ .checkout-progress {
11
+ @extend %list-reset;
12
+ margin: ($spacing-unit * 2) 0 ($spacing-unit * 3);
13
+ text-align: center;
14
+
15
+ @include respond-to($medium-breakpoint) {
16
+ text-align: left;
17
+ }
18
+ }
19
+
20
+ /**
21
+ * 1. a `.checkout-progress__step` is considered "completed" until:
22
+ * 2. it becomes activated, or
23
+ * 3. appears after the activated step
24
+ */
25
+ .checkout-progress__step {
26
+ padding: $spacing-unit / 2;
27
+ color: $checkout-progress-completed-color; /* [1] */
28
+
29
+ @include respond-to($medium-breakpoint) {
30
+ display: inline-block;
31
+ margin: 0 $spacing-unit;
32
+ }
33
+ }
34
+
35
+ .checkout-progress__step--active { /* [2] */
36
+ color: $checkout-progress-active-color;
37
+ font-weight: bold;
38
+
39
+ ~ .checkout-progress__step { /* [3] */
40
+ color: $checkout-progress-color;
41
+ }
42
+ }
43
+
44
+ /**
45
+ * 1. the link only appears within the "completed" state
46
+ */
47
+ .checkout-progress__link {} /* [1] */
@@ -0,0 +1,15 @@
1
+ /*------------------------------------*\
2
+ #CHECKOUT-SHIPPING
3
+ \*------------------------------------*/
4
+
5
+ .checkout-shipping {}
6
+
7
+ .checkout-shipping__section {
8
+ @include checkout-section;
9
+ margin-bottom: $vertical-margin;
10
+ }
11
+
12
+ .checkout-shipping__heading {
13
+ @extend %heading;
14
+ @extend %heading--4;
15
+ }
@@ -0,0 +1,47 @@
1
+ /*------------------------------------*\
2
+ #CHECKOUT-STEP-SUMMARY
3
+ \*------------------------------------*/
4
+
5
+ .checkout-step-summary {
6
+ @include checkout-section;
7
+ }
8
+
9
+ /**
10
+ * 1. Positioning context for .checkout-step-summary__step-section-action
11
+ */
12
+ .checkout-step-summary__step {
13
+ position: relative; /* [1] */
14
+ margin-bottom: $spacing-unit * 2;
15
+ }
16
+
17
+ .checkout-step-summary__step--hidden-for-small {
18
+ display: none;
19
+
20
+ @include respond-to($medium-breakpoint) {
21
+ display: block;
22
+ }
23
+ }
24
+
25
+ .checkout-step-summary__step-heading {
26
+ @extend %heading;
27
+ @extend %heading--4;
28
+ }
29
+
30
+ .checkout-step-summary__section {
31
+ padding: $spacing-unit;
32
+ }
33
+
34
+ .checkout-step-summary__step-section-heading {
35
+ @extend %heading;
36
+ @extend %heading--5;
37
+ }
38
+
39
+ .checkout-step-summary__step-section-content {
40
+ margin-bottom: 0;
41
+ }
42
+
43
+ .checkout-step-summary__step-action {
44
+ position: absolute;
45
+ top: 0;
46
+ right: 0;
47
+ }
@@ -0,0 +1,48 @@
1
+ /*------------------------------------*\
2
+ #COLOR-BOX
3
+ \*------------------------------------*/
4
+
5
+ $color-box-size: 100px !default;
6
+ $color-box-outline: 1px solid $black !default;
7
+
8
+
9
+ .color-box {
10
+ @extend %style-guide-bg-grid;
11
+ display: block;
12
+ width: $color-box-size;
13
+ }
14
+
15
+ .color-box__swatch {
16
+ width: $color-box-size;
17
+ height: $color-box-size;
18
+ outline: $color-box-outline;
19
+ }
20
+
21
+ .color-box__swatch--focus-ring-color { background: $focus-ring-color; }
22
+ .color-box__swatch--primary-color { background: $primary-color; }
23
+ .color-box__swatch--primary-color-light { background: $primary-color-light; }
24
+ .color-box__swatch--primary-color-dark { background: $primary-color-dark; }
25
+ .color-box__swatch--background-color { background: $background-color; }
26
+ .color-box__swatch--background-color-component { background: $background-color-component; }
27
+ .color-box__swatch--background-secondary-color { background: $background-secondary-color; }
28
+ .color-box__swatch--border-color { background: $border-color; }
29
+ .color-box__swatch--highlight-color { background: $highlight-color; }
30
+ .color-box__swatch--font-color { background: $font-color; }
31
+ .color-box__swatch--heading-color { background: $heading-color; }
32
+ .color-box__swatch--product-name-color { background: $product-name-color; }
33
+ .color-box__swatch--header-icon-color { background: $header-icon-color; }
34
+ .color-box__swatch--utility-nav-background-color { background: $utility-nav-background-color; }
35
+ .color-box__swatch--primary-nav-links { background: $primary-nav-links; }
36
+ .color-box__swatch--primary-nav-dropdown-links { background: $primary-nav-dropdown-links; }
37
+ .color-box__swatch--mobile-nav-links { background: $mobile-nav-links; }
38
+ .color-box__swatch--footer-text { background: $footer-text; }
39
+ .color-box__swatch--link-color { background: $link-color; }
40
+ .color-box__swatch--link-color-hover { background: $link-color-hover; }
41
+ .color-box__swatch--link-secondary-color { background: $link-secondary-color; }
42
+ .color-box__swatch--input-color { background: $input-color; }
43
+ .color-box__swatch--input-background-color { background: $input-background-color; }
44
+ .color-box__swatch--input-secondary-color { background: $input-secondary-color; }
45
+ .color-box__swatch--input-secondary-bg-color { background: $input-secondary-bg-color; }
46
+ .color-box__swatch--overlay-shadow-color { background: $overlay-shadow-color; }
47
+
48
+ .color-box__swatch-name {}
@@ -0,0 +1,70 @@
1
+ /*------------------------------------*\
2
+ #DATA-CARD
3
+ \*------------------------------------*/
4
+
5
+ $data-card-minimum-width: 200px !default;
6
+
7
+ $data-card-default-indicator: '✓' !default;
8
+
9
+
10
+ .data-card {
11
+ display: inline-block;
12
+ margin: 0 $horizontal-margin $vertical-margin 0;
13
+ padding: ($spacing-unit * 2);
14
+ min-width: $data-card-minimum-width;
15
+
16
+ .account-dashboard__component & {
17
+ margin-bottom: 0;
18
+ }
19
+ }
20
+
21
+ /**
22
+ * 1. adjacent `.data-card__cell`
23
+ * 2. adjacent `.data-card__cell` within a `.data-card--row`
24
+ */
25
+
26
+ .data-card__cell {
27
+ margin-bottom: $vertical-margin;
28
+
29
+ & + & { /* [1] */
30
+ margin: 0;
31
+ }
32
+
33
+ .data-card--row & {
34
+ display: table-cell;
35
+ padding: ($spacing-unit * 2);
36
+ }
37
+
38
+ .data-card--row & + & { /* [2] */
39
+ text-align: right;
40
+ }
41
+ }
42
+
43
+ .data-card__line {
44
+ margin: 0;
45
+
46
+ & + & {
47
+ margin-top: $spacing-unit;
48
+ }
49
+ }
50
+
51
+ .data-card__credit-card {}
52
+
53
+ .data-card__credit-card-number {
54
+ display: inline-block;
55
+ vertical-align: middle;
56
+ }
57
+
58
+ .data-card__credit-card--default {
59
+ &:after {
60
+ content: $data-card-default-indicator;
61
+ }
62
+ }
63
+
64
+
65
+ .data-card--row {
66
+ display: table;
67
+ width: 100%;
68
+ border-spacing: 0;
69
+ border-collapse: collapse;
70
+ }
@@ -0,0 +1,107 @@
1
+ /*------------------------------------*\
2
+ #HAMBURGER
3
+ \*------------------------------------*/
4
+
5
+ $hamburger-color: $header-icon-color !default;
6
+ $hamburger-width: 18px !default;
7
+ $hamburger-width-wide: 22px !default;
8
+ $hamburger-height: 16px !default;
9
+ $hamburger-height-wide: 16px !default;
10
+ $hamburger-top-margin: 10px !default;
11
+ $hamburger-line-thickness: 2px !default;
12
+ $hamburger-line-thickness-wide: 3px !default;
13
+ $hamburger-line-spacing: -5px !default;
14
+ $hamburger-line-spacing-wide: -6px !default;
15
+ $hamburger-animation-duration: 0.15s !default;
16
+
17
+
18
+ .hamburger {
19
+ transition: top $hamburger-animation-duration ease-in-out,
20
+ bottom $hamburger-animation-duration ease-in-out;
21
+ }
22
+
23
+
24
+ .hamburger__box {
25
+ display: inline-block;
26
+ position: relative;
27
+ margin-top: $hamburger-top-margin;
28
+ margin-left: $spacing-unit;
29
+ width: $hamburger-width;
30
+ height: $hamburger-height;
31
+ vertical-align: middle;
32
+
33
+ @include respond-to($wide-breakpoint) {
34
+ width: $hamburger-width-wide;
35
+ height: $hamburger-height-wide;
36
+ }
37
+ }
38
+
39
+ .hamburger__inner,
40
+ .hamburger__inner:before,
41
+ .hamburger__inner:after {
42
+ position: absolute;
43
+ width: $hamburger-width;
44
+ height: $hamburger-line-thickness;
45
+ background-color: $hamburger-color;
46
+ border-radius: $hamburger-line-thickness;
47
+ transition: transform $hamburger-animation-duration ease;
48
+
49
+ @include respond-to($wide-breakpoint) {
50
+ width: $hamburger-width-wide;
51
+ height: $hamburger-line-thickness-wide;
52
+ }
53
+ }
54
+
55
+ /**
56
+ * 1. targets the hamburger__inner on hamburger hover
57
+ * only if hamburger is inactive
58
+ */
59
+ .hamburger__inner {
60
+ display: block;
61
+ top: 50%;
62
+ margin-top: -2px;
63
+ transition-duration: 0.3s;
64
+ transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
65
+
66
+ &:before,
67
+ &:after {
68
+ display: block;
69
+ content: '';
70
+ }
71
+
72
+ &:before {
73
+ top: $hamburger-line-spacing;
74
+ transition: top 0.1s 0.34s ease-in, opacity 0.1s ease-in;
75
+
76
+ @include respond-to($wide-breakpoint) {
77
+ top: $hamburger-line-spacing-wide;
78
+ }
79
+ }
80
+
81
+ &:after {
82
+ bottom: $hamburger-line-spacing;
83
+ transition: bottom 0.1s 0.34s ease-in, transform 0.3s cubic-bezier(0.55, 0.055, 0.675, 0.19);
84
+
85
+ @include respond-to($wide-breakpoint) {
86
+ bottom: $hamburger-line-spacing-wide;
87
+ }
88
+ }
89
+
90
+ .page-container--drawer-left-open & {
91
+ transform: rotate(225deg);
92
+ transition-delay: 0.14s;
93
+ transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
94
+
95
+ &:before {
96
+ top: 0;
97
+ transition: top 0.1s ease-out, opacity 0.1s 0.14s ease-out;
98
+ opacity: 0;
99
+ }
100
+
101
+ &:after {
102
+ bottom: 0;
103
+ transform: rotate(-90deg);
104
+ transition: bottom 0.1s ease-out, transform 0.3s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
105
+ }
106
+ }
107
+ }
@@ -0,0 +1,31 @@
1
+ /*------------------------------------*\
2
+ #HEADER
3
+ \*------------------------------------*/
4
+
5
+ .header {
6
+ margin-bottom: $spacing-unit * 4;
7
+ }
8
+
9
+ .header--center-at-small {
10
+ text-align: center;
11
+
12
+ @include respond-to($medium-breakpoint) {
13
+ text-align: left;
14
+ }
15
+ }
16
+
17
+ .header__title {}
18
+
19
+ .header__title--center-at-small {
20
+ text-align: center;
21
+
22
+ @include respond-to($medium-breakpoint) {
23
+ text-align: left;
24
+ }
25
+ }
26
+
27
+ .header__subtitle {}
28
+
29
+ .header__filter-button {
30
+ text-align: center;
31
+ }