spree_admin 5.0.3 → 5.1.0.beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (268) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/login_sidebar_background.png +0 -0
  3. data/app/assets/stylesheets/spree/admin/components/_bulk_panel.scss +8 -1
  4. data/app/assets/stylesheets/spree/admin/components/_buttons.scss +12 -20
  5. data/app/assets/stylesheets/spree/admin/components/_cards.scss +9 -3
  6. data/app/assets/stylesheets/spree/admin/components/_dropdowns.scss +13 -40
  7. data/app/assets/stylesheets/spree/admin/components/_filters.scss +32 -3
  8. data/app/assets/stylesheets/spree/admin/components/_main.scss +107 -31
  9. data/app/assets/stylesheets/spree/admin/components/_media_form.scss +21 -9
  10. data/app/assets/stylesheets/spree/admin/components/_modals.scss +4 -3
  11. data/app/assets/stylesheets/spree/admin/components/_navbar.scss +5 -9
  12. data/app/assets/stylesheets/spree/admin/components/_navigation.scss +0 -1
  13. data/app/assets/stylesheets/spree/admin/components/_sortable_tree.scss +6 -2
  14. data/app/assets/stylesheets/spree/admin/components/_tables.scss +35 -5
  15. data/app/assets/stylesheets/spree/admin/global/_variables.scss +37 -17
  16. data/app/assets/stylesheets/spree/admin/plugins/tom-select.bootstrap4.scss +5 -4
  17. data/app/assets/stylesheets/spree/admin/shared/_base.scss +50 -17
  18. data/app/assets/stylesheets/spree/admin/shared/_forms.scss +6 -2
  19. data/app/assets/stylesheets/spree/admin/views/_page_builder.scss +30 -21
  20. data/app/controllers/concerns/spree/admin/breadcrumb_concern.rb +22 -0
  21. data/app/controllers/concerns/spree/admin/preferences_concern.rb +22 -0
  22. data/app/controllers/concerns/spree/admin/products_breadcrumb_concern.rb +22 -0
  23. data/app/controllers/concerns/spree/admin/promotions_breadcrumb_concern.rb +23 -0
  24. data/app/controllers/concerns/spree/admin/storefront_breadcrumb_concern.rb +12 -0
  25. data/app/controllers/spree/admin/addresses_controller.rb +4 -0
  26. data/app/controllers/spree/admin/admin_users_controller.rb +112 -0
  27. data/app/controllers/spree/admin/assets_controller.rb +7 -9
  28. data/app/controllers/spree/admin/base_controller.rb +21 -10
  29. data/app/controllers/spree/admin/checkouts_controller.rb +4 -0
  30. data/app/controllers/spree/admin/classifications_controller.rb +4 -0
  31. data/app/controllers/spree/admin/coupon_codes_controller.rb +2 -0
  32. data/app/controllers/spree/admin/custom_domains_controller.rb +6 -0
  33. data/app/controllers/spree/admin/customer_returns_controller.rb +4 -0
  34. data/app/controllers/spree/admin/dashboard_controller.rb +19 -14
  35. data/app/controllers/spree/admin/digital_assets_controller.rb +8 -0
  36. data/app/controllers/spree/admin/exports_controller.rb +6 -2
  37. data/app/controllers/spree/admin/integrations_controller.rb +61 -0
  38. data/app/controllers/spree/admin/invitations_controller.rb +128 -0
  39. data/app/controllers/spree/admin/line_items_controller.rb +4 -0
  40. data/app/controllers/spree/admin/oauth_applications_controller.rb +6 -0
  41. data/app/controllers/spree/admin/option_types_controller.rb +15 -0
  42. data/app/controllers/spree/admin/option_values_controller.rb +4 -0
  43. data/app/controllers/spree/admin/orders/return_authorizations_controller.rb +4 -0
  44. data/app/controllers/spree/admin/orders_controller.rb +11 -0
  45. data/app/controllers/spree/admin/page_blocks_controller.rb +3 -2
  46. data/app/controllers/spree/admin/page_links_controller.rb +9 -0
  47. data/app/controllers/spree/admin/page_sections_controller.rb +13 -4
  48. data/app/controllers/spree/admin/pages_controller.rb +7 -0
  49. data/app/controllers/spree/admin/payment_methods_controller.rb +23 -12
  50. data/app/controllers/spree/admin/post_categories_controller.rb +3 -0
  51. data/app/controllers/spree/admin/posts_controller.rb +11 -0
  52. data/app/controllers/spree/admin/products_controller.rb +11 -8
  53. data/app/controllers/spree/admin/promotion_actions_controller.rb +10 -2
  54. data/app/controllers/spree/admin/promotion_rules_controller.rb +10 -2
  55. data/app/controllers/spree/admin/promotions_controller.rb +6 -0
  56. data/app/controllers/spree/admin/properties_controller.rb +15 -0
  57. data/app/controllers/spree/admin/refund_reasons_controller.rb +7 -0
  58. data/app/controllers/spree/admin/refunds_controller.rb +4 -0
  59. data/app/controllers/spree/admin/reimbursement_types_controller.rb +7 -0
  60. data/app/controllers/spree/admin/reimbursements_controller.rb +4 -0
  61. data/app/controllers/spree/admin/reports_controller.rb +12 -2
  62. data/app/controllers/spree/admin/resource_controller.rb +1 -1
  63. data/app/controllers/spree/admin/return_authorization_reasons_controller.rb +7 -0
  64. data/app/controllers/spree/admin/return_authorizations_controller.rb +4 -0
  65. data/app/controllers/spree/admin/return_items_controller.rb +6 -0
  66. data/app/controllers/spree/admin/role_users_controller.rb +36 -0
  67. data/app/controllers/spree/admin/roles_controller.rb +8 -0
  68. data/app/controllers/spree/admin/shipments_controller.rb +2 -2
  69. data/app/controllers/spree/admin/shipping_categories_controller.rb +7 -0
  70. data/app/controllers/spree/admin/shipping_methods_controller.rb +6 -0
  71. data/app/controllers/spree/admin/stock_items_controller.rb +13 -0
  72. data/app/controllers/spree/admin/stock_locations_controller.rb +7 -0
  73. data/app/controllers/spree/admin/stock_transfers_controller.rb +14 -2
  74. data/app/controllers/spree/admin/store_credit_categories_controller.rb +5 -0
  75. data/app/controllers/spree/admin/store_credits_controller.rb +4 -0
  76. data/app/controllers/spree/admin/storefront_controller.rb +3 -0
  77. data/app/controllers/spree/admin/stores_controller.rb +17 -2
  78. data/app/controllers/spree/admin/tax_categories_controller.rb +7 -0
  79. data/app/controllers/spree/admin/tax_rates_controller.rb +6 -0
  80. data/app/controllers/spree/admin/taxonomies_controller.rb +15 -0
  81. data/app/controllers/spree/admin/taxons_controller.rb +24 -1
  82. data/app/controllers/spree/admin/themes_controller.rb +7 -0
  83. data/app/controllers/spree/admin/translations_controller.rb +9 -1
  84. data/app/controllers/spree/admin/user_passwords_controller.rb +22 -0
  85. data/app/controllers/spree/admin/user_sessions_controller.rb +23 -0
  86. data/app/controllers/spree/admin/users_controller.rb +11 -2
  87. data/app/controllers/spree/admin/variants_controller.rb +13 -0
  88. data/app/controllers/spree/admin/webhooks_subscribers_controller.rb +34 -12
  89. data/app/controllers/spree/admin/zones_controller.rb +5 -0
  90. data/app/helpers/spree/admin/base_helper.rb +33 -32
  91. data/app/helpers/spree/admin/bulk_operations_helper.rb +8 -2
  92. data/app/helpers/spree/admin/modal_helper.rb +1 -1
  93. data/app/helpers/spree/admin/navigation_helper.rb +12 -6
  94. data/app/helpers/spree/admin/posts_helper.rb +1 -1
  95. data/app/helpers/spree/admin/session_assets_helper.rb +1 -1
  96. data/app/helpers/spree/admin/stores_helper.rb +1 -18
  97. data/app/helpers/spree/admin/tags_helper.rb +2 -2
  98. data/app/javascript/spree/admin/application.js +2 -2
  99. data/app/javascript/spree/admin/controllers/asset_uploader_controller.js +3 -2
  100. data/app/javascript/spree/admin/controllers/variants_form_controller.js +3 -2
  101. data/app/javascript/spree/admin/helpers/bootstrap.js +3 -3
  102. data/app/javascript/spree/admin/helpers/trix/video_embed.js +2 -2
  103. data/app/views/active_storage/_upload_form.html.erb +1 -1
  104. data/app/views/layouts/spree/minimal.html.erb +22 -0
  105. data/app/views/spree/admin/admin_users/_admin_user.html.erb +19 -0
  106. data/app/views/spree/admin/admin_users/_audit_log.html.erb +5 -0
  107. data/app/views/spree/admin/admin_users/_form.html.erb +12 -0
  108. data/app/views/spree/admin/admin_users/edit.html.erb +35 -0
  109. data/app/views/spree/admin/admin_users/index.html.erb +18 -0
  110. data/app/views/spree/admin/admin_users/new.html.erb +21 -0
  111. data/app/views/spree/admin/admin_users/show.html.erb +113 -0
  112. data/app/views/spree/admin/coupon_codes/index.html.erb +6 -6
  113. data/app/views/spree/admin/custom_domains/_custom_domains.html.erb +1 -1
  114. data/app/views/spree/admin/customer_returns/index.html.erb +1 -1
  115. data/app/views/spree/admin/dashboard/_store_preview.html.erb +1 -1
  116. data/app/views/spree/admin/dashboard/_top_products.html.erb +5 -3
  117. data/app/views/spree/admin/digital_assets/_table.html.erb +1 -1
  118. data/app/views/spree/admin/digital_assets/index.html.erb +0 -1
  119. data/app/views/spree/admin/exports/index.html.erb +1 -1
  120. data/app/views/spree/admin/integrations/_integration.html.erb +36 -0
  121. data/app/views/spree/admin/integrations/edit.html.erb +11 -0
  122. data/app/views/spree/admin/integrations/index.html.erb +23 -0
  123. data/app/views/spree/admin/integrations/new.html.erb +14 -0
  124. data/app/views/spree/admin/invitations/_invitation.html.erb +52 -0
  125. data/app/views/spree/admin/invitations/create.turbo_stream.erb +4 -0
  126. data/app/views/spree/admin/invitations/index.html.erb +21 -0
  127. data/app/views/spree/admin/invitations/new.html.erb +32 -0
  128. data/app/views/spree/admin/invitations/show.html.erb +9 -0
  129. data/app/views/spree/admin/line_items/new.html.erb +2 -2
  130. data/app/views/spree/admin/oauth_applications/index.html.erb +1 -1
  131. data/app/views/spree/admin/option_types/edit.html.erb +1 -1
  132. data/app/views/spree/admin/option_types/index.html.erb +1 -1
  133. data/app/views/spree/admin/orders/_customer.html.erb +1 -2
  134. data/app/views/spree/admin/orders/_filters.html.erb +28 -22
  135. data/app/views/spree/admin/orders/_list.html.erb +1 -1
  136. data/app/views/spree/admin/orders/_refunds.html.erb +1 -1
  137. data/app/views/spree/admin/orders/_shipment.html.erb +1 -1
  138. data/app/views/spree/admin/orders/_summary.html.erb +1 -1
  139. data/app/views/spree/admin/orders/_table_filter_dropdown.html.erb +2 -2
  140. data/app/views/spree/admin/orders/customer_returns/_customer_return.html.erb +1 -1
  141. data/app/views/spree/admin/orders/customer_returns/_return_item_decision.html.erb +1 -1
  142. data/app/views/spree/admin/orders/return_authorizations/_form.html.erb +1 -1
  143. data/app/views/spree/admin/orders/return_authorizations/show.html.erb +2 -2
  144. data/app/views/spree/admin/page_blocks/_form_tab_buttons.html.erb +5 -7
  145. data/app/views/spree/admin/page_blocks/edit.html.erb +3 -5
  146. data/app/views/spree/admin/page_blocks/forms/_image.html.erb +9 -0
  147. data/app/views/spree/admin/page_builder/_add_block.html.erb +1 -1
  148. data/app/views/spree/admin/page_builder/_header.html.erb +35 -28
  149. data/app/views/spree/admin/page_builder/_pages_dropdown.html.erb +15 -21
  150. data/app/views/spree/admin/page_builder/_sidebar.html.erb +1 -1
  151. data/app/views/spree/admin/page_builder/_sidebar_block.html.erb +11 -10
  152. data/app/views/spree/admin/page_builder/_sidebar_sections_toolbar.html.erb +152 -39
  153. data/app/views/spree/admin/page_links/_list.html.erb +2 -2
  154. data/app/views/spree/admin/page_links/edit.html.erb +2 -4
  155. data/app/views/spree/admin/page_sections/_form_tab_buttons.html.erb +6 -10
  156. data/app/views/spree/admin/page_sections/new.html.erb +1 -1
  157. data/app/views/spree/admin/pages/edit.html.erb +2 -2
  158. data/app/views/spree/admin/payment_methods/_form.html.erb +1 -1
  159. data/app/views/spree/admin/payment_methods/index.html.erb +16 -15
  160. data/app/views/spree/admin/payments/_payment.html.erb +1 -1
  161. data/app/views/spree/admin/post_categories/index.html.erb +1 -1
  162. data/app/views/spree/admin/posts/index.html.erb +1 -1
  163. data/app/views/spree/admin/products/_bulk_operations.html.erb +1 -1
  164. data/app/views/spree/admin/products/_filters.html.erb +2 -5
  165. data/app/views/spree/admin/products/_list.html.erb +1 -1
  166. data/app/views/spree/admin/products/_table_filter_dropdown.html.erb +2 -2
  167. data/app/views/spree/admin/products/form/_categorization.html.erb +34 -30
  168. data/app/views/spree/admin/products/form/_variants.html.erb +1 -0
  169. data/app/views/spree/admin/promotion_actions/_promotion_action.html.erb +1 -1
  170. data/app/views/spree/admin/promotion_rules/_promotion_rule.html.erb +1 -1
  171. data/app/views/spree/admin/promotions/_filters.html.erb +2 -6
  172. data/app/views/spree/admin/promotions/_header.html.erb +1 -3
  173. data/app/views/spree/admin/promotions/_sidebar.html.erb +18 -0
  174. data/app/views/spree/admin/promotions/_table_filter_dropdown.html.erb +2 -2
  175. data/app/views/spree/admin/promotions/index.html.erb +1 -1
  176. data/app/views/spree/admin/properties/edit.html.erb +1 -1
  177. data/app/views/spree/admin/properties/index.html.erb +1 -1
  178. data/app/views/spree/admin/refund_reasons/index.html.erb +1 -1
  179. data/app/views/spree/admin/reimbursement_types/index.html.erb +1 -1
  180. data/app/views/spree/admin/reimbursements/edit.html.erb +2 -2
  181. data/app/views/spree/admin/reimbursements/show.html.erb +1 -1
  182. data/app/views/spree/admin/reports/_report.html.erb +1 -1
  183. data/app/views/spree/admin/return_authorization_reasons/index.html.erb +1 -1
  184. data/app/views/spree/admin/return_authorizations/_filters.html.erb +2 -2
  185. data/app/views/spree/admin/return_authorizations/_list.html.erb +1 -1
  186. data/app/views/spree/admin/roles/edit.html.erb +6 -4
  187. data/app/views/spree/admin/roles/index.html.erb +11 -7
  188. data/app/views/spree/admin/shared/_alerts.html.erb +1 -1
  189. data/app/views/spree/admin/shared/_breadcrumbs.html.erb +13 -0
  190. data/app/views/spree/admin/shared/_calendar_range_picker.html.erb +1 -1
  191. data/app/views/spree/admin/shared/_content_header.html.erb +3 -3
  192. data/app/views/spree/admin/shared/_filters_button.html.erb +1 -1
  193. data/app/views/spree/admin/shared/_filters_search_bar.html.erb +1 -1
  194. data/app/views/spree/admin/shared/_head.html.erb +10 -1
  195. data/app/views/spree/admin/shared/_header.html.erb +26 -17
  196. data/app/views/spree/admin/shared/_index_table_options.html.erb +1 -1
  197. data/app/views/spree/admin/shared/_multi_product_picker.html.erb +1 -1
  198. data/app/views/spree/admin/shared/_new_item_dropdown.html.erb +32 -0
  199. data/app/views/spree/admin/shared/_no_resource_found.html.erb +6 -3
  200. data/app/views/spree/admin/shared/_offcanvas_nav.html.erb +1 -14
  201. data/app/views/spree/admin/shared/_refunds.html.erb +1 -1
  202. data/app/views/spree/admin/shared/_sidebar.html.erb +0 -8
  203. data/app/views/spree/admin/shared/_tax_nav.html.erb +1 -0
  204. data/app/views/spree/admin/shared/_team_nav.html.erb +13 -0
  205. data/app/views/spree/admin/shared/_user_dropdown.html.erb +25 -20
  206. data/app/views/spree/admin/shared/devise/_links.html.erb +18 -0
  207. data/app/views/spree/admin/shared/sidebar/_enterprise_edition_notice.html.erb +7 -5
  208. data/app/views/spree/admin/shared/sidebar/_integrations_nav.html.erb +5 -7
  209. data/app/views/spree/admin/shared/sidebar/_orders_nav.html.erb +2 -2
  210. data/app/views/spree/admin/shared/sidebar/_products_nav.html.erb +2 -2
  211. data/app/views/spree/admin/shared/sidebar/_promotions_nav.html.erb +17 -0
  212. data/app/views/spree/admin/shared/sidebar/_returns_nav.html.erb +1 -1
  213. data/app/views/spree/admin/shared/sidebar/_store_dropdown.html.erb +33 -75
  214. data/app/views/spree/admin/shared/sidebar/_store_nav.html.erb +17 -36
  215. data/app/views/spree/admin/shared/sidebar/_storefront_nav.html.erb +6 -2
  216. data/app/views/spree/admin/shared/sidebar/_vendors_nav.html.erb +9 -7
  217. data/app/views/spree/admin/shared/sortable_tree/_taxonomy.html.erb +1 -1
  218. data/app/views/spree/admin/shipping_categories/index.html.erb +1 -1
  219. data/app/views/spree/admin/shipping_methods/_form.html.erb +7 -134
  220. data/app/views/spree/admin/shipping_methods/form/_display.html.erb +25 -0
  221. data/app/views/spree/admin/shipping_methods/form/_estimated_transit_business_days.html.erb +23 -0
  222. data/app/views/spree/admin/shipping_methods/form/_shipping_categories.html.erb +21 -0
  223. data/app/views/spree/admin/shipping_methods/form/_tax_category.html.erb +16 -0
  224. data/app/views/spree/admin/shipping_methods/form/_tracking_url.html.erb +18 -0
  225. data/app/views/spree/admin/shipping_methods/form/_zones.html.erb +26 -0
  226. data/app/views/spree/admin/shipping_methods/index.html.erb +1 -1
  227. data/app/views/spree/admin/stock_items/index.html.erb +1 -1
  228. data/app/views/spree/admin/stock_locations/_stock_location.html.erb +5 -3
  229. data/app/views/spree/admin/stock_locations/index.html.erb +4 -2
  230. data/app/views/spree/admin/stock_transfers/index.html.erb +1 -1
  231. data/app/views/spree/admin/store_credit_categories/index.html.erb +1 -1
  232. data/app/views/spree/admin/store_credits/_list.html.erb +1 -1
  233. data/app/views/spree/admin/stores/edit_emails.html.erb +1 -1
  234. data/app/views/spree/admin/stores/form/_basic.html.erb +1 -1
  235. data/app/views/spree/admin/stores/form/_emails.html.erb +1 -1
  236. data/app/views/spree/admin/tax_categories/index.html.erb +1 -1
  237. data/app/views/spree/admin/tax_rates/index.html.erb +1 -1
  238. data/app/views/spree/admin/taxonomies/index.html.erb +1 -1
  239. data/app/views/spree/admin/themes/_theme.html.erb +6 -4
  240. data/app/views/spree/admin/themes/_theme_preview_image.html.erb +6 -4
  241. data/app/views/spree/admin/themes/index.html.erb +1 -1
  242. data/app/views/spree/admin/translations/edit.html.erb +1 -1
  243. data/app/views/spree/admin/user_passwords/edit.html.erb +21 -0
  244. data/app/views/spree/admin/user_passwords/new.html.erb +12 -0
  245. data/app/views/spree/admin/user_sessions/new.html.erb +16 -0
  246. data/app/views/spree/admin/users/_form.html.erb +10 -8
  247. data/app/views/spree/admin/users/_user.html.erb +4 -4
  248. data/app/views/spree/admin/users/index.html.erb +4 -4
  249. data/app/views/spree/admin/users/new.html.erb +1 -1
  250. data/app/views/spree/admin/variants/_search_result.html.erb +1 -1
  251. data/app/views/spree/admin/variants/form/_media.html.erb +1 -0
  252. data/app/views/spree/admin/variants/form/_media_asset.html.erb +1 -1
  253. data/app/views/spree/admin/webhooks_subscribers/_form.html.erb +37 -19
  254. data/app/views/spree/admin/webhooks_subscribers/_webhooks_subscriber.html.erb +12 -6
  255. data/app/views/spree/admin/webhooks_subscribers/edit.html.erb +2 -2
  256. data/app/views/spree/admin/webhooks_subscribers/index.html.erb +1 -1
  257. data/app/views/spree/admin/webhooks_subscribers/show.html.erb +58 -47
  258. data/app/views/spree/admin/zones/_form.html.erb +11 -15
  259. data/app/views/spree/admin/zones/index.html.erb +1 -1
  260. data/config/importmap.rb +2 -2
  261. data/config/locales/en.yml +3 -0
  262. data/config/routes.rb +13 -1
  263. data/lib/spree/admin/engine.rb +11 -1
  264. data/lib/spree/admin.rb +1 -0
  265. data/vendor/javascript/bootstrap--dist--js--bootstrap.bundle.min.js.js +4 -4
  266. data/vendor/javascript/dompurify.js +24 -24
  267. metadata +65 -9
  268. data/app/javascript/spree/admin/controllers/webhook_subscriber_events_controller.js +0 -19
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2314972e804657e3746e099913f84a2ffe364d955005ecd2ad0f441f6d38f44c
4
- data.tar.gz: b5b4bc046008b7f3077c12dccb7571f5fc965f2196d3a1d077f044d911da0dd2
3
+ metadata.gz: 3e1ac13d6758a403cfb0bbe73dc321c2c5f853c1910c8bc680d9fb0d366f599c
4
+ data.tar.gz: 1a475cbd3c432b53f0bcf9e940d596af75f02da95ab17e6b8af53e5167575eb7
5
5
  SHA512:
6
- metadata.gz: 0f823382a162659d30e565ff7dfc2299f4c8b5ce4e73e11c7b3a146dc0560ebadd289653d09b6c40eb33e30300f4d2032b91389b2a2eebad43657c236d2065df
7
- data.tar.gz: 7e104c97735e15737d3b9d209a632ac7cdd8c53b0229e8482225e57e023d44d74228833fef8cb7f2fd54c1f56e696b634fff5d7d289bc6a3bdb5d2e14aa56c23
6
+ metadata.gz: b92a3f1848e75f3a03f363d5339afffda9ba16f9a956660ad704082dd423a9f6c45b4493dd0f2b5d973a0203631de95d58afb31ef2bfcf9f40381efbddb4f251
7
+ data.tar.gz: 5cfcc7b93f6f46e0f6f1e5ee337d6282cf02c62be8ef3b22e6f8bf198a11f451047492359cafbe3a8302b65f1fa062c3f6405b89fe8cf08d0b91e9b4bd4ae679
@@ -7,7 +7,11 @@
7
7
  box-shadow: $dropdown-box-shadow;
8
8
  animation: bounceInUp;
9
9
  animation-duration: 0.5s;
10
- gap: 0.75rem;
10
+ gap: 0.5rem;
11
+
12
+ .btn {
13
+ height: 2rem;
14
+ }
11
15
  }
12
16
 
13
17
  #bulk-panel {
@@ -38,4 +42,7 @@
38
42
  align-items: center;
39
43
  justify-content: center;
40
44
  gap: 0.25rem;
45
+ margin-left: 1rem;
46
+ margin-right: 1rem;
47
+ border-left: 1px solid $gray-50;
41
48
  }
@@ -9,6 +9,10 @@ button[disabled] .show-when-enabled { display: none; }
9
9
  @include button-variant(theme-color('success'), theme-color('success'), theme-color('success') );
10
10
  }
11
11
 
12
+ .btn {
13
+ box-shadow: $btn-box-shadow;
14
+ }
15
+
12
16
  .btn,
13
17
  .nav-pills > li > a {
14
18
  vertical-align: middle;
@@ -62,40 +66,28 @@ button[disabled] .show-when-enabled { display: none; }
62
66
  }
63
67
  }
64
68
 
65
- .btn-hover {
66
- &:hover, &:focus {
67
- text-decoration: none !important;
68
- background-color: $gray-50 !important;
69
- }
70
- }
71
69
  .hover-light {
72
70
  &:hover, &:focus {
73
- background-color: $gray-25 !important;
74
- text-decoration: none !important;
71
+ background-color: $dropdown-link-hover-bg;
72
+ text-decoration: none;
75
73
  }
76
74
  }
77
75
  .hover-gray {
78
76
  &:hover, &:focus {
79
- background-color: $gray-100 !important;
80
- text-decoration: none !important;
81
- }
82
- }
83
- .hover-gray-50 {
84
- &:hover, &:focus {
85
- background-color: $gray-50 !important;
86
- text-decoration: none !important;
77
+ background-color: $gray-100;
78
+ text-decoration: none;
87
79
  }
88
80
  }
89
81
  .hover-gray-200 {
90
82
  &:hover, &:focus {
91
- background-color: $gray-200 !important;
92
- text-decoration: none !important;
83
+ background-color: $gray-200;
84
+ text-decoration: none;
93
85
  }
94
86
  }
95
87
  .hover-primary {
96
88
  &:hover, &:focus {
97
- background-color: theme-color('black') !important;
98
- text-decoration: none !important;
89
+ background-color: theme-color('black');
90
+ text-decoration: none;
99
91
  }
100
92
  }
101
93
 
@@ -35,6 +35,10 @@
35
35
  }
36
36
  }
37
37
 
38
+ .card .card {
39
+ border-radius: $border-radius;
40
+ }
41
+
38
42
  .card-header, .card-footer {
39
43
  background-color: transparent;
40
44
  }
@@ -59,11 +63,13 @@
59
63
  border-color: $gray-50 !important;
60
64
  }
61
65
 
66
+ .card, .card-lg {
67
+ box-shadow: $card-box-shadow;
68
+ background-color: $card-bg;
69
+ border-radius: $border-radius-lg;
70
+ }
62
71
  .card-lg {
63
72
  margin-bottom: 1rem;
64
- background-color: $white;
65
- border-radius: $border-radius-lg;
66
- border: 1px solid $card-border-color;
67
73
  padding: 0;
68
74
  }
69
75
 
@@ -26,10 +26,14 @@
26
26
  box-shadow: $dropdown-box-shadow;
27
27
 
28
28
  .dropdown-item, .dropdown-header {
29
- padding-left: $input-btn-padding-x;
30
- padding-right: $input-btn-padding-x;
31
29
  padding-top: $input-btn-padding-y;
32
30
  padding-bottom: $input-btn-padding-y;
31
+ padding-left: 0.5rem;
32
+ padding-right: 0.5rem;
33
+ }
34
+ .dropdown-header {
35
+ padding-left: 0.5rem;
36
+ padding-right: 0.5rem;
33
37
  }
34
38
 
35
39
  .dropdown-item {
@@ -39,16 +43,19 @@
39
43
  align-items: center;
40
44
  justify-content: flex-start;
41
45
  background: transparent;
46
+ padding-top: 0.4rem;
47
+ padding-bottom: 0.4rem;
48
+ margin-bottom: 0.15rem;
42
49
 
43
50
  color: $gray-700;
44
51
 
45
52
  &:hover {
46
- background-color: $blue;
47
- color: $white;
53
+ background-color: $dropdown-link-hover-bg;
54
+ color: $dropdown-link-hover-color;
48
55
  }
49
56
 
50
57
  i {
51
- margin-right: 0.7rem;
58
+ margin-right: 0.5rem;
52
59
  }
53
60
 
54
61
  .badge {
@@ -78,7 +85,7 @@
78
85
  }
79
86
  .dropdown-item.active {
80
87
  font-weight: 600 !important;
81
- background-color: $gray-50 !important;
88
+ background-color: $dropdown-link-hover-bg !important;
82
89
  }
83
90
  .button_to {
84
91
  width: 100%;
@@ -92,40 +99,6 @@
92
99
  }
93
100
  }
94
101
 
95
- .dropdown-dark {
96
- &:hover {
97
- background-color: #272727;
98
- }
99
-
100
- .dropdown-menu {
101
- background-color: #272727;
102
- border: 1px solid $gray-800;
103
- box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
104
- @extend .text-white;
105
-
106
- .dropdown-divider {
107
- border-top-color: $gray-800;
108
- }
109
-
110
- .dropdown-item {
111
- color: $gray-300;
112
-
113
- &:hover, &.active {
114
- color: $white !important;
115
- background-color: $gray-800;
116
-
117
- i {
118
- color: $gray-100 !important;
119
- }
120
- }
121
- }
122
- }
123
-
124
- .dropdown-divider {
125
- border-top-color: $gray-800;
126
- }
127
- }
128
-
129
102
  .dropdown-toggle {
130
103
  &:after {
131
104
  border: none;
@@ -1,3 +1,28 @@
1
+ .filter-wrap {
2
+ padding: 0.5rem;
3
+ border-bottom: 1px solid $border-color;
4
+ gap: 0.5rem;
5
+
6
+ .btn {
7
+ height: 2.125rem;
8
+ }
9
+ }
10
+
11
+ #filters-search-bar {
12
+ max-width: 300px;
13
+ margin-right: auto;
14
+ height: 2.125rem;
15
+ }
16
+
17
+ #table-filter {
18
+ padding: 0.75rem;
19
+ border-radius: $border-radius;
20
+ border: 1px solid $gray-50;
21
+ background-color: $gray-25;
22
+ margin-top: 0.5rem;
23
+ }
24
+
25
+
1
26
  .collapsed .arrow {
2
27
  transform: rotate(-90deg);
3
28
  transition: .3s ease-in-out;
@@ -8,16 +33,20 @@ i.js-delete-filter {
8
33
  }
9
34
 
10
35
  .sort_link {
11
- color: $gray-600 !important;
36
+ color: $gray-600;
37
+ padding: 0.25rem;
38
+ border-radius: $border-radius-sm;
12
39
 
13
40
  &:hover {
14
- color: $gray-700 !important;
41
+ color: theme-color('primary') !important;
15
42
  text-decoration: none !important;
43
+ background-color: $gray-50;
16
44
  }
17
45
 
18
46
  &.asc, &.desc {
47
+ font-weight: $font-weight-bold;
19
48
  svg {
20
- color: $gray-900 !important;
49
+ color: $gray-600 !important;
21
50
  }
22
51
  }
23
52
 
@@ -1,24 +1,71 @@
1
- turbo-frame[loading] .spinner-border, turbo-frame[busy] .spinner-border {
2
- display: block !important;
3
- }
4
-
5
1
  .sort-handle {
6
2
  cursor: grab;
7
3
  }
8
4
 
9
- .no-wrap {
10
- white-space: nowrap;
11
- }
12
-
13
5
  #page-header {
14
- height: 74px;
6
+ height: 70px;
15
7
  display: flex;
16
8
  align-items: center;
17
9
  }
18
10
 
19
11
  .page-header-title {
20
12
  font-size: 1.25rem;
21
- font-weight: 700;
13
+ }
14
+
15
+ .store-dropdown {
16
+ display: flex;
17
+ align-items: center;
18
+ justify-content: space-between;
19
+ padding-left: 0.75rem;
20
+ padding-right: 0.75rem;
21
+ background-color: $sidebar-bg;
22
+ width: $sidebar-width;
23
+ border-right: 1px solid $border-color;
24
+ border-bottom: 1px solid $border-color;
25
+ height: $header-height;
26
+ }
27
+
28
+ .store-dropdown-button {
29
+ padding: 0.25rem;
30
+ display: flex;
31
+ align-items: center;
32
+ justify-content: space-between;
33
+ text-align: left;
34
+ gap: 0.5rem;
35
+ box-shadow: none !important;
36
+
37
+ &:hover {
38
+ background-color: $gray-50;
39
+ }
40
+ }
41
+
42
+ .store-chooser {
43
+ display: flex;
44
+ flex-direction: column;
45
+ gap: 0.25rem;
46
+ padding: 0.25rem;
47
+ margin: 0.25rem;
48
+ border: 1px solid $border-color;
49
+ border-radius: $border-radius-lg;
50
+
51
+ .store-chooser-item {
52
+ display: flex;
53
+ align-items: center;
54
+ gap: 0.5rem;
55
+ border-radius: $border-radius;
56
+ padding: 0.25rem;
57
+ text-wrap: nowrap;
58
+
59
+ &:hover {
60
+ text-decoration: none;
61
+ background-color: $dropdown-link-hover-bg;
62
+ }
63
+
64
+ &.active {
65
+ cursor: not-allowed;
66
+ background-color: $action;
67
+ }
68
+ }
22
69
  }
23
70
 
24
71
  #main-sidebar {
@@ -26,15 +73,15 @@ turbo-frame[loading] .spinner-border, turbo-frame[busy] .spinner-border {
26
73
  flex-direction: column;
27
74
  gap: 0.5rem;
28
75
  width: $sidebar-width;
29
- background-color: $gray-25;
30
- border-right: 1px solid $gray-100;
31
- height: 100vh;
76
+ background-color: $sidebar-bg;
77
+ box-shadow: inset -1px 0 0 $border-color;
78
+ height: calc(100vh - $header-height);
32
79
  overflow-y: auto;
33
80
  overflow-x: hidden;
34
81
  position: fixed;
35
- top: 0;
36
- color: $gray-700;
37
- padding-top: 0.5rem;
82
+ top: $header-height;
83
+ color: $gray-600;
84
+ padding-top: 0.8rem;
38
85
 
39
86
  @media (max-width: 992px) {
40
87
  display: none;
@@ -43,9 +90,7 @@ turbo-frame[loading] .spinner-border, turbo-frame[busy] .spinner-border {
43
90
  .nav {
44
91
  padding-left: 0.75rem;
45
92
  padding-right: 0.75rem;
46
- }
47
- .nav {
48
- gap: 0.125rem;
93
+ gap: 0.2rem;
49
94
  display: flex;
50
95
  flex-direction: column;
51
96
  }
@@ -58,9 +103,10 @@ turbo-frame[loading] .spinner-border, turbo-frame[busy] .spinner-border {
58
103
  padding-right: 0.35rem;
59
104
  padding-top: 0.35rem;
60
105
  padding-bottom: 0.35rem;
106
+ color: inherit;
61
107
 
62
108
  .ti {
63
- font-size: 1rem;
109
+ font-size: 1.125rem !important;
64
110
  margin-right: 0.5rem;
65
111
  border-radius: $border-radius-sm;
66
112
  padding: 0.2rem 0.2rem;
@@ -68,6 +114,10 @@ turbo-frame[loading] .spinner-border, turbo-frame[busy] .spinner-border {
68
114
 
69
115
  &:hover {
70
116
  background-color: $gray-50;
117
+
118
+ .ti {
119
+ color: theme-color('primary');
120
+ }
71
121
  }
72
122
  &.active {
73
123
  color: theme-color('primary');
@@ -91,9 +141,19 @@ turbo-frame[loading] .spinner-border, turbo-frame[busy] .spinner-border {
91
141
  display: flex;
92
142
  flex-direction: column;
93
143
  list-style: none;
94
-
95
- margin-left: 1.5rem !important;
96
-
144
+ padding-top: 0.25rem;
145
+ padding-left: 2rem;
146
+ &:before {
147
+ content: '';
148
+ position: absolute;
149
+ left: 1rem;
150
+ top: 0;
151
+ bottom: 0.25rem;
152
+ width: 1px;
153
+ background-color: $gray-200;
154
+ }
155
+ position: relative;
156
+
97
157
  .nav-link {
98
158
  font-weight: 400;
99
159
  padding-top: 0.25rem;
@@ -106,6 +166,17 @@ turbo-frame[loading] .spinner-border, turbo-frame[busy] .spinner-border {
106
166
  font-weight: 600;
107
167
  background-color: transparent !important;
108
168
  box-shadow: none;
169
+
170
+ &:before {
171
+ content: '';
172
+ position: absolute;
173
+ left: calc(-1rem - 1px);
174
+ top: 10%;
175
+ width: 3px;
176
+ height: 80%;
177
+ background-color: theme-color('primary');
178
+ border-radius: $border-radius-sm;
179
+ }
109
180
  }
110
181
  }
111
182
  }
@@ -142,18 +213,23 @@ turbo-frame[loading] .spinner-border, turbo-frame[busy] .spinner-border {
142
213
  @extend .alert-info;
143
214
 
144
215
  background-image: none;
145
- padding-left: 1rem;
146
- border-left: 0;
147
- border-right: 0;
148
- border-bottom: 0;
149
- border-radius: 0;
216
+ position: relative;
150
217
  font-size: $font-size-sm;
151
- margin-bottom: 0;
218
+ padding: 0.5rem 1rem;
219
+ margin: 0.75rem;
220
+ p {
221
+ margin-bottom: 0.5rem;
222
+ }
152
223
 
153
224
  .btn-close {
154
225
  position: absolute;
155
- right: 0.5rem;
156
- top: 0.5rem;
226
+ right: 0.25rem;
227
+ top: 0.25rem;
228
+ color: inherit !important;
229
+
230
+ &:hover {
231
+ background-color: transparent !important;
232
+ }
157
233
  }
158
234
  }
159
235
 
@@ -5,17 +5,23 @@
5
5
  justify-content: center;
6
6
  align-items: center;
7
7
  overflow: hidden;
8
- border-radius: 0.5rem;
9
- border: 1px dashed $gray-50;
8
+ border-radius: $border-radius-lg;
9
+ border: 1px dashed $gray-100;
10
10
  background-color: rgba($gray-25, 0.5);
11
11
  padding: 0.5rem;
12
12
  cursor: pointer;
13
13
  color: $gray-500;
14
14
 
15
15
  &:hover {
16
- background-color: $gray-25;
17
- border-color: $gray-100;
18
- color: $gray-700;
16
+ background-color: $action;
17
+ border-color: rgba($blue, 0.5);
18
+ color: rgba($blue, 0.8);
19
+ }
20
+
21
+ &:active {
22
+ background-color: $action;
23
+ border-color: rgba($blue, 0.5);
24
+ box-shadow: 0 0 0 2px $white, 0 0 0 4px $blue !important;
19
25
  }
20
26
  }
21
27
 
@@ -51,10 +57,14 @@
51
57
  width: 100%;
52
58
  height: 100%;
53
59
  aspect-ratio: 1/1;
54
- border-radius: 0.5rem;
60
+ border-radius: $border-radius;
55
61
  position: relative;
56
62
  justify-content: space-between;
57
63
  align-items: flex-start;
64
+ transition-property: box-shadow;
65
+ transition-duration: 0.2s;
66
+ transition-timing-function: ease-in-out;
67
+ box-shadow: rgba(209, 217, 224, 0.5) 0px 0px 0px 1px;
58
68
 
59
69
  & img {
60
70
  top: 0;
@@ -78,9 +88,11 @@
78
88
  display: inline !important;
79
89
  }
80
90
 
81
- & img {
82
- opacity: 0.5;
83
- }
91
+ box-shadow: rgba(209, 217, 224, 0.8) 0px 0px 0px 1px, rgba(37, 41, 46, 0.04) 0px 3px 6px -3px, rgba(37, 41, 46, 0.12) 0px 2px 6px 0px !important;
92
+ }
93
+
94
+ &:has(input:checked) {
95
+ box-shadow: 0 0 0 2px $blue !important;
84
96
  }
85
97
 
86
98
  &:first-of-type {
@@ -25,14 +25,15 @@ body.modal-open {
25
25
  }
26
26
  .modal-footer {
27
27
  display: flex;
28
- justify-content: space-between;
28
+ justify-content: end;
29
29
  padding: $modal-inner-padding;
30
- background-color: #FAFAFA;
31
- border-top: 1px solid $gray-50;
30
+ background-color: $gray-25;
31
+ border-top: 1px solid $border-color;
32
32
 
33
33
  .btn {
34
34
  display: inline-flex ;
35
35
  width: auto !important;
36
+ height: 2.5rem;
36
37
  }
37
38
  }
38
39
 
@@ -1,10 +1,6 @@
1
- @media (max-width: 768px) {
2
- header#header {
3
- background-color: $gray-900 !important;
4
- color: #fff !important;
5
- border-bottom: 0 none !important;
6
- position: sticky;
7
- top: 0;
8
- z-index: 1020;
9
- }
1
+ #header {
2
+ height: $header-height;
3
+ background-color: $body-bg;
4
+
5
+ box-shadow: inset 0 -1px 0 $border-color;
10
6
  }
@@ -12,7 +12,6 @@
12
12
  position: relative;
13
13
  transition: background 0.15s, color 0.1s;
14
14
  will-change: background, color;
15
- font-weight: 400;
16
15
  color: $gray-700;
17
16
 
18
17
  &:hover {
@@ -35,8 +35,12 @@
35
35
  }
36
36
 
37
37
  .sortable-chosen {
38
- border: 1px dashed var(--gray);
39
- border-radius: 5px;
38
+ background-color: transparent !important;
39
+ border-color: transparent !important;
40
+ .sortable-tree-item-row {
41
+ background-color: $action !important;
42
+ border: 1px dashed rgba($blue, 0.5) !important;
43
+ }
40
44
  }
41
45
 
42
46
  .item_image_holder {
@@ -4,7 +4,17 @@
4
4
 
5
5
  .filter-wrap {
6
6
  padding: 0.5rem;
7
- border-bottom: 1px solid $gray-50;
7
+ border-bottom: 1px solid $border-color;
8
+ gap: 0.5rem;
9
+
10
+ .btn {
11
+ height: 2.375rem;
12
+ }
13
+ }
14
+
15
+ #filters-search-bar {
16
+ max-width: 300px;
17
+ margin-right: auto;
8
18
  }
9
19
 
10
20
  #table-filter {
@@ -41,12 +51,19 @@ table.table {
41
51
 
42
52
  thead {
43
53
  th {
54
+ background-color: rgba($gray-25, 0.5);
44
55
  @extend .text-muted;
45
56
  font-size: $font-size-sm;
57
+ font-weight: $font-weight-normal;
46
58
  vertical-align: middle;
47
- font-weight: 400;
48
- padding-top: 0.5rem;
49
- padding-bottom: 0.5rem;
59
+ padding-top: 0.3rem;
60
+ padding-bottom: 0.3rem;
61
+ }
62
+ th:first-child {
63
+ border-top-left-radius: $border-radius-lg;
64
+ }
65
+ th:last-child {
66
+ border-top-right-radius: $border-radius-lg;
50
67
  }
51
68
  }
52
69
 
@@ -78,7 +95,7 @@ table.table {
78
95
  }
79
96
  }
80
97
 
81
- tr:hover:not(.active) {
98
+ tr:hover:not(.active):not(.sortable-chosen) {
82
99
  td {
83
100
  background-color: $gray-25;
84
101
  }
@@ -185,3 +202,16 @@ td.actions {
185
202
  top: 0px;
186
203
  }
187
204
  }
205
+
206
+ .card-lg {
207
+ table {
208
+ thead {
209
+ th:first-child {
210
+ border-top-left-radius: 0;
211
+ }
212
+ th:last-child {
213
+ border-top-right-radius: 0;
214
+ }
215
+ }
216
+ }
217
+ }