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
@@ -1,4 +0,0 @@
1
- // Bootstrap overrides
2
- //
3
- // Copy variables from `_variables.scss` to this file to override default values
4
- // without modifying source files.
@@ -1,461 +0,0 @@
1
- /*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */
2
-
3
- //
4
- // 1. Change the default font family in all browsers (opinionated).
5
- // 2. Correct the line height in all browsers.
6
- // 3. Prevent adjustments of font size after orientation changes in
7
- // IE on Windows Phone and in iOS.
8
- //
9
-
10
- // Document
11
- // ==========================================================================
12
-
13
- html {
14
- font-family: sans-serif; // 1
15
- line-height: 1.15; // 2
16
- -ms-text-size-adjust: 100%; // 3
17
- -webkit-text-size-adjust: 100%; // 3
18
- }
19
-
20
- // Sections
21
- // ==========================================================================
22
-
23
- //
24
- // Remove the margin in all browsers (opinionated).
25
- //
26
-
27
- body {
28
- margin: 0;
29
- }
30
-
31
- //
32
- // Add the correct display in IE 9-.
33
- //
34
-
35
- article,
36
- aside,
37
- footer,
38
- header,
39
- nav,
40
- section {
41
- display: block;
42
- }
43
-
44
- //
45
- // Correct the font size and margin on `h1` elements within `section` and
46
- // `article` contexts in Chrome, Firefox, and Safari.
47
- //
48
-
49
- h1 {
50
- font-size: 2em;
51
- margin: 0.67em 0;
52
- }
53
-
54
- // Grouping content
55
- // ==========================================================================
56
-
57
- //
58
- // Add the correct display in IE 9-.
59
- // 1. Add the correct display in IE.
60
- //
61
-
62
- figcaption,
63
- figure,
64
- main { // 1
65
- display: block;
66
- }
67
-
68
- //
69
- // Add the correct margin in IE 8.
70
- //
71
-
72
- figure {
73
- margin: 1em 40px;
74
- }
75
-
76
- //
77
- // 1. Add the correct box sizing in Firefox.
78
- // 2. Show the overflow in Edge and IE.
79
- //
80
-
81
- hr {
82
- box-sizing: content-box; // 1
83
- height: 0; // 1
84
- overflow: visible; // 2
85
- }
86
-
87
- //
88
- // 1. Correct the inheritance and scaling of font size in all browsers.
89
- // 2. Correct the odd `em` font sizing in all browsers.
90
- //
91
-
92
- pre {
93
- font-family: monospace, monospace; // 1
94
- font-size: 1em; // 2
95
- }
96
-
97
- // Text-level semantics
98
- // ==========================================================================
99
-
100
- //
101
- // 1. Remove the gray background on active links in IE 10.
102
- // 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
103
- //
104
-
105
- a {
106
- background-color: transparent; // 1
107
- -webkit-text-decoration-skip: objects; // 2
108
- }
109
-
110
- //
111
- // Remove the outline on focused links when they are also active or hovered
112
- // in all browsers (opinionated).
113
- //
114
-
115
- a:active,
116
- a:hover {
117
- outline-width: 0;
118
- }
119
-
120
- //
121
- // 1. Remove the bottom border in Firefox 39-.
122
- // 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
123
- //
124
-
125
- abbr[title] {
126
- border-bottom: none; // 1
127
- text-decoration: underline; // 2
128
- text-decoration: underline dotted; // 2
129
- }
130
-
131
- //
132
- // Prevent the duplicate application of `bolder` by the next rule in Safari 6.
133
- //
134
-
135
- b,
136
- strong {
137
- font-weight: inherit;
138
- }
139
-
140
- //
141
- // Add the correct font weight in Chrome, Edge, and Safari.
142
- //
143
-
144
- b,
145
- strong {
146
- font-weight: bolder;
147
- }
148
-
149
- //
150
- // 1. Correct the inheritance and scaling of font size in all browsers.
151
- // 2. Correct the odd `em` font sizing in all browsers.
152
- //
153
-
154
- code,
155
- kbd,
156
- samp {
157
- font-family: monospace, monospace; // 1
158
- font-size: 1em; // 2
159
- }
160
-
161
- //
162
- // Add the correct font style in Android 4.3-.
163
- //
164
-
165
- dfn {
166
- font-style: italic;
167
- }
168
-
169
- //
170
- // Add the correct background and color in IE 9-.
171
- //
172
-
173
- mark {
174
- background-color: #ff0;
175
- color: #000;
176
- }
177
-
178
- //
179
- // Add the correct font size in all browsers.
180
- //
181
-
182
- small {
183
- font-size: 80%;
184
- }
185
-
186
- //
187
- // Prevent `sub` and `sup` elements from affecting the line height in
188
- // all browsers.
189
- //
190
-
191
- sub,
192
- sup {
193
- font-size: 75%;
194
- line-height: 0;
195
- position: relative;
196
- vertical-align: baseline;
197
- }
198
-
199
- sub {
200
- bottom: -0.25em;
201
- }
202
-
203
- sup {
204
- top: -0.5em;
205
- }
206
-
207
- // Embedded content
208
- // ==========================================================================
209
-
210
- //
211
- // Add the correct display in IE 9-.
212
- //
213
-
214
- audio,
215
- video {
216
- display: inline-block;
217
- }
218
-
219
- //
220
- // Add the correct display in iOS 4-7.
221
- //
222
-
223
- audio:not([controls]) {
224
- display: none;
225
- height: 0;
226
- }
227
-
228
- //
229
- // Remove the border on images inside links in IE 10-.
230
- //
231
-
232
- img {
233
- border-style: none;
234
- }
235
-
236
- //
237
- // Hide the overflow in IE.
238
- //
239
-
240
- svg:not(:root) {
241
- overflow: hidden;
242
- }
243
-
244
- // Forms
245
- // ==========================================================================
246
-
247
- //
248
- // 1. Change the font styles in all browsers (opinionated).
249
- // 2. Remove the margin in Firefox and Safari.
250
- //
251
-
252
- button,
253
- input,
254
- optgroup,
255
- select,
256
- textarea {
257
- font-family: sans-serif; // 1
258
- font-size: 100%; // 1
259
- line-height: 1.15; // 1
260
- margin: 0; // 2
261
- }
262
-
263
- //
264
- // Show the overflow in IE.
265
- // 1. Show the overflow in Edge.
266
- //
267
-
268
- button,
269
- input { // 1
270
- overflow: visible;
271
- }
272
-
273
- //
274
- // Remove the inheritance of text transform in Edge, Firefox, and IE.
275
- // 1. Remove the inheritance of text transform in Firefox.
276
- //
277
-
278
- button,
279
- select { // 1
280
- text-transform: none;
281
- }
282
-
283
- //
284
- // 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
285
- // controls in Android 4.
286
- // 2. Correct the inability to style clickable types in iOS and Safari.
287
- //
288
-
289
- button,
290
- html [type="button"], // 1
291
- [type="reset"],
292
- [type="submit"] {
293
- -webkit-appearance: button; // 2
294
- }
295
-
296
- //
297
- // Remove the inner border and padding in Firefox.
298
- //
299
-
300
- button::-moz-focus-inner,
301
- [type="button"]::-moz-focus-inner,
302
- [type="reset"]::-moz-focus-inner,
303
- [type="submit"]::-moz-focus-inner {
304
- border-style: none;
305
- padding: 0;
306
- }
307
-
308
- //
309
- // Restore the focus styles unset by the previous rule.
310
- //
311
-
312
- button:-moz-focusring,
313
- [type="button"]:-moz-focusring,
314
- [type="reset"]:-moz-focusring,
315
- [type="submit"]:-moz-focusring {
316
- outline: 1px dotted ButtonText;
317
- }
318
-
319
- //
320
- // Change the border, margin, and padding in all browsers (opinionated).
321
- //
322
-
323
- fieldset {
324
- border: 1px solid #c0c0c0;
325
- margin: 0 2px;
326
- padding: 0.35em 0.625em 0.75em;
327
- }
328
-
329
- //
330
- // 1. Correct the text wrapping in Edge and IE.
331
- // 2. Correct the color inheritance from `fieldset` elements in IE.
332
- // 3. Remove the padding so developers are not caught out when they zero out
333
- // `fieldset` elements in all browsers.
334
- //
335
-
336
- legend {
337
- box-sizing: border-box; // 1
338
- color: inherit; // 2
339
- display: table; // 1
340
- max-width: 100%; // 1
341
- padding: 0; // 3
342
- white-space: normal; // 1
343
- }
344
-
345
- //
346
- // 1. Add the correct display in IE 9-.
347
- // 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
348
- //
349
-
350
- progress {
351
- display: inline-block; // 1
352
- vertical-align: baseline; // 2
353
- }
354
-
355
- //
356
- // Remove the default vertical scrollbar in IE.
357
- //
358
-
359
- textarea {
360
- overflow: auto;
361
- }
362
-
363
- //
364
- // 1. Add the correct box sizing in IE 10-.
365
- // 2. Remove the padding in IE 10-.
366
- //
367
-
368
- [type="checkbox"],
369
- [type="radio"] {
370
- box-sizing: border-box; // 1
371
- padding: 0; // 2
372
- }
373
-
374
- //
375
- // Correct the cursor style of increment and decrement buttons in Chrome.
376
- //
377
-
378
- [type="number"]::-webkit-inner-spin-button,
379
- [type="number"]::-webkit-outer-spin-button {
380
- height: auto;
381
- }
382
-
383
- //
384
- // 1. Correct the odd appearance in Chrome and Safari.
385
- // 2. Correct the outline style in Safari.
386
- //
387
-
388
- [type="search"] {
389
- -webkit-appearance: textfield; // 1
390
- outline-offset: -2px; // 2
391
- }
392
-
393
- //
394
- // Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
395
- //
396
-
397
- [type="search"]::-webkit-search-cancel-button,
398
- [type="search"]::-webkit-search-decoration {
399
- -webkit-appearance: none;
400
- }
401
-
402
- //
403
- // 1. Correct the inability to style clickable types in iOS and Safari.
404
- // 2. Change font properties to `inherit` in Safari.
405
- //
406
-
407
- ::-webkit-file-upload-button {
408
- -webkit-appearance: button; // 1
409
- font: inherit; // 2
410
- }
411
-
412
- // Interactive
413
- // ==========================================================================
414
-
415
- //
416
- // Add the correct display in IE 9-.
417
- // 1. Add the correct display in Edge, IE, and Firefox.
418
- //
419
-
420
- details, // 1
421
- menu {
422
- display: block;
423
- }
424
-
425
- //
426
- // Add the correct display in all browsers.
427
- //
428
-
429
- summary {
430
- display: list-item;
431
- }
432
-
433
- // Scripting
434
- // ==========================================================================
435
-
436
- //
437
- // Add the correct display in IE 9-.
438
- //
439
-
440
- canvas {
441
- display: inline-block;
442
- }
443
-
444
- //
445
- // Add the correct display in IE.
446
- //
447
-
448
- template {
449
- display: none;
450
- }
451
-
452
- // Hidden
453
- // ==========================================================================
454
-
455
- //
456
- // Add the correct display in IE 10-.
457
- //
458
-
459
- [hidden] {
460
- display: none;
461
- }
@@ -1,47 +0,0 @@
1
- // Card variants
2
-
3
- @mixin card-variant($background, $border) {
4
- background-color: $background;
5
- border-color: $border;
6
-
7
- .card-header,
8
- .card-footer {
9
- background-color: transparent;
10
- }
11
- }
12
-
13
- @mixin card-outline-variant($color) {
14
- background-color: transparent;
15
- border-color: $color;
16
- }
17
-
18
- //
19
- // Inverse text within a card for use with dark backgrounds
20
- //
21
-
22
- @mixin card-inverse {
23
- color: rgba(255,255,255,.65);
24
-
25
- .card-header,
26
- .card-footer {
27
- background-color: transparent;
28
- border-color: rgba(255,255,255,.2);
29
- }
30
- .card-header,
31
- .card-footer,
32
- .card-title,
33
- .card-blockquote {
34
- color: #fff;
35
- }
36
- .card-link,
37
- .card-text,
38
- .card-subtitle,
39
- .card-blockquote .blockquote-footer {
40
- color: rgba(255,255,255,.65);
41
- }
42
- .card-link {
43
- @include hover-focus {
44
- color: $card-link-hover-color;
45
- }
46
- }
47
- }
@@ -1,14 +0,0 @@
1
- // Applies the given styles only when the browser support CSS3 3D transforms.
2
- @mixin if-supports-3d-transforms() {
3
- @media (-webkit-transform-3d) {
4
- // Old Safari, Old Android
5
- // http://caniuse.com/#feat=css-featurequeries
6
- // https://developer.mozilla.org/en-US/docs/Web/CSS/@media/-webkit-transform-3d
7
- @content;
8
- }
9
-
10
- @supports (transform: translate3d(0,0,0)) {
11
- // The Proper Way: Using a CSS feature query
12
- @content;
13
- }
14
- }