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
@@ -22,22 +22,16 @@ html {
22
22
  box-sizing: inherit;
23
23
  }
24
24
 
25
-
26
- //
27
- // Variables
28
- //
29
-
25
+ @import "functions";
30
26
  @import "variables";
31
27
 
32
28
  //
33
29
  // Grid mixins
34
30
  //
35
31
 
36
- @import "mixins/clearfix";
37
32
  @import "mixins/breakpoints";
38
33
  @import "mixins/grid-framework";
39
34
  @import "mixins/grid";
40
35
 
41
- @import "custom";
42
-
43
36
  @import "grid";
37
+ @import "utilities/flex";
@@ -2,9 +2,8 @@
2
2
  //
3
3
  // Includes only Normalize and our custom Reboot reset.
4
4
 
5
+ @import "functions";
5
6
  @import "variables";
6
7
  @import "mixins";
7
- @import "custom";
8
8
 
9
- @import "normalize";
10
9
  @import "reboot";
@@ -1,20 +1,14 @@
1
1
  /*!
2
- * Bootstrap v4.0.0-alpha.6 (https://getbootstrap.com)
2
+ * Bootstrap v4.0.0-beta (https://getbootstrap.com)
3
3
  * Copyright 2011-2017 The Bootstrap Authors
4
4
  * Copyright 2011-2017 Twitter, Inc.
5
5
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
6
6
  */
7
7
 
8
- // Core variables and mixins
8
+ @import "functions";
9
9
  @import "variables";
10
10
  @import "mixins";
11
- @import "custom";
12
-
13
- // Reset and dependencies
14
- @import "normalize";
15
11
  @import "print";
16
-
17
- // Core CSS
18
12
  @import "reboot";
19
13
  @import "type";
20
14
  @import "images";
@@ -23,8 +17,6 @@
23
17
  @import "tables";
24
18
  @import "forms";
25
19
  @import "buttons";
26
-
27
- // Components
28
20
  @import "transitions";
29
21
  @import "dropdown";
30
22
  @import "button-group";
@@ -41,14 +33,9 @@
41
33
  @import "progress";
42
34
  @import "media";
43
35
  @import "list-group";
44
- @import "responsive-embed";
45
36
  @import "close";
46
-
47
- // Components w/ JavaScript
48
37
  @import "modal";
49
38
  @import "tooltip";
50
39
  @import "popover";
51
40
  @import "carousel";
52
-
53
- // Utility classes
54
41
  @import "utilities";
@@ -1,14 +1,13 @@
1
- // Alerts
2
-
3
- @mixin alert-variant($background, $border, $body-color) {
1
+ @mixin alert-variant($background, $border, $color) {
2
+ color: $color;
4
3
  background-color: $background;
5
4
  border-color: $border;
6
- color: $body-color;
7
5
 
8
6
  hr {
9
7
  border-top-color: darken($border, 5%);
10
8
  }
9
+
11
10
  .alert-link {
12
- color: darken($body-color, 10%);
11
+ color: darken($color, 10%);
13
12
  }
14
13
  }
@@ -1,11 +1,12 @@
1
- // Badges
2
-
3
- @mixin badge-variant($color) {
4
- background-color: $color;
1
+ @mixin badge-variant($bg) {
2
+ @include color-yiq($bg);
3
+ background-color: $bg;
5
4
 
6
5
  &[href] {
7
6
  @include hover-focus {
8
- background-color: darken($color, 10%);
7
+ @include color-yiq($bg);
8
+ text-decoration: none;
9
+ background-color: darken($bg, 10%);
9
10
  }
10
11
  }
11
12
  }
@@ -8,15 +8,15 @@
8
8
 
9
9
  @mixin border-top-radius($radius) {
10
10
  @if $enable-rounded {
11
- border-top-right-radius: $radius;
12
11
  border-top-left-radius: $radius;
12
+ border-top-right-radius: $radius;
13
13
  }
14
14
  }
15
15
 
16
16
  @mixin border-right-radius($radius) {
17
17
  @if $enable-rounded {
18
- border-bottom-right-radius: $radius;
19
18
  border-top-right-radius: $radius;
19
+ border-bottom-right-radius: $radius;
20
20
  }
21
21
  }
22
22
 
@@ -29,7 +29,7 @@
29
29
 
30
30
  @mixin border-left-radius($radius) {
31
31
  @if $enable-rounded {
32
- border-bottom-left-radius: $radius;
33
32
  border-top-left-radius: $radius;
33
+ border-bottom-left-radius: $radius;
34
34
  }
35
35
  }
@@ -0,0 +1,5 @@
1
+ @mixin box-shadow($shadow...) {
2
+ @if $enable-shadows {
3
+ box-shadow: $shadow;
4
+ }
5
+ }
@@ -2,7 +2,7 @@
2
2
  //
3
3
  // Breakpoints are defined as a map of (name: minimum width), order from small to large:
4
4
  //
5
- // (xs: 0, sm: 576px, md: 768px)
5
+ // (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px)
6
6
  //
7
7
  // The map defined in the `$grid-breakpoints` global variable is used as the `$breakpoints` argument by default.
8
8
 
@@ -10,9 +10,9 @@
10
10
  //
11
11
  // >> breakpoint-next(sm)
12
12
  // md
13
- // >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px))
13
+ // >> breakpoint-next(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
14
14
  // md
15
- // >> breakpoint-next(sm, $breakpoint-names: (xs sm md))
15
+ // >> breakpoint-next(sm, $breakpoint-names: (xs sm md lg xl))
16
16
  // md
17
17
  @function breakpoint-next($name, $breakpoints: $grid-breakpoints, $breakpoint-names: map-keys($breakpoints)) {
18
18
  $n: index($breakpoint-names, $name);
@@ -21,7 +21,7 @@
21
21
 
22
22
  // Minimum breakpoint width. Null for the smallest (first) breakpoint.
23
23
  //
24
- // >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px))
24
+ // >> breakpoint-min(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
25
25
  // 576px
26
26
  @function breakpoint-min($name, $breakpoints: $grid-breakpoints) {
27
27
  $min: map-get($breakpoints, $name);
@@ -31,7 +31,7 @@
31
31
  // Maximum breakpoint width. Null for the largest (last) breakpoint.
32
32
  // The maximum value is calculated as the minimum of the next one less 0.1.
33
33
  //
34
- // >> breakpoint-max(sm, (xs: 0, sm: 576px, md: 768px))
34
+ // >> breakpoint-max(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
35
35
  // 767px
36
36
  @function breakpoint-max($name, $breakpoints: $grid-breakpoints) {
37
37
  $next: breakpoint-next($name, $breakpoints);
@@ -41,9 +41,9 @@
41
41
  // Returns a blank string if smallest breakpoint, otherwise returns the name with a dash infront.
42
42
  // Useful for making responsive utilities.
43
43
  //
44
- // >> breakpoint-infix(xs, (xs: 0, sm: 576px, md: 768px))
44
+ // >> breakpoint-infix(xs, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
45
45
  // "" (Returns a blank string)
46
- // >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px))
46
+ // >> breakpoint-infix(sm, (xs: 0, sm: 576px, md: 768px, lg: 992px, xl: 1200px))
47
47
  // "-sm"
48
48
  @function breakpoint-infix($name, $breakpoints: $grid-breakpoints) {
49
49
  @return if(breakpoint-min($name, $breakpoints) == null, "", "-#{$name}");
@@ -78,10 +78,11 @@
78
78
  // Media that spans multiple breakpoint widths.
79
79
  // Makes the @content apply between the min and max breakpoints
80
80
  @mixin media-breakpoint-between($lower, $upper, $breakpoints: $grid-breakpoints) {
81
- @include media-breakpoint-up($lower, $breakpoints) {
82
- @include media-breakpoint-down($upper, $breakpoints) {
83
- @content;
84
- }
81
+ $min: breakpoint-min($lower, $breakpoints);
82
+ $max: breakpoint-max($upper, $breakpoints);
83
+
84
+ @media (min-width: $min) and (max-width: $max) {
85
+ @content;
85
86
  }
86
87
  }
87
88
 
@@ -89,7 +90,16 @@
89
90
  // No minimum for the smallest breakpoint, and no maximum for the largest one.
90
91
  // Makes the @content apply only to the given breakpoint, not viewports any wider or narrower.
91
92
  @mixin media-breakpoint-only($name, $breakpoints: $grid-breakpoints) {
92
- @include media-breakpoint-between($name, $name, $breakpoints) {
93
- @content;
93
+ $min: breakpoint-min($name, $breakpoints);
94
+ $max: breakpoint-max($name, $breakpoints);
95
+
96
+ @if $min != null and $max != null {
97
+ @media (min-width: $min) and (max-width: $max) {
98
+ @content;
99
+ }
100
+ } @else if $max == null {
101
+ @include media-breakpoint-up($name)
102
+ } @else if $min == null {
103
+ @include media-breakpoint-down($name)
94
104
  }
95
105
  }
@@ -3,28 +3,25 @@
3
3
  // Easily pump out default styles, as well as :hover, :focus, :active,
4
4
  // and disabled options for all buttons
5
5
 
6
- @mixin button-variant($color, $background, $border) {
7
- $active-background: darken($background, 10%);
8
- $active-border: darken($border, 12%);
9
-
10
- color: $color;
6
+ @mixin button-variant($background, $border, $active-background: darken($background, 7.5%), $active-border: darken($border, 10%)) {
7
+ @include color-yiq($background);
11
8
  background-color: $background;
12
9
  border-color: $border;
13
10
  @include box-shadow($btn-box-shadow);
14
11
 
15
- // Hover and focus styles are shared
16
- @include hover {
17
- color: $color;
12
+ &:hover {
13
+ @include color-yiq($background);
18
14
  background-color: $active-background;
19
15
  border-color: $active-border;
20
16
  }
17
+
21
18
  &:focus,
22
19
  &.focus {
23
20
  // Avoid using mixin so we can pass custom focus shadow properly
24
21
  @if $enable-shadows {
25
- box-shadow: $btn-box-shadow, 0 0 0 2px rgba($border, .5);
22
+ box-shadow: $btn-box-shadow, 0 0 0 3px rgba($border, .5);
26
23
  } @else {
27
- box-shadow: 0 0 0 2px rgba($border, .5);
24
+ box-shadow: 0 0 0 3px rgba($border, .5);
28
25
  }
29
26
  }
30
27
 
@@ -38,7 +35,6 @@
38
35
  &:active,
39
36
  &.active,
40
37
  .show > &.dropdown-toggle {
41
- color: $color;
42
38
  background-color: $active-background;
43
39
  background-image: none; // Remove the gradient for the pressed/active state
44
40
  border-color: $active-border;
@@ -48,8 +44,8 @@
48
44
 
49
45
  @mixin button-outline-variant($color, $color-hover: #fff) {
50
46
  color: $color;
51
- background-image: none;
52
47
  background-color: transparent;
48
+ background-image: none;
53
49
  border-color: $color;
54
50
 
55
51
  @include hover {
@@ -60,7 +56,7 @@
60
56
 
61
57
  &:focus,
62
58
  &.focus {
63
- box-shadow: 0 0 0 2px rgba($color, .5);
59
+ box-shadow: 0 0 0 3px rgba($color, .5);
64
60
  }
65
61
 
66
62
  &.disabled,
@@ -79,8 +75,9 @@
79
75
  }
80
76
 
81
77
  // Button sizes
82
- @mixin button-size($padding-y, $padding-x, $font-size, $border-radius) {
78
+ @mixin button-size($padding-y, $padding-x, $font-size, $line-height, $border-radius) {
83
79
  padding: $padding-y $padding-x;
84
80
  font-size: $font-size;
81
+ line-height: $line-height;
85
82
  @include border-radius($border-radius);
86
83
  }
@@ -1,7 +1,7 @@
1
1
  @mixin clearfix() {
2
2
  &::after {
3
3
  display: block;
4
- content: "";
5
4
  clear: both;
5
+ content: "";
6
6
  }
7
7
  }
@@ -1,39 +1,7 @@
1
- // Form validation states
2
- //
3
- // Used in _forms.scss to generate the form validation CSS for warnings, errors,
4
- // and successes.
5
-
6
- @mixin form-control-validation($color) {
7
- // Color the label and help text
8
- .form-control-feedback,
9
- .form-control-label,
10
- .col-form-label,
11
- .form-check-label,
12
- .custom-control {
13
- color: $color;
14
- }
15
-
16
- // Set the border and box shadow on specific inputs to match
17
- .form-control {
18
- border-color: $color;
19
-
20
- &:focus {
21
- @include box-shadow($input-box-shadow, 0 0 6px lighten($color, 20%));
22
- }
23
- }
24
-
25
- // Set validation states also for addons
26
- .input-group-addon {
27
- color: $color;
28
- border-color: $color;
29
- background-color: lighten($color, 40%);
30
- }
31
- }
32
-
33
1
  // Form control focus state
34
2
  //
35
3
  // Generate a customized focus state and for any input with the specified color,
36
- // which defaults to the `@input-border-focus` variable.
4
+ // which defaults to the `@input-border-color-focus` variable.
37
5
  //
38
6
  // We highly encourage you to not customize the default value, but instead use
39
7
  // this to tweak colors on an as-needed basis. This aesthetic change is based on
@@ -44,36 +12,70 @@
44
12
  // contrast against a dark gray background.
45
13
  @mixin form-control-focus() {
46
14
  &:focus {
47
- color: $input-color-focus;
48
- background-color: $input-bg-focus;
49
- border-color: $input-border-focus;
15
+ color: $input-focus-color;
16
+ background-color: $input-focus-bg;
17
+ border-color: $input-focus-border-color;
50
18
  outline: none;
51
- @include box-shadow($input-box-shadow-focus);
19
+ @include box-shadow($input-focus-box-shadow);
52
20
  }
53
21
  }
54
22
 
55
- // Form control sizing
56
- //
57
- // Relative text size, padding, and border-radii changes for form controls. For
58
- // horizontal sizing, wrap controls in the predefined grid classes. `<select>`
59
- // element gets special love because it's special, and that's a fact!
60
23
 
61
- @mixin input-size($parent, $input-height, $padding-y, $padding-x, $font-size, $line-height, $border-radius) {
62
- #{$parent} {
63
- height: $input-height;
64
- padding: $padding-y $padding-x;
65
- font-size: $font-size;
66
- line-height: $line-height;
67
- @include border-radius($border-radius);
24
+ @mixin form-validation-state($state, $color) {
25
+
26
+ .form-control,
27
+ .custom-select {
28
+ .was-validated &:#{$state},
29
+ &.is-#{$state} {
30
+ border-color: $color;
31
+
32
+ &:focus {
33
+ box-shadow: 0 0 0 .2rem rgba($color,.25);
34
+ }
35
+
36
+ ~ .invalid-feedback,
37
+ ~ .invalid-tooltip {
38
+ display: block;
39
+ }
40
+ }
68
41
  }
69
42
 
70
- select#{$parent} {
71
- height: $input-height;
72
- line-height: $input-height;
43
+
44
+ // TODO: redo check markup lol crap
45
+ .form-check-input {
46
+ .was-validated &:#{$state},
47
+ &.is-#{$state} {
48
+ + .form-check-label {
49
+ color: $color;
50
+ }
51
+ }
73
52
  }
74
53
 
75
- textarea#{$parent},
76
- select[multiple]#{$parent} {
77
- height: auto;
54
+ // custom radios and checks
55
+ .custom-control-input {
56
+ .was-validated &:#{$state},
57
+ &.is-#{$state} {
58
+ ~ .custom-control-indicator {
59
+ background-color: rgba($color, .25);
60
+ }
61
+ ~ .custom-control-description {
62
+ color: $color;
63
+ }
64
+ }
65
+ }
66
+
67
+ // custom file
68
+ .custom-file-input {
69
+ .was-validated &:#{$state},
70
+ &.is-#{$state} {
71
+ ~ .custom-file-control {
72
+ border-color: $color;
73
+
74
+ &::before { border-color: inherit; }
75
+ }
76
+ &:focus {
77
+ box-shadow: 0 0 0 .2rem rgba($color,.25);
78
+ }
79
+ }
78
80
  }
79
81
  }
@@ -17,8 +17,8 @@
17
17
  }
18
18
 
19
19
  @mixin gradient-directional($start-color: #555, $end-color: #333, $deg: 45deg) {
20
- background-repeat: repeat-x;
21
20
  background-image: linear-gradient($deg, $start-color, $end-color);
21
+ background-repeat: repeat-x;
22
22
  }
23
23
  @mixin gradient-x-three-colors($start-color: #00b3ee, $mid-color: #7a43b6, $color-stop: 50%, $end-color: #c3325f) {
24
24
  background-image: linear-gradient(to right, $start-color, $mid-color $color-stop, $end-color);
@@ -3,14 +3,14 @@
3
3
  // Used only by Bootstrap to generate the correct number of grid classes given
4
4
  // any value of `$grid-columns`.
5
5
 
6
- @mixin make-grid-columns($columns: $grid-columns, $gutters: $grid-gutter-widths, $breakpoints: $grid-breakpoints) {
6
+ @mixin make-grid-columns($columns: $grid-columns, $gutter: $grid-gutter-width, $breakpoints: $grid-breakpoints) {
7
7
  // Common properties for all breakpoints
8
8
  %grid-column {
9
9
  position: relative;
10
10
  width: 100%;
11
11
  min-height: 1px; // Prevent columns from collapsing when empty
12
-
13
- @include make-gutters($gutters);
12
+ padding-right: ($gutter / 2);
13
+ padding-left: ($gutter / 2);
14
14
  }
15
15
 
16
16
  @each $breakpoint in map-keys($breakpoints) {
@@ -22,7 +22,8 @@
22
22
  @extend %grid-column;
23
23
  }
24
24
  }
25
- .col#{$infix} {
25
+ .col#{$infix},
26
+ .col#{$infix}-auto {
26
27
  @extend %grid-column;
27
28
  }
28
29
 
@@ -36,6 +37,7 @@
36
37
  .col#{$infix}-auto {
37
38
  flex: 0 0 auto;
38
39
  width: auto;
40
+ max-width: none; // Reset earlier grid tiers
39
41
  }
40
42
 
41
43
  @for $i from 1 through $columns {
@@ -44,20 +46,9 @@
44
46
  }
45
47
  }
46
48
 
47
- @each $modifier in (pull, push) {
48
- @for $i from 0 through $columns {
49
- .#{$modifier}#{$infix}-#{$i} {
50
- @include make-col-modifier($modifier, $i, $columns)
51
- }
52
- }
53
- }
54
-
55
- // `$columns - 1` because offsetting by the width of an entire row isn't possible
56
- @for $i from 0 through ($columns - 1) {
57
- @if not ($infix == "" and $i == 0) { // Avoid emitting useless .offset-xs-0
58
- .offset#{$infix}-#{$i} {
59
- @include make-col-modifier(offset, $i, $columns)
60
- }
49
+ @for $i from 1 through $columns {
50
+ .order#{$infix}-#{$i} {
51
+ order: $i;
61
52
  }
62
53
  }
63
54
  }
@@ -2,18 +2,12 @@
2
2
  //
3
3
  // Generate semantic grid columns with these mixins.
4
4
 
5
- @mixin make-container($gutters: $grid-gutter-widths) {
6
- position: relative;
7
- margin-left: auto;
5
+ @mixin make-container() {
8
6
  margin-right: auto;
9
-
10
- @each $breakpoint in map-keys($gutters) {
11
- @include media-breakpoint-up($breakpoint) {
12
- $gutter: map-get($gutters, $breakpoint);
13
- padding-right: ($gutter / 2);
14
- padding-left: ($gutter / 2);
15
- }
16
- }
7
+ margin-left: auto;
8
+ padding-right: ($grid-gutter-width / 2);
9
+ padding-left: ($grid-gutter-width / 2);
10
+ width: 100%;
17
11
  }
18
12
 
19
13
 
@@ -21,80 +15,33 @@
21
15
  @mixin make-container-max-widths($max-widths: $container-max-widths, $breakpoints: $grid-breakpoints) {
22
16
  @each $breakpoint, $container-max-width in $max-widths {
23
17
  @include media-breakpoint-up($breakpoint, $breakpoints) {
24
- width: $container-max-width;
25
- max-width: 100%;
18
+ max-width: $container-max-width;
26
19
  }
27
20
  }
28
21
  }
29
22
 
30
- @mixin make-gutters($gutters: $grid-gutter-widths) {
31
- @each $breakpoint in map-keys($gutters) {
32
- @include media-breakpoint-up($breakpoint) {
33
- $gutter: map-get($gutters, $breakpoint);
34
- padding-right: ($gutter / 2);
35
- padding-left: ($gutter / 2);
36
- }
37
- }
38
- }
39
-
40
- @mixin make-row($gutters: $grid-gutter-widths) {
23
+ @mixin make-row() {
41
24
  display: flex;
42
25
  flex-wrap: wrap;
43
-
44
- @each $breakpoint in map-keys($gutters) {
45
- @include media-breakpoint-up($breakpoint) {
46
- $gutter: map-get($gutters, $breakpoint);
47
- margin-right: ($gutter / -2);
48
- margin-left: ($gutter / -2);
49
- }
50
- }
26
+ margin-right: ($grid-gutter-width / -2);
27
+ margin-left: ($grid-gutter-width / -2);
51
28
  }
52
29
 
53
- @mixin make-col-ready($gutters: $grid-gutter-widths) {
30
+ @mixin make-col-ready() {
54
31
  position: relative;
55
32
  // Prevent columns from becoming too narrow when at smaller grid tiers by
56
33
  // always setting `width: 100%;`. This works because we use `flex` values
57
34
  // later on to override this initial width.
58
35
  width: 100%;
59
36
  min-height: 1px; // Prevent collapsing
60
-
61
- @each $breakpoint in map-keys($gutters) {
62
- @include media-breakpoint-up($breakpoint) {
63
- $gutter: map-get($gutters, $breakpoint);
64
- padding-right: ($gutter / 2);
65
- padding-left: ($gutter / 2);
66
- }
67
- }
37
+ padding-right: ($grid-gutter-width / 2);
38
+ padding-left: ($grid-gutter-width / 2);
68
39
  }
69
40
 
70
41
  @mixin make-col($size, $columns: $grid-columns) {
71
42
  flex: 0 0 percentage($size / $columns);
72
- // width: percentage($size / $columns);
73
43
  // Add a `max-width` to ensure content within each column does not blow out
74
44
  // the width of the column. Applies to IE10+ and Firefox. Chrome and Safari
75
45
  // do not appear to require this.
76
46
  max-width: percentage($size / $columns);
77
47
  }
78
-
79
- @mixin make-col-offset($size, $columns: $grid-columns) {
80
- margin-left: percentage($size / $columns);
81
- }
82
-
83
- @mixin make-col-push($size, $columns: $grid-columns) {
84
- left: if($size > 0, percentage($size / $columns), auto);
85
- }
86
-
87
- @mixin make-col-pull($size, $columns: $grid-columns) {
88
- right: if($size > 0, percentage($size / $columns), auto);
89
- }
90
-
91
- @mixin make-col-modifier($type, $size, $columns) {
92
- // Work around the lack of dynamic mixin @include support (https://github.com/sass/sass/issues/626)
93
- @if $type == push {
94
- @include make-col-push($size, $columns);
95
- } @else if $type == pull {
96
- @include make-col-pull($size, $columns);
97
- } @else if $type == offset {
98
- @include make-col-offset($size, $columns);
99
- }
100
- }
@@ -8,16 +8,18 @@
8
8
  // }
9
9
  // }
10
10
  // @else {
11
+ // scss-lint:disable Indentation
11
12
  &:hover { @content }
13
+ // scss-lint:enable Indentation
12
14
  // }
13
15
  }
14
16
 
17
+
15
18
  @mixin hover-focus {
16
19
  @if $enable-hover-media-query {
17
20
  &:focus { @content }
18
21
  @include hover { @content }
19
- }
20
- @else {
22
+ } @else {
21
23
  &:focus,
22
24
  &:hover {
23
25
  @content
@@ -32,8 +34,7 @@
32
34
  @content
33
35
  }
34
36
  @include hover { @content }
35
- }
36
- @else {
37
+ } @else {
37
38
  &,
38
39
  &:focus,
39
40
  &:hover {
@@ -49,8 +50,7 @@
49
50
  @content
50
51
  }
51
52
  @include hover { @content }
52
- }
53
- @else {
53
+ } @else {
54
54
  &:focus,
55
55
  &:active,
56
56
  &:hover {