solidus_backend 2.3.1 → 2.4.0.beta1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of solidus_backend might be problematic. Click here for more details.

Files changed (270) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/spree/backend/admin.js +0 -12
  3. data/app/assets/javascripts/spree/backend/number_field_updater.coffee +5 -5
  4. data/app/assets/javascripts/spree/backend/shipments.js +16 -14
  5. data/app/assets/javascripts/spree/backend/stock_transfers/count_update_forms.coffee +3 -3
  6. data/app/assets/javascripts/spree/backend/stock_transfers/transfer_item_deleting.coffee +1 -1
  7. data/app/assets/javascripts/spree/backend/taxonomy.js.coffee +1 -1
  8. data/app/assets/javascripts/spree/backend/templates/orders/details_adjustment_row.hbs +2 -2
  9. data/app/assets/javascripts/spree/backend/templates/orders/line_item.hbs +3 -3
  10. data/app/assets/javascripts/spree/backend/templates/stock_items/stock_location_stock_item.hbs +5 -5
  11. data/app/assets/javascripts/spree/backend/templates/stock_transfers/transfer_item.hbs +5 -5
  12. data/app/assets/javascripts/spree/backend/templates/taxons/_tree.hbs +7 -3
  13. data/app/assets/javascripts/spree/backend/templates/variants/line_items_autocomplete_stock.hbs +1 -1
  14. data/app/assets/javascripts/spree/backend/templates/variants/split.hbs +2 -2
  15. data/app/assets/javascripts/spree/backend/views/order/customer_details.js +1 -2
  16. data/app/assets/javascripts/spree/backend.js +1 -1
  17. data/app/assets/stylesheets/spree/backend/_bootstrap_custom.scss +27 -906
  18. data/app/assets/stylesheets/spree/backend/components/_actions.scss +13 -15
  19. data/app/assets/stylesheets/spree/backend/components/_date-picker.scss +1 -1
  20. data/app/assets/stylesheets/spree/backend/components/_editable_table.scss +0 -1
  21. data/app/assets/stylesheets/spree/backend/components/_messages.scss +8 -8
  22. data/app/assets/stylesheets/spree/backend/components/_navigation.scss +1 -1
  23. data/app/assets/stylesheets/spree/backend/components/_number_field_update.scss +1 -1
  24. data/app/assets/stylesheets/spree/backend/components/_number_with_currency.scss +1 -1
  25. data/app/assets/stylesheets/spree/backend/components/_pills.scss +92 -0
  26. data/app/assets/stylesheets/spree/backend/components/_sidebar.scss +7 -32
  27. data/app/assets/stylesheets/spree/backend/components/_states.scss +5 -27
  28. data/app/assets/stylesheets/spree/backend/components/_stock_table.scss +0 -12
  29. data/app/assets/stylesheets/spree/backend/globals/_variables.scss +58 -139
  30. data/app/assets/stylesheets/spree/backend/plugins/_bootstrap_tooltip.scss +11 -15
  31. data/app/assets/stylesheets/spree/backend/plugins/_select2.scss +7 -5
  32. data/app/assets/stylesheets/spree/backend/sections/_orders.scss +6 -6
  33. data/app/assets/stylesheets/spree/backend/sections/_products.scss +5 -1
  34. data/app/assets/stylesheets/spree/backend/sections/_promotions.scss +4 -2
  35. data/app/assets/stylesheets/spree/backend/sections/_stock_management.scss +4 -35
  36. data/app/assets/stylesheets/spree/backend/sections/_style_guide.scss +14 -15
  37. data/app/assets/stylesheets/spree/backend/sections/_taxonomies.scss +9 -16
  38. data/app/assets/stylesheets/spree/backend/shared/_forms.scss +23 -20
  39. data/app/assets/stylesheets/spree/backend/shared/_header.scss +1 -5
  40. data/app/assets/stylesheets/spree/backend/shared/_layout.scss +3 -23
  41. data/app/assets/stylesheets/spree/backend/shared/_tables.scss +40 -92
  42. data/app/assets/stylesheets/spree/backend/shared/_typography.scss +6 -6
  43. data/app/assets/stylesheets/spree/backend/spree_admin.scss +1 -1
  44. data/app/controllers/spree/admin/adjustments_controller.rb +1 -1
  45. data/app/controllers/spree/admin/customer_returns_controller.rb +0 -1
  46. data/app/controllers/spree/admin/promotion_actions_controller.rb +1 -1
  47. data/app/controllers/spree/admin/shipping_methods_controller.rb +1 -1
  48. data/app/controllers/spree/admin/style_guide_controller.rb +3 -2
  49. data/app/controllers/spree/admin/tax_rates_controller.rb +1 -1
  50. data/app/controllers/spree/admin/users_controller.rb +9 -4
  51. data/app/helpers/spree/admin/base_helper.rb +32 -35
  52. data/app/helpers/spree/admin/stock_transfers_helper.rb +0 -4
  53. data/app/models/spree/backend_configuration.rb +1 -1
  54. data/app/views/spree/admin/adjustment_reasons/index.html.erb +6 -4
  55. data/app/views/spree/admin/adjustments/_adjustment.html.erb +5 -5
  56. data/app/views/spree/admin/adjustments/_adjustments_table.html.erb +7 -7
  57. data/app/views/spree/admin/cancellations/index.html.erb +9 -5
  58. data/app/views/spree/admin/customer_returns/_reimbursements_table.html.erb +6 -3
  59. data/app/views/spree/admin/customer_returns/_return_item_decision.html.erb +12 -7
  60. data/app/views/spree/admin/customer_returns/_return_item_selection.html.erb +13 -8
  61. data/app/views/spree/admin/customer_returns/edit.html.erb +1 -1
  62. data/app/views/spree/admin/customer_returns/index.html.erb +5 -5
  63. data/app/views/spree/admin/images/_image_row.html.erb +14 -4
  64. data/app/views/spree/admin/images/index.html.erb +2 -1
  65. data/app/views/spree/admin/option_types/_option_value_fields.html.erb +6 -6
  66. data/app/views/spree/admin/option_types/edit.html.erb +2 -1
  67. data/app/views/spree/admin/option_types/index.html.erb +5 -5
  68. data/app/views/spree/admin/orders/_adjustments.html.erb +3 -3
  69. data/app/views/spree/admin/orders/_carton.html.erb +1 -1
  70. data/app/views/spree/admin/orders/_carton_manifest.html.erb +3 -3
  71. data/app/views/spree/admin/orders/_risk_analysis.html.erb +18 -16
  72. data/app/views/spree/admin/orders/_shipment.html.erb +26 -30
  73. data/app/views/spree/admin/orders/_shipment_manifest.html.erb +6 -6
  74. data/app/views/spree/admin/orders/confirm/_line_items.html.erb +3 -3
  75. data/app/views/spree/admin/orders/confirm/_payments.html.erb +6 -6
  76. data/app/views/spree/admin/orders/confirm/_shipment.html.erb +1 -1
  77. data/app/views/spree/admin/orders/confirm/_shipment_manifest.html.erb +3 -3
  78. data/app/views/spree/admin/orders/index.html.erb +25 -9
  79. data/app/views/spree/admin/payment_methods/_form.html.erb +4 -1
  80. data/app/views/spree/admin/payment_methods/index.html.erb +11 -7
  81. data/app/views/spree/admin/payments/_capture_events.html.erb +1 -1
  82. data/app/views/spree/admin/payments/_list.html.erb +9 -5
  83. data/app/views/spree/admin/payments/show.html.erb +2 -2
  84. data/app/views/spree/admin/prices/_master_variant_table.html.erb +2 -2
  85. data/app/views/spree/admin/prices/_table.html.erb +2 -2
  86. data/app/views/spree/admin/product_properties/_product_property_fields.html.erb +1 -1
  87. data/app/views/spree/admin/product_properties/index.html.erb +4 -2
  88. data/app/views/spree/admin/products/index.html.erb +10 -9
  89. data/app/views/spree/admin/promotions/actions/_create_item_adjustments.html.erb +1 -1
  90. data/app/views/spree/admin/promotions/actions/_promotion_calculators_with_custom_fields.html.erb +1 -1
  91. data/app/views/spree/admin/promotions/calculators/_default_fields.html.erb +3 -6
  92. data/app/views/spree/admin/promotions/calculators/tiered_flat_rate/_fields.html.erb +3 -8
  93. data/app/views/spree/admin/promotions/calculators/tiered_percent/_fields.html.erb +3 -8
  94. data/app/views/spree/admin/promotions/index.html.erb +24 -17
  95. data/app/views/spree/admin/promotions/rules/_user_role.html.erb +2 -2
  96. data/app/views/spree/admin/properties/index.html.erb +3 -3
  97. data/app/views/spree/admin/refund_reasons/index.html.erb +7 -5
  98. data/app/views/spree/admin/refunds/new.html.erb +1 -1
  99. data/app/views/spree/admin/reimbursement_types/index.html.erb +2 -2
  100. data/app/views/spree/admin/reimbursements/edit.html.erb +6 -6
  101. data/app/views/spree/admin/reimbursements/index.html.erb +9 -2
  102. data/app/views/spree/admin/reimbursements/show.html.erb +6 -6
  103. data/app/views/spree/admin/reports/index.html.erb +2 -2
  104. data/app/views/spree/admin/reports/sales_total.html.erb +1 -1
  105. data/app/views/spree/admin/return_authorizations/_form.html.erb +9 -5
  106. data/app/views/spree/admin/return_authorizations/edit.html.erb +9 -2
  107. data/app/views/spree/admin/return_authorizations/index.html.erb +11 -4
  108. data/app/views/spree/admin/search/products.json.jbuilder +10 -0
  109. data/app/views/spree/admin/search/users.json.jbuilder +37 -0
  110. data/app/views/spree/admin/shared/_calculator_fields.html.erb +4 -1
  111. data/app/views/spree/admin/shared/_modal.html.erb +18 -0
  112. data/app/views/spree/admin/shared/_number_field_update_actions.html.erb +2 -2
  113. data/app/views/spree/admin/shared/_number_field_update_cell.html.erb +1 -1
  114. data/app/views/spree/admin/shared/_order_summary.html.erb +21 -5
  115. data/app/views/spree/admin/shared/_refunds.html.erb +6 -6
  116. data/app/views/spree/admin/shared/_settings_sub_menu.html.erb +4 -4
  117. data/app/views/spree/admin/shared/named_types/_index.html.erb +7 -5
  118. data/app/views/spree/admin/shared/preference_fields/_boolean.html.erb +13 -0
  119. data/app/views/spree/admin/shared/preference_fields/_decimal.html.erb +12 -0
  120. data/app/views/spree/admin/shared/preference_fields/_integer.html.erb +12 -0
  121. data/app/views/spree/admin/shared/preference_fields/_password.html.erb +12 -0
  122. data/app/views/spree/admin/shared/preference_fields/_string.html.erb +12 -0
  123. data/app/views/spree/admin/shared/preference_fields/_text.html.erb +12 -0
  124. data/app/views/spree/admin/shipping_categories/index.html.erb +2 -2
  125. data/app/views/spree/admin/shipping_methods/index.html.erb +5 -5
  126. data/app/views/spree/admin/stock_items/_stock_management.html.erb +3 -3
  127. data/app/views/spree/admin/stock_locations/index.html.erb +9 -11
  128. data/app/views/spree/admin/stock_movements/index.html.erb +4 -4
  129. data/app/views/spree/admin/stock_transfers/_transfer_item_actions.html.erb +1 -1
  130. data/app/views/spree/admin/stock_transfers/_transfer_item_table.html.erb +2 -2
  131. data/app/views/spree/admin/stock_transfers/index.html.erb +10 -6
  132. data/app/views/spree/admin/stock_transfers/tracking_info.html.erb +1 -1
  133. data/app/views/spree/admin/store_credits/index.html.erb +53 -50
  134. data/app/views/spree/admin/store_credits/show.html.erb +5 -5
  135. data/app/views/spree/admin/stores/_form.html.erb +9 -0
  136. data/app/views/spree/admin/style_guide/topics/components/_modals.html.erb +50 -0
  137. data/app/views/spree/admin/style_guide/topics/components/_pills.html.erb +101 -0
  138. data/app/views/spree/admin/style_guide/topics/tables/_building_tables.html.erb +4 -4
  139. data/app/views/spree/admin/tax_categories/index.html.erb +5 -5
  140. data/app/views/spree/admin/tax_rates/index.html.erb +9 -9
  141. data/app/views/spree/admin/taxonomies/_list.html.erb +4 -4
  142. data/app/views/spree/admin/taxons/search.json.jbuilder +5 -0
  143. data/app/views/spree/admin/users/index.html.erb +64 -23
  144. data/app/views/spree/admin/users/items.html.erb +9 -13
  145. data/app/views/spree/admin/users/orders.html.erb +28 -12
  146. data/app/views/spree/admin/variants/_table.html.erb +6 -5
  147. data/app/views/spree/admin/variants/index.html.erb +12 -16
  148. data/app/views/spree/admin/variants/new.html.erb +1 -3
  149. data/app/views/spree/admin/zones/edit.html.erb +0 -3
  150. data/app/views/spree/admin/zones/index.html.erb +2 -6
  151. data/app/views/spree/admin/zones/new.html.erb +0 -3
  152. data/app/views/spree/layouts/admin.html.erb +9 -30
  153. data/config/routes.rb +0 -4
  154. data/lib/spree/backend.rb +2 -1
  155. data/solidus_backend.gemspec +3 -1
  156. data/spec/controllers/spree/admin/orders_controller_spec.rb +0 -5
  157. data/spec/controllers/spree/admin/payments_controller_spec.rb +1 -1
  158. data/spec/controllers/spree/admin/search_controller_spec.rb +2 -2
  159. data/spec/features/admin/configuration/payment_methods_spec.rb +1 -1
  160. data/spec/features/admin/configuration/zones_spec.rb +1 -1
  161. data/spec/features/admin/orders/adjustments_spec.rb +1 -1
  162. data/spec/features/admin/orders/cancelling_and_resuming_spec.rb +4 -4
  163. data/spec/features/admin/orders/cancelling_inventory_spec.rb +1 -1
  164. data/spec/features/admin/orders/customer_details_spec.rb +8 -1
  165. data/spec/features/admin/orders/listing_spec.rb +1 -1
  166. data/spec/features/admin/orders/new_order_spec.rb +3 -3
  167. data/spec/features/admin/orders/order_details_spec.rb +17 -16
  168. data/spec/features/admin/orders/payments_spec.rb +4 -4
  169. data/spec/features/admin/orders/risk_analysis_spec.rb +2 -2
  170. data/spec/features/admin/orders/shipments_spec.rb +1 -1
  171. data/spec/features/admin/products/edit/images_spec.rb +1 -1
  172. data/spec/features/admin/store_credits_spec.rb +3 -3
  173. data/spec/features/admin/stores_spec.rb +35 -0
  174. data/spec/features/admin/users_spec.rb +60 -13
  175. data/spec/spec_helper.rb +9 -4
  176. data/vendor/assets/javascripts/solidus_admin/bootstrap.js +657 -361
  177. data/vendor/assets/javascripts/solidus_admin/popover.js +4 -0
  178. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_alert.scss +4 -11
  179. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_badge.scss +4 -33
  180. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_breadcrumb.scss +1 -1
  181. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_button-group.scss +11 -15
  182. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_buttons.scss +13 -42
  183. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_card.scss +27 -80
  184. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_carousel.scss +24 -17
  185. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_close.scss +0 -2
  186. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_custom-forms.scss +27 -36
  187. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_dropdown.scss +15 -48
  188. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_forms.scss +70 -68
  189. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_functions.scss +90 -0
  190. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_grid.scss +3 -2
  191. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_images.scss +1 -1
  192. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_input-group.scss +6 -8
  193. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_jumbotron.scss +0 -4
  194. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_list-group.scss +9 -36
  195. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_media.scss +0 -4
  196. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_mixins.scss +2 -18
  197. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_modal.scss +3 -3
  198. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_nav.scss +15 -16
  199. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_navbar.scss +70 -54
  200. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_pagination.scss +3 -4
  201. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_popover.scss +96 -72
  202. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_print.scss +1 -9
  203. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_progress.scss +4 -4
  204. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_reboot.scss +187 -95
  205. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_tables.scss +34 -19
  206. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_tooltip.scss +52 -35
  207. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_type.scss +8 -28
  208. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_utilities.scss +1 -0
  209. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_variables.scss +286 -410
  210. data/vendor/assets/stylesheets/solidus_admin/bootstrap/bootstrap-grid.scss +2 -8
  211. data/vendor/assets/stylesheets/solidus_admin/bootstrap/bootstrap-reboot.scss +1 -2
  212. data/vendor/assets/stylesheets/solidus_admin/bootstrap/bootstrap.scss +2 -15
  213. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_alert.scss +4 -5
  214. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_badge.scss +6 -5
  215. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_border-radius.scss +3 -3
  216. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_box-shadow.scss +5 -0
  217. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_breakpoints.scss +23 -13
  218. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_buttons.scss +11 -14
  219. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_clearfix.scss +1 -1
  220. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_forms.scss +57 -55
  221. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_gradients.scss +1 -1
  222. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_grid-framework.scss +9 -18
  223. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_grid.scss +12 -65
  224. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_hover.scss +6 -6
  225. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_list-group.scss +2 -4
  226. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_nav-divider.scss +3 -3
  227. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_pagination.scss +1 -0
  228. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_reset-text.scss +4 -3
  229. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_resize.scss +1 -1
  230. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_screen-reader.scss +5 -2
  231. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_text-truncate.scss +1 -1
  232. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_transition.scss +9 -0
  233. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_visibility.scss +2 -2
  234. data/vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_background.scss +4 -17
  235. data/vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_borders.scss +20 -5
  236. data/vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_display.scss +36 -1
  237. data/vendor/assets/stylesheets/solidus_admin/bootstrap/{_responsive-embed.scss → utilities/_embed.scss} +0 -0
  238. data/vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_flex.scss +0 -4
  239. data/vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_position.scss +5 -3
  240. data/vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_spacing.scss +10 -12
  241. data/vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_text.scss +5 -17
  242. data/vendor/assets/stylesheets/solidus_admin/bootstrap/utilities/_visibility.scss +4 -48
  243. metadata +73 -34
  244. data/app/assets/stylesheets/spree/backend/shared/_skeleton.scss +0 -242
  245. data/app/controllers/spree/admin/countries_controller.rb +0 -9
  246. data/app/controllers/spree/admin/states_controller.rb +0 -29
  247. data/app/helpers/spree/admin/reimbursements_helper.rb +0 -14
  248. data/app/views/spree/admin/countries/_form.html.erb +0 -22
  249. data/app/views/spree/admin/countries/edit.html.erb +0 -19
  250. data/app/views/spree/admin/countries/index.html.erb +0 -49
  251. data/app/views/spree/admin/countries/new.html.erb +0 -18
  252. data/app/views/spree/admin/search/products.rabl +0 -9
  253. data/app/views/spree/admin/search/users.rabl +0 -30
  254. data/app/views/spree/admin/shared/_areas_tabs.html.erb +0 -19
  255. data/app/views/spree/admin/states/_form.html.erb +0 -14
  256. data/app/views/spree/admin/states/_state_list.html.erb +0 -33
  257. data/app/views/spree/admin/states/edit.html.erb +0 -19
  258. data/app/views/spree/admin/states/index.html.erb +0 -39
  259. data/app/views/spree/admin/states/new.html.erb +0 -17
  260. data/app/views/spree/admin/style_guide/topics/typography/_tags.html.erb +0 -25
  261. data/app/views/spree/admin/taxons/search.rabl +0 -5
  262. data/app/views/spree/admin/variants/new.js.erb +0 -1
  263. data/spec/features/admin/configuration/countries_spec.rb +0 -22
  264. data/spec/features/admin/configuration/states_spec.rb +0 -64
  265. data/spec/helpers/admin/reimbursements_helper_spec.rb +0 -34
  266. data/vendor/assets/javascripts/solidus_admin/tether.js +0 -1726
  267. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_custom.scss +0 -4
  268. data/vendor/assets/stylesheets/solidus_admin/bootstrap/_normalize.scss +0 -461
  269. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_cards.scss +0 -47
  270. data/vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_transforms.scss +0 -14
@@ -2,30 +2,28 @@ table tbody tr {
2
2
  &.highlight {
3
3
 
4
4
  @each $action in $actions {
5
- &.action-#{$action} td {
6
- background-color: get-value($actions, $actions-bg-colors, $action);
7
- border-color: get-value($actions, $actions-brd-colors, $action);
5
+ &.action-#{$action} {
6
+ td, th {
7
+ background-color: get-value($actions, $actions-bg-colors, $action);
8
+ border-color: get-value($actions, $actions-brd-colors, $action);
9
+ }
8
10
  }
9
11
  }
10
12
 
11
- &.action-remove td, &.action-void td, &.action-failure td {
12
- text-decoration: line-through;
13
-
14
- &.actions {
15
- text-decoration: none;
13
+ &.action-remove, &.action-void, &.action-failure {
14
+ td, th {
15
+ text-decoration: line-through;
16
16
  }
17
- }
18
- }
19
17
 
20
- &.before-highlight {
21
- @each $action in $actions {
22
- &.action-#{$action} td {
23
- border-bottom-color: get-value($actions, $actions-brd-colors, $action);
18
+ td.actions {
19
+ text-decoration: none;
24
20
  }
25
21
  }
26
22
  }
27
23
 
28
24
  td.actions {
29
- background-color: transparent !important;
25
+ button {
26
+ cursor: pointer;
27
+ }
30
28
  }
31
29
  }
@@ -1,6 +1,6 @@
1
1
  .date-range-filter {
2
2
  .range-divider {
3
- color: $gray;
3
+ color: $gray-800;
4
4
  }
5
5
  }
6
6
 
@@ -1,6 +1,5 @@
1
1
  .inline-editable-table tr:not(:hover):not(.editing) {
2
2
  input {
3
- border: 1px solid transparent;
4
3
  color: inherit;
5
4
  background-color: transparent;
6
5
  }
@@ -1,14 +1,14 @@
1
1
  .errorExplanation {
2
2
  padding: 5px;
3
- border: 1px solid very-light($brand-danger, 12);
4
- background-color: very-light($brand-danger, 6);
3
+ border: 1px solid very-light(theme-color("danger"), 12);
4
+ background-color: very-light(theme-color("danger"), 6);
5
5
  border-radius: 3px;
6
- color: very-light($brand-danger, 30);
6
+ color: very-light(theme-color("danger"), 30);
7
7
  margin-bottom: 15px;
8
8
 
9
9
  h2 {
10
10
  font-size: 140%;
11
- color: very-light($brand-danger, 30);
11
+ color: very-light(theme-color("danger"), 30);
12
12
  margin-bottom: 5px;
13
13
  }
14
14
 
@@ -37,9 +37,9 @@
37
37
  color: $color-1;
38
38
  font-weight: $font-weight-bold;
39
39
 
40
- &.notice { background-color: rgba($brand-warning, 0.8) }
41
- &.success { background-color: rgba($brand-success, 0.8) }
42
- &.error { background-color: rgba($brand-danger, 0.8) }
40
+ &.notice { background-color: rgba(theme-color("warning"), 0.8) }
41
+ &.success { background-color: rgba(theme-color("success"), 0.8) }
42
+ &.error { background-color: rgba(theme-color("danger"), 0.8) }
43
43
  }
44
44
 
45
45
  .alert {
@@ -50,5 +50,5 @@
50
50
  text-decoration: underline;
51
51
  }
52
52
 
53
- &.error a { color: very-light($brand-danger, 10) }
53
+ &.error a { color: very-light(theme-color("danger"), 10) }
54
54
  }
@@ -28,7 +28,7 @@ nav.menu {
28
28
  .admin-nav {
29
29
  border-right: $border-sidebar;
30
30
  background: $color-sidebar-bg;
31
- z-index: $z-index-navbar-flyout;
31
+ z-index: $zindex-sticky;
32
32
  }
33
33
 
34
34
  .admin-nav-header {
@@ -1,6 +1,6 @@
1
1
  .number-field-update-table {
2
2
  td.actions {
3
- a.fa-void,
3
+ a.fa-cancel,
4
4
  a.fa-check {
5
5
  display: none;
6
6
  }
@@ -17,7 +17,7 @@
17
17
  border-right: 0;
18
18
 
19
19
  &:focus + .number-with-currency-select {
20
- border-left-color: $input-border-focus;
20
+ border-left-color: $input-focus-border-color;
21
21
  }
22
22
  }
23
23
 
@@ -0,0 +1,92 @@
1
+ .pill {
2
+ display: inline-block;
3
+ padding: 0.2em 0.9em;
4
+ border-radius: 10px;
5
+ font-size: $font-size-pill;
6
+ background: $color-pill-neutral;
7
+ color: $color-pill-neutral-text;
8
+ white-space: nowrap;
9
+
10
+ $pill-states: (
11
+ complete: (
12
+ background: $color-pill-complete,
13
+ color: $color-pill-complete-text
14
+ ),
15
+ active: (
16
+ background: $color-pill-active,
17
+ color: $color-pill-active-text
18
+ ),
19
+ inactive: (
20
+ background: $color-pill-inactive,
21
+ color: $color-pill-inactive-text
22
+ ),
23
+ pending: (
24
+ background: $color-pill-pending,
25
+ color: $color-pill-pending-text
26
+ ),
27
+ warning: (
28
+ background: $color-pill-warning,
29
+ color: $color-pill-warning-text
30
+ ),
31
+ error: (
32
+ background: $color-pill-error,
33
+ color: $color-pill-error-text
34
+ )
35
+ );
36
+
37
+ @each $name, $colors in $pill-states {
38
+ &-#{$name} {
39
+ background: map-get($colors, background);
40
+ color: map-get($colors, color);
41
+ }
42
+ }
43
+ }
44
+
45
+ // Extend pill states for custom order, payment, and shipment state names
46
+ .pill-address,
47
+ .pill-awaiting,
48
+ .pill-awaiting_return,
49
+ .pill-backorder,
50
+ .pill-backordered,
51
+ .pill-balance_due,
52
+ .pill-cart,
53
+ .pill-checkout,
54
+ .pill-confirm,
55
+ .pill-credit_owed,
56
+ .pill-delivery,
57
+ .pill-in_transit,
58
+ .pill-on_hand,
59
+ .pill-partial,
60
+ .pill-payment,
61
+ .pill-processing,
62
+ .pill-ready,
63
+ .pill-resumed {
64
+ @extend .pill-pending;
65
+ }
66
+
67
+ .pill-authorized,
68
+ .pill-canceled,
69
+ .pill-completed,
70
+ .pill-expired,
71
+ .pill-given_to_customer,
72
+ .pill-lost_in_transit,
73
+ .pill-paid,
74
+ .pill-received,
75
+ .pill-reimbursed,
76
+ .pill-returned,
77
+ .pill-shipped,
78
+ .pill-shipped_wrong_item,
79
+ .pill-short_shipped,
80
+ .pill-unexchanged,
81
+ .pill-void {
82
+ @extend .pill-complete;
83
+ }
84
+
85
+ .pill-failed {
86
+ @extend .pill-warning;
87
+ }
88
+
89
+ .pill-errored,
90
+ .pill-invalid {
91
+ @extend .pill-error;
92
+ }
@@ -1,43 +1,18 @@
1
- body:not(.new-layout) #sidebar {
2
- overflow: visible;
3
- margin-top: 1.5rem;
1
+ .content-sidebar {
2
+ padding-top: 0.65rem;
4
3
 
5
- .sidebar-title {
6
- color: $color-2;
7
- text-align: center;
8
- font-size: 16px;
9
- font-weight: $font-weight-bold;
10
- border-top: 1px solid $color-border;
11
-
12
- > span {
13
- display: inline;
14
- background: #fff;
15
- padding: 5px 10px;
16
- position: relative;
17
- top: -14px;
18
-
19
- -webkit-font-smoothing: antialiased;
20
- -moz-osx-font-smoothing: grayscale;
21
- }
22
- }
23
-
24
- dl {
25
- dt, dd {
26
- min-height: 3em;
27
- }
4
+ .has-tabs & {
5
+ padding-top: 3.25rem;
28
6
  }
29
7
 
30
- @media print { display: none }
31
- }
32
-
33
- body.new-layout .content-sidebar {
34
8
  ul {
35
9
  padding-left: 0;
36
10
  }
37
11
  }
38
12
 
39
- body.new-layout .sidebar-title {
40
- @include line-through();
13
+ .sidebar-title {
14
+ @include line-through($color: $color-border);
41
15
  color: $color-2;
42
16
  font-size: 14px;
17
+ font-weight: $font-weight-normal;
43
18
  }
@@ -1,33 +1,11 @@
1
+ // The state component has been deprecated in favour of Pills. This will be
2
+ // removed in a future version of Solidus.
1
3
  .state {
2
- font-size: 90%;
3
- font-weight: $font-weight-bold;
4
-
5
- &:before {
6
- content: '';
7
- position: relative;
8
- display: inline-block;
9
- margin-right: 3px;
10
- border-radius: $font-size-root/2;
11
- width: $font-size-root - 4px;
12
- height: $font-size-root - 4px;
13
- }
4
+ @extend .pill;
14
5
 
15
6
  @each $state in $states {
16
- &.#{$state}:before {
17
- background-color: get-value($states, $states-bg-colors, $state);
18
-
19
- // &, a {
20
- // color: get-value($states, $states-text-colors, $state);
21
- // }
7
+ &.#{$state} {
8
+ @extend .pill-#{$state};
22
9
  }
23
10
  }
24
11
  }
25
-
26
- table tbody tr {
27
- &[class*="state"] td:first-child {
28
- border-left-width: 3px;
29
- }
30
- &.state-complete td:first-child { border-left-color: $brand-success }
31
- &.state-cart td:first-child { border-left-color: very-light($brand-warning, 6) }
32
- &.state-canceled td:first-child { border-left-color: $brand-danger }
33
- }
@@ -12,15 +12,6 @@
12
12
  }
13
13
 
14
14
  > tbody {
15
- > tr {
16
- &:hover {
17
- .stock-variant-field-table {
18
- td {
19
- background-color: $color-1;
20
- }
21
- }
22
- }
23
- }
24
15
  .variant-image {
25
16
  width: 31%;
26
17
  padding: 0 2%;
@@ -34,8 +25,5 @@
34
25
  .variant-details {
35
26
  float: left;
36
27
  }
37
- .variant-container {
38
- padding-top: 10px;
39
- }
40
28
  }
41
29
  }
@@ -4,8 +4,7 @@
4
4
 
5
5
  // Fonts
6
6
  //--------------------------------------------------------------
7
- @include solidus-deprecated-variable("base-font-family", "font-family-base");
8
- $base-font-family: "Open Sans", "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif !default;
7
+ $font-size-pill: 11px;
9
8
 
10
9
  // Colors
11
10
  //--------------------------------------------------------------
@@ -23,22 +22,10 @@ $color-7: #F4F4F4 !default; // Light Gray
23
22
  $box-shadow: 0px 3px 3px -2px hsla(0, 0%, 0%, 0.2) !default;
24
23
 
25
24
  // Body base colors
26
- @include solidus-deprecated-variable("color-body-bg", "body-bg");
27
- $color-body-bg: $color-1 !default;
28
- @include solidus-deprecated-variable("color-body-text", "body-color");
29
- $color-body-text: $color-4 !default;
30
- @include solidus-deprecated-variable("color-headers", "headings-color");
31
- $color-headers: $color-4 !default;
32
- @include solidus-deprecated-variable("color-link", "link-color");
33
- $color-link: $color-3 !default;
34
- @include solidus-deprecated-variable("color-link-hover", "link-hover-color");
35
- $color-link-hover: $color-2 !default;
36
- @include solidus-deprecated-variable("color-link-focus", "link-hover-color");
37
- $color-link-focus: $color-2 !default;
38
25
  $color-border: very-light($color-3, 12) !default;
39
26
 
40
27
  // Basic navigation colors
41
- $color-sidebar-bg: $color-body-bg !default;
28
+ $color-sidebar-bg: $color-1 !default;
42
29
  $color-sidebar-border: $color-border !default;
43
30
  $color-navbar: $color-1 !default;
44
31
  $color-navbar-bg: $color-3 !default;
@@ -47,7 +34,6 @@ $color-navbar-active-bg: $color-2 !default;
47
34
  $color-navbar-submenu: $color-3 !default;
48
35
  $color-navbar-submenu-bg: very-light($color-navbar-bg, 4) !default;
49
36
  $color-navbar-submenu-active: $color-2 !default;
50
- $color-navbar-submenu-active-bg: $color-navbar-submenu-bg !default;
51
37
  $color-navbar-footer: $color-3 !default;
52
38
  $color-navbar-footer-bg: $color-sidebar-bg !default;
53
39
  $color-navbar-footer-active: $color-2 !default;
@@ -63,16 +49,41 @@ $color-error: $color-5 !default;
63
49
  // Color for spinner
64
50
  $color-spinner: #fff;
65
51
 
52
+ // Style Guide
53
+ $color-style-guide-code: darken($color-7, 10%);
54
+ $color-style-guide-link: darken($color-7, 65%);
55
+ $color-style-guide-nav: $color-7;
56
+ $color-style-guide-nav-border: darken($color-7, 5%);
57
+ $color-style-guide-nav-link: darken($color-7, 65%);
58
+ $color-style-guide-nav-link-hover: darken($color-7, 5%);
59
+ $color-style-guide-section-border: darken($color-7, 10%);
60
+ $color-style-guide-swatch-border: darken($color-7, 10%);
61
+
66
62
  // Table colors
67
63
  $color-tbl-odd: $color-1 !default;
68
64
  $color-tbl-even: very-light($color-3, 4) !default;
69
65
  $color-tbl-thead: very-light($color-3, 4) !default;
70
66
 
71
- // Button colors
72
- $color-btn-bg: $color-3 !default;
73
- $color-btn-text: $color-1 !default;
74
- $color-btn-hover-bg: $color-2 !default;
75
- $color-btn-hover-text: $color-1 !default;
67
+ // Pill colors
68
+ //
69
+ // For now these are custom assigned colors just for this section. As we go
70
+ // about updating other areas of the admin we will likely want to pull these
71
+ // colors out into better named variables.
72
+ $color-pill-text: #1f2933;
73
+ $color-pill-neutral: #e6e6e6;
74
+ $color-pill-neutral-text: $color-pill-text;
75
+ $color-pill-complete: #c8d8e8;
76
+ $color-pill-complete-text: $color-pill-text;
77
+ $color-pill-active: #bbe5b3;
78
+ $color-pill-active-text: $color-pill-text;
79
+ $color-pill-inactive: $color-pill-neutral;
80
+ $color-pill-inactive-text: lighten($color-pill-text, 30%);
81
+ $color-pill-pending: #ffe87d;
82
+ $color-pill-pending-text: $color-pill-text;
83
+ $color-pill-warning: #f9b36d;
84
+ $color-pill-warning-text: $color-pill-text;
85
+ $color-pill-error: #ff967b;
86
+ $color-pill-error-text: $color-pill-text;
76
87
 
77
88
  // Actions colors
78
89
  $color-action-edit-bg: very-light($color-success, 5 ) !default;
@@ -94,134 +105,42 @@ $color-action-mail-brd: very-light($color-success, 20 ) !default;
94
105
  $color-action-failure-bg: very-light($color-error, 10 ) !default;
95
106
  $color-action-failure-brd: very-light($color-error, 20 ) !default;
96
107
 
97
- // Select2 select field colors
98
- $color-sel-bg: $color-3 !default;
99
- $color-sel-text: $color-1 !default;
100
- $color-sel-hover-bg: $color-2 !default;
101
- $color-sel-hover-text: $color-1 !default;
102
- $color-sel-disabled-bg: $color-7 !default;
103
- $color-sel-disabled-text: $color-4 !default;
104
-
105
- // Text inputs colors
106
- @include solidus-deprecated-variable("color-txt-brd", "input-border-color");
107
- $color-txt-brd: $color-border !default;
108
- @include solidus-deprecated-variable("color-txt-text", "input-color");
109
- $color-txt-text: $color-3 !default;
110
- @include solidus-deprecated-variable("color-txt-hover-brd", "input-border-focus");
111
- $color-txt-hover-brd: $color-2 !default;
112
-
113
- // States label colors
114
- $color-ste-complete-bg: $color-success !default;
115
- $color-ste-complete-text: $color-1 !default;
116
- $color-ste-completed-bg: $color-success !default;
117
- $color-ste-completed-text: $color-1 !default;
118
- $color-ste-sold-bg: $color-success !default;
119
- $color-ste-sold-text: $color-1 !default;
120
- $color-ste-pending-bg: $color-notice !default;
121
- $color-ste-pending-text: $color-1 !default;
122
- $color-ste-awaiting_return-bg: $color-notice !default;
123
- $color-ste-awaiting_return-text: $color-1 !default;
124
- $color-ste-returned-bg: $color-notice !default;
125
- $color-ste-returned-text: $color-1 !default;
126
- $color-ste-credit_owed-bg: $color-notice !default;
127
- $color-ste-credit_owed-text: $color-1 !default;
128
- $color-ste-paid-bg: $color-success !default;
129
- $color-ste-paid-text: $color-1 !default;
130
- $color-ste-shipped-bg: $color-success !default;
131
- $color-ste-shipped-text: $color-1 !default;
132
- $color-ste-balance_due-bg: $color-notice !default;
133
- $color-ste-balance_due-text: $color-1 !default;
134
- $color-ste-backorder-bg: $color-notice !default;
135
- $color-ste-backorder-text: $color-1 !default;
136
- $color-ste-none-bg: $color-error !default;
137
- $color-ste-none-text: $color-1 !default;
138
- $color-ste-ready-bg: $color-success !default;
139
- $color-ste-ready-text: $color-1 !default;
140
- $color-ste-void-bg: $color-error !default;
141
- $color-ste-void-text: $color-1 !default;
142
- $color-ste-canceled-bg: $color-error !default;
143
- $color-ste-canceled-text: $color-1 !default;
144
- $color-ste-failed-bg: $color-error !default;
145
- $color-ste-failed-text: $color-1 !default;
146
- $color-ste-address-bg: $color-error !default;
147
- $color-ste-address-text: $color-1 !default;
148
- $color-ste-checkout-bg: $color-notice !default;
149
- $color-ste-checkout-text: $color-1 !default;
150
- $color-ste-cart-bg: $color-notice !default;
151
- $color-ste-cart-text: $color-1 !default;
152
- $color-ste-payment-bg: $color-error !default;
153
- $color-ste-payment-text: $color-1 !default;
154
- $color-ste-delivery-bg: $color-success !default;
155
- $color-ste-delivery-text: $color-1 !default;
156
- $color-ste-confirm-bg: $color-error !default;
157
- $color-ste-confirm-text: $color-1 !default;
158
- $color-ste-active-bg: $color-success !default;
159
- $color-ste-active-text: $color-1 !default;
160
- $color-ste-inactive-bg: $color-notice !default;
161
- $color-ste-inactive-text: $color-1 !default;
162
- $color-ste-considered_risky-bg: $color-error !default;
163
- $color-ste-considered_risky-text:$color-1 !default;
164
- $color-ste-considered_safe-bg: $color-success !default;
165
- $color-ste-considered_safe-text: $color-1 !default;
166
- $color-ste-success-bg: $color-success !default;
167
- $color-ste-success-text: $color-1 !default;
168
- $color-ste-notice-bg: $color-notice !default;
169
- $color-ste-notice-text: $color-1 !default;
170
- $color-ste-error-bg: $color-error !default;
171
- $color-ste-error-text: $color-1 !default;
172
-
173
108
  // Available states
174
- $states: completed, complete, sold, pending, awaiting_return, returned, credit_owed, paid, shipped, balance_due, backorder, checkout, cart, address,
175
- delivery, payment, confirm, canceled, failed, ready, void, active, inactive, considered_risky, considered_safe, success, notice, error !default;
176
-
177
- $states-bg-colors: $color-ste-completed-bg, $color-ste-complete-bg, $color-ste-sold-bg, $color-ste-pending-bg, $color-ste-awaiting_return-bg,
178
- $color-ste-returned-bg, $color-ste-credit_owed-bg, $color-ste-paid-bg, $color-ste-shipped-bg, $color-ste-balance_due-bg, $color-ste-backorder-bg,
179
- $color-ste-checkout-bg, $color-ste-cart-bg, $color-ste-address-bg, $color-ste-delivery-bg, $color-ste-payment-bg, $color-ste-confirm-bg,
180
- $color-ste-canceled-bg, $color-ste-failed-bg, $color-ste-ready-bg, $color-ste-void-bg, $color-ste-active-bg, $color-ste-inactive-bg, $color-ste-considered_risky-bg,
181
- $color-ste-considered_safe-bg, $color-ste-success-bg, $color-ste-notice-bg, $color-ste-error-bg !default;
182
-
183
- $states-text-colors: $color-ste-completed-text, $color-ste-complete-text, $color-ste-sold-text, $color-ste-pending-text, $color-ste-awaiting_return-text,
184
- $color-ste-returned-text, $color-ste-credit_owed-text, $color-ste-paid-text, $color-ste-shipped-text, $color-ste-balance_due-text, $color-ste-backorder-text,
185
- $color-ste-checkout-text, $color-ste-cart-text, $color-ste-address-text, $color-ste-delivery-text, $color-ste-payment-text, $color-ste-confirm-text,
186
- $color-ste-canceled-text, $color-ste-failed-text, $color-ste-ready-text, $color-ste-void-text, $color-ste-active-text, $color-ste-inactive-text, $color-ste-considered_risky-text,
187
- $color-ste-considered_safe-text, $color-ste-success-text, $color-ste-notice-text, $color-ste-error-text !default;
109
+ $states: (
110
+ active,
111
+ address,
112
+ awaiting_return,
113
+ backorder,
114
+ balance_due,
115
+ canceled,
116
+ cart,
117
+ checkout,
118
+ complete,
119
+ completed,
120
+ confirm,
121
+ credit_owed,
122
+ delivery,
123
+ error,
124
+ failed,
125
+ inactive,
126
+ paid,
127
+ payment,
128
+ pending,
129
+ ready,
130
+ returned,
131
+ shipped,
132
+ void
133
+ ) !default;
188
134
 
189
135
  // Available actions
190
136
  $actions: edit, clone, remove, void, capture, save, cancel, mail, failure !default;
191
137
  $actions-bg-colors: $color-action-edit-bg, $color-action-clone-bg, $color-action-remove-bg, $color-action-void-bg, $color-action-capture-bg, $color-action-save-bg, $color-action-cancel-bg, $color-action-mail-bg, $color-action-failure-bg !default;
192
138
  $actions-brd-colors: $color-action-edit-brd, $color-action-clone-brd, $color-action-remove-brd, $color-action-void-brd, $color-action-capture-brd, $color-action-save-brd, $color-action-cancel-brd, $color-action-mail-brd, $color-action-failure-brd !default;
193
139
 
194
- // Sizes
140
+ // Sidebar
195
141
  //--------------------------------------------------------------
196
-
197
- @include solidus-deprecated-variable("body-font-size", "font-size-root");
198
- $body-font-size: 13px !default;
199
-
200
- @include solidus-deprecated-variable("h6-size", "font-size-h6");
201
- $h6-size: $body-font-size + 2 !default;
202
- @include solidus-deprecated-variable("h5-size", "font-size-h5");
203
- $h5-size: $h6-size + 2 !default;
204
- @include solidus-deprecated-variable("h4-size", "font-size-h4");
205
- $h4-size: $h5-size + 2 !default;
206
- @include solidus-deprecated-variable("h3-size", "font-size-h3");
207
- $h3-size: $h4-size + 2 !default;
208
- @include solidus-deprecated-variable("h2-size", "font-size-h2");
209
- $h2-size: $h3-size + 2 !default;
210
- @include solidus-deprecated-variable("h1-size", "font-size-h1");
211
- $h1-size: $h2-size + 2 !default;
212
-
213
- $font-weight-bold: 600 !default;
214
- $font-weight-normal: 400 !default;
215
-
216
142
  $width-sidebar: 200px !default;
217
143
  $width-sidebar-flyout: 225px !default;
218
-
219
- // Stacking
220
- //--------------------------------------------------------------
221
- $z-index-navbar-flyout: 1000 !default;
222
-
223
- // Sidebar
224
- //--------------------------------------------------------------
225
144
  $border-sidebar: 1px solid $color-sidebar-border !default;
226
145
 
227
146
  // Main
@@ -3,30 +3,26 @@
3
3
  background-color: $color;
4
4
  }
5
5
 
6
- &.tooltip-top,
7
- &.bs-tether-element-attached-bottom {
8
- .tooltip-inner::before {
6
+ &.bs-tooltip-top {
7
+ .arrow::before {
9
8
  border-top-color: $color;
10
9
  }
11
10
  }
12
11
 
13
- &.tooltip-right,
14
- &.bs-tether-element-attached-left {
15
- .tooltip-inner::before {
12
+ &.bs-tooltip-right {
13
+ .arrow::before {
16
14
  border-right-color: $color;
17
15
  }
18
16
  }
19
17
 
20
- &.tooltip-bottom,
21
- &.bs-tether-element-attached-top {
22
- .tooltip-inner::before {
18
+ &.bs-tooltip-bottom {
19
+ .arrow::before {
23
20
  border-bottom-color: $color;
24
21
  }
25
22
  }
26
23
 
27
- &.tooltip-left,
28
- &.bs-tether-element-attached-right {
29
- .tooltip-inner::before {
24
+ &.bs-tooltip-left {
25
+ .arrow::before {
30
26
  border-left-color: $color;
31
27
  }
32
28
  }
@@ -36,12 +32,12 @@
36
32
  pointer-events: none;
37
33
 
38
34
  &.action-edit, &.action-save, &.action-capture, &.action-add {
39
- @include bootstrap-tooltip-color($brand-success);
35
+ @include bootstrap-tooltip-color(theme-color("success"));
40
36
  }
41
37
  &.action-clone, &.action-cancel {
42
- @include bootstrap-tooltip-color($brand-warning);
38
+ @include bootstrap-tooltip-color(theme-color("warning"));
43
39
  }
44
40
  &.action-void, &.action-failure, &.action-remove {
45
- @include bootstrap-tooltip-color($brand-danger);
41
+ @include bootstrap-tooltip-color(theme-color("danger"));
46
42
  }
47
43
  }