rails_admin 3.0.0.beta2 → 3.0.0.rc3

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

Potentially problematic release.


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

Files changed (261) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -9
  3. data/Rakefile +11 -0
  4. data/app/assets/javascripts/{rails_admin.js → rails_admin/application.js} +4 -4
  5. data/app/assets/stylesheets/rails_admin/application.scss +31 -0
  6. data/app/controllers/rails_admin/application_controller.rb +1 -1
  7. data/app/controllers/rails_admin/main_controller.rb +12 -21
  8. data/app/helpers/rails_admin/application_helper.rb +43 -22
  9. data/app/helpers/rails_admin/form_builder.rb +3 -3
  10. data/app/helpers/rails_admin/main_helper.rb +1 -1
  11. data/app/views/kaminari/ra-twitter-bootstrap/_gap.html.erb +2 -2
  12. data/app/views/kaminari/ra-twitter-bootstrap/_next_page.html.erb +4 -4
  13. data/app/views/kaminari/ra-twitter-bootstrap/_page.html.erb +4 -4
  14. data/app/views/kaminari/ra-twitter-bootstrap/_paginator.html.erb +12 -10
  15. data/app/views/kaminari/ra-twitter-bootstrap/_prev_page.html.erb +4 -4
  16. data/app/views/kaminari/ra-twitter-bootstrap/without_count/_next_page.html.erb +4 -4
  17. data/app/views/kaminari/ra-twitter-bootstrap/without_count/_paginator.html.erb +6 -4
  18. data/app/views/kaminari/ra-twitter-bootstrap/without_count/_prev_page.html.erb +4 -4
  19. data/app/views/layouts/rails_admin/_head.html.erb +2 -2
  20. data/app/views/layouts/rails_admin/_navigation.html.erb +12 -16
  21. data/app/views/layouts/rails_admin/_secondary_navigation.html.erb +8 -8
  22. data/app/views/layouts/rails_admin/_sidebar_navigation.html.erb +1 -5
  23. data/app/views/layouts/rails_admin/application.html.erb +4 -7
  24. data/app/views/layouts/rails_admin/{pjax.html.erb → content.html.erb} +7 -5
  25. data/app/views/layouts/rails_admin/modal.js.erb +1 -1
  26. data/app/views/rails_admin/main/_dashboard_history.html.erb +1 -1
  27. data/app/views/rails_admin/main/_delete_notice.html.erb +2 -2
  28. data/app/views/rails_admin/main/_form_boolean.html.erb +6 -8
  29. data/app/views/rails_admin/main/_form_colorpicker.html.erb +5 -1
  30. data/app/views/rails_admin/main/_form_datetime.html.erb +8 -7
  31. data/app/views/rails_admin/main/_form_enumeration.html.erb +5 -1
  32. data/app/views/rails_admin/main/_form_file_upload.html.erb +1 -1
  33. data/app/views/rails_admin/main/_form_filtering_multiselect.html.erb +14 -14
  34. data/app/views/rails_admin/main/_form_filtering_select.html.erb +16 -21
  35. data/app/views/rails_admin/main/_form_multiple_file_upload.html.erb +1 -1
  36. data/app/views/rails_admin/main/_form_nested_many.html.erb +4 -4
  37. data/app/views/rails_admin/main/_form_nested_one.html.erb +4 -4
  38. data/app/views/rails_admin/main/_form_polymorphic_association.html.erb +11 -6
  39. data/app/views/rails_admin/main/_submit_buttons.html.erb +8 -8
  40. data/app/views/rails_admin/main/bulk_delete.html.erb +1 -1
  41. data/app/views/rails_admin/main/dashboard.html.erb +4 -4
  42. data/app/views/rails_admin/main/delete.html.erb +1 -1
  43. data/app/views/rails_admin/main/edit.html.erb +1 -1
  44. data/app/views/rails_admin/main/export.html.erb +35 -32
  45. data/app/views/rails_admin/main/history.html.erb +16 -14
  46. data/app/views/rails_admin/main/index.html.erb +39 -36
  47. data/app/views/rails_admin/main/new.html.erb +1 -1
  48. data/config/locales/rails_admin.en.yml +0 -1
  49. data/lib/generators/rails_admin/install_generator.rb +8 -7
  50. data/lib/generators/rails_admin/templates/webpack.config.js +0 -3
  51. data/lib/rails_admin/abstract_model.rb +3 -4
  52. data/lib/rails_admin/adapters/active_record/object_extension.rb +1 -1
  53. data/lib/rails_admin/adapters/active_record/property.rb +1 -1
  54. data/lib/rails_admin/adapters/active_record.rb +8 -3
  55. data/lib/rails_admin/adapters/mongoid/property.rb +3 -3
  56. data/lib/rails_admin/adapters/mongoid.rb +4 -4
  57. data/lib/rails_admin/config/actions/base.rb +1 -6
  58. data/lib/rails_admin/config/actions/dashboard.rb +13 -9
  59. data/lib/rails_admin/config/actions/delete.rb +4 -0
  60. data/lib/rails_admin/config/actions/edit.rb +4 -0
  61. data/lib/rails_admin/config/actions/export.rb +2 -1
  62. data/lib/rails_admin/config/actions/index.rb +2 -1
  63. data/lib/rails_admin/config/actions/new.rb +7 -1
  64. data/lib/rails_admin/config/actions/show_in_app.rb +0 -4
  65. data/lib/rails_admin/config/fields/association.rb +6 -1
  66. data/lib/rails_admin/config/fields/base.rb +3 -3
  67. data/lib/rails_admin/config/fields/factories/active_storage.rb +2 -1
  68. data/lib/rails_admin/config/fields/factories/association.rb +4 -4
  69. data/lib/rails_admin/config/fields/factories/carrierwave.rb +2 -1
  70. data/lib/rails_admin/config/fields/factories/devise.rb +2 -1
  71. data/lib/rails_admin/config/fields/factories/dragonfly.rb +2 -1
  72. data/lib/rails_admin/config/fields/factories/paperclip.rb +2 -1
  73. data/lib/rails_admin/config/fields/types/action_text.rb +1 -1
  74. data/lib/rails_admin/config/fields/types/date.rb +7 -0
  75. data/lib/rails_admin/config/fields/types/datetime.rb +11 -5
  76. data/lib/rails_admin/config/fields/types/has_many_association.rb +4 -0
  77. data/lib/rails_admin/config/fields/types/has_one_association.rb +4 -0
  78. data/lib/rails_admin/config/fields/types/time.rb +9 -0
  79. data/lib/rails_admin/config/has_fields.rb +4 -0
  80. data/lib/rails_admin/config/model.rb +8 -0
  81. data/lib/rails_admin/config/sections/list.rb +4 -4
  82. data/lib/rails_admin/config.rb +18 -4
  83. data/lib/rails_admin/engine.rb +6 -13
  84. data/lib/rails_admin/extensions/paper_trail/auditing_adapter.rb +2 -2
  85. data/lib/rails_admin/support/datetime.rb +50 -53
  86. data/lib/rails_admin/support/esmodule_preprocessor.rb +2 -1
  87. data/lib/rails_admin/version.rb +1 -1
  88. data/package.json +7 -5
  89. data/src/rails_admin/base.js +3 -6
  90. data/src/rails_admin/filter-box.js +36 -37
  91. data/src/rails_admin/filtering-select.js +3 -6
  92. data/src/rails_admin/i18n.js +0 -3
  93. data/src/rails_admin/nested-form-hooks.js +16 -8
  94. data/src/rails_admin/remote-form.js +18 -15
  95. data/src/rails_admin/styles/base/theming.scss +80 -155
  96. data/src/rails_admin/styles/base/variables.scss +2 -0
  97. data/src/rails_admin/styles/base.scss +8 -45
  98. data/src/rails_admin/styles/filtering-multiselect.scss +2 -2
  99. data/src/rails_admin/styles/filtering-select.scss +1 -1
  100. data/src/rails_admin/styles/widgets.scss +1 -10
  101. data/src/rails_admin/ui.js +19 -57
  102. data/src/rails_admin/widgets.js +38 -48
  103. data/vendor/assets/javascripts/rails_admin/bootstrap.js +5046 -0
  104. data/vendor/assets/javascripts/rails_admin/flatpickr-with-locales.js +10683 -0
  105. data/vendor/assets/javascripts/rails_admin/popper.js +1974 -0
  106. data/vendor/assets/stylesheets/rails_admin/bootstrap/_accordion.scss +118 -0
  107. data/vendor/assets/stylesheets/rails_admin/bootstrap/_alert.scss +57 -0
  108. data/vendor/assets/stylesheets/rails_admin/bootstrap/_badge.scss +29 -0
  109. data/vendor/assets/stylesheets/rails_admin/bootstrap/_breadcrumb.scss +28 -0
  110. data/vendor/assets/stylesheets/rails_admin/bootstrap/_button-group.scss +139 -0
  111. data/vendor/assets/stylesheets/rails_admin/bootstrap/_buttons.scss +64 -110
  112. data/vendor/assets/stylesheets/rails_admin/bootstrap/_card.scss +216 -0
  113. data/vendor/assets/stylesheets/rails_admin/bootstrap/_carousel.scss +162 -176
  114. data/vendor/assets/stylesheets/rails_admin/bootstrap/_close.scss +31 -26
  115. data/vendor/assets/stylesheets/rails_admin/bootstrap/_containers.scss +41 -0
  116. data/vendor/assets/stylesheets/rails_admin/bootstrap/_dropdown.scss +240 -0
  117. data/vendor/assets/stylesheets/rails_admin/bootstrap/_forms.scss +9 -538
  118. data/vendor/assets/stylesheets/rails_admin/bootstrap/_functions.scss +302 -0
  119. data/vendor/assets/stylesheets/rails_admin/bootstrap/_grid.scss +18 -69
  120. data/vendor/assets/stylesheets/rails_admin/bootstrap/_helpers.scss +9 -0
  121. data/vendor/assets/stylesheets/rails_admin/bootstrap/_images.scss +42 -0
  122. data/vendor/assets/stylesheets/rails_admin/bootstrap/_list-group.scss +127 -84
  123. data/vendor/assets/stylesheets/rails_admin/bootstrap/_mixins.scss +26 -22
  124. data/vendor/assets/stylesheets/rails_admin/bootstrap/_modal.scss +209 -0
  125. data/vendor/assets/stylesheets/rails_admin/bootstrap/_nav.scss +139 -0
  126. data/vendor/assets/stylesheets/rails_admin/bootstrap/_navbar.scss +218 -542
  127. data/vendor/assets/stylesheets/rails_admin/bootstrap/_offcanvas.scss +83 -0
  128. data/vendor/assets/stylesheets/rails_admin/bootstrap/_pagination.scss +46 -70
  129. data/vendor/assets/stylesheets/rails_admin/bootstrap/_placeholders.scss +51 -0
  130. data/vendor/assets/stylesheets/rails_admin/bootstrap/_popover.scss +158 -0
  131. data/vendor/assets/stylesheets/rails_admin/bootstrap/_progress.scss +48 -0
  132. data/vendor/assets/stylesheets/rails_admin/bootstrap/_reboot.scss +625 -0
  133. data/vendor/assets/stylesheets/rails_admin/bootstrap/_root.scss +54 -0
  134. data/vendor/assets/stylesheets/rails_admin/bootstrap/_spinners.scss +69 -0
  135. data/vendor/assets/stylesheets/rails_admin/bootstrap/_tables.scss +100 -178
  136. data/vendor/assets/stylesheets/rails_admin/bootstrap/_toasts.scss +51 -0
  137. data/vendor/assets/stylesheets/rails_admin/bootstrap/_tooltip.scss +97 -77
  138. data/vendor/assets/stylesheets/rails_admin/bootstrap/_transitions.scss +27 -0
  139. data/vendor/assets/stylesheets/rails_admin/bootstrap/_type.scss +54 -254
  140. data/vendor/assets/stylesheets/rails_admin/bootstrap/_utilities.scss +628 -55
  141. data/vendor/assets/stylesheets/rails_admin/bootstrap/_variables.scss +1572 -781
  142. data/vendor/assets/stylesheets/rails_admin/bootstrap/bootstrap.scss +38 -35
  143. data/vendor/assets/stylesheets/rails_admin/bootstrap/forms/_floating-labels.scss +63 -0
  144. data/vendor/assets/stylesheets/rails_admin/bootstrap/forms/_form-check.scss +152 -0
  145. data/vendor/assets/stylesheets/rails_admin/bootstrap/forms/_form-control.scss +219 -0
  146. data/vendor/assets/stylesheets/rails_admin/bootstrap/forms/_form-range.scss +91 -0
  147. data/vendor/assets/stylesheets/rails_admin/bootstrap/forms/_form-select.scss +72 -0
  148. data/vendor/assets/stylesheets/rails_admin/bootstrap/forms/_form-text.scss +11 -0
  149. data/vendor/assets/stylesheets/rails_admin/bootstrap/forms/_input-group.scss +121 -0
  150. data/vendor/assets/stylesheets/rails_admin/bootstrap/forms/_labels.scss +36 -0
  151. data/vendor/assets/stylesheets/rails_admin/bootstrap/forms/_validation.scss +12 -0
  152. data/vendor/assets/stylesheets/rails_admin/bootstrap/helpers/_clearfix.scss +3 -0
  153. data/vendor/assets/stylesheets/rails_admin/bootstrap/helpers/_colored-links.scss +12 -0
  154. data/vendor/assets/stylesheets/rails_admin/bootstrap/helpers/_position.scss +30 -0
  155. data/vendor/assets/stylesheets/rails_admin/bootstrap/helpers/_ratio.scss +26 -0
  156. data/vendor/assets/stylesheets/rails_admin/bootstrap/helpers/_stacks.scss +15 -0
  157. data/vendor/assets/stylesheets/rails_admin/bootstrap/helpers/_stretched-link.scss +15 -0
  158. data/vendor/assets/stylesheets/rails_admin/bootstrap/helpers/_text-truncation.scss +7 -0
  159. data/vendor/assets/stylesheets/rails_admin/bootstrap/helpers/_visually-hidden.scss +8 -0
  160. data/vendor/assets/stylesheets/rails_admin/bootstrap/helpers/_vr.scss +8 -0
  161. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_alert.scss +11 -0
  162. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_backdrop.scss +14 -0
  163. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_border-radius.scss +72 -12
  164. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_box-shadow.scss +18 -0
  165. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_breakpoints.scss +127 -0
  166. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_buttons.scss +113 -30
  167. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_caret.scss +64 -0
  168. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_clearfix.scss +5 -18
  169. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_color-scheme.scss +7 -0
  170. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_container.scss +9 -0
  171. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_deprecate.scss +10 -0
  172. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_forms.scss +130 -70
  173. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_gradients.scss +27 -38
  174. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_grid.scss +127 -98
  175. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_image.scss +6 -24
  176. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_list-group.scss +13 -20
  177. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_lists.scss +7 -0
  178. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_pagination.scss +24 -16
  179. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_reset-text.scss +17 -0
  180. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_resize.scss +1 -1
  181. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_table-variants.scss +21 -0
  182. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/{_text-overflow.scss → _text-truncate.scss} +2 -2
  183. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_transition.scss +26 -0
  184. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_utilities.scss +89 -0
  185. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_visually-hidden.scss +29 -0
  186. data/vendor/assets/stylesheets/rails_admin/bootstrap/utilities/_api.scss +47 -0
  187. data/vendor/assets/stylesheets/rails_admin/bootstrap/vendor/_rfs.scss +354 -0
  188. data/vendor/assets/stylesheets/rails_admin/flatpickr.css +791 -0
  189. metadata +88 -94
  190. data/app/assets/stylesheets/rails_admin.scss.erb +0 -76
  191. data/lib/generators/rails_admin/templates/environment.js +0 -6
  192. data/src/rails_admin/styles/themes/cerulean/mixins.scss +0 -0
  193. data/src/rails_admin/styles/themes/cerulean/theming.scss +0 -135
  194. data/src/rails_admin/styles/themes/cerulean/variables.scss +0 -830
  195. data/src/rails_admin/styles/themes/default/mixins.scss +0 -8
  196. data/src/rails_admin/styles/themes/default/theming.scss +0 -11
  197. data/src/rails_admin/styles/themes/default/variables.scss +0 -12
  198. data/src/rails_admin/vendor/jquery.pjax.js +0 -899
  199. data/vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-affix.js +0 -164
  200. data/vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-alert.js +0 -95
  201. data/vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-button.js +0 -125
  202. data/vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-carousel.js +0 -246
  203. data/vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-collapse.js +0 -212
  204. data/vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-dropdown.js +0 -165
  205. data/vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-modal.js +0 -358
  206. data/vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-popover.js +0 -123
  207. data/vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-scrollspy.js +0 -172
  208. data/vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-tab.js +0 -155
  209. data/vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-tooltip.js +0 -677
  210. data/vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-transition.js +0 -59
  211. data/vendor/assets/javascripts/rails_admin/bootstrap/bootstrap-typeahead.js +0 -1782
  212. data/vendor/assets/javascripts/rails_admin/bootstrap/bootstrap.js +0 -13
  213. data/vendor/assets/javascripts/rails_admin/bootstrap-datetimepicker.js +0 -2611
  214. data/vendor/assets/javascripts/rails_admin/jquery.pjax.js +0 -898
  215. data/vendor/assets/javascripts/rails_admin/moment-with-locales.js +0 -18085
  216. data/vendor/assets/stylesheets/rails_admin/_bootstrap-datetimepicker.scss +0 -343
  217. data/vendor/assets/stylesheets/rails_admin/bootstrap/_alerts.scss +0 -68
  218. data/vendor/assets/stylesheets/rails_admin/bootstrap/_badges.scss +0 -57
  219. data/vendor/assets/stylesheets/rails_admin/bootstrap/_breadcrumbs.scss +0 -26
  220. data/vendor/assets/stylesheets/rails_admin/bootstrap/_button-groups.scss +0 -240
  221. data/vendor/assets/stylesheets/rails_admin/bootstrap/_code.scss +0 -68
  222. data/vendor/assets/stylesheets/rails_admin/bootstrap/_component-animations.scss +0 -35
  223. data/vendor/assets/stylesheets/rails_admin/bootstrap/_dropdowns.scss +0 -215
  224. data/vendor/assets/stylesheets/rails_admin/bootstrap/_glyphicons.scss +0 -237
  225. data/vendor/assets/stylesheets/rails_admin/bootstrap/_input-groups.scss +0 -166
  226. data/vendor/assets/stylesheets/rails_admin/bootstrap/_jumbotron.scss +0 -48
  227. data/vendor/assets/stylesheets/rails_admin/bootstrap/_labels.scss +0 -66
  228. data/vendor/assets/stylesheets/rails_admin/bootstrap/_media.scss +0 -56
  229. data/vendor/assets/stylesheets/rails_admin/bootstrap/_modals.scss +0 -150
  230. data/vendor/assets/stylesheets/rails_admin/bootstrap/_navs.scss +0 -242
  231. data/vendor/assets/stylesheets/rails_admin/bootstrap/_normalize.scss +0 -425
  232. data/vendor/assets/stylesheets/rails_admin/bootstrap/_pager.scss +0 -55
  233. data/vendor/assets/stylesheets/rails_admin/bootstrap/_panels.scss +0 -243
  234. data/vendor/assets/stylesheets/rails_admin/bootstrap/_popovers.scss +0 -133
  235. data/vendor/assets/stylesheets/rails_admin/bootstrap/_print.scss +0 -101
  236. data/vendor/assets/stylesheets/rails_admin/bootstrap/_progress-bars.scss +0 -105
  237. data/vendor/assets/stylesheets/rails_admin/bootstrap/_responsive-embed.scss +0 -34
  238. data/vendor/assets/stylesheets/rails_admin/bootstrap/_responsive-utilities.scss +0 -174
  239. data/vendor/assets/stylesheets/rails_admin/bootstrap/_scaffolding.scss +0 -150
  240. data/vendor/assets/stylesheets/rails_admin/bootstrap/_theme.scss +0 -258
  241. data/vendor/assets/stylesheets/rails_admin/bootstrap/_thumbnails.scss +0 -38
  242. data/vendor/assets/stylesheets/rails_admin/bootstrap/_wells.scss +0 -29
  243. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_alerts.scss +0 -14
  244. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_background-variant.scss +0 -11
  245. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_center-block.scss +0 -7
  246. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_grid-framework.scss +0 -81
  247. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_hide-text.scss +0 -21
  248. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_labels.scss +0 -12
  249. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_nav-divider.scss +0 -10
  250. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_nav-vertical-align.scss +0 -9
  251. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_opacity.scss +0 -8
  252. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_panels.scss +0 -24
  253. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_progress-bar.scss +0 -10
  254. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_reset-filter.scss +0 -8
  255. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_responsive-visibility.scss +0 -21
  256. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_size.scss +0 -10
  257. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_tab-focus.scss +0 -9
  258. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_table-row.scss +0 -28
  259. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_text-emphasis.scss +0 -11
  260. data/vendor/assets/stylesheets/rails_admin/bootstrap/mixins/_vendor-prefixes.scss +0 -219
  261. data/vendor/assets/stylesheets/rails_admin/bootstrap-datetimepicker-build.scss +0 -16
@@ -1,850 +1,1641 @@
1
- // a flag to toggle asset pipeline / compass integration
2
- // defaults to true if twbs-font-path function is present (no function => twbs-font-path('') parsed as string == right side)
3
- // in Sass 3.3 this can be improved with: function-exists(twbs-font-path)
4
- $bootstrap-sass-asset-helper: (twbs-font-path("") != unquote('twbs-font-path("")')) !default;
5
- //
6
1
  // Variables
7
- // --------------------------------------------------
8
-
9
-
10
- //== Colors
11
2
  //
12
- //## Gray and brand colors for use across Bootstrap.
13
-
14
- $gray-darker: lighten(#000, 13.5%) !default; // #222
15
- $gray-dark: lighten(#000, 20%) !default; // #333
16
- $gray: lighten(#000, 33.5%) !default; // #555
17
- $gray-light: lighten(#000, 46.7%) !default; // #777
18
- $gray-lighter: lighten(#000, 93.5%) !default; // #eee
19
-
20
- $brand-primary: #428bca !default;
21
- $brand-success: #5cb85c !default;
22
- $brand-info: #5bc0de !default;
23
- $brand-warning: #f0ad4e !default;
24
- $brand-danger: #d9534f !default;
25
-
26
-
27
- //== Scaffolding
3
+ // Variables should follow the `$component-state-property-size` formula for
4
+ // consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
5
+
6
+ // Color system
7
+
8
+ // scss-docs-start gray-color-variables
9
+ $white: #fff !default;
10
+ $gray-100: #f8f9fa !default;
11
+ $gray-200: #e9ecef !default;
12
+ $gray-300: #dee2e6 !default;
13
+ $gray-400: #ced4da !default;
14
+ $gray-500: #adb5bd !default;
15
+ $gray-600: #6c757d !default;
16
+ $gray-700: #495057 !default;
17
+ $gray-800: #343a40 !default;
18
+ $gray-900: #212529 !default;
19
+ $black: #000 !default;
20
+ // scss-docs-end gray-color-variables
21
+
22
+ // fusv-disable
23
+ // scss-docs-start gray-colors-map
24
+ $grays: (
25
+ "100": $gray-100,
26
+ "200": $gray-200,
27
+ "300": $gray-300,
28
+ "400": $gray-400,
29
+ "500": $gray-500,
30
+ "600": $gray-600,
31
+ "700": $gray-700,
32
+ "800": $gray-800,
33
+ "900": $gray-900
34
+ ) !default;
35
+ // scss-docs-end gray-colors-map
36
+ // fusv-enable
37
+
38
+ // scss-docs-start color-variables
39
+ $blue: #0d6efd !default;
40
+ $indigo: #6610f2 !default;
41
+ $purple: #6f42c1 !default;
42
+ $pink: #d63384 !default;
43
+ $red: #dc3545 !default;
44
+ $orange: #fd7e14 !default;
45
+ $yellow: #ffc107 !default;
46
+ $green: #198754 !default;
47
+ $teal: #20c997 !default;
48
+ $cyan: #0dcaf0 !default;
49
+ // scss-docs-end color-variables
50
+
51
+ // scss-docs-start colors-map
52
+ $colors: (
53
+ "blue": $blue,
54
+ "indigo": $indigo,
55
+ "purple": $purple,
56
+ "pink": $pink,
57
+ "red": $red,
58
+ "orange": $orange,
59
+ "yellow": $yellow,
60
+ "green": $green,
61
+ "teal": $teal,
62
+ "cyan": $cyan,
63
+ "white": $white,
64
+ "gray": $gray-600,
65
+ "gray-dark": $gray-800
66
+ ) !default;
67
+ // scss-docs-end colors-map
68
+
69
+ // scss-docs-start theme-color-variables
70
+ $primary: $blue !default;
71
+ $secondary: $gray-600 !default;
72
+ $success: $green !default;
73
+ $info: $cyan !default;
74
+ $warning: $yellow !default;
75
+ $danger: $red !default;
76
+ $light: $gray-100 !default;
77
+ $dark: $gray-900 !default;
78
+ // scss-docs-end theme-color-variables
79
+
80
+ // scss-docs-start theme-colors-map
81
+ $theme-colors: (
82
+ "primary": $primary,
83
+ "secondary": $secondary,
84
+ "success": $success,
85
+ "info": $info,
86
+ "warning": $warning,
87
+ "danger": $danger,
88
+ "light": $light,
89
+ "dark": $dark
90
+ ) !default;
91
+ // scss-docs-end theme-colors-map
92
+
93
+ // scss-docs-start theme-colors-rgb
94
+ $theme-colors-rgb: map-loop($theme-colors, to-rgb, "$value") !default;
95
+ // scss-docs-end theme-colors-rgb
96
+
97
+ // The contrast ratio to reach against white, to determine if color changes from "light" to "dark". Acceptable values for WCAG 2.0 are 3, 4.5 and 7.
98
+ // See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast
99
+ $min-contrast-ratio: 4.5 !default;
100
+
101
+ // Customize the light and dark text colors for use in our color contrast function.
102
+ $color-contrast-dark: $black !default;
103
+ $color-contrast-light: $white !default;
104
+
105
+ // fusv-disable
106
+ $blue-100: tint-color($blue, 80%) !default;
107
+ $blue-200: tint-color($blue, 60%) !default;
108
+ $blue-300: tint-color($blue, 40%) !default;
109
+ $blue-400: tint-color($blue, 20%) !default;
110
+ $blue-500: $blue !default;
111
+ $blue-600: shade-color($blue, 20%) !default;
112
+ $blue-700: shade-color($blue, 40%) !default;
113
+ $blue-800: shade-color($blue, 60%) !default;
114
+ $blue-900: shade-color($blue, 80%) !default;
115
+
116
+ $indigo-100: tint-color($indigo, 80%) !default;
117
+ $indigo-200: tint-color($indigo, 60%) !default;
118
+ $indigo-300: tint-color($indigo, 40%) !default;
119
+ $indigo-400: tint-color($indigo, 20%) !default;
120
+ $indigo-500: $indigo !default;
121
+ $indigo-600: shade-color($indigo, 20%) !default;
122
+ $indigo-700: shade-color($indigo, 40%) !default;
123
+ $indigo-800: shade-color($indigo, 60%) !default;
124
+ $indigo-900: shade-color($indigo, 80%) !default;
125
+
126
+ $purple-100: tint-color($purple, 80%) !default;
127
+ $purple-200: tint-color($purple, 60%) !default;
128
+ $purple-300: tint-color($purple, 40%) !default;
129
+ $purple-400: tint-color($purple, 20%) !default;
130
+ $purple-500: $purple !default;
131
+ $purple-600: shade-color($purple, 20%) !default;
132
+ $purple-700: shade-color($purple, 40%) !default;
133
+ $purple-800: shade-color($purple, 60%) !default;
134
+ $purple-900: shade-color($purple, 80%) !default;
135
+
136
+ $pink-100: tint-color($pink, 80%) !default;
137
+ $pink-200: tint-color($pink, 60%) !default;
138
+ $pink-300: tint-color($pink, 40%) !default;
139
+ $pink-400: tint-color($pink, 20%) !default;
140
+ $pink-500: $pink !default;
141
+ $pink-600: shade-color($pink, 20%) !default;
142
+ $pink-700: shade-color($pink, 40%) !default;
143
+ $pink-800: shade-color($pink, 60%) !default;
144
+ $pink-900: shade-color($pink, 80%) !default;
145
+
146
+ $red-100: tint-color($red, 80%) !default;
147
+ $red-200: tint-color($red, 60%) !default;
148
+ $red-300: tint-color($red, 40%) !default;
149
+ $red-400: tint-color($red, 20%) !default;
150
+ $red-500: $red !default;
151
+ $red-600: shade-color($red, 20%) !default;
152
+ $red-700: shade-color($red, 40%) !default;
153
+ $red-800: shade-color($red, 60%) !default;
154
+ $red-900: shade-color($red, 80%) !default;
155
+
156
+ $orange-100: tint-color($orange, 80%) !default;
157
+ $orange-200: tint-color($orange, 60%) !default;
158
+ $orange-300: tint-color($orange, 40%) !default;
159
+ $orange-400: tint-color($orange, 20%) !default;
160
+ $orange-500: $orange !default;
161
+ $orange-600: shade-color($orange, 20%) !default;
162
+ $orange-700: shade-color($orange, 40%) !default;
163
+ $orange-800: shade-color($orange, 60%) !default;
164
+ $orange-900: shade-color($orange, 80%) !default;
165
+
166
+ $yellow-100: tint-color($yellow, 80%) !default;
167
+ $yellow-200: tint-color($yellow, 60%) !default;
168
+ $yellow-300: tint-color($yellow, 40%) !default;
169
+ $yellow-400: tint-color($yellow, 20%) !default;
170
+ $yellow-500: $yellow !default;
171
+ $yellow-600: shade-color($yellow, 20%) !default;
172
+ $yellow-700: shade-color($yellow, 40%) !default;
173
+ $yellow-800: shade-color($yellow, 60%) !default;
174
+ $yellow-900: shade-color($yellow, 80%) !default;
175
+
176
+ $green-100: tint-color($green, 80%) !default;
177
+ $green-200: tint-color($green, 60%) !default;
178
+ $green-300: tint-color($green, 40%) !default;
179
+ $green-400: tint-color($green, 20%) !default;
180
+ $green-500: $green !default;
181
+ $green-600: shade-color($green, 20%) !default;
182
+ $green-700: shade-color($green, 40%) !default;
183
+ $green-800: shade-color($green, 60%) !default;
184
+ $green-900: shade-color($green, 80%) !default;
185
+
186
+ $teal-100: tint-color($teal, 80%) !default;
187
+ $teal-200: tint-color($teal, 60%) !default;
188
+ $teal-300: tint-color($teal, 40%) !default;
189
+ $teal-400: tint-color($teal, 20%) !default;
190
+ $teal-500: $teal !default;
191
+ $teal-600: shade-color($teal, 20%) !default;
192
+ $teal-700: shade-color($teal, 40%) !default;
193
+ $teal-800: shade-color($teal, 60%) !default;
194
+ $teal-900: shade-color($teal, 80%) !default;
195
+
196
+ $cyan-100: tint-color($cyan, 80%) !default;
197
+ $cyan-200: tint-color($cyan, 60%) !default;
198
+ $cyan-300: tint-color($cyan, 40%) !default;
199
+ $cyan-400: tint-color($cyan, 20%) !default;
200
+ $cyan-500: $cyan !default;
201
+ $cyan-600: shade-color($cyan, 20%) !default;
202
+ $cyan-700: shade-color($cyan, 40%) !default;
203
+ $cyan-800: shade-color($cyan, 60%) !default;
204
+ $cyan-900: shade-color($cyan, 80%) !default;
205
+
206
+ $blues: (
207
+ "blue-100": $blue-100,
208
+ "blue-200": $blue-200,
209
+ "blue-300": $blue-300,
210
+ "blue-400": $blue-400,
211
+ "blue-500": $blue-500,
212
+ "blue-600": $blue-600,
213
+ "blue-700": $blue-700,
214
+ "blue-800": $blue-800,
215
+ "blue-900": $blue-900
216
+ ) !default;
217
+
218
+ $indigos: (
219
+ "indigo-100": $indigo-100,
220
+ "indigo-200": $indigo-200,
221
+ "indigo-300": $indigo-300,
222
+ "indigo-400": $indigo-400,
223
+ "indigo-500": $indigo-500,
224
+ "indigo-600": $indigo-600,
225
+ "indigo-700": $indigo-700,
226
+ "indigo-800": $indigo-800,
227
+ "indigo-900": $indigo-900
228
+ ) !default;
229
+
230
+ $purples: (
231
+ "purple-100": $purple-200,
232
+ "purple-200": $purple-100,
233
+ "purple-300": $purple-300,
234
+ "purple-400": $purple-400,
235
+ "purple-500": $purple-500,
236
+ "purple-600": $purple-600,
237
+ "purple-700": $purple-700,
238
+ "purple-800": $purple-800,
239
+ "purple-900": $purple-900
240
+ ) !default;
241
+
242
+ $pinks: (
243
+ "pink-100": $pink-100,
244
+ "pink-200": $pink-200,
245
+ "pink-300": $pink-300,
246
+ "pink-400": $pink-400,
247
+ "pink-500": $pink-500,
248
+ "pink-600": $pink-600,
249
+ "pink-700": $pink-700,
250
+ "pink-800": $pink-800,
251
+ "pink-900": $pink-900
252
+ ) !default;
253
+
254
+ $reds: (
255
+ "red-100": $red-100,
256
+ "red-200": $red-200,
257
+ "red-300": $red-300,
258
+ "red-400": $red-400,
259
+ "red-500": $red-500,
260
+ "red-600": $red-600,
261
+ "red-700": $red-700,
262
+ "red-800": $red-800,
263
+ "red-900": $red-900
264
+ ) !default;
265
+
266
+ $oranges: (
267
+ "orange-100": $orange-100,
268
+ "orange-200": $orange-200,
269
+ "orange-300": $orange-300,
270
+ "orange-400": $orange-400,
271
+ "orange-500": $orange-500,
272
+ "orange-600": $orange-600,
273
+ "orange-700": $orange-700,
274
+ "orange-800": $orange-800,
275
+ "orange-900": $orange-900
276
+ ) !default;
277
+
278
+ $yellows: (
279
+ "yellow-100": $yellow-100,
280
+ "yellow-200": $yellow-200,
281
+ "yellow-300": $yellow-300,
282
+ "yellow-400": $yellow-400,
283
+ "yellow-500": $yellow-500,
284
+ "yellow-600": $yellow-600,
285
+ "yellow-700": $yellow-700,
286
+ "yellow-800": $yellow-800,
287
+ "yellow-900": $yellow-900
288
+ ) !default;
289
+
290
+ $greens: (
291
+ "green-100": $green-100,
292
+ "green-200": $green-200,
293
+ "green-300": $green-300,
294
+ "green-400": $green-400,
295
+ "green-500": $green-500,
296
+ "green-600": $green-600,
297
+ "green-700": $green-700,
298
+ "green-800": $green-800,
299
+ "green-900": $green-900
300
+ ) !default;
301
+
302
+ $teals: (
303
+ "teal-100": $teal-100,
304
+ "teal-200": $teal-200,
305
+ "teal-300": $teal-300,
306
+ "teal-400": $teal-400,
307
+ "teal-500": $teal-500,
308
+ "teal-600": $teal-600,
309
+ "teal-700": $teal-700,
310
+ "teal-800": $teal-800,
311
+ "teal-900": $teal-900
312
+ ) !default;
313
+
314
+ $cyans: (
315
+ "cyan-100": $cyan-100,
316
+ "cyan-200": $cyan-200,
317
+ "cyan-300": $cyan-300,
318
+ "cyan-400": $cyan-400,
319
+ "cyan-500": $cyan-500,
320
+ "cyan-600": $cyan-600,
321
+ "cyan-700": $cyan-700,
322
+ "cyan-800": $cyan-800,
323
+ "cyan-900": $cyan-900
324
+ ) !default;
325
+ // fusv-enable
326
+
327
+ // Characters which are escaped by the escape-svg function
328
+ $escaped-characters: (
329
+ ("<", "%3c"),
330
+ (">", "%3e"),
331
+ ("#", "%23"),
332
+ ("(", "%28"),
333
+ (")", "%29"),
334
+ ) !default;
335
+
336
+ // Options
28
337
  //
29
- //## Settings for some of the most global styles.
30
-
31
- //** Background color for `<body>`.
32
- $body-bg: #fff !default;
33
- //** Global text color on `<body>`.
34
- $text-color: $gray-dark !default;
35
-
36
- //** Global textual link color.
37
- $link-color: $brand-primary !default;
38
- //** Link hover color set via `darken()` function.
39
- $link-hover-color: darken($link-color, 15%) !default;
40
-
41
-
42
- //== Typography
43
- //
44
- //## Font, line-height, and color for body text, headings, and more.
45
-
46
- $font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
47
- $font-family-serif: Georgia, "Times New Roman", Times, serif !default;
48
- //** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
49
- $font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace !default;
50
- $font-family-base: $font-family-sans-serif !default;
51
-
52
- $font-size-base: 14px !default;
53
- $font-size-large: ceil(($font-size-base * 1.25)) !default; // ~18px
54
- $font-size-small: ceil(($font-size-base * 0.85)) !default; // ~12px
55
-
56
- $font-size-h1: floor(($font-size-base * 2.6)) !default; // ~36px
57
- $font-size-h2: floor(($font-size-base * 2.15)) !default; // ~30px
58
- $font-size-h3: ceil(($font-size-base * 1.7)) !default; // ~24px
59
- $font-size-h4: ceil(($font-size-base * 1.25)) !default; // ~18px
60
- $font-size-h5: $font-size-base !default;
61
- $font-size-h6: ceil(($font-size-base * 0.85)) !default; // ~12px
62
-
63
- //** Unit-less `line-height` for use in components like buttons.
64
- $line-height-base: 1.428571429 !default; // 20/14
65
- //** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
66
- $line-height-computed: floor(($font-size-base * $line-height-base)) !default; // ~20px
67
-
68
- //** By default, this inherits from the `<body>`.
69
- $headings-font-family: inherit !default;
70
- $headings-font-weight: 500 !default;
71
- $headings-line-height: 1.1 !default;
72
- $headings-color: inherit !default;
73
-
74
-
75
- //== Iconography
338
+ // Quickly modify global styling by enabling or disabling optional features.
339
+
340
+ $enable-caret: true !default;
341
+ $enable-rounded: true !default;
342
+ $enable-shadows: false !default;
343
+ $enable-gradients: false !default;
344
+ $enable-transitions: true !default;
345
+ $enable-reduced-motion: true !default;
346
+ $enable-smooth-scroll: true !default;
347
+ $enable-grid-classes: true !default;
348
+ $enable-cssgrid: false !default;
349
+ $enable-button-pointers: true !default;
350
+ $enable-rfs: true !default;
351
+ $enable-validation-icons: true !default;
352
+ $enable-negative-margins: false !default;
353
+ $enable-deprecation-messages: true !default;
354
+ $enable-important-utilities: true !default;
355
+
356
+ // Prefix for :root CSS variables
357
+
358
+ $variable-prefix: bs- !default;
359
+
360
+ // Gradient
76
361
  //
77
- //## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.
362
+ // The gradient which is added to components if `$enable-gradients` is `true`
363
+ // This gradient is also added to elements with `.bg-gradient`
364
+ // scss-docs-start variable-gradient
365
+ $gradient: linear-gradient(180deg, rgba($white, .15), rgba($white, 0)) !default;
366
+ // scss-docs-end variable-gradient
78
367
 
79
- //** Load fonts from this directory.
80
- $icon-font-path: "bootstrap/" !default;
81
- //** File name for all font files.
82
- $icon-font-name: "glyphicons-halflings-regular" !default;
83
- //** Element ID within SVG icon file.
84
- $icon-font-svg-id: "glyphicons_halflingsregular" !default;
85
-
86
-
87
- //== Components
368
+ // Spacing
88
369
  //
89
- //## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
90
-
91
- $padding-base-vertical: 6px !default;
92
- $padding-base-horizontal: 12px !default;
93
-
94
- $padding-large-vertical: 10px !default;
95
- $padding-large-horizontal: 16px !default;
96
-
97
- $padding-small-vertical: 5px !default;
98
- $padding-small-horizontal: 10px !default;
99
-
100
- $padding-xs-vertical: 1px !default;
101
- $padding-xs-horizontal: 5px !default;
102
-
103
- $line-height-large: 1.33 !default;
104
- $line-height-small: 1.5 !default;
105
-
106
- $border-radius-base: 4px !default;
107
- $border-radius-large: 6px !default;
108
- $border-radius-small: 3px !default;
109
-
110
- //** Global color for active items (e.g., navs or dropdowns).
111
- $component-active-color: #fff !default;
112
- //** Global background color for active items (e.g., navs or dropdowns).
113
- $component-active-bg: $brand-primary !default;
114
-
115
- //** Width of the `border` for generating carets that indicator dropdowns.
116
- $caret-width-base: 4px !default;
117
- //** Carets increase slightly in size for larger components.
118
- $caret-width-large: 5px !default;
119
-
120
-
121
- //== Tables
370
+ // Control the default styling of most Bootstrap elements by modifying these
371
+ // variables. Mostly focused on spacing.
372
+ // You can add more entries to the $spacers map, should you need more variation.
373
+
374
+ // scss-docs-start spacer-variables-maps
375
+ $spacer: 1rem !default;
376
+ $spacers: (
377
+ 0: 0,
378
+ 1: $spacer * .25,
379
+ 2: $spacer * .5,
380
+ 3: $spacer,
381
+ 4: $spacer * 1.5,
382
+ 5: $spacer * 3,
383
+ ) !default;
384
+
385
+ $negative-spacers: if($enable-negative-margins, negativify-map($spacers), null) !default;
386
+ // scss-docs-end spacer-variables-maps
387
+
388
+ // Position
122
389
  //
123
- //## Customizes the `.table` component with basic values, each used across all table variations.
124
-
125
- //** Padding for `<th>`s and `<td>`s.
126
- $table-cell-padding: 8px !default;
127
- //** Padding for cells in `.table-condensed`.
128
- $table-condensed-cell-padding: 5px !default;
129
-
130
- //** Default background color used for all tables.
131
- $table-bg: transparent !default;
132
- //** Background color used for `.table-striped`.
133
- $table-bg-accent: #f9f9f9 !default;
134
- //** Background color used for `.table-hover`.
135
- $table-bg-hover: #f5f5f5 !default;
136
- $table-bg-active: $table-bg-hover !default;
390
+ // Define the edge positioning anchors of the position utilities.
137
391
 
138
- //** Border color for table and cell borders.
139
- $table-border-color: #ddd !default;
392
+ // scss-docs-start position-map
393
+ $position-values: (
394
+ 0: 0,
395
+ 50: 50%,
396
+ 100: 100%
397
+ ) !default;
398
+ // scss-docs-end position-map
140
399
 
141
-
142
- //== Buttons
400
+ // Body
143
401
  //
144
- //## For each of Bootstrap's buttons, define text, background and border color.
145
-
146
- $btn-font-weight: normal !default;
147
-
148
- $btn-default-color: #333 !default;
149
- $btn-default-bg: #fff !default;
150
- $btn-default-border: #ccc !default;
402
+ // Settings for the `<body>` element.
151
403
 
152
- $btn-primary-color: #fff !default;
153
- $btn-primary-bg: $brand-primary !default;
154
- $btn-primary-border: darken($btn-primary-bg, 5%) !default;
404
+ $body-bg: $white !default;
405
+ $body-color: $gray-900 !default;
406
+ $body-text-align: null !default;
155
407
 
156
- $btn-success-color: #fff !default;
157
- $btn-success-bg: $brand-success !default;
158
- $btn-success-border: darken($btn-success-bg, 5%) !default;
159
-
160
- $btn-info-color: #fff !default;
161
- $btn-info-bg: $brand-info !default;
162
- $btn-info-border: darken($btn-info-bg, 5%) !default;
163
-
164
- $btn-warning-color: #fff !default;
165
- $btn-warning-bg: $brand-warning !default;
166
- $btn-warning-border: darken($btn-warning-bg, 5%) !default;
167
-
168
- $btn-danger-color: #fff !default;
169
- $btn-danger-bg: $brand-danger !default;
170
- $btn-danger-border: darken($btn-danger-bg, 5%) !default;
171
-
172
- $btn-link-disabled-color: $gray-light !default;
173
-
174
-
175
- //== Forms
176
- //
177
- //##
178
-
179
- //** `<input>` background color
180
- $input-bg: #fff !default;
181
- //** `<input disabled>` background color
182
- $input-bg-disabled: $gray-lighter !default;
183
-
184
- //** Text color for `<input>`s
185
- $input-color: $gray !default;
186
- //** `<input>` border color
187
- $input-border: #ccc !default;
188
- //** `<input>` border radius
189
- $input-border-radius: $border-radius-base !default;
190
- //** Border color for inputs on focus
191
- $input-border-focus: #66afe9 !default;
192
-
193
- //** Placeholder text color
194
- $input-color-placeholder: $gray-light !default;
195
-
196
- //** Default `.form-control` height
197
- $input-height-base: ($line-height-computed + ($padding-base-vertical * 2) + 2) !default;
198
- //** Large `.form-control` height
199
- $input-height-large: (ceil($font-size-large * $line-height-large) + ($padding-large-vertical * 2) + 2) !default;
200
- //** Small `.form-control` height
201
- $input-height-small: (floor($font-size-small * $line-height-small) + ($padding-small-vertical * 2) + 2) !default;
202
-
203
- $legend-color: $gray-dark !default;
204
- $legend-border-color: #e5e5e5 !default;
205
-
206
- //** Background color for textual input addons
207
- $input-group-addon-bg: $gray-lighter !default;
208
- //** Border color for textual input addons
209
- $input-group-addon-border-color: $input-border !default;
210
-
211
-
212
- //== Dropdowns
213
- //
214
- //## Dropdown menu container and contents.
215
-
216
- //** Background for the dropdown menu.
217
- $dropdown-bg: #fff !default;
218
- //** Dropdown menu `border-color`.
219
- $dropdown-border: rgba(0,0,0,.15) !default;
220
- //** Dropdown menu `border-color` **for IE8**.
221
- $dropdown-fallback-border: #ccc !default;
222
- //** Divider color for between dropdown items.
223
- $dropdown-divider-bg: #e5e5e5 !default;
224
-
225
- //** Dropdown link text color.
226
- $dropdown-link-color: $gray-dark !default;
227
- //** Hover color for dropdown links.
228
- $dropdown-link-hover-color: darken($gray-dark, 5%) !default;
229
- //** Hover background for dropdown links.
230
- $dropdown-link-hover-bg: #f5f5f5 !default;
231
-
232
- //** Active dropdown menu item text color.
233
- $dropdown-link-active-color: $component-active-color !default;
234
- //** Active dropdown menu item background color.
235
- $dropdown-link-active-bg: $component-active-bg !default;
236
-
237
- //** Disabled dropdown menu item background color.
238
- $dropdown-link-disabled-color: $gray-light !default;
239
-
240
- //** Text color for headers within dropdown menus.
241
- $dropdown-header-color: $gray-light !default;
242
-
243
- //** Deprecated `$dropdown-caret-color` as of v3.1.0
244
- $dropdown-caret-color: #000 !default;
245
-
246
-
247
- //-- Z-index master list
408
+ // Utilities maps
248
409
  //
249
- // Warning: Avoid customizing these values. They're used for a bird's eye view
250
- // of components dependent on the z-axis and are designed to all work together.
410
+ // Extends the default `$theme-colors` maps to help create our utilities.
411
+
412
+ // Come v6, we'll de-dupe these variables. Until then, for backward compatibility, we keep them to reassign.
413
+ // scss-docs-start utilities-colors
414
+ $utilities-colors: $theme-colors-rgb !default;
415
+ // scss-docs-end utilities-colors
416
+
417
+ // scss-docs-start utilities-text-colors
418
+ $utilities-text: map-merge(
419
+ $utilities-colors,
420
+ (
421
+ "black": to-rgb($black),
422
+ "white": to-rgb($white),
423
+ "body": to-rgb($body-color)
424
+ )
425
+ ) !default;
426
+ $utilities-text-colors: map-loop($utilities-text, rgba-css-var, "$key", "text") !default;
427
+ // scss-docs-end utilities-text-colors
428
+
429
+ // scss-docs-start utilities-bg-colors
430
+ $utilities-bg: map-merge(
431
+ $utilities-colors,
432
+ (
433
+ "black": to-rgb($black),
434
+ "white": to-rgb($white),
435
+ "body": to-rgb($body-bg)
436
+ )
437
+ ) !default;
438
+ $utilities-bg-colors: map-loop($utilities-bg, rgba-css-var, "$key", "bg") !default;
439
+ // scss-docs-end utilities-bg-colors
440
+
441
+ // Links
251
442
  //
252
- // Note: These variables are not generated into the Customizer.
443
+ // Style anchor elements.
253
444
 
254
- $zindex-navbar: 1000 !default;
255
- $zindex-dropdown: 1000 !default;
256
- $zindex-popover: 1060 !default;
257
- $zindex-tooltip: 1070 !default;
258
- $zindex-navbar-fixed: 1030 !default;
259
- $zindex-modal-background: 1040 !default;
260
- $zindex-modal: 1050 !default;
445
+ $link-color: $primary !default;
446
+ $link-decoration: underline !default;
447
+ $link-shade-percentage: 20% !default;
448
+ $link-hover-color: shift-color($link-color, $link-shade-percentage) !default;
449
+ $link-hover-decoration: null !default;
261
450
 
451
+ $stretched-link-pseudo-element: after !default;
452
+ $stretched-link-z-index: 1 !default;
262
453
 
263
- //== Media queries breakpoints
454
+ // Paragraphs
264
455
  //
265
- //## Define the breakpoints at which your layout will change, adapting to different screen sizes.
266
-
267
- // Extra small screen / phone
268
- //** Deprecated `$screen-xs` as of v3.0.1
269
- $screen-xs: 480px !default;
270
- //** Deprecated `$screen-xs-min` as of v3.2.0
271
- $screen-xs-min: $screen-xs !default;
272
- //** Deprecated `$screen-phone` as of v3.0.1
273
- $screen-phone: $screen-xs-min !default;
274
-
275
- // Small screen / tablet
276
- //** Deprecated `$screen-sm` as of v3.0.1
277
- $screen-sm: 768px !default;
278
- $screen-sm-min: $screen-sm !default;
279
- //** Deprecated `$screen-tablet` as of v3.0.1
280
- $screen-tablet: $screen-sm-min !default;
281
-
282
- // Medium screen / desktop
283
- //** Deprecated `$screen-md` as of v3.0.1
284
- $screen-md: 992px !default;
285
- $screen-md-min: $screen-md !default;
286
- //** Deprecated `$screen-desktop` as of v3.0.1
287
- $screen-desktop: $screen-md-min !default;
288
-
289
- // Large screen / wide desktop
290
- //** Deprecated `$screen-lg` as of v3.0.1
291
- $screen-lg: 1200px !default;
292
- $screen-lg-min: $screen-lg !default;
293
- //** Deprecated `$screen-lg-desktop` as of v3.0.1
294
- $screen-lg-desktop: $screen-lg-min !default;
295
-
296
- // So media queries don't overlap when required, provide a maximum
297
- $screen-xs-max: ($screen-sm-min - 1) !default;
298
- $screen-sm-max: ($screen-md-min - 1) !default;
299
- $screen-md-max: ($screen-lg-min - 1) !default;
300
-
301
-
302
- //== Grid system
303
- //
304
- //## Define your custom responsive grid.
456
+ // Style p element.
305
457
 
306
- //** Number of columns in the grid.
307
- $grid-columns: 12 !default;
308
- //** Padding between columns. Gets divided in half for the left and right.
309
- $grid-gutter-width: 30px !default;
310
- // Navbar collapse
311
- //** Point at which the navbar becomes uncollapsed.
312
- $grid-float-breakpoint: $screen-sm-min !default;
313
- //** Point at which the navbar begins collapsing.
314
- $grid-float-breakpoint-max: ($grid-float-breakpoint - 1) !default;
458
+ $paragraph-margin-bottom: 1rem !default;
315
459
 
316
460
 
317
- //== Container sizes
461
+ // Grid breakpoints
318
462
  //
319
- //## Define the maximum width of `.container` for different screen sizes.
320
-
321
- // Small screen / tablet
322
- $container-tablet: ((720px + $grid-gutter-width)) !default;
323
- //** For `$screen-sm-min` and up.
324
- $container-sm: $container-tablet !default;
463
+ // Define the minimum dimensions at which your layout will change,
464
+ // adapting to different screen sizes, for use in media queries.
325
465
 
326
- // Medium screen / desktop
327
- $container-desktop: ((940px + $grid-gutter-width)) !default;
328
- //** For `$screen-md-min` and up.
329
- $container-md: $container-desktop !default;
466
+ // scss-docs-start grid-breakpoints
467
+ $grid-breakpoints: (
468
+ xs: 0,
469
+ sm: 576px,
470
+ md: 768px,
471
+ lg: 992px,
472
+ xl: 1200px,
473
+ xxl: 1400px
474
+ ) !default;
475
+ // scss-docs-end grid-breakpoints
330
476
 
331
- // Large screen / wide desktop
332
- $container-large-desktop: ((1140px + $grid-gutter-width)) !default;
333
- //** For `$screen-lg-min` and up.
334
- $container-lg: $container-large-desktop !default;
477
+ @include _assert-ascending($grid-breakpoints, "$grid-breakpoints");
478
+ @include _assert-starts-at-zero($grid-breakpoints, "$grid-breakpoints");
335
479
 
336
480
 
337
- //== Navbar
338
- //
339
- //##
340
-
341
- // Basics of a navbar
342
- $navbar-height: 50px !default;
343
- $navbar-margin-bottom: $line-height-computed !default;
344
- $navbar-border-radius: $border-radius-base !default;
345
- $navbar-padding-horizontal: floor(($grid-gutter-width / 2)) !default;
346
- $navbar-padding-vertical: (($navbar-height - $line-height-computed) / 2) !default;
347
- $navbar-collapse-max-height: 340px !default;
348
-
349
- $navbar-default-color: #777 !default;
350
- $navbar-default-bg: #f8f8f8 !default;
351
- $navbar-default-border: darken($navbar-default-bg, 6.5%) !default;
352
-
353
- // Navbar links
354
- $navbar-default-link-color: #777 !default;
355
- $navbar-default-link-hover-color: #333 !default;
356
- $navbar-default-link-hover-bg: transparent !default;
357
- $navbar-default-link-active-color: #555 !default;
358
- $navbar-default-link-active-bg: darken($navbar-default-bg, 6.5%) !default;
359
- $navbar-default-link-disabled-color: #ccc !default;
360
- $navbar-default-link-disabled-bg: transparent !default;
361
-
362
- // Navbar brand label
363
- $navbar-default-brand-color: $navbar-default-link-color !default;
364
- $navbar-default-brand-hover-color: darken($navbar-default-brand-color, 10%) !default;
365
- $navbar-default-brand-hover-bg: transparent !default;
366
-
367
- // Navbar toggle
368
- $navbar-default-toggle-hover-bg: #ddd !default;
369
- $navbar-default-toggle-icon-bar-bg: #888 !default;
370
- $navbar-default-toggle-border-color: #ddd !default;
371
-
372
-
373
- // Inverted navbar
374
- // Reset inverted navbar basics
375
- $navbar-inverse-color: $gray-light !default;
376
- $navbar-inverse-bg: #222 !default;
377
- $navbar-inverse-border: darken($navbar-inverse-bg, 10%) !default;
378
-
379
- // Inverted navbar links
380
- $navbar-inverse-link-color: $gray-light !default;
381
- $navbar-inverse-link-hover-color: #fff !default;
382
- $navbar-inverse-link-hover-bg: transparent !default;
383
- $navbar-inverse-link-active-color: $navbar-inverse-link-hover-color !default;
384
- $navbar-inverse-link-active-bg: darken($navbar-inverse-bg, 10%) !default;
385
- $navbar-inverse-link-disabled-color: #444 !default;
386
- $navbar-inverse-link-disabled-bg: transparent !default;
387
-
388
- // Inverted navbar brand label
389
- $navbar-inverse-brand-color: $navbar-inverse-link-color !default;
390
- $navbar-inverse-brand-hover-color: #fff !default;
391
- $navbar-inverse-brand-hover-bg: transparent !default;
392
-
393
- // Inverted navbar toggle
394
- $navbar-inverse-toggle-hover-bg: #333 !default;
395
- $navbar-inverse-toggle-icon-bar-bg: #fff !default;
396
- $navbar-inverse-toggle-border-color: #333 !default;
397
-
398
-
399
- //== Navs
481
+ // Grid containers
400
482
  //
401
- //##
483
+ // Define the maximum width of `.container` for different screen sizes.
402
484
 
403
- //=== Shared nav styles
404
- $nav-link-padding: 10px 15px !default;
405
- $nav-link-hover-bg: $gray-lighter !default;
485
+ // scss-docs-start container-max-widths
486
+ $container-max-widths: (
487
+ sm: 540px,
488
+ md: 720px,
489
+ lg: 960px,
490
+ xl: 1140px,
491
+ xxl: 1320px
492
+ ) !default;
493
+ // scss-docs-end container-max-widths
406
494
 
407
- $nav-disabled-link-color: $gray-light !default;
408
- $nav-disabled-link-hover-color: $gray-light !default;
495
+ @include _assert-ascending($container-max-widths, "$container-max-widths");
409
496
 
410
- $nav-open-link-hover-color: #fff !default;
411
497
 
412
- //== Tabs
413
- $nav-tabs-border-color: #ddd !default;
414
-
415
- $nav-tabs-link-hover-border-color: $gray-lighter !default;
416
-
417
- $nav-tabs-active-link-hover-bg: $body-bg !default;
418
- $nav-tabs-active-link-hover-color: $gray !default;
419
- $nav-tabs-active-link-hover-border-color: #ddd !default;
420
-
421
- $nav-tabs-justified-link-border-color: #ddd !default;
422
- $nav-tabs-justified-active-link-border-color: $body-bg !default;
423
-
424
- //== Pills
425
- $nav-pills-border-radius: $border-radius-base !default;
426
- $nav-pills-active-link-hover-bg: $component-active-bg !default;
427
- $nav-pills-active-link-hover-color: $component-active-color !default;
428
-
429
-
430
- //== Pagination
498
+ // Grid columns
431
499
  //
432
- //##
500
+ // Set the number of columns and specify the width of the gutters.
433
501
 
434
- $pagination-color: $link-color !default;
435
- $pagination-bg: #fff !default;
436
- $pagination-border: #ddd !default;
502
+ $grid-columns: 12 !default;
503
+ $grid-gutter-width: 1.5rem !default;
504
+ $grid-row-columns: 6 !default;
437
505
 
438
- $pagination-hover-color: $link-hover-color !default;
439
- $pagination-hover-bg: $gray-lighter !default;
440
- $pagination-hover-border: #ddd !default;
506
+ $gutters: $spacers !default;
441
507
 
442
- $pagination-active-color: #fff !default;
443
- $pagination-active-bg: $brand-primary !default;
444
- $pagination-active-border: $brand-primary !default;
508
+ // Container padding
445
509
 
446
- $pagination-disabled-color: $gray-light !default;
447
- $pagination-disabled-bg: #fff !default;
448
- $pagination-disabled-border: #ddd !default;
510
+ $container-padding-x: $grid-gutter-width * .5 !default;
449
511
 
450
512
 
451
- //== Pager
513
+ // Components
452
514
  //
453
- //##
454
-
455
- $pager-bg: $pagination-bg !default;
456
- $pager-border: $pagination-border !default;
457
- $pager-border-radius: 15px !default;
458
-
459
- $pager-hover-bg: $pagination-hover-bg !default;
460
-
461
- $pager-active-bg: $pagination-active-bg !default;
462
- $pager-active-color: $pagination-active-color !default;
463
-
464
- $pager-disabled-color: $pagination-disabled-color !default;
465
-
466
-
467
- //== Jumbotron
468
- //
469
- //##
470
-
471
- $jumbotron-padding: 30px !default;
472
- $jumbotron-color: inherit !default;
473
- $jumbotron-bg: $gray-lighter !default;
474
- $jumbotron-heading-color: inherit !default;
475
- $jumbotron-font-size: ceil(($font-size-base * 1.5)) !default;
476
-
477
-
478
- //== Form states and alerts
479
- //
480
- //## Define colors for form feedback states and, by default, alerts.
481
-
482
- $state-success-text: #3c763d !default;
483
- $state-success-bg: #dff0d8 !default;
484
- $state-success-border: darken(adjust-hue($state-success-bg, -10), 5%) !default;
485
-
486
- $state-info-text: #31708f !default;
487
- $state-info-bg: #d9edf7 !default;
488
- $state-info-border: darken(adjust-hue($state-info-bg, -10), 7%) !default;
489
-
490
- $state-warning-text: #8a6d3b !default;
491
- $state-warning-bg: #fcf8e3 !default;
492
- $state-warning-border: darken(adjust-hue($state-warning-bg, -10), 5%) !default;
493
-
494
- $state-danger-text: #a94442 !default;
495
- $state-danger-bg: #f2dede !default;
496
- $state-danger-border: darken(adjust-hue($state-danger-bg, -10), 5%) !default;
497
-
498
-
499
- //== Tooltips
500
- //
501
- //##
502
-
503
- //** Tooltip max width
504
- $tooltip-max-width: 200px !default;
505
- //** Tooltip text color
506
- $tooltip-color: #fff !default;
507
- //** Tooltip background color
508
- $tooltip-bg: #000 !default;
509
- $tooltip-opacity: .9 !default;
510
-
511
- //** Tooltip arrow width
512
- $tooltip-arrow-width: 5px !default;
513
- //** Tooltip arrow color
514
- $tooltip-arrow-color: $tooltip-bg !default;
515
-
516
-
517
- //== Popovers
518
- //
519
- //##
520
-
521
- //** Popover body background color
522
- $popover-bg: #fff !default;
523
- //** Popover maximum width
524
- $popover-max-width: 276px !default;
525
- //** Popover border color
526
- $popover-border-color: rgba(0,0,0,.2) !default;
527
- //** Popover fallback border color
528
- $popover-fallback-border-color: #ccc !default;
529
-
530
- //** Popover title background color
531
- $popover-title-bg: darken($popover-bg, 3%) !default;
532
-
533
- //** Popover arrow width
534
- $popover-arrow-width: 10px !default;
535
- //** Popover arrow color
536
- $popover-arrow-color: #fff !default;
537
-
538
- //** Popover outer arrow width
539
- $popover-arrow-outer-width: ($popover-arrow-width + 1) !default;
540
- //** Popover outer arrow color
541
- $popover-arrow-outer-color: fade_in($popover-border-color, 0.05) !default;
542
- //** Popover outer arrow fallback color
543
- $popover-arrow-outer-fallback-color: darken($popover-fallback-border-color, 20%) !default;
544
-
545
-
546
- //== Labels
547
- //
548
- //##
549
-
550
- //** Default label background color
551
- $label-default-bg: $gray-light !default;
552
- //** Primary label background color
553
- $label-primary-bg: $brand-primary !default;
554
- //** Success label background color
555
- $label-success-bg: $brand-success !default;
556
- //** Info label background color
557
- $label-info-bg: $brand-info !default;
558
- //** Warning label background color
559
- $label-warning-bg: $brand-warning !default;
560
- //** Danger label background color
561
- $label-danger-bg: $brand-danger !default;
562
-
563
- //** Default label text color
564
- $label-color: #fff !default;
565
- //** Default text color of a linked label
566
- $label-link-hover-color: #fff !default;
567
-
568
-
569
- //== Modals
570
- //
571
- //##
572
-
573
- //** Padding applied to the modal body
574
- $modal-inner-padding: 15px !default;
575
-
576
- //** Padding applied to the modal title
577
- $modal-title-padding: 15px !default;
578
- //** Modal title line-height
579
- $modal-title-line-height: $line-height-base !default;
580
-
581
- //** Background color of modal content area
582
- $modal-content-bg: #fff !default;
583
- //** Modal content border color
584
- $modal-content-border-color: rgba(0,0,0,.2) !default;
585
- //** Modal content border color **for IE8**
586
- $modal-content-fallback-border-color: #999 !default;
587
-
588
- //** Modal backdrop background color
589
- $modal-backdrop-bg: #000 !default;
590
- //** Modal backdrop opacity
591
- $modal-backdrop-opacity: .5 !default;
592
- //** Modal header border color
593
- $modal-header-border-color: #e5e5e5 !default;
594
- //** Modal footer border color
595
- $modal-footer-border-color: $modal-header-border-color !default;
596
-
597
- $modal-lg: 900px !default;
598
- $modal-md: 600px !default;
599
- $modal-sm: 300px !default;
600
-
601
-
602
- //== Alerts
603
- //
604
- //## Define alert colors, border radius, and padding.
605
-
606
- $alert-padding: 15px !default;
607
- $alert-border-radius: $border-radius-base !default;
608
- $alert-link-font-weight: bold !default;
609
-
610
- $alert-success-bg: $state-success-bg !default;
611
- $alert-success-text: $state-success-text !default;
612
- $alert-success-border: $state-success-border !default;
613
-
614
- $alert-info-bg: $state-info-bg !default;
615
- $alert-info-text: $state-info-text !default;
616
- $alert-info-border: $state-info-border !default;
617
-
618
- $alert-warning-bg: $state-warning-bg !default;
619
- $alert-warning-text: $state-warning-text !default;
620
- $alert-warning-border: $state-warning-border !default;
621
-
622
- $alert-danger-bg: $state-danger-bg !default;
623
- $alert-danger-text: $state-danger-text !default;
624
- $alert-danger-border: $state-danger-border !default;
625
-
626
-
627
- //== Progress bars
515
+ // Define common padding and border radius sizes and more.
516
+
517
+ // scss-docs-start border-variables
518
+ $border-width: 1px !default;
519
+ $border-widths: (
520
+ 1: 1px,
521
+ 2: 2px,
522
+ 3: 3px,
523
+ 4: 4px,
524
+ 5: 5px
525
+ ) !default;
526
+
527
+ $border-color: $gray-300 !default;
528
+ // scss-docs-end border-variables
529
+
530
+ // scss-docs-start border-radius-variables
531
+ $border-radius: .25rem !default;
532
+ $border-radius-sm: .2rem !default;
533
+ $border-radius-lg: .3rem !default;
534
+ $border-radius-pill: 50rem !default;
535
+ // scss-docs-end border-radius-variables
536
+
537
+ // scss-docs-start box-shadow-variables
538
+ $box-shadow: 0 .5rem 1rem rgba($black, .15) !default;
539
+ $box-shadow-sm: 0 .125rem .25rem rgba($black, .075) !default;
540
+ $box-shadow-lg: 0 1rem 3rem rgba($black, .175) !default;
541
+ $box-shadow-inset: inset 0 1px 2px rgba($black, .075) !default;
542
+ // scss-docs-end box-shadow-variables
543
+
544
+ $component-active-color: $white !default;
545
+ $component-active-bg: $primary !default;
546
+
547
+ // scss-docs-start caret-variables
548
+ $caret-width: .3em !default;
549
+ $caret-vertical-align: $caret-width * .85 !default;
550
+ $caret-spacing: $caret-width * .85 !default;
551
+ // scss-docs-end caret-variables
552
+
553
+ $transition-base: all .2s ease-in-out !default;
554
+ $transition-fade: opacity .15s linear !default;
555
+ // scss-docs-start collapse-transition
556
+ $transition-collapse: height .35s ease !default;
557
+ $transition-collapse-width: width .35s ease !default;
558
+ // scss-docs-end collapse-transition
559
+
560
+ // stylelint-disable function-disallowed-list
561
+ // scss-docs-start aspect-ratios
562
+ $aspect-ratios: (
563
+ "1x1": 100%,
564
+ "4x3": calc(3 / 4 * 100%),
565
+ "16x9": calc(9 / 16 * 100%),
566
+ "21x9": calc(9 / 21 * 100%)
567
+ ) !default;
568
+ // scss-docs-end aspect-ratios
569
+ // stylelint-enable function-disallowed-list
570
+
571
+ // Typography
628
572
  //
629
- //##
630
-
631
- //** Background color of the whole progress component
632
- $progress-bg: #f5f5f5 !default;
633
- //** Progress bar text color
634
- $progress-bar-color: #fff !default;
635
-
636
- //** Default progress bar color
637
- $progress-bar-bg: $brand-primary !default;
638
- //** Success progress bar color
639
- $progress-bar-success-bg: $brand-success !default;
640
- //** Warning progress bar color
641
- $progress-bar-warning-bg: $brand-warning !default;
642
- //** Danger progress bar color
643
- $progress-bar-danger-bg: $brand-danger !default;
644
- //** Info progress bar color
645
- $progress-bar-info-bg: $brand-info !default;
646
-
647
-
648
- //== List group
573
+ // Font, line-height, and color for body text, headings, and more.
574
+
575
+ // scss-docs-start font-variables
576
+ // stylelint-disable value-keyword-case
577
+ $font-family-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !default;
578
+ $font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !default;
579
+ // stylelint-enable value-keyword-case
580
+ $font-family-base: var(--#{$variable-prefix}font-sans-serif) !default;
581
+ $font-family-code: var(--#{$variable-prefix}font-monospace) !default;
582
+
583
+ // $font-size-root affects the value of `rem`, which is used for as well font sizes, paddings, and margins
584
+ // $font-size-base affects the font size of the body text
585
+ $font-size-root: null !default;
586
+ $font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
587
+ $font-size-sm: $font-size-base * .875 !default;
588
+ $font-size-lg: $font-size-base * 1.25 !default;
589
+
590
+ $font-weight-lighter: lighter !default;
591
+ $font-weight-light: 300 !default;
592
+ $font-weight-normal: 400 !default;
593
+ $font-weight-bold: 700 !default;
594
+ $font-weight-bolder: bolder !default;
595
+
596
+ $font-weight-base: $font-weight-normal !default;
597
+
598
+ $line-height-base: 1.5 !default;
599
+ $line-height-sm: 1.25 !default;
600
+ $line-height-lg: 2 !default;
601
+
602
+ $h1-font-size: $font-size-base * 2.5 !default;
603
+ $h2-font-size: $font-size-base * 2 !default;
604
+ $h3-font-size: $font-size-base * 1.75 !default;
605
+ $h4-font-size: $font-size-base * 1.5 !default;
606
+ $h5-font-size: $font-size-base * 1.25 !default;
607
+ $h6-font-size: $font-size-base !default;
608
+ // scss-docs-end font-variables
609
+
610
+ // scss-docs-start font-sizes
611
+ $font-sizes: (
612
+ 1: $h1-font-size,
613
+ 2: $h2-font-size,
614
+ 3: $h3-font-size,
615
+ 4: $h4-font-size,
616
+ 5: $h5-font-size,
617
+ 6: $h6-font-size
618
+ ) !default;
619
+ // scss-docs-end font-sizes
620
+
621
+ // scss-docs-start headings-variables
622
+ $headings-margin-bottom: $spacer * .5 !default;
623
+ $headings-font-family: null !default;
624
+ $headings-font-style: null !default;
625
+ $headings-font-weight: 500 !default;
626
+ $headings-line-height: 1.2 !default;
627
+ $headings-color: null !default;
628
+ // scss-docs-end headings-variables
629
+
630
+ // scss-docs-start display-headings
631
+ $display-font-sizes: (
632
+ 1: 5rem,
633
+ 2: 4.5rem,
634
+ 3: 4rem,
635
+ 4: 3.5rem,
636
+ 5: 3rem,
637
+ 6: 2.5rem
638
+ ) !default;
639
+
640
+ $display-font-weight: 300 !default;
641
+ $display-line-height: $headings-line-height !default;
642
+ // scss-docs-end display-headings
643
+
644
+ // scss-docs-start type-variables
645
+ $lead-font-size: $font-size-base * 1.25 !default;
646
+ $lead-font-weight: 300 !default;
647
+
648
+ $small-font-size: .875em !default;
649
+
650
+ $sub-sup-font-size: .75em !default;
651
+
652
+ $text-muted: $gray-600 !default;
653
+
654
+ $initialism-font-size: $small-font-size !default;
655
+
656
+ $blockquote-margin-y: $spacer !default;
657
+ $blockquote-font-size: $font-size-base * 1.25 !default;
658
+ $blockquote-footer-color: $gray-600 !default;
659
+ $blockquote-footer-font-size: $small-font-size !default;
660
+
661
+ $hr-margin-y: $spacer !default;
662
+ $hr-color: inherit !default;
663
+ $hr-height: $border-width !default;
664
+ $hr-opacity: .25 !default;
665
+
666
+ $legend-margin-bottom: .5rem !default;
667
+ $legend-font-size: 1.5rem !default;
668
+ $legend-font-weight: null !default;
669
+
670
+ $mark-padding: .2em !default;
671
+
672
+ $dt-font-weight: $font-weight-bold !default;
673
+
674
+ $nested-kbd-font-weight: $font-weight-bold !default;
675
+
676
+ $list-inline-padding: .5rem !default;
677
+
678
+ $mark-bg: #fcf8e3 !default;
679
+ // scss-docs-end type-variables
680
+
681
+
682
+ // Tables
649
683
  //
650
- //##
651
-
652
- //** Background color on `.list-group-item`
653
- $list-group-bg: #fff !default;
654
- //** `.list-group-item` border color
655
- $list-group-border: #ddd !default;
656
- //** List group border radius
657
- $list-group-border-radius: $border-radius-base !default;
658
-
659
- //** Background color of single list items on hover
660
- $list-group-hover-bg: #f5f5f5 !default;
661
- //** Text color of active list items
662
- $list-group-active-color: $component-active-color !default;
663
- //** Background color of active list items
664
- $list-group-active-bg: $component-active-bg !default;
665
- //** Border color of active list elements
666
- $list-group-active-border: $list-group-active-bg !default;
667
- //** Text color for content within active list items
668
- $list-group-active-text-color: lighten($list-group-active-bg, 40%) !default;
669
-
670
- //** Text color of disabled list items
671
- $list-group-disabled-color: $gray-light !default;
672
- //** Background color of disabled list items
673
- $list-group-disabled-bg: $gray-lighter !default;
674
- //** Text color for content within disabled list items
675
- $list-group-disabled-text-color: $list-group-disabled-color !default;
676
-
677
- $list-group-link-color: #555 !default;
678
- $list-group-link-hover-color: $list-group-link-color !default;
679
- $list-group-link-heading-color: #333 !default;
680
-
681
-
682
- //== Panels
683
- //
684
- //##
685
-
686
- $panel-bg: #fff !default;
687
- $panel-body-padding: 15px !default;
688
- $panel-heading-padding: 10px 15px !default;
689
- $panel-footer-padding: $panel-heading-padding !default;
690
- $panel-border-radius: $border-radius-base !default;
691
-
692
- //** Border color for elements within panels
693
- $panel-inner-border: #ddd !default;
694
- $panel-footer-bg: #f5f5f5 !default;
684
+ // Customizes the `.table` component with basic values, each used across all table variations.
695
685
 
696
- $panel-default-text: $gray-dark !default;
697
- $panel-default-border: #ddd !default;
698
- $panel-default-heading-bg: #f5f5f5 !default;
686
+ // scss-docs-start table-variables
687
+ $table-cell-padding-y: .5rem !default;
688
+ $table-cell-padding-x: .5rem !default;
689
+ $table-cell-padding-y-sm: .25rem !default;
690
+ $table-cell-padding-x-sm: .25rem !default;
699
691
 
700
- $panel-primary-text: #fff !default;
701
- $panel-primary-border: $brand-primary !default;
702
- $panel-primary-heading-bg: $brand-primary !default;
692
+ $table-cell-vertical-align: top !default;
703
693
 
704
- $panel-success-text: $state-success-text !default;
705
- $panel-success-border: $state-success-border !default;
706
- $panel-success-heading-bg: $state-success-bg !default;
694
+ $table-color: $body-color !default;
695
+ $table-bg: transparent !default;
696
+ $table-accent-bg: transparent !default;
707
697
 
708
- $panel-info-text: $state-info-text !default;
709
- $panel-info-border: $state-info-border !default;
710
- $panel-info-heading-bg: $state-info-bg !default;
698
+ $table-th-font-weight: null !default;
711
699
 
712
- $panel-warning-text: $state-warning-text !default;
713
- $panel-warning-border: $state-warning-border !default;
714
- $panel-warning-heading-bg: $state-warning-bg !default;
700
+ $table-striped-color: $table-color !default;
701
+ $table-striped-bg-factor: .05 !default;
702
+ $table-striped-bg: rgba($black, $table-striped-bg-factor) !default;
715
703
 
716
- $panel-danger-text: $state-danger-text !default;
717
- $panel-danger-border: $state-danger-border !default;
718
- $panel-danger-heading-bg: $state-danger-bg !default;
704
+ $table-active-color: $table-color !default;
705
+ $table-active-bg-factor: .1 !default;
706
+ $table-active-bg: rgba($black, $table-active-bg-factor) !default;
719
707
 
708
+ $table-hover-color: $table-color !default;
709
+ $table-hover-bg-factor: .075 !default;
710
+ $table-hover-bg: rgba($black, $table-hover-bg-factor) !default;
720
711
 
721
- //== Thumbnails
722
- //
723
- //##
712
+ $table-border-factor: .1 !default;
713
+ $table-border-width: $border-width !default;
714
+ $table-border-color: $border-color !default;
724
715
 
725
- //** Padding around the thumbnail image
726
- $thumbnail-padding: 4px !default;
727
- //** Thumbnail background color
728
- $thumbnail-bg: $body-bg !default;
729
- //** Thumbnail border color
730
- $thumbnail-border: #ddd !default;
731
- //** Thumbnail border radius
732
- $thumbnail-border-radius: $border-radius-base !default;
716
+ $table-striped-order: odd !default;
733
717
 
734
- //** Custom text color for thumbnail captions
735
- $thumbnail-caption-color: $text-color !default;
736
- //** Padding around the thumbnail caption
737
- $thumbnail-caption-padding: 9px !default;
718
+ $table-group-separator-color: currentColor !default;
738
719
 
720
+ $table-caption-color: $text-muted !default;
739
721
 
740
- //== Wells
741
- //
742
- //##
722
+ $table-bg-scale: -80% !default;
723
+ // scss-docs-end table-variables
743
724
 
744
- $well-bg: #f5f5f5 !default;
745
- $well-border: darken($well-bg, 7%) !default;
725
+ // scss-docs-start table-loop
726
+ $table-variants: (
727
+ "primary": shift-color($primary, $table-bg-scale),
728
+ "secondary": shift-color($secondary, $table-bg-scale),
729
+ "success": shift-color($success, $table-bg-scale),
730
+ "info": shift-color($info, $table-bg-scale),
731
+ "warning": shift-color($warning, $table-bg-scale),
732
+ "danger": shift-color($danger, $table-bg-scale),
733
+ "light": $light,
734
+ "dark": $dark,
735
+ ) !default;
736
+ // scss-docs-end table-loop
746
737
 
747
738
 
748
- //== Badges
739
+ // Buttons + Forms
749
740
  //
750
- //##
741
+ // Shared variables that are reassigned to `$input-` and `$btn-` specific variables.
751
742
 
752
- $badge-color: #fff !default;
753
- //** Linked badge text color on hover
754
- $badge-link-hover-color: #fff !default;
755
- $badge-bg: $gray-light !default;
743
+ // scss-docs-start input-btn-variables
744
+ $input-btn-padding-y: .375rem !default;
745
+ $input-btn-padding-x: .75rem !default;
746
+ $input-btn-font-family: null !default;
747
+ $input-btn-font-size: $font-size-base !default;
748
+ $input-btn-line-height: $line-height-base !default;
756
749
 
757
- //** Badge text color in active nav link
758
- $badge-active-color: $link-color !default;
759
- //** Badge background color in active nav link
760
- $badge-active-bg: #fff !default;
750
+ $input-btn-focus-width: .25rem !default;
751
+ $input-btn-focus-color-opacity: .25 !default;
752
+ $input-btn-focus-color: rgba($component-active-bg, $input-btn-focus-color-opacity) !default;
753
+ $input-btn-focus-blur: 0 !default;
754
+ $input-btn-focus-box-shadow: 0 0 $input-btn-focus-blur $input-btn-focus-width $input-btn-focus-color !default;
761
755
 
762
- $badge-font-weight: bold !default;
763
- $badge-line-height: 1 !default;
764
- $badge-border-radius: 10px !default;
756
+ $input-btn-padding-y-sm: .25rem !default;
757
+ $input-btn-padding-x-sm: .5rem !default;
758
+ $input-btn-font-size-sm: $font-size-sm !default;
765
759
 
760
+ $input-btn-padding-y-lg: .5rem !default;
761
+ $input-btn-padding-x-lg: 1rem !default;
762
+ $input-btn-font-size-lg: $font-size-lg !default;
766
763
 
767
- //== Breadcrumbs
768
- //
769
- //##
770
-
771
- $breadcrumb-padding-vertical: 8px !default;
772
- $breadcrumb-padding-horizontal: 15px !default;
773
- //** Breadcrumb background color
774
- $breadcrumb-bg: #f5f5f5 !default;
775
- //** Breadcrumb text color
776
- $breadcrumb-color: #ccc !default;
777
- //** Text color of current page in the breadcrumb
778
- $breadcrumb-active-color: $gray-light !default;
779
- //** Textual separator for between breadcrumb elements
780
- $breadcrumb-separator: "/" !default;
764
+ $input-btn-border-width: $border-width !default;
765
+ // scss-docs-end input-btn-variables
781
766
 
782
767
 
783
- //== Carousel
768
+ // Buttons
784
769
  //
785
- //##
786
-
787
- $carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6) !default;
788
-
789
- $carousel-control-color: #fff !default;
790
- $carousel-control-width: 15% !default;
791
- $carousel-control-opacity: .5 !default;
792
- $carousel-control-font-size: 20px !default;
793
-
794
- $carousel-indicator-active-bg: #fff !default;
795
- $carousel-indicator-border-color: #fff !default;
796
-
797
- $carousel-caption-color: #fff !default;
798
-
799
-
800
- //== Close
770
+ // For each of Bootstrap's buttons, define text, background, and border color.
771
+
772
+ // scss-docs-start btn-variables
773
+ $btn-padding-y: $input-btn-padding-y !default;
774
+ $btn-padding-x: $input-btn-padding-x !default;
775
+ $btn-font-family: $input-btn-font-family !default;
776
+ $btn-font-size: $input-btn-font-size !default;
777
+ $btn-line-height: $input-btn-line-height !default;
778
+ $btn-white-space: null !default; // Set to `nowrap` to prevent text wrapping
779
+
780
+ $btn-padding-y-sm: $input-btn-padding-y-sm !default;
781
+ $btn-padding-x-sm: $input-btn-padding-x-sm !default;
782
+ $btn-font-size-sm: $input-btn-font-size-sm !default;
783
+
784
+ $btn-padding-y-lg: $input-btn-padding-y-lg !default;
785
+ $btn-padding-x-lg: $input-btn-padding-x-lg !default;
786
+ $btn-font-size-lg: $input-btn-font-size-lg !default;
787
+
788
+ $btn-border-width: $input-btn-border-width !default;
789
+
790
+ $btn-font-weight: $font-weight-normal !default;
791
+ $btn-box-shadow: inset 0 1px 0 rgba($white, .15), 0 1px 1px rgba($black, .075) !default;
792
+ $btn-focus-width: $input-btn-focus-width !default;
793
+ $btn-focus-box-shadow: $input-btn-focus-box-shadow !default;
794
+ $btn-disabled-opacity: .65 !default;
795
+ $btn-active-box-shadow: inset 0 3px 5px rgba($black, .125) !default;
796
+
797
+ $btn-link-color: $link-color !default;
798
+ $btn-link-hover-color: $link-hover-color !default;
799
+ $btn-link-disabled-color: $gray-600 !default;
800
+
801
+ // Allows for customizing button radius independently from global border radius
802
+ $btn-border-radius: $border-radius !default;
803
+ $btn-border-radius-sm: $border-radius-sm !default;
804
+ $btn-border-radius-lg: $border-radius-lg !default;
805
+
806
+ $btn-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
807
+
808
+ $btn-hover-bg-shade-amount: 15% !default;
809
+ $btn-hover-bg-tint-amount: 15% !default;
810
+ $btn-hover-border-shade-amount: 20% !default;
811
+ $btn-hover-border-tint-amount: 10% !default;
812
+ $btn-active-bg-shade-amount: 20% !default;
813
+ $btn-active-bg-tint-amount: 20% !default;
814
+ $btn-active-border-shade-amount: 25% !default;
815
+ $btn-active-border-tint-amount: 10% !default;
816
+ // scss-docs-end btn-variables
817
+
818
+
819
+ // Forms
820
+
821
+ // scss-docs-start form-text-variables
822
+ $form-text-margin-top: .25rem !default;
823
+ $form-text-font-size: $small-font-size !default;
824
+ $form-text-font-style: null !default;
825
+ $form-text-font-weight: null !default;
826
+ $form-text-color: $text-muted !default;
827
+ // scss-docs-end form-text-variables
828
+
829
+ // scss-docs-start form-label-variables
830
+ $form-label-margin-bottom: .5rem !default;
831
+ $form-label-font-size: null !default;
832
+ $form-label-font-style: null !default;
833
+ $form-label-font-weight: null !default;
834
+ $form-label-color: null !default;
835
+ // scss-docs-end form-label-variables
836
+
837
+ // scss-docs-start form-input-variables
838
+ $input-padding-y: $input-btn-padding-y !default;
839
+ $input-padding-x: $input-btn-padding-x !default;
840
+ $input-font-family: $input-btn-font-family !default;
841
+ $input-font-size: $input-btn-font-size !default;
842
+ $input-font-weight: $font-weight-base !default;
843
+ $input-line-height: $input-btn-line-height !default;
844
+
845
+ $input-padding-y-sm: $input-btn-padding-y-sm !default;
846
+ $input-padding-x-sm: $input-btn-padding-x-sm !default;
847
+ $input-font-size-sm: $input-btn-font-size-sm !default;
848
+
849
+ $input-padding-y-lg: $input-btn-padding-y-lg !default;
850
+ $input-padding-x-lg: $input-btn-padding-x-lg !default;
851
+ $input-font-size-lg: $input-btn-font-size-lg !default;
852
+
853
+ $input-bg: $body-bg !default;
854
+ $input-disabled-bg: $gray-200 !default;
855
+ $input-disabled-border-color: null !default;
856
+
857
+ $input-color: $body-color !default;
858
+ $input-border-color: $gray-400 !default;
859
+ $input-border-width: $input-btn-border-width !default;
860
+ $input-box-shadow: $box-shadow-inset !default;
861
+
862
+ $input-border-radius: $border-radius !default;
863
+ $input-border-radius-sm: $border-radius-sm !default;
864
+ $input-border-radius-lg: $border-radius-lg !default;
865
+
866
+ $input-focus-bg: $input-bg !default;
867
+ $input-focus-border-color: tint-color($component-active-bg, 50%) !default;
868
+ $input-focus-color: $input-color !default;
869
+ $input-focus-width: $input-btn-focus-width !default;
870
+ $input-focus-box-shadow: $input-btn-focus-box-shadow !default;
871
+
872
+ $input-placeholder-color: $gray-600 !default;
873
+ $input-plaintext-color: $body-color !default;
874
+
875
+ $input-height-border: $input-border-width * 2 !default;
876
+
877
+ $input-height-inner: add($input-line-height * 1em, $input-padding-y * 2) !default;
878
+ $input-height-inner-half: add($input-line-height * .5em, $input-padding-y) !default;
879
+ $input-height-inner-quarter: add($input-line-height * .25em, $input-padding-y * .5) !default;
880
+
881
+ $input-height: add($input-line-height * 1em, add($input-padding-y * 2, $input-height-border, false)) !default;
882
+ $input-height-sm: add($input-line-height * 1em, add($input-padding-y-sm * 2, $input-height-border, false)) !default;
883
+ $input-height-lg: add($input-line-height * 1em, add($input-padding-y-lg * 2, $input-height-border, false)) !default;
884
+
885
+ $input-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
886
+
887
+ $form-color-width: 3rem !default;
888
+ // scss-docs-end form-input-variables
889
+
890
+ // scss-docs-start form-check-variables
891
+ $form-check-input-width: 1em !default;
892
+ $form-check-min-height: $font-size-base * $line-height-base !default;
893
+ $form-check-padding-start: $form-check-input-width + .5em !default;
894
+ $form-check-margin-bottom: .125rem !default;
895
+ $form-check-label-color: null !default;
896
+ $form-check-label-cursor: null !default;
897
+ $form-check-transition: null !default;
898
+
899
+ $form-check-input-active-filter: brightness(90%) !default;
900
+
901
+ $form-check-input-bg: $input-bg !default;
902
+ $form-check-input-border: 1px solid rgba($black, .25) !default;
903
+ $form-check-input-border-radius: .25em !default;
904
+ $form-check-radio-border-radius: 50% !default;
905
+ $form-check-input-focus-border: $input-focus-border-color !default;
906
+ $form-check-input-focus-box-shadow: $input-btn-focus-box-shadow !default;
907
+
908
+ $form-check-input-checked-color: $component-active-color !default;
909
+ $form-check-input-checked-bg-color: $component-active-bg !default;
910
+ $form-check-input-checked-border-color: $form-check-input-checked-bg-color !default;
911
+ $form-check-input-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$form-check-input-checked-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/></svg>") !default;
912
+ $form-check-radio-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='2' fill='#{$form-check-input-checked-color}'/></svg>") !default;
913
+
914
+ $form-check-input-indeterminate-color: $component-active-color !default;
915
+ $form-check-input-indeterminate-bg-color: $component-active-bg !default;
916
+ $form-check-input-indeterminate-border-color: $form-check-input-indeterminate-bg-color !default;
917
+ $form-check-input-indeterminate-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$form-check-input-indeterminate-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/></svg>") !default;
918
+
919
+ $form-check-input-disabled-opacity: .5 !default;
920
+ $form-check-label-disabled-opacity: $form-check-input-disabled-opacity !default;
921
+ $form-check-btn-check-disabled-opacity: $btn-disabled-opacity !default;
922
+
923
+ $form-check-inline-margin-end: 1rem !default;
924
+ // scss-docs-end form-check-variables
925
+
926
+ // scss-docs-start form-switch-variables
927
+ $form-switch-color: rgba($black, .25) !default;
928
+ $form-switch-width: 2em !default;
929
+ $form-switch-padding-start: $form-switch-width + .5em !default;
930
+ $form-switch-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-color}'/></svg>") !default;
931
+ $form-switch-border-radius: $form-switch-width !default;
932
+ $form-switch-transition: background-position .15s ease-in-out !default;
933
+
934
+ $form-switch-focus-color: $input-focus-border-color !default;
935
+ $form-switch-focus-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-focus-color}'/></svg>") !default;
936
+
937
+ $form-switch-checked-color: $component-active-color !default;
938
+ $form-switch-checked-bg-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'><circle r='3' fill='#{$form-switch-checked-color}'/></svg>") !default;
939
+ $form-switch-checked-bg-position: right center !default;
940
+ // scss-docs-end form-switch-variables
941
+
942
+ // scss-docs-start input-group-variables
943
+ $input-group-addon-padding-y: $input-padding-y !default;
944
+ $input-group-addon-padding-x: $input-padding-x !default;
945
+ $input-group-addon-font-weight: $input-font-weight !default;
946
+ $input-group-addon-color: $input-color !default;
947
+ $input-group-addon-bg: $gray-200 !default;
948
+ $input-group-addon-border-color: $input-border-color !default;
949
+ // scss-docs-end input-group-variables
950
+
951
+ // scss-docs-start form-select-variables
952
+ $form-select-padding-y: $input-padding-y !default;
953
+ $form-select-padding-x: $input-padding-x !default;
954
+ $form-select-font-family: $input-font-family !default;
955
+ $form-select-font-size: $input-font-size !default;
956
+ $form-select-indicator-padding: $form-select-padding-x * 3 !default; // Extra padding for background-image
957
+ $form-select-font-weight: $input-font-weight !default;
958
+ $form-select-line-height: $input-line-height !default;
959
+ $form-select-color: $input-color !default;
960
+ $form-select-bg: $input-bg !default;
961
+ $form-select-disabled-color: null !default;
962
+ $form-select-disabled-bg: $gray-200 !default;
963
+ $form-select-disabled-border-color: $input-disabled-border-color !default;
964
+ $form-select-bg-position: right $form-select-padding-x center !default;
965
+ $form-select-bg-size: 16px 12px !default; // In pixels because image dimensions
966
+ $form-select-indicator-color: $gray-800 !default;
967
+ $form-select-indicator: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#{$form-select-indicator-color}' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/></svg>") !default;
968
+
969
+ $form-select-feedback-icon-padding-end: $form-select-padding-x * 2.5 + $form-select-indicator-padding !default;
970
+ $form-select-feedback-icon-position: center right $form-select-indicator-padding !default;
971
+ $form-select-feedback-icon-size: $input-height-inner-half $input-height-inner-half !default;
972
+
973
+ $form-select-border-width: $input-border-width !default;
974
+ $form-select-border-color: $input-border-color !default;
975
+ $form-select-border-radius: $input-border-radius !default;
976
+ $form-select-box-shadow: $box-shadow-inset !default;
977
+
978
+ $form-select-focus-border-color: $input-focus-border-color !default;
979
+ $form-select-focus-width: $input-focus-width !default;
980
+ $form-select-focus-box-shadow: 0 0 0 $form-select-focus-width $input-btn-focus-color !default;
981
+
982
+ $form-select-padding-y-sm: $input-padding-y-sm !default;
983
+ $form-select-padding-x-sm: $input-padding-x-sm !default;
984
+ $form-select-font-size-sm: $input-font-size-sm !default;
985
+ $form-select-border-radius-sm: $input-border-radius-sm !default;
986
+
987
+ $form-select-padding-y-lg: $input-padding-y-lg !default;
988
+ $form-select-padding-x-lg: $input-padding-x-lg !default;
989
+ $form-select-font-size-lg: $input-font-size-lg !default;
990
+ $form-select-border-radius-lg: $input-border-radius-lg !default;
991
+
992
+ $form-select-transition: $input-transition !default;
993
+ // scss-docs-end form-select-variables
994
+
995
+ // scss-docs-start form-range-variables
996
+ $form-range-track-width: 100% !default;
997
+ $form-range-track-height: .5rem !default;
998
+ $form-range-track-cursor: pointer !default;
999
+ $form-range-track-bg: $gray-300 !default;
1000
+ $form-range-track-border-radius: 1rem !default;
1001
+ $form-range-track-box-shadow: $box-shadow-inset !default;
1002
+
1003
+ $form-range-thumb-width: 1rem !default;
1004
+ $form-range-thumb-height: $form-range-thumb-width !default;
1005
+ $form-range-thumb-bg: $component-active-bg !default;
1006
+ $form-range-thumb-border: 0 !default;
1007
+ $form-range-thumb-border-radius: 1rem !default;
1008
+ $form-range-thumb-box-shadow: 0 .1rem .25rem rgba($black, .1) !default;
1009
+ $form-range-thumb-focus-box-shadow: 0 0 0 1px $body-bg, $input-focus-box-shadow !default;
1010
+ $form-range-thumb-focus-box-shadow-width: $input-focus-width !default; // For focus box shadow issue in Edge
1011
+ $form-range-thumb-active-bg: tint-color($component-active-bg, 70%) !default;
1012
+ $form-range-thumb-disabled-bg: $gray-500 !default;
1013
+ $form-range-thumb-transition: background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
1014
+ // scss-docs-end form-range-variables
1015
+
1016
+ // scss-docs-start form-file-variables
1017
+ $form-file-button-color: $input-color !default;
1018
+ $form-file-button-bg: $input-group-addon-bg !default;
1019
+ $form-file-button-hover-bg: shade-color($form-file-button-bg, 5%) !default;
1020
+ // scss-docs-end form-file-variables
1021
+
1022
+ // scss-docs-start form-floating-variables
1023
+ $form-floating-height: add(3.5rem, $input-height-border) !default;
1024
+ $form-floating-line-height: 1.25 !default;
1025
+ $form-floating-padding-x: $input-padding-x !default;
1026
+ $form-floating-padding-y: 1rem !default;
1027
+ $form-floating-input-padding-t: 1.625rem !default;
1028
+ $form-floating-input-padding-b: .625rem !default;
1029
+ $form-floating-label-opacity: .65 !default;
1030
+ $form-floating-label-transform: scale(.85) translateY(-.5rem) translateX(.15rem) !default;
1031
+ $form-floating-transition: opacity .1s ease-in-out, transform .1s ease-in-out !default;
1032
+ // scss-docs-end form-floating-variables
1033
+
1034
+ // Form validation
1035
+
1036
+ // scss-docs-start form-feedback-variables
1037
+ $form-feedback-margin-top: $form-text-margin-top !default;
1038
+ $form-feedback-font-size: $form-text-font-size !default;
1039
+ $form-feedback-font-style: $form-text-font-style !default;
1040
+ $form-feedback-valid-color: $success !default;
1041
+ $form-feedback-invalid-color: $danger !default;
1042
+
1043
+ $form-feedback-icon-valid-color: $form-feedback-valid-color !default;
1044
+ $form-feedback-icon-valid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path fill='#{$form-feedback-icon-valid-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'/></svg>") !default;
1045
+ $form-feedback-icon-invalid-color: $form-feedback-invalid-color !default;
1046
+ $form-feedback-icon-invalid: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='#{$form-feedback-icon-invalid-color}'><circle cx='6' cy='6' r='4.5'/><path stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/><circle cx='6' cy='8.2' r='.6' fill='#{$form-feedback-icon-invalid-color}' stroke='none'/></svg>") !default;
1047
+ // scss-docs-end form-feedback-variables
1048
+
1049
+ // scss-docs-start form-validation-states
1050
+ $form-validation-states: (
1051
+ "valid": (
1052
+ "color": $form-feedback-valid-color,
1053
+ "icon": $form-feedback-icon-valid
1054
+ ),
1055
+ "invalid": (
1056
+ "color": $form-feedback-invalid-color,
1057
+ "icon": $form-feedback-icon-invalid
1058
+ )
1059
+ ) !default;
1060
+ // scss-docs-end form-validation-states
1061
+
1062
+ // Z-index master list
801
1063
  //
802
- //##
803
-
804
- $close-font-weight: bold !default;
805
- $close-color: #000 !default;
806
- $close-text-shadow: 0 1px 0 #fff !default;
807
-
1064
+ // Warning: Avoid customizing these values. They're used for a bird's eye view
1065
+ // of components dependent on the z-axis and are designed to all work together.
808
1066
 
809
- //== Code
1067
+ // scss-docs-start zindex-stack
1068
+ $zindex-dropdown: 1000 !default;
1069
+ $zindex-sticky: 1020 !default;
1070
+ $zindex-fixed: 1030 !default;
1071
+ $zindex-offcanvas-backdrop: 1040 !default;
1072
+ $zindex-offcanvas: 1045 !default;
1073
+ $zindex-modal-backdrop: 1050 !default;
1074
+ $zindex-modal: 1055 !default;
1075
+ $zindex-popover: 1070 !default;
1076
+ $zindex-tooltip: 1080 !default;
1077
+ // scss-docs-end zindex-stack
1078
+
1079
+
1080
+ // Navs
1081
+
1082
+ // scss-docs-start nav-variables
1083
+ $nav-link-padding-y: .5rem !default;
1084
+ $nav-link-padding-x: 1rem !default;
1085
+ $nav-link-font-size: null !default;
1086
+ $nav-link-font-weight: null !default;
1087
+ $nav-link-color: $link-color !default;
1088
+ $nav-link-hover-color: $link-hover-color !default;
1089
+ $nav-link-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out !default;
1090
+ $nav-link-disabled-color: $gray-600 !default;
1091
+
1092
+ $nav-tabs-border-color: $gray-300 !default;
1093
+ $nav-tabs-border-width: $border-width !default;
1094
+ $nav-tabs-border-radius: $border-radius !default;
1095
+ $nav-tabs-link-hover-border-color: $gray-200 $gray-200 $nav-tabs-border-color !default;
1096
+ $nav-tabs-link-active-color: $gray-700 !default;
1097
+ $nav-tabs-link-active-bg: $body-bg !default;
1098
+ $nav-tabs-link-active-border-color: $gray-300 $gray-300 $nav-tabs-link-active-bg !default;
1099
+
1100
+ $nav-pills-border-radius: $border-radius !default;
1101
+ $nav-pills-link-active-color: $component-active-color !default;
1102
+ $nav-pills-link-active-bg: $component-active-bg !default;
1103
+ // scss-docs-end nav-variables
1104
+
1105
+
1106
+ // Navbar
1107
+
1108
+ // scss-docs-start navbar-variables
1109
+ $navbar-padding-y: $spacer * .5 !default;
1110
+ $navbar-padding-x: null !default;
1111
+
1112
+ $navbar-nav-link-padding-x: .5rem !default;
1113
+
1114
+ $navbar-brand-font-size: $font-size-lg !default;
1115
+ // Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
1116
+ $nav-link-height: $font-size-base * $line-height-base + $nav-link-padding-y * 2 !default;
1117
+ $navbar-brand-height: $navbar-brand-font-size * $line-height-base !default;
1118
+ $navbar-brand-padding-y: ($nav-link-height - $navbar-brand-height) * .5 !default;
1119
+ $navbar-brand-margin-end: 1rem !default;
1120
+
1121
+ $navbar-toggler-padding-y: .25rem !default;
1122
+ $navbar-toggler-padding-x: .75rem !default;
1123
+ $navbar-toggler-font-size: $font-size-lg !default;
1124
+ $navbar-toggler-border-radius: $btn-border-radius !default;
1125
+ $navbar-toggler-focus-width: $btn-focus-width !default;
1126
+ $navbar-toggler-transition: box-shadow .15s ease-in-out !default;
1127
+ // scss-docs-end navbar-variables
1128
+
1129
+ // scss-docs-start navbar-theme-variables
1130
+ $navbar-dark-color: rgba($white, .55) !default;
1131
+ $navbar-dark-hover-color: rgba($white, .75) !default;
1132
+ $navbar-dark-active-color: $white !default;
1133
+ $navbar-dark-disabled-color: rgba($white, .25) !default;
1134
+ $navbar-dark-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='#{$navbar-dark-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>") !default;
1135
+ $navbar-dark-toggler-border-color: rgba($white, .1) !default;
1136
+
1137
+ $navbar-light-color: rgba($black, .55) !default;
1138
+ $navbar-light-hover-color: rgba($black, .7) !default;
1139
+ $navbar-light-active-color: rgba($black, .9) !default;
1140
+ $navbar-light-disabled-color: rgba($black, .3) !default;
1141
+ $navbar-light-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='#{$navbar-light-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>") !default;
1142
+ $navbar-light-toggler-border-color: rgba($black, .1) !default;
1143
+
1144
+ $navbar-light-brand-color: $navbar-light-active-color !default;
1145
+ $navbar-light-brand-hover-color: $navbar-light-active-color !default;
1146
+ $navbar-dark-brand-color: $navbar-dark-active-color !default;
1147
+ $navbar-dark-brand-hover-color: $navbar-dark-active-color !default;
1148
+ // scss-docs-end navbar-theme-variables
1149
+
1150
+
1151
+ // Dropdowns
810
1152
  //
811
- //##
812
-
813
- $code-color: #c7254e !default;
814
- $code-bg: #f9f2f4 !default;
815
-
816
- $kbd-color: #fff !default;
817
- $kbd-bg: #333 !default;
818
-
819
- $pre-bg: #f5f5f5 !default;
820
- $pre-color: $gray-dark !default;
821
- $pre-border-color: #ccc !default;
822
- $pre-scrollable-max-height: 340px !default;
823
-
824
-
825
- //== Type
1153
+ // Dropdown menu container and contents.
1154
+
1155
+ // scss-docs-start dropdown-variables
1156
+ $dropdown-min-width: 10rem !default;
1157
+ $dropdown-padding-x: 0 !default;
1158
+ $dropdown-padding-y: .5rem !default;
1159
+ $dropdown-spacer: .125rem !default;
1160
+ $dropdown-font-size: $font-size-base !default;
1161
+ $dropdown-color: $body-color !default;
1162
+ $dropdown-bg: $white !default;
1163
+ $dropdown-border-color: rgba($black, .15) !default;
1164
+ $dropdown-border-radius: $border-radius !default;
1165
+ $dropdown-border-width: $border-width !default;
1166
+ $dropdown-inner-border-radius: subtract($dropdown-border-radius, $dropdown-border-width) !default;
1167
+ $dropdown-divider-bg: $dropdown-border-color !default;
1168
+ $dropdown-divider-margin-y: $spacer * .5 !default;
1169
+ $dropdown-box-shadow: $box-shadow !default;
1170
+
1171
+ $dropdown-link-color: $gray-900 !default;
1172
+ $dropdown-link-hover-color: shade-color($dropdown-link-color, 10%) !default;
1173
+ $dropdown-link-hover-bg: $gray-200 !default;
1174
+
1175
+ $dropdown-link-active-color: $component-active-color !default;
1176
+ $dropdown-link-active-bg: $component-active-bg !default;
1177
+
1178
+ $dropdown-link-disabled-color: $gray-500 !default;
1179
+
1180
+ $dropdown-item-padding-y: $spacer * .25 !default;
1181
+ $dropdown-item-padding-x: $spacer !default;
1182
+
1183
+ $dropdown-header-color: $gray-600 !default;
1184
+ $dropdown-header-padding: $dropdown-padding-y $dropdown-item-padding-x !default;
1185
+ // scss-docs-end dropdown-variables
1186
+
1187
+ // scss-docs-start dropdown-dark-variables
1188
+ $dropdown-dark-color: $gray-300 !default;
1189
+ $dropdown-dark-bg: $gray-800 !default;
1190
+ $dropdown-dark-border-color: $dropdown-border-color !default;
1191
+ $dropdown-dark-divider-bg: $dropdown-divider-bg !default;
1192
+ $dropdown-dark-box-shadow: null !default;
1193
+ $dropdown-dark-link-color: $dropdown-dark-color !default;
1194
+ $dropdown-dark-link-hover-color: $white !default;
1195
+ $dropdown-dark-link-hover-bg: rgba($white, .15) !default;
1196
+ $dropdown-dark-link-active-color: $dropdown-link-active-color !default;
1197
+ $dropdown-dark-link-active-bg: $dropdown-link-active-bg !default;
1198
+ $dropdown-dark-link-disabled-color: $gray-500 !default;
1199
+ $dropdown-dark-header-color: $gray-500 !default;
1200
+ // scss-docs-end dropdown-dark-variables
1201
+
1202
+
1203
+ // Pagination
1204
+
1205
+ // scss-docs-start pagination-variables
1206
+ $pagination-padding-y: .375rem !default;
1207
+ $pagination-padding-x: .75rem !default;
1208
+ $pagination-padding-y-sm: .25rem !default;
1209
+ $pagination-padding-x-sm: .5rem !default;
1210
+ $pagination-padding-y-lg: .75rem !default;
1211
+ $pagination-padding-x-lg: 1.5rem !default;
1212
+
1213
+ $pagination-color: $link-color !default;
1214
+ $pagination-bg: $white !default;
1215
+ $pagination-border-width: $border-width !default;
1216
+ $pagination-border-radius: $border-radius !default;
1217
+ $pagination-margin-start: -$pagination-border-width !default;
1218
+ $pagination-border-color: $gray-300 !default;
1219
+
1220
+ $pagination-focus-color: $link-hover-color !default;
1221
+ $pagination-focus-bg: $gray-200 !default;
1222
+ $pagination-focus-box-shadow: $input-btn-focus-box-shadow !default;
1223
+ $pagination-focus-outline: 0 !default;
1224
+
1225
+ $pagination-hover-color: $link-hover-color !default;
1226
+ $pagination-hover-bg: $gray-200 !default;
1227
+ $pagination-hover-border-color: $gray-300 !default;
1228
+
1229
+ $pagination-active-color: $component-active-color !default;
1230
+ $pagination-active-bg: $component-active-bg !default;
1231
+ $pagination-active-border-color: $pagination-active-bg !default;
1232
+
1233
+ $pagination-disabled-color: $gray-600 !default;
1234
+ $pagination-disabled-bg: $white !default;
1235
+ $pagination-disabled-border-color: $gray-300 !default;
1236
+
1237
+ $pagination-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out !default;
1238
+
1239
+ $pagination-border-radius-sm: $border-radius-sm !default;
1240
+ $pagination-border-radius-lg: $border-radius-lg !default;
1241
+ // scss-docs-end pagination-variables
1242
+
1243
+
1244
+ // Placeholders
1245
+
1246
+ // scss-docs-start placeholders
1247
+ $placeholder-opacity-max: .5 !default;
1248
+ $placeholder-opacity-min: .2 !default;
1249
+ // scss-docs-end placeholders
1250
+
1251
+ // Cards
1252
+
1253
+ // scss-docs-start card-variables
1254
+ $card-spacer-y: $spacer !default;
1255
+ $card-spacer-x: $spacer !default;
1256
+ $card-title-spacer-y: $spacer * .5 !default;
1257
+ $card-border-width: $border-width !default;
1258
+ $card-border-color: rgba($black, .125) !default;
1259
+ $card-border-radius: $border-radius !default;
1260
+ $card-box-shadow: null !default;
1261
+ $card-inner-border-radius: subtract($card-border-radius, $card-border-width) !default;
1262
+ $card-cap-padding-y: $card-spacer-y * .5 !default;
1263
+ $card-cap-padding-x: $card-spacer-x !default;
1264
+ $card-cap-bg: rgba($black, .03) !default;
1265
+ $card-cap-color: null !default;
1266
+ $card-height: null !default;
1267
+ $card-color: null !default;
1268
+ $card-bg: $white !default;
1269
+ $card-img-overlay-padding: $spacer !default;
1270
+ $card-group-margin: $grid-gutter-width * .5 !default;
1271
+ // scss-docs-end card-variables
1272
+
1273
+ // Accordion
1274
+
1275
+ // scss-docs-start accordion-variables
1276
+ $accordion-padding-y: 1rem !default;
1277
+ $accordion-padding-x: 1.25rem !default;
1278
+ $accordion-color: $body-color !default;
1279
+ $accordion-bg: $body-bg !default;
1280
+ $accordion-border-width: $border-width !default;
1281
+ $accordion-border-color: rgba($black, .125) !default;
1282
+ $accordion-border-radius: $border-radius !default;
1283
+ $accordion-inner-border-radius: subtract($accordion-border-radius, $accordion-border-width) !default;
1284
+
1285
+ $accordion-body-padding-y: $accordion-padding-y !default;
1286
+ $accordion-body-padding-x: $accordion-padding-x !default;
1287
+
1288
+ $accordion-button-padding-y: $accordion-padding-y !default;
1289
+ $accordion-button-padding-x: $accordion-padding-x !default;
1290
+ $accordion-button-color: $accordion-color !default;
1291
+ $accordion-button-bg: $accordion-bg !default;
1292
+ $accordion-transition: $btn-transition, border-radius .15s ease !default;
1293
+ $accordion-button-active-bg: tint-color($component-active-bg, 90%) !default;
1294
+ $accordion-button-active-color: shade-color($primary, 10%) !default;
1295
+
1296
+ $accordion-button-focus-border-color: $input-focus-border-color !default;
1297
+ $accordion-button-focus-box-shadow: $btn-focus-box-shadow !default;
1298
+
1299
+ $accordion-icon-width: 1.25rem !default;
1300
+ $accordion-icon-color: $accordion-button-color !default;
1301
+ $accordion-icon-active-color: $accordion-button-active-color !default;
1302
+ $accordion-icon-transition: transform .2s ease-in-out !default;
1303
+ $accordion-icon-transform: rotate(-180deg) !default;
1304
+
1305
+ $accordion-button-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-color}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !default;
1306
+ $accordion-button-active-icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$accordion-icon-active-color}'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !default;
1307
+ // scss-docs-end accordion-variables
1308
+
1309
+ // Tooltips
1310
+
1311
+ // scss-docs-start tooltip-variables
1312
+ $tooltip-font-size: $font-size-sm !default;
1313
+ $tooltip-max-width: 200px !default;
1314
+ $tooltip-color: $white !default;
1315
+ $tooltip-bg: $black !default;
1316
+ $tooltip-border-radius: $border-radius !default;
1317
+ $tooltip-opacity: .9 !default;
1318
+ $tooltip-padding-y: $spacer * .25 !default;
1319
+ $tooltip-padding-x: $spacer * .5 !default;
1320
+ $tooltip-margin: 0 !default;
1321
+
1322
+ $tooltip-arrow-width: .8rem !default;
1323
+ $tooltip-arrow-height: .4rem !default;
1324
+ $tooltip-arrow-color: $tooltip-bg !default;
1325
+ // scss-docs-end tooltip-variables
1326
+
1327
+ // Form tooltips must come after regular tooltips
1328
+ // scss-docs-start tooltip-feedback-variables
1329
+ $form-feedback-tooltip-padding-y: $tooltip-padding-y !default;
1330
+ $form-feedback-tooltip-padding-x: $tooltip-padding-x !default;
1331
+ $form-feedback-tooltip-font-size: $tooltip-font-size !default;
1332
+ $form-feedback-tooltip-line-height: null !default;
1333
+ $form-feedback-tooltip-opacity: $tooltip-opacity !default;
1334
+ $form-feedback-tooltip-border-radius: $tooltip-border-radius !default;
1335
+ // scss-docs-end tooltip-feedback-variables
1336
+
1337
+
1338
+ // Popovers
1339
+
1340
+ // scss-docs-start popover-variables
1341
+ $popover-font-size: $font-size-sm !default;
1342
+ $popover-bg: $white !default;
1343
+ $popover-max-width: 276px !default;
1344
+ $popover-border-width: $border-width !default;
1345
+ $popover-border-color: rgba($black, .2) !default;
1346
+ $popover-border-radius: $border-radius-lg !default;
1347
+ $popover-inner-border-radius: subtract($popover-border-radius, $popover-border-width) !default;
1348
+ $popover-box-shadow: $box-shadow !default;
1349
+
1350
+ $popover-header-bg: shade-color($popover-bg, 6%) !default;
1351
+ $popover-header-color: $headings-color !default;
1352
+ $popover-header-padding-y: .5rem !default;
1353
+ $popover-header-padding-x: $spacer !default;
1354
+
1355
+ $popover-body-color: $body-color !default;
1356
+ $popover-body-padding-y: $spacer !default;
1357
+ $popover-body-padding-x: $spacer !default;
1358
+
1359
+ $popover-arrow-width: 1rem !default;
1360
+ $popover-arrow-height: .5rem !default;
1361
+ $popover-arrow-color: $popover-bg !default;
1362
+
1363
+ $popover-arrow-outer-color: fade-in($popover-border-color, .05) !default;
1364
+ // scss-docs-end popover-variables
1365
+
1366
+
1367
+ // Toasts
1368
+
1369
+ // scss-docs-start toast-variables
1370
+ $toast-max-width: 350px !default;
1371
+ $toast-padding-x: .75rem !default;
1372
+ $toast-padding-y: .5rem !default;
1373
+ $toast-font-size: .875rem !default;
1374
+ $toast-color: null !default;
1375
+ $toast-background-color: rgba($white, .85) !default;
1376
+ $toast-border-width: 1px !default;
1377
+ $toast-border-color: rgba($black, .1) !default;
1378
+ $toast-border-radius: $border-radius !default;
1379
+ $toast-box-shadow: $box-shadow !default;
1380
+ $toast-spacing: $container-padding-x !default;
1381
+
1382
+ $toast-header-color: $gray-600 !default;
1383
+ $toast-header-background-color: rgba($white, .85) !default;
1384
+ $toast-header-border-color: rgba($black, .05) !default;
1385
+ // scss-docs-end toast-variables
1386
+
1387
+
1388
+ // Badges
1389
+
1390
+ // scss-docs-start badge-variables
1391
+ $badge-font-size: .75em !default;
1392
+ $badge-font-weight: $font-weight-bold !default;
1393
+ $badge-color: $white !default;
1394
+ $badge-padding-y: .35em !default;
1395
+ $badge-padding-x: .65em !default;
1396
+ $badge-border-radius: $border-radius !default;
1397
+ // scss-docs-end badge-variables
1398
+
1399
+
1400
+ // Modals
1401
+
1402
+ // scss-docs-start modal-variables
1403
+ $modal-inner-padding: $spacer !default;
1404
+
1405
+ $modal-footer-margin-between: .5rem !default;
1406
+
1407
+ $modal-dialog-margin: .5rem !default;
1408
+ $modal-dialog-margin-y-sm-up: 1.75rem !default;
1409
+
1410
+ $modal-title-line-height: $line-height-base !default;
1411
+
1412
+ $modal-content-color: null !default;
1413
+ $modal-content-bg: $white !default;
1414
+ $modal-content-border-color: rgba($black, .2) !default;
1415
+ $modal-content-border-width: $border-width !default;
1416
+ $modal-content-border-radius: $border-radius-lg !default;
1417
+ $modal-content-inner-border-radius: subtract($modal-content-border-radius, $modal-content-border-width) !default;
1418
+ $modal-content-box-shadow-xs: $box-shadow-sm !default;
1419
+ $modal-content-box-shadow-sm-up: $box-shadow !default;
1420
+
1421
+ $modal-backdrop-bg: $black !default;
1422
+ $modal-backdrop-opacity: .5 !default;
1423
+ $modal-header-border-color: $border-color !default;
1424
+ $modal-footer-border-color: $modal-header-border-color !default;
1425
+ $modal-header-border-width: $modal-content-border-width !default;
1426
+ $modal-footer-border-width: $modal-header-border-width !default;
1427
+ $modal-header-padding-y: $modal-inner-padding !default;
1428
+ $modal-header-padding-x: $modal-inner-padding !default;
1429
+ $modal-header-padding: $modal-header-padding-y $modal-header-padding-x !default; // Keep this for backwards compatibility
1430
+
1431
+ $modal-sm: 300px !default;
1432
+ $modal-md: 500px !default;
1433
+ $modal-lg: 800px !default;
1434
+ $modal-xl: 1140px !default;
1435
+
1436
+ $modal-fade-transform: translate(0, -50px) !default;
1437
+ $modal-show-transform: none !default;
1438
+ $modal-transition: transform .3s ease-out !default;
1439
+ $modal-scale-transform: scale(1.02) !default;
1440
+ // scss-docs-end modal-variables
1441
+
1442
+
1443
+ // Alerts
826
1444
  //
827
- //##
828
-
829
- //** Horizontal offset for forms and lists.
830
- $component-offset-horizontal: 180px !default;
831
- //** Text muted color
832
- $text-muted: $gray-light !default;
833
- //** Abbreviations and acronyms border color
834
- $abbr-border-color: $gray-light !default;
835
- //** Headings small color
836
- $headings-small-color: $gray-light !default;
837
- //** Blockquote small color
838
- $blockquote-small-color: $gray-light !default;
839
- //** Blockquote font size
840
- $blockquote-font-size: ($font-size-base * 1.25) !default;
841
- //** Blockquote border color
842
- $blockquote-border-color: $gray-lighter !default;
843
- //** Page header border color
844
- $page-header-border-color: $gray-lighter !default;
845
- //** Width of horizontal description list titles
846
- $dl-horizontal-offset: $component-offset-horizontal !default;
847
- //** Horizontal line color.
848
- $hr-border: $gray-lighter !default;
849
-
850
-
1445
+ // Define alert colors, border radius, and padding.
1446
+
1447
+ // scss-docs-start alert-variables
1448
+ $alert-padding-y: $spacer !default;
1449
+ $alert-padding-x: $spacer !default;
1450
+ $alert-margin-bottom: 1rem !default;
1451
+ $alert-border-radius: $border-radius !default;
1452
+ $alert-link-font-weight: $font-weight-bold !default;
1453
+ $alert-border-width: $border-width !default;
1454
+ $alert-bg-scale: -80% !default;
1455
+ $alert-border-scale: -70% !default;
1456
+ $alert-color-scale: 40% !default;
1457
+ $alert-dismissible-padding-r: $alert-padding-x * 3 !default; // 3x covers width of x plus default padding on either side
1458
+ // scss-docs-end alert-variables
1459
+
1460
+
1461
+ // Progress bars
1462
+
1463
+ // scss-docs-start progress-variables
1464
+ $progress-height: 1rem !default;
1465
+ $progress-font-size: $font-size-base * .75 !default;
1466
+ $progress-bg: $gray-200 !default;
1467
+ $progress-border-radius: $border-radius !default;
1468
+ $progress-box-shadow: $box-shadow-inset !default;
1469
+ $progress-bar-color: $white !default;
1470
+ $progress-bar-bg: $primary !default;
1471
+ $progress-bar-animation-timing: 1s linear infinite !default;
1472
+ $progress-bar-transition: width .6s ease !default;
1473
+ // scss-docs-end progress-variables
1474
+
1475
+
1476
+ // List group
1477
+
1478
+ // scss-docs-start list-group-variables
1479
+ $list-group-color: $gray-900 !default;
1480
+ $list-group-bg: $white !default;
1481
+ $list-group-border-color: rgba($black, .125) !default;
1482
+ $list-group-border-width: $border-width !default;
1483
+ $list-group-border-radius: $border-radius !default;
1484
+
1485
+ $list-group-item-padding-y: $spacer * .5 !default;
1486
+ $list-group-item-padding-x: $spacer !default;
1487
+ $list-group-item-bg-scale: -80% !default;
1488
+ $list-group-item-color-scale: 40% !default;
1489
+
1490
+ $list-group-hover-bg: $gray-100 !default;
1491
+ $list-group-active-color: $component-active-color !default;
1492
+ $list-group-active-bg: $component-active-bg !default;
1493
+ $list-group-active-border-color: $list-group-active-bg !default;
1494
+
1495
+ $list-group-disabled-color: $gray-600 !default;
1496
+ $list-group-disabled-bg: $list-group-bg !default;
1497
+
1498
+ $list-group-action-color: $gray-700 !default;
1499
+ $list-group-action-hover-color: $list-group-action-color !default;
1500
+
1501
+ $list-group-action-active-color: $body-color !default;
1502
+ $list-group-action-active-bg: $gray-200 !default;
1503
+ // scss-docs-end list-group-variables
1504
+
1505
+
1506
+ // Image thumbnails
1507
+
1508
+ // scss-docs-start thumbnail-variables
1509
+ $thumbnail-padding: .25rem !default;
1510
+ $thumbnail-bg: $body-bg !default;
1511
+ $thumbnail-border-width: $border-width !default;
1512
+ $thumbnail-border-color: $gray-300 !default;
1513
+ $thumbnail-border-radius: $border-radius !default;
1514
+ $thumbnail-box-shadow: $box-shadow-sm !default;
1515
+ // scss-docs-end thumbnail-variables
1516
+
1517
+
1518
+ // Figures
1519
+
1520
+ // scss-docs-start figure-variables
1521
+ $figure-caption-font-size: $small-font-size !default;
1522
+ $figure-caption-color: $gray-600 !default;
1523
+ // scss-docs-end figure-variables
1524
+
1525
+
1526
+ // Breadcrumbs
1527
+
1528
+ // scss-docs-start breadcrumb-variables
1529
+ $breadcrumb-font-size: null !default;
1530
+ $breadcrumb-padding-y: 0 !default;
1531
+ $breadcrumb-padding-x: 0 !default;
1532
+ $breadcrumb-item-padding-x: .5rem !default;
1533
+ $breadcrumb-margin-bottom: 1rem !default;
1534
+ $breadcrumb-bg: null !default;
1535
+ $breadcrumb-divider-color: $gray-600 !default;
1536
+ $breadcrumb-active-color: $gray-600 !default;
1537
+ $breadcrumb-divider: quote("/") !default;
1538
+ $breadcrumb-divider-flipped: $breadcrumb-divider !default;
1539
+ $breadcrumb-border-radius: null !default;
1540
+ // scss-docs-end breadcrumb-variables
1541
+
1542
+ // Carousel
1543
+
1544
+ // scss-docs-start carousel-variables
1545
+ $carousel-control-color: $white !default;
1546
+ $carousel-control-width: 15% !default;
1547
+ $carousel-control-opacity: .5 !default;
1548
+ $carousel-control-hover-opacity: .9 !default;
1549
+ $carousel-control-transition: opacity .15s ease !default;
1550
+
1551
+ $carousel-indicator-width: 30px !default;
1552
+ $carousel-indicator-height: 3px !default;
1553
+ $carousel-indicator-hit-area-height: 10px !default;
1554
+ $carousel-indicator-spacer: 3px !default;
1555
+ $carousel-indicator-opacity: .5 !default;
1556
+ $carousel-indicator-active-bg: $white !default;
1557
+ $carousel-indicator-active-opacity: 1 !default;
1558
+ $carousel-indicator-transition: opacity .6s ease !default;
1559
+
1560
+ $carousel-caption-width: 70% !default;
1561
+ $carousel-caption-color: $white !default;
1562
+ $carousel-caption-padding-y: 1.25rem !default;
1563
+ $carousel-caption-spacer: 1.25rem !default;
1564
+
1565
+ $carousel-control-icon-width: 2rem !default;
1566
+
1567
+ $carousel-control-prev-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$carousel-control-color}'><path d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/></svg>") !default;
1568
+ $carousel-control-next-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$carousel-control-color}'><path d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/></svg>") !default;
1569
+
1570
+ $carousel-transition-duration: .6s !default;
1571
+ $carousel-transition: transform $carousel-transition-duration ease-in-out !default; // Define transform transition first if using multiple transitions (e.g., `transform 2s ease, opacity .5s ease-out`)
1572
+
1573
+ $carousel-dark-indicator-active-bg: $black !default;
1574
+ $carousel-dark-caption-color: $black !default;
1575
+ $carousel-dark-control-icon-filter: invert(1) grayscale(100) !default;
1576
+ // scss-docs-end carousel-variables
1577
+
1578
+
1579
+ // Spinners
1580
+
1581
+ // scss-docs-start spinner-variables
1582
+ $spinner-width: 2rem !default;
1583
+ $spinner-height: $spinner-width !default;
1584
+ $spinner-vertical-align: -.125em !default;
1585
+ $spinner-border-width: .25em !default;
1586
+ $spinner-animation-speed: .75s !default;
1587
+
1588
+ $spinner-width-sm: 1rem !default;
1589
+ $spinner-height-sm: $spinner-width-sm !default;
1590
+ $spinner-border-width-sm: .2em !default;
1591
+ // scss-docs-end spinner-variables
1592
+
1593
+
1594
+ // Close
1595
+
1596
+ // scss-docs-start close-variables
1597
+ $btn-close-width: 1em !default;
1598
+ $btn-close-height: $btn-close-width !default;
1599
+ $btn-close-padding-x: .25em !default;
1600
+ $btn-close-padding-y: $btn-close-padding-x !default;
1601
+ $btn-close-color: $black !default;
1602
+ $btn-close-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='#{$btn-close-color}'><path d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/></svg>") !default;
1603
+ $btn-close-focus-shadow: $input-btn-focus-box-shadow !default;
1604
+ $btn-close-opacity: .5 !default;
1605
+ $btn-close-hover-opacity: .75 !default;
1606
+ $btn-close-focus-opacity: 1 !default;
1607
+ $btn-close-disabled-opacity: .25 !default;
1608
+ $btn-close-white-filter: invert(1) grayscale(100%) brightness(200%) !default;
1609
+ // scss-docs-end close-variables
1610
+
1611
+
1612
+ // Offcanvas
1613
+
1614
+ // scss-docs-start offcanvas-variables
1615
+ $offcanvas-padding-y: $modal-inner-padding !default;
1616
+ $offcanvas-padding-x: $modal-inner-padding !default;
1617
+ $offcanvas-horizontal-width: 400px !default;
1618
+ $offcanvas-vertical-height: 30vh !default;
1619
+ $offcanvas-transition-duration: .3s !default;
1620
+ $offcanvas-border-color: $modal-content-border-color !default;
1621
+ $offcanvas-border-width: $modal-content-border-width !default;
1622
+ $offcanvas-title-line-height: $modal-title-line-height !default;
1623
+ $offcanvas-bg-color: $modal-content-bg !default;
1624
+ $offcanvas-color: $modal-content-color !default;
1625
+ $offcanvas-box-shadow: $modal-content-box-shadow-xs !default;
1626
+ $offcanvas-backdrop-bg: $modal-backdrop-bg !default;
1627
+ $offcanvas-backdrop-opacity: $modal-backdrop-opacity !default;
1628
+ // scss-docs-end offcanvas-variables
1629
+
1630
+ // Code
1631
+
1632
+ $code-font-size: $small-font-size !default;
1633
+ $code-color: $pink !default;
1634
+
1635
+ $kbd-padding-y: .2rem !default;
1636
+ $kbd-padding-x: .4rem !default;
1637
+ $kbd-font-size: $code-font-size !default;
1638
+ $kbd-color: $white !default;
1639
+ $kbd-bg: $gray-900 !default;
1640
+
1641
+ $pre-color: null !default;