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,962 +1,83 @@
1
- // Variables
1
+ // Bootstrap overrides
2
2
  //
3
- // Copy settings from this file into the provided `_custom.scss` to override
4
- // the Bootstrap defaults without modifying key, versioned files.
5
-
6
-
7
- // Table of Contents
8
- //
9
- // Colors
10
- // Options
11
- // Spacing
12
- // Body
13
- // Links
14
- // Grid breakpoints
15
- // Grid containers
16
- // Grid columns
17
- // Fonts
18
- // Components
19
- // Tables
20
- // Buttons
21
- // Forms
22
- // Dropdowns
23
- // Z-index master list
24
- // Navbar
25
- // Navs
26
- // Pagination
27
- // Jumbotron
28
- // Form states and alerts
29
- // Cards
30
- // Tooltips
31
- // Popovers
32
- // Badges
33
- // Modals
34
- // Alerts
35
- // Progress bars
36
- // List group
37
- // Image thumbnails
38
- // Figures
39
- // Breadcrumbs
40
- // Carousel
41
- // Close
42
- // Code
43
-
44
- @mixin _assert-ascending($map, $map-name) {
45
- $prev-key: null;
46
- $prev-num: null;
47
- @each $key, $num in $map {
48
- @if $prev-num == null {
49
- // Do nothing
50
- } @else if not comparable($prev-num, $num) {
51
- @warn "Potentially invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} whose unit makes it incomparable to #{$prev-num}, the value of the previous key '#{$prev-key}' !";
52
- } @else if $prev-num >= $num {
53
- @warn "Invalid value for #{$map-name}: This map must be in ascending order, but key '#{$key}' has value #{$num} which isn't greater than #{$prev-num}, the value of the previous key '#{$prev-key}' !";
54
- }
55
- $prev-key: $key;
56
- $prev-num: $num;
57
- }
58
- }
59
-
60
- // Replace `$search` with `$replace` in `$string`
61
- // @author Hugo Giraudel
62
- // @param {String} $string - Initial string
63
- // @param {String} $search - Substring to replace
64
- // @param {String} $replace ('') - New value
65
- // @return {String} - Updated string
66
- @function str-replace($string, $search, $replace: "") {
67
- $index: str-index($string, $search);
68
-
69
- @if $index {
70
- @return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace);
71
- }
72
-
73
- @return $string;
74
- }
75
-
76
- @mixin _assert-starts-at-zero($map) {
77
- $values: map-values($map);
78
- $first-value: nth($values, 1);
79
- @if $first-value != 0 {
80
- @warn "First breakpoint in `$grid-breakpoints` must start at 0, but starts at #{$first-value}.";
81
- }
82
- }
83
-
84
-
85
- // General variable structure
86
- //
87
- // Variable format should follow the `$component-modifier-state-property` order.
88
-
3
+ // Copy variables from `_variables.scss` to this file to override default values
4
+ // without modifying source files.
89
5
 
90
6
  // Colors
91
7
  //
92
8
  // Grayscale and brand colors for use across Bootstrap.
93
9
 
94
- // Start with assigning color names to specific hex values.
95
- $white: #fff !default;
96
- $black: #000 !default;
97
- $red: #d9534f !default;
98
- $orange: #f0ad4e !default;
99
- $yellow: #ffd500 !default;
100
- $green: #5cb85c !default;
101
- $blue: #0275d8 !default;
102
- $teal: #5bc0de !default;
103
- $pink: #ff5b77 !default;
104
- $purple: #613d7c !default;
105
-
106
- // Create grayscale
107
- $gray-dark: #292b2c !default;
108
- $gray: #464a4c !default;
109
- $gray-light: #636c72 !default;
110
- $gray-lighter: #eceeef !default;
111
- $gray-lightest: #f7f7f9 !default;
112
-
113
- // Reassign color vars to semantic color scheme
114
- $brand-primary: $color-3 !default;
115
- $brand-success: $color-2 !default;
116
- $brand-info: $teal !default;
117
- $brand-warning: $color-6 !default;
118
- $brand-danger: $color-5 !default;
119
- $brand-inverse: $gray-dark !default;
120
-
121
-
122
- // Options
123
- //
124
- // Quickly modify global styling by enabling or disabling optional features.
125
-
126
- $enable-rounded: true !default;
127
- $enable-shadows: false !default;
128
- $enable-gradients: false !default;
129
- $enable-transitions: true !default;
130
- $enable-hover-media-query: false !default;
131
- $enable-grid-classes: true !default;
132
- $enable-print-styles: true !default;
133
-
134
-
135
- // Spacing
136
- //
137
- // Control the default styling of most Bootstrap elements by modifying these
138
- // variables. Mostly focused on spacing.
139
- // You can add more entries to the $spacers map, should you need more variation.
140
-
141
- $spacer: 1rem !default;
142
- $spacer-x: $spacer !default;
143
- $spacer-y: $spacer !default;
144
- $spacers: (
145
- 0: (
146
- x: 0,
147
- y: 0
148
- ),
149
- 1: (
150
- x: ($spacer-x * .25),
151
- y: ($spacer-y * .25)
152
- ),
153
- 2: (
154
- x: ($spacer-x * .5),
155
- y: ($spacer-y * .5)
156
- ),
157
- 3: (
158
- x: $spacer-x,
159
- y: $spacer-y
160
- ),
161
- 4: (
162
- x: ($spacer-x * 1.5),
163
- y: ($spacer-y * 1.5)
164
- ),
165
- 5: (
166
- x: ($spacer-x * 3),
167
- y: ($spacer-y * 3)
168
- )
169
- ) !default;
170
- $border-width: 1px !default;
171
-
172
- // This variable affects the `.h-*` and `.w-*` classes.
173
- $sizes: (
174
- 25: 25%,
175
- 50: 50%,
176
- 75: 75%,
177
- 100: 100%
178
- ) !default;
10
+ $blue: $color-3 !default;
11
+ $red: $color-5 !default;
12
+ $orange: $color-6 !default;
13
+ $green: $color-2 !default;
179
14
 
180
15
  // Body
181
16
  //
182
17
  // Settings for the `<body>` element.
183
18
 
184
- $body-bg: $color-body-bg !default;
185
- $body-color: $color-body-text !default;
186
- $inverse-bg: $gray-dark !default;
187
- $inverse-color: $gray-lighter !default;
188
-
19
+ $body-bg: $color-1 !default;
20
+ $body-color: $color-4 !default;
189
21
 
190
22
  // Links
191
23
  //
192
24
  // Style anchor elements.
193
25
 
194
- $link-color: $color-link !default;
195
- $link-decoration: none !default;
196
- $link-hover-color: $color-link-hover !default;
197
- $link-hover-decoration: none !default;
198
-
199
-
200
- // Grid breakpoints
201
- //
202
- // Define the minimum dimensions at which your layout will change,
203
- // adapting to different screen sizes, for use in media queries.
204
-
205
- $grid-breakpoints: (
206
- xs: 0,
207
- sm: 576px,
208
- md: 768px,
209
- lg: 992px,
210
- xl: 1200px
211
- ) !default;
212
- @include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
213
- @include _assert-starts-at-zero($grid-breakpoints);
214
-
215
-
216
- // Grid containers
217
- //
218
- // Define the maximum width of `.container` for different screen sizes.
219
-
220
- $container-max-widths: (
221
- sm: 540px,
222
- md: 720px,
223
- lg: 960px,
224
- xl: 1140px
225
- ) !default;
226
- @include _assert-ascending($container-max-widths, "$container-max-widths");
227
-
26
+ $link-decoration: none !default;
27
+ $link-hover-color: $color-2 !default;
28
+ $link-hover-decoration: none !default;
228
29
 
229
30
  // Grid columns
230
31
  //
231
32
  // Set the number of columns and specify the width of the gutters.
232
33
 
233
- $grid-columns: 12 !default;
234
34
  $grid-gutter-width-base: 1.875rem !default;
235
- $grid-gutter-widths: (
236
- xs: $grid-gutter-width-base,
237
- sm: $grid-gutter-width-base,
238
- md: $grid-gutter-width-base,
239
- lg: $grid-gutter-width-base,
240
- xl: $grid-gutter-width-base
241
- ) !default;
242
35
 
243
36
  // Fonts
244
37
  //
245
38
  // Font, line-height, and color for body text, headings, and more.
246
39
 
247
40
  $font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
248
- $font-family-serif: Georgia, "Times New Roman", Times, serif !default;
249
41
  $font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace !default;
250
- $font-family-base: $base-font-family !default;
251
-
252
- $font-size-root: $body-font-size !default;
253
- $font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
254
- $font-size-lg: 1.25rem !default;
255
- $font-size-sm: .875rem !default;
256
- $font-size-xs: .75rem !default;
42
+ $font-family-base: "Open Sans", "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif !default;
257
43
 
258
- $font-weight-normal: normal !default;
259
- $font-weight-bold: bold !default;
44
+ $font-size-root: 13px !default;
260
45
 
261
- $font-weight-base: $font-weight-normal !default;
262
- $line-height-base: 1.5 !default;
46
+ $font-weight-normal: 400 !default;
47
+ $font-weight-bold: 600 !default;
263
48
 
264
- $font-size-h1: $h1-size !default;
265
- $font-size-h2: $h2-size !default;
266
- $font-size-h3: $h3-size !default;
267
- $font-size-h4: $h4-size !default;
268
- $font-size-h5: $h5-size !default;
269
- $font-size-h6: $h6-size !default;
49
+ $h1-font-size: $font-size-root + 12 !default;
50
+ $h2-font-size: $font-size-root + 10 !default;
51
+ $h3-font-size: $font-size-root + 8 !default;
52
+ $h4-font-size: $font-size-root + 6 !default;
53
+ $h5-font-size: $font-size-root + 4 !default;
54
+ $h6-font-size: $font-size-root + 2 !default;
270
55
 
271
- $headings-margin-bottom: ($spacer / 2) !default;
272
- $headings-font-family: inherit !default;
273
56
  $headings-font-weight: $font-weight-bold !default;
274
- $headings-line-height: 1.1 !default;
275
- $headings-color: $color-headers !default;
276
-
277
- $display1-size: 6rem !default;
278
- $display2-size: 5.5rem !default;
279
- $display3-size: 4.5rem !default;
280
- $display4-size: 3.5rem !default;
281
-
282
- $display1-weight: 300 !default;
283
- $display2-weight: 300 !default;
284
- $display3-weight: 300 !default;
285
- $display4-weight: 300 !default;
286
- $display-line-height: $headings-line-height !default;
287
-
288
- $lead-font-size: 1.25rem !default;
289
- $lead-font-weight: 300 !default;
290
-
291
- $small-font-size: 80% !default;
292
-
293
- $text-muted: $gray-light !default;
294
-
295
- $abbr-border-color: $gray-light !default;
296
-
297
- $blockquote-small-color: $gray-light !default;
298
- $blockquote-font-size: ($font-size-base * 1.25) !default;
299
- $blockquote-border-color: $gray-lighter !default;
300
- $blockquote-border-width: .25rem !default;
301
-
302
- $hr-border-color: rgba($black,.1) !default;
303
- $hr-border-width: $border-width !default;
304
-
305
- $mark-padding: .2em !default;
306
-
307
- $dt-font-weight: $font-weight-bold !default;
308
-
309
- $kbd-box-shadow: inset 0 -.1rem 0 rgba($black,.25) !default;
310
- $nested-kbd-font-weight: $font-weight-bold !default;
311
-
312
- $list-inline-padding: 5px !default;
313
-
57
+ $headings-color: $color-4 !default;
314
58
 
315
59
  // Components
316
60
  //
317
61
  // Define common padding and border radius sizes and more.
318
62
 
319
- $line-height-lg: (4 / 3) !default;
320
- $line-height-sm: 1.5 !default;
321
-
322
63
  $border-radius: 3px !default;
323
- $border-radius-lg: .3rem !default;
324
- $border-radius-sm: .2rem !default;
325
-
326
- $component-active-color: $white !default;
327
- $component-active-bg: $brand-primary !default;
328
-
329
- $caret-width: .3em !default;
330
-
331
- $transition-base: all .2s ease-in-out !default;
332
- $transition-fade: opacity .15s linear !default;
333
- $transition-collapse: height .35s ease !default;
334
-
335
-
336
- // Tables
337
- //
338
- // Customizes the `.table` component with basic values, each used across all table variations.
339
-
340
- $table-cell-padding: .75rem !default;
341
- $table-sm-cell-padding: .3rem !default;
342
-
343
- $table-bg: transparent !default;
344
-
345
- $table-inverse-bg: $gray-dark !default;
346
- $table-inverse-color: $body-bg !default;
347
-
348
- $table-bg-accent: rgba($black,.05) !default;
349
- $table-bg-hover: rgba($black,.075) !default;
350
- $table-bg-active: $table-bg-hover !default;
351
-
352
- $table-head-bg: $gray-lighter !default;
353
- $table-head-color: $gray !default;
354
-
355
- $table-border-width: $border-width !default;
356
- $table-border-color: $gray-lighter !default;
357
-
358
-
359
- // Buttons
360
- //
361
- // For each of Bootstrap's buttons, define text, background and border color.
362
-
363
- $btn-padding-x: 1rem !default;
364
- $btn-padding-y: .5rem !default;
365
- $btn-line-height: 1.25 !default;
366
- $btn-font-weight: $font-weight-normal !default;
367
- $btn-box-shadow: inset 0 1px 0 rgba($white,.15), 0 1px 1px rgba($black,.075) !default;
368
- $btn-focus-box-shadow: 0 0 0 2px rgba($brand-primary, .25) !default;
369
- $btn-active-box-shadow: inset 0 3px 5px rgba($black,.125) !default;
370
-
371
- $btn-primary-color: $white !default;
372
- $btn-primary-bg: $brand-primary !default;
373
- $btn-primary-border: $btn-primary-bg !default;
374
-
375
- $btn-secondary-color: $gray-dark !default;
376
- $btn-secondary-bg: $white !default;
377
- $btn-secondary-border: #ccc !default;
378
-
379
- $btn-info-color: $white !default;
380
- $btn-info-bg: $brand-info !default;
381
- $btn-info-border: $btn-info-bg !default;
382
-
383
- $btn-success-color: $white !default;
384
- $btn-success-bg: $brand-success !default;
385
- $btn-success-border: $btn-success-bg !default;
386
-
387
- $btn-warning-color: $white !default;
388
- $btn-warning-bg: $brand-warning !default;
389
- $btn-warning-border: $btn-warning-bg !default;
390
-
391
- $btn-danger-color: $white !default;
392
- $btn-danger-bg: $brand-danger !default;
393
- $btn-danger-border: $btn-danger-bg !default;
394
-
395
- $btn-link-disabled-color: $gray-light !default;
396
-
397
- $btn-padding-x-sm: .5rem !default;
398
- $btn-padding-y-sm: .25rem !default;
399
-
400
- $btn-padding-x-lg: 1.5rem !default;
401
- $btn-padding-y-lg: .75rem !default;
402
-
403
- $btn-block-spacing-y: .5rem !default;
404
- $btn-toolbar-margin: .5rem !default;
405
-
406
- // Allows for customizing button radius independently from global border radius
407
- $btn-border-radius: $border-radius !default;
408
- $btn-border-radius-lg: $border-radius-lg !default;
409
- $btn-border-radius-sm: $border-radius-sm !default;
410
-
411
- $btn-transition: all .2s ease-in-out !default;
412
-
413
64
 
414
65
  // Forms
415
66
 
416
- $input-padding-x: .75rem !default;
417
- $input-padding-y: .5rem !default;
418
- $input-line-height: 1.25 !default;
419
-
420
- $input-bg: $white !default;
421
- $input-bg-disabled: $gray-lighter !default;
422
-
423
- $input-color: $color-txt-text !default;
424
- $input-border-color: $color-txt-brd !default;
425
- $input-btn-border-width: $border-width !default; // For form controls and buttons
426
- $input-box-shadow: inset 0 1px 1px rgba($black,.075) !default;
427
-
428
- $input-border-radius: $border-radius !default;
429
- $input-border-radius-lg: $border-radius-lg !default;
430
- $input-border-radius-sm: $border-radius-sm !default;
431
-
432
- $input-bg-focus: $input-bg !default;
433
- $input-border-focus: $color-txt-hover-brd !default;
434
- $input-box-shadow-focus: $input-box-shadow, rgba($input-border-focus, .6) !default;
435
- $input-color-focus: $input-color !default;
436
-
437
- $input-color-placeholder: $gray-light !default;
438
-
439
- $input-padding-x-sm: .5rem !default;
440
- $input-padding-y-sm: .25rem !default;
441
-
442
- $input-padding-x-lg: 1.5rem !default;
443
- $input-padding-y-lg: .75rem !default;
444
-
445
- $input-height: (($font-size-base * $input-line-height) + ($input-padding-y * 2)) !default;
446
- $input-height-lg: (($font-size-lg * $line-height-lg) + ($input-padding-y-lg * 2)) !default;
447
- $input-height-sm: (($font-size-sm * $line-height-sm) + ($input-padding-y-sm * 2)) !default;
448
-
449
- $input-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s !default;
450
-
451
- $form-text-margin-top: .25rem !default;
452
- $form-feedback-margin-top: $form-text-margin-top !default;
453
-
454
- $form-check-margin-bottom: .5rem !default;
455
- $form-check-input-gutter: 1.25rem !default;
456
- $form-check-input-margin-y: .25rem !default;
457
- $form-check-input-margin-x: .25rem !default;
458
-
459
- $form-check-inline-margin-x: .75rem !default;
460
-
461
- $form-group-margin-bottom: $spacer-y !default;
462
-
463
- $input-group-addon-bg: $gray-lighter !default;
464
- $input-group-addon-border-color: $input-border-color !default;
465
-
466
- $cursor-disabled: not-allowed !default;
467
-
468
- $custom-control-gutter: 1.5rem !default;
469
- $custom-control-spacer-x: 1rem !default;
470
- $custom-control-spacer-y: .25rem !default;
471
-
472
- $custom-control-indicator-size: 1rem !default;
473
- $custom-control-indicator-margin-y: (($line-height-base * 1rem) - $custom-control-indicator-size) / -2 !default;
474
- $custom-control-indicator-bg: #ddd !default;
475
- $custom-control-indicator-bg-size: 50% 50% !default;
476
- $custom-control-indicator-box-shadow: inset 0 .25rem .25rem rgba($black,.1) !default;
477
-
478
- $custom-control-disabled-cursor: $cursor-disabled !default;
479
- $custom-control-disabled-indicator-bg: $gray-lighter !default;
480
- $custom-control-disabled-description-color: $gray-light !default;
481
-
482
- $custom-control-checked-indicator-color: $white !default;
483
- $custom-control-checked-indicator-bg: $brand-primary !default;
484
- $custom-control-checked-indicator-box-shadow: none !default;
485
-
486
- $custom-control-focus-indicator-box-shadow: 0 0 0 1px $body-bg, 0 0 0 3px $brand-primary !default;
487
-
488
- $custom-control-active-indicator-color: $white !default;
489
- $custom-control-active-indicator-bg: lighten($brand-primary, 35%) !default;
490
- $custom-control-active-indicator-box-shadow: none !default;
491
-
492
- $custom-checkbox-radius: $border-radius !default;
493
- $custom-checkbox-checked-icon: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$custom-control-checked-indicator-color}' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E"), "#", "%23") !default;
494
-
495
- $custom-checkbox-indeterminate-bg: $brand-primary !default;
496
- $custom-checkbox-indeterminate-indicator-color: $custom-control-checked-indicator-color !default;
497
- $custom-checkbox-indeterminate-icon: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 4'%3E%3Cpath stroke='#{$custom-checkbox-indeterminate-indicator-color}' d='M0 2h4'/%3E%3C/svg%3E"), "#", "%23") !default;
498
- $custom-checkbox-indeterminate-box-shadow: none !default;
499
-
500
- $custom-radio-radius: 50% !default;
501
- $custom-radio-checked-icon: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='#{$custom-control-checked-indicator-color}'/%3E%3C/svg%3E"), "#", "%23") !default;
502
-
503
- $custom-select-padding-x: .75rem !default;
504
- $custom-select-padding-y: .375rem !default;
505
- $custom-select-indicator-padding: 1rem !default; // Extra padding to account for the presence of the background-image based indicator
506
- $custom-select-line-height: $input-line-height !default;
507
- $custom-select-color: $input-color !default;
508
- $custom-select-disabled-color: $gray-light !default;
509
- $custom-select-bg: $white !default;
510
- $custom-select-disabled-bg: $gray-lighter !default;
511
- $custom-select-bg-size: 8px 10px !default; // In pixels because image dimensions
512
- $custom-select-indicator-color: #333 !default;
513
- $custom-select-indicator: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='#{$custom-select-indicator-color}' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E"), "#", "%23") !default;
514
- $custom-select-border-width: $input-btn-border-width !default;
515
- $custom-select-border-color: $input-border-color !default;
516
- $custom-select-border-radius: $border-radius !default;
517
-
518
- $custom-select-focus-border-color: $input-border-focus !default;
519
- $custom-select-focus-box-shadow: inset 0 1px 2px rgba($black, .075), 0 0 5px rgba($custom-select-focus-border-color, .5) !default;
520
-
521
- $custom-select-sm-padding-y: .2rem !default;
522
- $custom-select-sm-font-size: 75% !default;
523
-
524
- $custom-file-height: 2.5rem !default;
525
- $custom-file-width: 14rem !default;
526
- $custom-file-focus-box-shadow: 0 0 0 .075rem $white, 0 0 0 .2rem $brand-primary !default;
527
-
528
- $custom-file-padding-x: .5rem !default;
529
- $custom-file-padding-y: 1rem !default;
530
- $custom-file-line-height: 1.5 !default;
531
- $custom-file-color: $gray !default;
532
- $custom-file-bg: $white !default;
533
- $custom-file-border-width: $border-width !default;
534
- $custom-file-border-color: $input-border-color !default;
535
- $custom-file-border-radius: $border-radius !default;
536
- $custom-file-box-shadow: inset 0 .2rem .4rem rgba($black,.05) !default;
537
- $custom-file-button-color: $custom-file-color !default;
538
- $custom-file-button-bg: $gray-lighter !default;
539
- $custom-file-text: (
540
- placeholder: (
541
- en: "Choose file..."
542
- ),
543
- button-label: (
544
- en: "Browse"
545
- )
546
- ) !default;
547
-
548
-
549
- // Form validation icons
550
- $form-icon-success-color: $brand-success !default;
551
- $form-icon-success: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$form-icon-success-color}' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E"), "#", "%23") !default;
552
-
553
- $form-icon-warning-color: $brand-warning !default;
554
- $form-icon-warning: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='#{$form-icon-warning-color}' d='M4.4 5.324h-.8v-2.46h.8zm0 1.42h-.8V5.89h.8zM3.76.63L.04 7.075c-.115.2.016.425.26.426h7.397c.242 0 .372-.226.258-.426C6.726 4.924 5.47 2.79 4.253.63c-.113-.174-.39-.174-.494 0z'/%3E%3C/svg%3E"), "#", "%23") !default;
555
-
556
- $form-icon-danger-color: $brand-danger !default;
557
- $form-icon-danger: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$form-icon-danger-color}' viewBox='-2 -2 7 7'%3E%3Cpath stroke='%23d9534f' d='M0 0l3 3m0-3L0 3'/%3E%3Ccircle r='.5'/%3E%3Ccircle cx='3' r='.5'/%3E%3Ccircle cy='3' r='.5'/%3E%3Ccircle cx='3' cy='3' r='.5'/%3E%3C/svg%3E"), "#", "%23") !default;
67
+ $input-color: $color-3 !default;
68
+ $input-border-color: $color-border !default;
69
+ $input-focus-border-color: $color-2 !default;
558
70
 
71
+ $custom-select-focus-border-color: $input-focus-border-color !default;
559
72
 
560
73
  // Dropdowns
561
74
  //
562
75
  // Dropdown menu container and contents.
563
76
 
564
- $dropdown-min-width: 10rem !default;
565
- $dropdown-padding-y: .5rem !default;
566
- $dropdown-margin-top: .125rem !default;
567
- $dropdown-bg: $white !default;
568
- $dropdown-border-color: rgba($black,.15) !default;
569
- $dropdown-border-width: $border-width !default;
570
- $dropdown-divider-bg: $gray-lighter !default;
571
- $dropdown-box-shadow: 0 .5rem 1rem rgba($black,.175) !default;
572
-
573
- $dropdown-link-color: $gray-dark !default;
574
77
  $dropdown-link-hover-color: #fff !default;
575
78
  $dropdown-link-hover-bg: $color-3 !default;
576
79
 
577
- $dropdown-link-active-color: $component-active-color !default;
578
- $dropdown-link-active-bg: $component-active-bg !default;
579
-
580
- $dropdown-link-disabled-color: $gray-light !default;
581
-
582
- $dropdown-item-padding-x: 1.5rem !default;
583
-
584
- $dropdown-header-color: $gray-light !default;
585
-
586
-
587
- // Z-index master list
588
- //
589
- // Warning: Avoid customizing these values. They're used for a bird's eye view
590
- // of components dependent on the z-axis and are designed to all work together.
591
-
592
- $zindex-dropdown-backdrop: 990 !default;
593
- $zindex-navbar: 1000 !default;
594
- $zindex-dropdown: 1000 !default;
595
- $zindex-fixed: 1030 !default;
596
- $zindex-sticky: 1030 !default;
597
- $zindex-modal-backdrop: 1040 !default;
598
- $zindex-modal: 1050 !default;
599
- $zindex-popover: 1060 !default;
600
- $zindex-tooltip: 1070 !default;
601
-
602
-
603
- // Navbar
604
-
605
- $navbar-border-radius: $border-radius !default;
606
- $navbar-padding-x: $spacer !default;
607
- $navbar-padding-y: ($spacer / 2) !default;
608
-
609
- $navbar-brand-padding-y: .25rem !default;
610
-
611
- $navbar-toggler-padding-x: .75rem !default;
612
- $navbar-toggler-padding-y: .25rem !default;
613
- $navbar-toggler-font-size: $font-size-lg !default;
614
- $navbar-toggler-border-radius: $btn-border-radius !default;
615
-
616
- $navbar-inverse-color: rgba($white,.5) !default;
617
- $navbar-inverse-hover-color: rgba($white,.75) !default;
618
- $navbar-inverse-active-color: rgba($white,1) !default;
619
- $navbar-inverse-disabled-color: rgba($white,.25) !default;
620
- $navbar-inverse-toggler-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-inverse-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E"), "#", "%23") !default;
621
- $navbar-inverse-toggler-border: rgba($white,.1) !default;
622
-
623
- $navbar-light-color: rgba($black,.5) !default;
624
- $navbar-light-hover-color: rgba($black,.7) !default;
625
- $navbar-light-active-color: rgba($black,.9) !default;
626
- $navbar-light-disabled-color: rgba($black,.3) !default;
627
- $navbar-light-toggler-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='#{$navbar-light-color}' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E"), "#", "%23") !default;
628
- $navbar-light-toggler-border: rgba($black,.1) !default;
629
-
630
- // Navs
631
-
632
- $nav-item-margin: .2rem !default;
633
- $nav-item-inline-spacer: 1rem !default;
634
- $nav-link-padding: .5em 1em !default;
635
- $nav-link-hover-bg: $gray-lighter !default;
636
- $nav-disabled-link-color: $gray-light !default;
637
-
638
- $nav-tabs-border-color: #ddd !default;
639
- $nav-tabs-border-width: $border-width !default;
640
- $nav-tabs-border-radius: $border-radius !default;
641
- $nav-tabs-link-hover-border-color: $gray-lighter !default;
642
- $nav-tabs-active-link-hover-color: $gray !default;
643
- $nav-tabs-active-link-hover-bg: $body-bg !default;
644
- $nav-tabs-active-link-hover-border-color: #ddd !default;
645
- $nav-tabs-justified-link-border-color: #ddd !default;
646
- $nav-tabs-justified-active-link-border-color: $body-bg !default;
647
-
648
- $nav-pills-border-radius: $border-radius !default;
649
- $nav-pills-active-link-color: $component-active-color !default;
650
- $nav-pills-active-link-bg: $component-active-bg !default;
651
-
652
-
653
- // Pagination
654
-
655
- $pagination-padding-x: .75rem !default;
656
- $pagination-padding-y: .5rem !default;
657
- $pagination-padding-x-sm: .5rem !default;
658
- $pagination-padding-y-sm: .25rem !default;
659
- $pagination-padding-x-lg: 1.5rem !default;
660
- $pagination-padding-y-lg: .75rem !default;
661
- $pagination-line-height: 1.25 !default;
662
-
663
- $pagination-color: $link-color !default;
664
- $pagination-bg: $white !default;
665
- $pagination-border-width: $border-width !default;
666
- $pagination-border-color: #ddd !default;
667
-
668
- $pagination-hover-color: $link-hover-color !default;
669
- $pagination-hover-bg: $gray-lighter !default;
670
- $pagination-hover-border: #ddd !default;
671
-
672
- $pagination-active-color: $white !default;
673
- $pagination-active-bg: $brand-primary !default;
674
- $pagination-active-border: $brand-primary !default;
675
-
676
- $pagination-disabled-color: $gray-light !default;
677
- $pagination-disabled-bg: $white !default;
678
- $pagination-disabled-border: #ddd !default;
679
-
680
-
681
- // Jumbotron
682
-
683
- $jumbotron-padding: 2rem !default;
684
- $jumbotron-bg: $gray-lighter !default;
685
-
686
-
687
- // Form states and alerts
688
- //
689
- // Define colors for form feedback states and, by default, alerts.
690
-
691
- $state-success-text: #3c763d !default;
692
- $state-success-bg: #dff0d8 !default;
693
- $state-success-border: darken($state-success-bg, 5%) !default;
694
-
695
- $state-info-text: #31708f !default;
696
- $state-info-bg: #d9edf7 !default;
697
- $state-info-border: darken($state-info-bg, 7%) !default;
698
-
699
- $state-warning-text: #8a6d3b !default;
700
- $state-warning-bg: #fcf8e3 !default;
701
- $mark-bg: $state-warning-bg !default;
702
- $state-warning-border: darken($state-warning-bg, 5%) !default;
703
-
704
- $state-danger-text: #a94442 !default;
705
- $state-danger-bg: #f2dede !default;
706
- $state-danger-border: darken($state-danger-bg, 5%) !default;
707
-
708
-
709
- // Cards
710
-
711
- $card-spacer-x: 1.25rem !default;
712
- $card-spacer-y: .75rem !default;
713
- $card-border-width: 1px !default;
714
- $card-border-radius: $border-radius !default;
715
- $card-border-color: rgba($black,.125) !default;
716
- $card-border-radius-inner: calc(#{$card-border-radius} - #{$card-border-width}) !default;
717
- $card-cap-bg: $gray-lightest !default;
718
- $card-bg: $white !default;
719
-
720
- $card-link-hover-color: $white !default;
721
-
722
- $card-img-overlay-padding: 1.25rem !default;
723
-
724
- $card-deck-margin: ($grid-gutter-width-base / 2) !default;
725
-
726
- $card-columns-count: 3 !default;
727
- $card-columns-gap: 1.25rem !default;
728
- $card-columns-margin: $card-spacer-y !default;
729
-
730
-
731
- // Tooltips
732
-
733
- $tooltip-max-width: 200px !default;
734
- $tooltip-color: $white !default;
735
- $tooltip-bg: $black !default;
736
- $tooltip-opacity: .9 !default;
737
- $tooltip-padding-y: 3px !default;
738
- $tooltip-padding-x: 8px !default;
739
- $tooltip-margin: 3px !default;
740
-
741
- $tooltip-arrow-width: 5px !default;
742
- $tooltip-arrow-color: $tooltip-bg !default;
743
-
744
-
745
- // Popovers
746
-
747
- $popover-inner-padding: 1px !default;
748
- $popover-bg: $white !default;
749
- $popover-max-width: 276px !default;
750
- $popover-border-width: $border-width !default;
751
- $popover-border-color: rgba($black,.2) !default;
752
- $popover-box-shadow: 0 5px 10px rgba($black,.2) !default;
753
-
754
- $popover-title-bg: darken($popover-bg, 3%) !default;
755
- $popover-title-padding-x: 14px !default;
756
- $popover-title-padding-y: 8px !default;
757
-
758
- $popover-content-padding-x: 14px !default;
759
- $popover-content-padding-y: 9px !default;
760
-
761
- $popover-arrow-width: 10px !default;
762
- $popover-arrow-color: $popover-bg !default;
763
-
764
- $popover-arrow-outer-width: ($popover-arrow-width + 1px) !default;
765
- $popover-arrow-outer-color: fade-in($popover-border-color, .05) !default;
766
-
767
-
768
- // Badges
769
-
770
- $badge-default-bg: $color-7 !default;
771
- $badge-primary-bg: $brand-primary !default;
772
- $badge-success-bg: $brand-success !default;
773
- $badge-info-bg: $brand-info !default;
774
- $badge-warning-bg: $brand-warning !default;
775
- $badge-danger-bg: $brand-danger !default;
776
-
777
- $badge-color: $white !default;
778
- $badge-link-hover-color: $white !default;
779
- $badge-font-size: 75% !default;
780
- $badge-font-weight: $font-weight-bold !default;
781
- $badge-padding-x: .4em !default;
782
- $badge-padding-y: .25em !default;
783
-
784
- $badge-pill-padding-x: .6em !default;
785
- // Use a higher than normal value to ensure completely rounded edges when
786
- // customizing padding or font-size on labels.
787
- $badge-pill-border-radius: 10rem !default;
788
-
789
-
790
- // Modals
791
-
792
- // Padding applied to the modal body
793
- $modal-inner-padding: 15px !default;
794
-
795
- $modal-dialog-margin: 10px !default;
796
- $modal-dialog-sm-up-margin-y: 30px !default;
797
-
798
- $modal-title-line-height: $line-height-base !default;
799
-
800
- $modal-content-bg: $white !default;
801
- $modal-content-border-color: rgba($black,.2) !default;
802
- $modal-content-border-width: $border-width !default;
803
- $modal-content-xs-box-shadow: 0 3px 9px rgba($black,.5) !default;
804
- $modal-content-sm-up-box-shadow: 0 5px 15px rgba($black,.5) !default;
805
-
806
- $modal-backdrop-bg: $black !default;
807
- $modal-backdrop-opacity: .5 !default;
808
- $modal-header-border-color: $gray-lighter !default;
809
- $modal-footer-border-color: $modal-header-border-color !default;
810
- $modal-header-border-width: $modal-content-border-width !default;
811
- $modal-footer-border-width: $modal-header-border-width !default;
812
- $modal-header-padding: 15px !default;
813
-
814
- $modal-lg: 800px !default;
815
- $modal-md: 500px !default;
816
- $modal-sm: 300px !default;
817
-
818
- $modal-transition: transform .3s ease-out !default;
819
-
820
-
821
- // Alerts
822
- //
823
- // Define alert colors, border radius, and padding.
824
-
825
- $alert-padding-x: 1.25rem !default;
826
- $alert-padding-y: .75rem !default;
827
- $alert-margin-bottom: $spacer-y !default;
828
- $alert-border-radius: $border-radius !default;
829
- $alert-link-font-weight: $font-weight-bold !default;
830
- $alert-border-width: $border-width !default;
831
-
832
- $alert-success-bg: $state-success-bg !default;
833
- $alert-success-text: $state-success-text !default;
834
- $alert-success-border: $state-success-border !default;
835
-
836
- $alert-info-bg: $state-info-bg !default;
837
- $alert-info-text: $state-info-text !default;
838
- $alert-info-border: $state-info-border !default;
839
-
840
- $alert-warning-bg: $state-warning-bg !default;
841
- $alert-warning-text: $state-warning-text !default;
842
- $alert-warning-border: $state-warning-border !default;
843
-
844
- $alert-danger-bg: $state-danger-bg !default;
845
- $alert-danger-text: $state-danger-text !default;
846
- $alert-danger-border: $state-danger-border !default;
847
-
848
-
849
- // Progress bars
850
-
851
- $progress-height: 1rem !default;
852
- $progress-font-size: .75rem !default;
853
- $progress-bg: $gray-lighter !default;
854
- $progress-border-radius: $border-radius !default;
855
- $progress-box-shadow: inset 0 .1rem .1rem rgba($black,.1) !default;
856
- $progress-bar-color: $white !default;
857
- $progress-bar-bg: $brand-primary !default;
858
- $progress-bar-animation-timing: 1s linear infinite !default;
859
-
860
- // List group
861
-
862
- $list-group-color: $body-color !default;
863
- $list-group-bg: $white !default;
864
- $list-group-border-color: rgba($black,.125) !default;
865
- $list-group-border-width: $border-width !default;
866
- $list-group-border-radius: $border-radius !default;
867
-
868
- $list-group-item-padding-x: 1.25rem !default;
869
- $list-group-item-padding-y: .75rem !default;
870
-
871
- $list-group-hover-bg: $gray-lightest !default;
872
- $list-group-active-color: $component-active-color !default;
873
- $list-group-active-bg: $component-active-bg !default;
874
- $list-group-active-border: $list-group-active-bg !default;
875
- $list-group-active-text-color: lighten($list-group-active-bg, 50%) !default;
876
-
877
- $list-group-disabled-color: $gray-light !default;
878
- $list-group-disabled-bg: $list-group-bg !default;
879
- $list-group-disabled-text-color: $list-group-disabled-color !default;
880
-
881
- $list-group-link-color: $gray !default;
882
- $list-group-link-heading-color: $gray-dark !default;
883
- $list-group-link-hover-color: $list-group-link-color !default;
884
-
885
- $list-group-link-active-color: $list-group-color !default;
886
- $list-group-link-active-bg: $gray-lighter !default;
887
-
888
-
889
- // Image thumbnails
890
-
891
- $thumbnail-padding: .25rem !default;
892
- $thumbnail-bg: $body-bg !default;
893
- $thumbnail-border-width: $border-width !default;
894
- $thumbnail-border-color: #ddd !default;
895
- $thumbnail-border-radius: $border-radius !default;
896
- $thumbnail-box-shadow: 0 1px 2px rgba($black,.075) !default;
897
- $thumbnail-transition: all .2s ease-in-out !default;
898
-
899
-
900
- // Figures
901
-
902
- $figure-caption-font-size: 90% !default;
903
- $figure-caption-color: $gray-light !default;
904
-
905
-
906
80
  // Breadcrumbs
907
81
 
908
- $breadcrumb-padding-y: .75rem !default;
909
- $breadcrumb-padding-x: 1rem !default;
910
- $breadcrumb-item-padding: .5rem !default;
911
-
912
82
  $breadcrumb-bg: transparent !default;
913
- $breadcrumb-divider-color: $gray-light !default;
914
83
  $breadcrumb-active-color: $color-4 !default;
915
- $breadcrumb-divider: "/" !default;
916
-
917
-
918
- // Carousel
919
-
920
- $carousel-control-color: $white !default;
921
- $carousel-control-width: 15% !default;
922
- $carousel-control-opacity: .5 !default;
923
-
924
- $carousel-indicator-width: 30px !default;
925
- $carousel-indicator-height: 3px !default;
926
- $carousel-indicator-spacer: 3px !default;
927
- $carousel-indicator-active-bg: $white !default;
928
-
929
- $carousel-caption-width: 70% !default;
930
- $carousel-caption-color: $white !default;
931
-
932
- $carousel-control-icon-width: 20px !default;
933
-
934
- $carousel-control-prev-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M4 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E"), "#", "%23") !default;
935
- $carousel-control-next-icon-bg: str-replace(url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='#{$carousel-control-color}' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E"), "#", "%23") !default;
936
-
937
- $carousel-transition: transform .6s ease-in-out !default;
938
-
939
-
940
- // Close
941
-
942
- $close-font-size: $font-size-base * 1.5 !default;
943
- $close-font-weight: $font-weight-bold !default;
944
- $close-color: $black !default;
945
- $close-text-shadow: 0 1px 0 $white !default;
946
-
947
-
948
- // Code
949
-
950
- $code-font-size: 90% !default;
951
- $code-padding-x: .4rem !default;
952
- $code-padding-y: .2rem !default;
953
- $code-color: #bd4147 !default;
954
- $code-bg: $gray-lightest !default;
955
-
956
- $kbd-color: $white !default;
957
- $kbd-bg: $gray-dark !default;
958
-
959
- $pre-bg: $gray-lightest !default;
960
- $pre-color: $gray-dark !default;
961
- $pre-border-color: #ccc !default;
962
- $pre-scrollable-max-height: 340px !default;