rails_admin 2.3.1 → 3.0.0.beta

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 (329) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +9 -11
  3. data/README.md +37 -31
  4. data/Rakefile +2 -2
  5. data/app/assets/javascripts/rails_admin.js +21 -0
  6. data/app/assets/stylesheets/rails_admin/custom/mixins.scss +1 -1
  7. data/app/assets/stylesheets/rails_admin/custom/variables.scss +1 -1
  8. data/app/assets/stylesheets/rails_admin.scss.erb +76 -0
  9. data/app/controllers/rails_admin/application_controller.rb +4 -3
  10. data/app/controllers/rails_admin/main_controller.rb +43 -24
  11. data/app/helpers/rails_admin/application_helper.rb +69 -52
  12. data/app/helpers/rails_admin/form_builder.rb +5 -4
  13. data/app/helpers/rails_admin/main_helper.rb +27 -43
  14. data/app/views/kaminari/ra-twitter-bootstrap/_gap.html.erb +5 -0
  15. data/app/views/kaminari/ra-twitter-bootstrap/_next_page.html.erb +9 -0
  16. data/app/views/kaminari/ra-twitter-bootstrap/_page.html.erb +9 -0
  17. data/app/views/kaminari/ra-twitter-bootstrap/_paginator.html.erb +13 -0
  18. data/app/views/kaminari/ra-twitter-bootstrap/_prev_page.html.erb +9 -0
  19. data/app/views/kaminari/ra-twitter-bootstrap/without_count/_next_page.html.erb +9 -0
  20. data/app/views/kaminari/ra-twitter-bootstrap/without_count/_paginator.html.erb +6 -0
  21. data/app/views/kaminari/ra-twitter-bootstrap/without_count/_prev_page.html.erb +9 -0
  22. data/app/views/layouts/rails_admin/_head.html.erb +17 -0
  23. data/app/views/layouts/rails_admin/_navigation.html.erb +21 -0
  24. data/app/views/layouts/rails_admin/_secondary_navigation.html.erb +24 -0
  25. data/app/views/layouts/rails_admin/_sidebar_navigation.html.erb +9 -0
  26. data/app/views/layouts/rails_admin/application.html.erb +27 -0
  27. data/app/views/layouts/rails_admin/modal.js.erb +7 -0
  28. data/app/views/layouts/rails_admin/pjax.html.erb +20 -0
  29. data/app/views/rails_admin/main/_dashboard_history.html.erb +45 -0
  30. data/app/views/rails_admin/main/_delete_notice.html.erb +35 -0
  31. data/app/views/rails_admin/main/_form_action_text.html.erb +7 -0
  32. data/app/views/rails_admin/main/_form_boolean.html.erb +16 -0
  33. data/app/views/rails_admin/main/{_form_ck_editor.html.haml → _form_ck_editor.html.erb} +3 -3
  34. data/app/views/rails_admin/main/_form_code_mirror.html.erb +9 -0
  35. data/app/views/rails_admin/main/_form_colorpicker.html.erb +1 -0
  36. data/app/views/rails_admin/main/_form_datetime.html.erb +9 -0
  37. data/app/views/rails_admin/main/_form_enumeration.html.erb +21 -0
  38. data/app/views/rails_admin/main/_form_field.html.erb +1 -0
  39. data/app/views/rails_admin/main/_form_file_upload.html.erb +17 -0
  40. data/app/views/rails_admin/main/{_form_filtering_multiselect.html.haml → _form_filtering_multiselect.html.erb} +11 -11
  41. data/app/views/rails_admin/main/{_form_filtering_select.html.haml → _form_filtering_select.html.erb} +13 -12
  42. data/app/views/rails_admin/main/_form_froala.html.erb +8 -0
  43. data/app/views/rails_admin/main/_form_multiple_file_upload.html.erb +20 -0
  44. data/app/views/rails_admin/main/_form_nested_many.html.erb +21 -0
  45. data/app/views/rails_admin/main/_form_nested_one.html.erb +21 -0
  46. data/app/views/rails_admin/main/_form_polymorphic_association.html.erb +27 -0
  47. data/app/views/rails_admin/main/_form_simple_mde.html.erb +8 -0
  48. data/app/views/rails_admin/main/_form_text.html.erb +1 -0
  49. data/app/views/rails_admin/main/_form_wysihtml5.html.erb +8 -0
  50. data/app/views/rails_admin/main/_submit_buttons.html.erb +25 -0
  51. data/app/views/rails_admin/main/bulk_delete.html.erb +19 -0
  52. data/app/views/rails_admin/main/dashboard.html.erb +64 -0
  53. data/app/views/rails_admin/main/delete.html.erb +21 -0
  54. data/app/views/rails_admin/main/edit.html.erb +3 -0
  55. data/app/views/rails_admin/main/export.html.erb +146 -0
  56. data/app/views/rails_admin/main/history.html.erb +78 -0
  57. data/app/views/rails_admin/main/index.html.erb +193 -0
  58. data/app/views/rails_admin/main/new.html.erb +3 -0
  59. data/app/views/rails_admin/main/show.html.erb +28 -0
  60. data/config/initializers/active_record_extensions.rb +3 -1
  61. data/config/initializers/mongoid_extensions.rb +1 -1
  62. data/config/locales/rails_admin.en.yml +5 -1
  63. data/lib/generators/rails_admin/install_generator.rb +51 -3
  64. data/lib/generators/rails_admin/templates/environment.js +6 -0
  65. data/lib/generators/rails_admin/templates/initializer.erb +2 -1
  66. data/lib/generators/rails_admin/templates/rails_admin.js.erb +2 -0
  67. data/lib/generators/rails_admin/templates/rails_admin.scss +1 -0
  68. data/lib/generators/rails_admin/templates/webpack.config.js +32 -0
  69. data/lib/rails_admin/abstract_model.rb +24 -10
  70. data/lib/rails_admin/adapters/active_record/association.rb +20 -1
  71. data/lib/rails_admin/adapters/active_record/object_extension.rb +29 -0
  72. data/lib/rails_admin/adapters/active_record/property.rb +1 -1
  73. data/lib/rails_admin/adapters/active_record.rb +19 -21
  74. data/lib/rails_admin/adapters/mongoid/association.rb +38 -9
  75. data/lib/rails_admin/adapters/mongoid/bson.rb +4 -5
  76. data/lib/rails_admin/adapters/mongoid/extension.rb +3 -1
  77. data/lib/rails_admin/adapters/mongoid/object_extension.rb +32 -0
  78. data/lib/rails_admin/adapters/mongoid/property.rb +2 -2
  79. data/lib/rails_admin/adapters/mongoid.rb +25 -19
  80. data/lib/rails_admin/config/actions/base.rb +7 -2
  81. data/lib/rails_admin/config/actions/bulk_delete.rb +2 -2
  82. data/lib/rails_admin/config/actions/dashboard.rb +4 -3
  83. data/lib/rails_admin/config/actions/delete.rb +5 -9
  84. data/lib/rails_admin/config/actions/edit.rb +7 -7
  85. data/lib/rails_admin/config/actions/export.rb +2 -2
  86. data/lib/rails_admin/config/actions/history_index.rb +2 -2
  87. data/lib/rails_admin/config/actions/history_show.rb +2 -2
  88. data/lib/rails_admin/config/actions/index.rb +5 -7
  89. data/lib/rails_admin/config/actions/new.rb +9 -9
  90. data/lib/rails_admin/config/actions/show.rb +1 -1
  91. data/lib/rails_admin/config/actions/show_in_app.rb +6 -2
  92. data/lib/rails_admin/config/actions.rb +4 -4
  93. data/lib/rails_admin/config/configurable.rb +2 -2
  94. data/lib/rails_admin/config/fields/association.rb +15 -12
  95. data/lib/rails_admin/config/fields/base.rb +44 -24
  96. data/lib/rails_admin/config/fields/factories/active_storage.rb +1 -0
  97. data/lib/rails_admin/config/fields/factories/association.rb +6 -8
  98. data/lib/rails_admin/config/fields/factories/carrierwave.rb +2 -1
  99. data/lib/rails_admin/config/fields/factories/devise.rb +2 -1
  100. data/lib/rails_admin/config/fields/factories/dragonfly.rb +2 -1
  101. data/lib/rails_admin/config/fields/factories/paperclip.rb +2 -1
  102. data/lib/rails_admin/config/fields/factories/shrine.rb +1 -1
  103. data/lib/rails_admin/config/fields/group.rb +1 -2
  104. data/lib/rails_admin/config/fields/types/active_record_enum.rb +2 -0
  105. data/lib/rails_admin/config/fields/types/active_storage.rb +9 -7
  106. data/lib/rails_admin/config/fields/types/all.rb +1 -0
  107. data/lib/rails_admin/config/fields/types/belongs_to_association.rb +4 -12
  108. data/lib/rails_admin/config/fields/types/boolean.rb +32 -8
  109. data/lib/rails_admin/config/fields/types/carrierwave.rb +1 -0
  110. data/lib/rails_admin/config/fields/types/citext.rb +13 -0
  111. data/lib/rails_admin/config/fields/types/color.rb +6 -2
  112. data/lib/rails_admin/config/fields/types/date.rb +5 -8
  113. data/lib/rails_admin/config/fields/types/datetime.rb +18 -21
  114. data/lib/rails_admin/config/fields/types/decimal.rb +9 -2
  115. data/lib/rails_admin/config/fields/types/dragonfly.rb +3 -1
  116. data/lib/rails_admin/config/fields/types/enum.rb +1 -1
  117. data/lib/rails_admin/config/fields/types/file_upload.rb +4 -3
  118. data/lib/rails_admin/config/fields/types/float.rb +9 -2
  119. data/lib/rails_admin/config/fields/types/has_many_association.rb +1 -5
  120. data/lib/rails_admin/config/fields/types/has_one_association.rb +1 -13
  121. data/lib/rails_admin/config/fields/types/integer.rb +2 -6
  122. data/lib/rails_admin/config/fields/types/multiple_active_storage.rb +8 -6
  123. data/lib/rails_admin/config/fields/types/multiple_carrierwave.rb +1 -0
  124. data/lib/rails_admin/config/fields/types/multiple_file_upload.rb +4 -3
  125. data/lib/rails_admin/config/fields/types/numeric.rb +18 -0
  126. data/lib/rails_admin/config/fields/types/polymorphic_association.rb +3 -2
  127. data/lib/rails_admin/config/fields/types/string.rb +1 -1
  128. data/lib/rails_admin/config/fields/types/time.rb +1 -4
  129. data/lib/rails_admin/config/fields/types/timestamp.rb +0 -4
  130. data/lib/rails_admin/config/fields/types.rb +1 -1
  131. data/lib/rails_admin/config/fields.rb +3 -1
  132. data/lib/rails_admin/config/has_fields.rb +5 -6
  133. data/lib/rails_admin/config/hideable.rb +1 -1
  134. data/lib/rails_admin/config/inspectable.rb +1 -3
  135. data/lib/rails_admin/config/model.rb +10 -10
  136. data/lib/rails_admin/config/sections/base.rb +2 -3
  137. data/lib/rails_admin/config/sections/list.rb +4 -15
  138. data/lib/rails_admin/config/sections.rb +1 -1
  139. data/lib/rails_admin/config.rb +73 -38
  140. data/lib/rails_admin/engine.rb +36 -23
  141. data/lib/rails_admin/extension.rb +6 -14
  142. data/lib/rails_admin/extensions/cancancan/authorization_adapter.rb +4 -2
  143. data/lib/rails_admin/extensions/paper_trail/auditing_adapter.rb +12 -7
  144. data/lib/rails_admin/extensions/pundit/authorization_adapter.rb +6 -7
  145. data/lib/rails_admin/support/csv_converter.rb +12 -13
  146. data/lib/rails_admin/support/datetime.rb +40 -74
  147. data/lib/rails_admin/support/esmodule_preprocessor.rb +32 -0
  148. data/lib/rails_admin/support/hash_helper.rb +6 -5
  149. data/lib/rails_admin/version.rb +8 -4
  150. data/lib/rails_admin.rb +1 -4
  151. data/lib/tasks/rails_admin.rake +3 -3
  152. data/package.json +28 -0
  153. data/src/rails_admin/base.js +21 -0
  154. data/src/rails_admin/filter-box.js +405 -0
  155. data/src/rails_admin/filtering-multiselect.js +394 -0
  156. data/src/rails_admin/filtering-select.js +302 -0
  157. data/src/rails_admin/i18n.js +19 -0
  158. data/src/rails_admin/nested-form-hooks.js +100 -0
  159. data/src/rails_admin/remote-form.js +190 -0
  160. data/src/rails_admin/sidescroll.js +20 -0
  161. data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/base/theming.scss +93 -34
  162. data/src/rails_admin/styles/base.scss +64 -0
  163. data/src/rails_admin/styles/filtering-multiselect.scss +53 -0
  164. data/src/rails_admin/styles/filtering-select.scss +70 -0
  165. data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/themes/cerulean/theming.scss +23 -21
  166. data/src/rails_admin/styles/themes/cerulean/variables.scss +830 -0
  167. data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/themes/default/mixins.scss +1 -1
  168. data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/themes/default/variables.scss +1 -1
  169. data/src/rails_admin/styles/widgets.scss +35 -0
  170. data/src/rails_admin/ui.js +172 -0
  171. data/src/rails_admin/vendor/jquery.pjax.js +899 -0
  172. data/src/rails_admin/vendor/jquery_nested_form.js +122 -0
  173. data/src/rails_admin/widgets.js +512 -0
  174. data/vendor/assets/fonts/rails_admin/fa-solid-900.eot +0 -0
  175. data/vendor/assets/fonts/rails_admin/fa-solid-900.svg +5034 -0
  176. data/vendor/assets/fonts/rails_admin/fa-solid-900.ttf +0 -0
  177. data/vendor/assets/fonts/rails_admin/fa-solid-900.woff +0 -0
  178. data/vendor/assets/fonts/rails_admin/fa-solid-900.woff2 +0 -0
  179. data/vendor/assets/javascripts/rails_admin/jquery-ui/data.js +41 -0
  180. data/vendor/assets/javascripts/rails_admin/jquery-ui/effect.js +1637 -0
  181. data/vendor/assets/javascripts/rails_admin/jquery-ui/ie.js +17 -0
  182. data/vendor/assets/javascripts/rails_admin/jquery-ui/keycode.js +47 -0
  183. data/vendor/assets/javascripts/rails_admin/jquery-ui/position.js +500 -0
  184. data/vendor/assets/javascripts/rails_admin/jquery-ui/safe-active-element.js +42 -0
  185. data/vendor/assets/javascripts/rails_admin/jquery-ui/scroll-parent.js +47 -0
  186. data/vendor/assets/javascripts/rails_admin/jquery-ui/unique-id.js +51 -0
  187. data/vendor/assets/javascripts/rails_admin/jquery-ui/version.js +17 -0
  188. data/vendor/assets/javascripts/rails_admin/jquery-ui/widget.js +735 -0
  189. data/vendor/assets/javascripts/rails_admin/jquery-ui/widgets/autocomplete.js +689 -0
  190. data/vendor/assets/javascripts/rails_admin/jquery-ui/widgets/menu.js +680 -0
  191. data/vendor/assets/javascripts/rails_admin/jquery-ui/widgets/mouse.js +230 -0
  192. data/vendor/assets/javascripts/rails_admin/jquery-ui/widgets/sortable.js +1561 -0
  193. data/vendor/assets/javascripts/rails_admin/jquery3.js +10872 -0
  194. data/vendor/assets/stylesheets/rails_admin/font-awesome.scss +4476 -2216
  195. metadata +118 -263
  196. data/app/assets/images/rails_admin/aristo/images/bg_fallback.png +0 -0
  197. data/app/assets/images/rails_admin/aristo/images/icon_sprite.png +0 -0
  198. data/app/assets/images/rails_admin/aristo/images/progress_bar.gif +0 -0
  199. data/app/assets/images/rails_admin/aristo/images/slider_handles.png +0 -0
  200. data/app/assets/images/rails_admin/aristo/images/ui-icons_222222_256x240.png +0 -0
  201. data/app/assets/images/rails_admin/aristo/images/ui-icons_454545_256x240.png +0 -0
  202. data/app/assets/images/rails_admin/bullet_black.png +0 -0
  203. data/app/assets/images/rails_admin/bullet_white.png +0 -0
  204. data/app/assets/images/rails_admin/calendar.png +0 -0
  205. data/app/assets/images/rails_admin/clock.png +0 -0
  206. data/app/assets/images/rails_admin/logo.png +0 -0
  207. data/app/assets/images/rails_admin/magnifier.png +0 -0
  208. data/app/assets/images/rails_admin/multiselect/icon_sprite.png +0 -0
  209. data/app/assets/images/rails_admin/multiselect/ui-icon-circle-triangle-n-dark.png +0 -0
  210. data/app/assets/images/rails_admin/multiselect/ui-icon-circle-triangle-n-light.png +0 -0
  211. data/app/assets/images/rails_admin/multiselect/ui-icon-circle-triangle-s-dark.png +0 -0
  212. data/app/assets/images/rails_admin/multiselect/ui-icon-circle-triangle-s-light.png +0 -0
  213. data/app/assets/javascripts/rails_admin/jquery-ui.js.erb +0 -8
  214. data/app/assets/javascripts/rails_admin/jquery.migrate.js +0 -3
  215. data/app/assets/javascripts/rails_admin/ra.filter-box.js +0 -253
  216. data/app/assets/javascripts/rails_admin/ra.filtering-multiselect.js +0 -331
  217. data/app/assets/javascripts/rails_admin/ra.filtering-select.js +0 -294
  218. data/app/assets/javascripts/rails_admin/ra.i18n.js +0 -28
  219. data/app/assets/javascripts/rails_admin/ra.nested-form-hooks.js +0 -59
  220. data/app/assets/javascripts/rails_admin/ra.remote-form.js +0 -155
  221. data/app/assets/javascripts/rails_admin/ra.sidescroll.js +0 -31
  222. data/app/assets/javascripts/rails_admin/ra.widgets.js +0 -379
  223. data/app/assets/javascripts/rails_admin/rails_admin.js +0 -21
  224. data/app/assets/javascripts/rails_admin/ui.js +0 -135
  225. data/app/assets/stylesheets/rails_admin/aristo/images/bg_fallback.png +0 -0
  226. data/app/assets/stylesheets/rails_admin/aristo/images/icon_sprite.png +0 -0
  227. data/app/assets/stylesheets/rails_admin/aristo/images/progress_bar.gif +0 -0
  228. data/app/assets/stylesheets/rails_admin/aristo/images/slider_handles.png +0 -0
  229. data/app/assets/stylesheets/rails_admin/aristo/images/ui-icons_222222_256x240.png +0 -0
  230. data/app/assets/stylesheets/rails_admin/aristo/images/ui-icons_454545_256x240.png +0 -0
  231. data/app/assets/stylesheets/rails_admin/aristo/jquery-ui-1.8.7.custom.scss +0 -733
  232. data/app/assets/stylesheets/rails_admin/base/font-awesome-4-compability.scss +0 -153
  233. data/app/assets/stylesheets/rails_admin/ra.filtering-multiselect.scss +0 -88
  234. data/app/assets/stylesheets/rails_admin/ra.sidescroll.scss +0 -29
  235. data/app/assets/stylesheets/rails_admin/ra.widgets.scss +0 -17
  236. data/app/assets/stylesheets/rails_admin/rails_admin.scss.erb +0 -110
  237. data/app/assets/stylesheets/rails_admin/themes/cerulean/variables.scss +0 -857
  238. data/app/views/kaminari/ra-twitter-bootstrap/_gap.html.haml +0 -2
  239. data/app/views/kaminari/ra-twitter-bootstrap/_next_page.html.haml +0 -4
  240. data/app/views/kaminari/ra-twitter-bootstrap/_page.html.haml +0 -4
  241. data/app/views/kaminari/ra-twitter-bootstrap/_paginator.html.haml +0 -9
  242. data/app/views/kaminari/ra-twitter-bootstrap/_prev_page.html.haml +0 -4
  243. data/app/views/kaminari/ra-twitter-bootstrap/without_count/_next_page.html.haml +0 -4
  244. data/app/views/kaminari/ra-twitter-bootstrap/without_count/_paginator.html.haml +0 -4
  245. data/app/views/kaminari/ra-twitter-bootstrap/without_count/_prev_page.html.haml +0 -4
  246. data/app/views/layouts/rails_admin/_head.html.haml +0 -7
  247. data/app/views/layouts/rails_admin/_navigation.html.haml +0 -12
  248. data/app/views/layouts/rails_admin/_secondary_navigation.html.haml +0 -10
  249. data/app/views/layouts/rails_admin/_sidebar_navigation.html.haml +0 -3
  250. data/app/views/layouts/rails_admin/application.html.haml +0 -16
  251. data/app/views/layouts/rails_admin/pjax.html.haml +0 -12
  252. data/app/views/rails_admin/main/_dashboard_history.html.haml +0 -21
  253. data/app/views/rails_admin/main/_delete_notice.html.haml +0 -24
  254. data/app/views/rails_admin/main/_form_action_text.html.haml +0 -7
  255. data/app/views/rails_admin/main/_form_boolean.html.haml +0 -3
  256. data/app/views/rails_admin/main/_form_code_mirror.html.haml +0 -9
  257. data/app/views/rails_admin/main/_form_colorpicker.html.haml +0 -1
  258. data/app/views/rails_admin/main/_form_datetime.html.haml +0 -5
  259. data/app/views/rails_admin/main/_form_enumeration.html.haml +0 -19
  260. data/app/views/rails_admin/main/_form_field.html.haml +0 -1
  261. data/app/views/rails_admin/main/_form_file_upload.html.haml +0 -17
  262. data/app/views/rails_admin/main/_form_froala.html.haml +0 -8
  263. data/app/views/rails_admin/main/_form_multiple_file_upload.html.haml +0 -16
  264. data/app/views/rails_admin/main/_form_nested_many.html.haml +0 -15
  265. data/app/views/rails_admin/main/_form_nested_one.html.haml +0 -17
  266. data/app/views/rails_admin/main/_form_polymorphic_association.html.haml +0 -26
  267. data/app/views/rails_admin/main/_form_simple_mde.haml +0 -8
  268. data/app/views/rails_admin/main/_form_text.html.haml +0 -1
  269. data/app/views/rails_admin/main/_form_wysihtml5.html.haml +0 -8
  270. data/app/views/rails_admin/main/_submit_buttons.html.haml +0 -16
  271. data/app/views/rails_admin/main/bulk_delete.html.haml +0 -11
  272. data/app/views/rails_admin/main/dashboard.html.haml +0 -34
  273. data/app/views/rails_admin/main/delete.html.haml +0 -18
  274. data/app/views/rails_admin/main/edit.html.haml +0 -2
  275. data/app/views/rails_admin/main/export.html.haml +0 -92
  276. data/app/views/rails_admin/main/history.html.haml +0 -51
  277. data/app/views/rails_admin/main/index.html.haml +0 -126
  278. data/app/views/rails_admin/main/new.html.haml +0 -2
  279. data/app/views/rails_admin/main/show.html.haml +0 -15
  280. data/config/initializers/haml.rb +0 -5
  281. data/lib/rails_admin/adapters/active_record/abstract_object.rb +0 -38
  282. data/lib/rails_admin/adapters/active_record.rb.bak +0 -348
  283. data/lib/rails_admin/adapters/mongoid/abstract_object.rb +0 -42
  284. data/lib/rails_admin/bootstrap-sass/compass_functions.rb +0 -28
  285. data/lib/rails_admin/bootstrap-sass/sass_functions.rb +0 -16
  286. data/lib/rails_admin/bootstrap-sass.rb +0 -49
  287. data/lib/rails_admin/config/lazy_model.rb +0 -68
  288. data/lib/rails_admin/extensions/history/auditing_adapter.rb +0 -37
  289. data/lib/rails_admin/extensions/history/history.rb +0 -44
  290. data/lib/rails_admin/extensions/history.rb +0 -3
  291. data/lib/rails_admin/support/i18n.rb +0 -43
  292. data/vendor/assets/fonts/rails_admin/FontAwesome.otf +0 -0
  293. data/vendor/assets/fonts/rails_admin/fontawesome-webfont.eot +0 -0
  294. data/vendor/assets/fonts/rails_admin/fontawesome-webfont.svg +0 -2671
  295. data/vendor/assets/fonts/rails_admin/fontawesome-webfont.ttf +0 -0
  296. data/vendor/assets/fonts/rails_admin/fontawesome-webfont.woff +0 -0
  297. data/vendor/assets/fonts/rails_admin/fontawesome-webfont.woff2 +0 -0
  298. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_background.png +0 -0
  299. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_hex.png +0 -0
  300. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_hsb_b.png +0 -0
  301. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_hsb_h.png +0 -0
  302. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_hsb_s.png +0 -0
  303. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_indic.gif +0 -0
  304. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_overlay.png +0 -0
  305. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_rgb_b.png +0 -0
  306. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_rgb_g.png +0 -0
  307. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_rgb_r.png +0 -0
  308. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_select.gif +0 -0
  309. data/vendor/assets/images/rails_admin/colorpicker/colorpicker_submit.png +0 -0
  310. data/vendor/assets/images/rails_admin/colorpicker/custom_background.png +0 -0
  311. data/vendor/assets/images/rails_admin/colorpicker/custom_hex.png +0 -0
  312. data/vendor/assets/images/rails_admin/colorpicker/custom_hsb_b.png +0 -0
  313. data/vendor/assets/images/rails_admin/colorpicker/custom_hsb_h.png +0 -0
  314. data/vendor/assets/images/rails_admin/colorpicker/custom_hsb_s.png +0 -0
  315. data/vendor/assets/images/rails_admin/colorpicker/custom_indic.gif +0 -0
  316. data/vendor/assets/images/rails_admin/colorpicker/custom_rgb_b.png +0 -0
  317. data/vendor/assets/images/rails_admin/colorpicker/custom_rgb_g.png +0 -0
  318. data/vendor/assets/images/rails_admin/colorpicker/custom_rgb_r.png +0 -0
  319. data/vendor/assets/images/rails_admin/colorpicker/custom_submit.png +0 -0
  320. data/vendor/assets/images/rails_admin/colorpicker/select.png +0 -0
  321. data/vendor/assets/images/rails_admin/colorpicker/select2.png +0 -0
  322. data/vendor/assets/images/rails_admin/colorpicker/slider.png +0 -0
  323. data/vendor/assets/javascripts/rails_admin/jquery.colorpicker.js +0 -484
  324. data/vendor/assets/stylesheets/rails_admin/jquery.colorpicker.scss +0 -182
  325. /data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/base/README.txt +0 -0
  326. /data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/base/mixins.scss +0 -0
  327. /data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/base/variables.scss +0 -0
  328. /data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/themes/cerulean/mixins.scss +0 -0
  329. /data/{app/assets/stylesheets/rails_admin → src/rails_admin/styles}/themes/default/theming.scss +0 -0
@@ -1,857 +0,0 @@
1
- // Cerulean 3.3.1
2
- // Variables
3
- //
4
- // --------------------------------------------------
5
-
6
-
7
- //== Colors
8
- //
9
- //## Gray and brand colors for use across Bootstrap.
10
-
11
- $gray-base: #000;
12
- $gray-darker: lighten($gray-base, 13.5%); // #222
13
- $gray-dark: lighten($gray-base, 20%); // #333
14
- $gray: lighten($gray-base, 33.5%); // #555
15
- $gray-light: lighten($gray-base, 60%); // #999
16
- $gray-lighter: lighten($gray-base, 93.5%); // #eee
17
-
18
- $brand-info: #2FA4E7; // default $brand-primary
19
- $brand-success: #73A839;
20
- $brand-primary: #033C73; // default $brand-info
21
- $brand-warning: #DD5600;
22
- $brand-danger: #C71C22;
23
-
24
-
25
- //== Scaffolding
26
- //
27
- //## Settings for some of the most global styles.
28
-
29
- //** Background color for `<body>`.
30
- $body-bg: #fff;
31
- //** Global text color on `<body>`.
32
- $text-color: $gray;
33
-
34
- //** Global textual link color.
35
- $link-color: $brand-primary;
36
- //** Link hover color set via `darken()` function.
37
- $link-hover-color: darken($link-color, 15%);
38
- //** Link hover decoration.
39
- $link-hover-decoration: underline;
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;
47
- $font-family-serif: Georgia, "Times New Roman", Times, serif;
48
- //** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`.
49
- $font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;
50
- $font-family-base: $font-family-sans-serif;
51
-
52
- $font-size-base: 14px;
53
- $font-size-large: ceil(($font-size-base * 1.25)); // ~18px
54
- $font-size-small: ceil(($font-size-base * 0.85)); // ~12px
55
-
56
- $font-size-h1: floor(($font-size-base * 2.6)); // ~36px
57
- $font-size-h2: floor(($font-size-base * 2.15)); // ~30px
58
- $font-size-h3: ceil(($font-size-base * 1.7)); // ~24px
59
- $font-size-h4: ceil(($font-size-base * 1.25)); // ~18px
60
- $font-size-h5: $font-size-base;
61
- $font-size-h6: ceil(($font-size-base * 0.85)); // ~12px
62
-
63
- //** Unit-less `line-height` for use in components like buttons.
64
- $line-height-base: 1.428571429; // 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)); // ~20px
67
-
68
- //** By default, this inherits from the `<body>`.
69
- $headings-font-family: $font-family-base;
70
- $headings-font-weight: 500;
71
- $headings-line-height: 1.1;
72
- $headings-color: #317EAC;
73
-
74
-
75
- //== Iconography
76
- //
77
- //## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower.
78
-
79
- //** Load fonts from this directory.
80
- $icon-font-path: "../fonts/";
81
- //** File name for all font files.
82
- $icon-font-name: "glyphicons-halflings-regular";
83
- //** Element ID within SVG icon file.
84
- $icon-font-svg-id: "glyphicons_halflingsregular";
85
-
86
-
87
- //== Components
88
- //
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: 8px;
92
- $padding-base-horizontal: 12px;
93
-
94
- $padding-large-vertical: 14px;
95
- $padding-large-horizontal: 16px;
96
-
97
- $padding-small-vertical: 5px;
98
- $padding-small-horizontal: 10px;
99
-
100
- $padding-xs-vertical: 1px;
101
- $padding-xs-horizontal: 5px;
102
-
103
- $line-height-large: 1.33;
104
- $line-height-small: 1.5;
105
-
106
- $border-radius-base: 0px;
107
- $border-radius-large: 0px;
108
- $border-radius-small: 0px;
109
-
110
- //** Global color for active items (e.g., navs or dropdowns).
111
- $component-active-color: #fff;
112
- //** Global background color for active items (e.g., navs or dropdowns).
113
- $component-active-bg: $brand-primary;
114
-
115
- //** Width of the `border` for generating carets that indicator dropdowns.
116
- $caret-width-base: 4px;
117
- //** Carets increase slightly in size for larger components.
118
- $caret-width-large: 5px;
119
-
120
-
121
- //== Tables
122
- //
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;
127
- //** Padding for cells in `.table-condensed`.
128
- $table-condensed-cell-padding: 5px;
129
-
130
- //** Default background color used for all tables.
131
- $table-bg: transparent;
132
- //** Background color used for `.table-striped`.
133
- $table-bg-accent: #f9f9f9;
134
- //** Background color used for `.table-hover`.
135
- $table-bg-hover: #f5f5f5;
136
- $table-bg-active: $table-bg-hover;
137
-
138
- //** Border color for table and cell borders.
139
- $table-border-color: #ddd;
140
-
141
-
142
- //== Buttons
143
- //
144
- //## For each of Bootstrap's buttons, define text, background and border color.
145
-
146
- $btn-font-weight: normal;
147
-
148
- $btn-default-color: $text-color;
149
- $btn-default-bg: #fff;
150
- $btn-default-border: rgba(0, 0, 0, 0.1);
151
-
152
- $btn-primary-color: #fff;
153
- $btn-primary-bg: $brand-primary;
154
- $btn-primary-border: $btn-primary-bg;
155
-
156
- $btn-success-color: #fff;
157
- $btn-success-bg: $brand-success;
158
- $btn-success-border: $btn-success-bg;
159
-
160
- $btn-info-color: #fff;
161
- $btn-info-bg: $brand-info;
162
- $btn-info-border: $btn-info-bg;
163
-
164
- $btn-warning-color: #fff;
165
- $btn-warning-bg: $brand-warning;
166
- $btn-warning-border: $btn-warning-bg;
167
-
168
- $btn-danger-color: #fff;
169
- $btn-danger-bg: $brand-danger;
170
- $btn-danger-border: $btn-danger-bg;
171
-
172
- $btn-link-disabled-color: $gray-light;
173
-
174
-
175
- //== Forms
176
- //
177
- //##
178
-
179
- //** `<input>` background color
180
- $input-bg: #fff;
181
- //** `<input disabled>` background color
182
- $input-bg-disabled: $gray-lighter;
183
-
184
- //** Text color for `<input>`s
185
- $input-color: $text-color;
186
- //** `<input>` border color
187
- $input-border: #ccc;
188
-
189
- // TODO: Rename `$input-border-radius` to `$input-border-radius-base` in v4
190
- //** Default `.form-control` border radius
191
- $input-border-radius: $border-radius-base;
192
- //** Large `.form-control` border radius
193
- $input-border-radius-large: $border-radius-large;
194
- //** Small `.form-control` border radius
195
- $input-border-radius-small: $border-radius-small;
196
-
197
- //** Border color for inputs on focus
198
- $input-border-focus: #66afe9;
199
-
200
- //** Placeholder text color
201
- $input-color-placeholder: $gray-light;
202
-
203
- //** Default `.form-control` height
204
- $input-height-base: ($line-height-computed + ($padding-base-vertical * 2) + 2);
205
- //** Large `.form-control` height
206
- $input-height-large: (ceil($font-size-large * $line-height-large) + ($padding-large-vertical * 2) + 2);
207
- //** Small `.form-control` height
208
- $input-height-small: (floor($font-size-small * $line-height-small) + ($padding-small-vertical * 2) + 2);
209
-
210
- $legend-color: $text-color;
211
- $legend-border-color: #e5e5e5;
212
-
213
- //** Background color for textual input addons
214
- $input-group-addon-bg: $gray-lighter;
215
- //** Border color for textual input addons
216
- $input-group-addon-border-color: $input-border;
217
-
218
- //** Disabled cursor for form controls and buttons.
219
- $cursor-disabled: not-allowed;
220
-
221
-
222
- //== Dropdowns
223
- //
224
- //## Dropdown menu container and contents.
225
-
226
- //** Background for the dropdown menu.
227
- $dropdown-bg: #fff;
228
- //** Dropdown menu `border-color`.
229
- $dropdown-border: rgba(0,0,0,.15);
230
- //** Dropdown menu `border-color` **for IE8**.
231
- $dropdown-fallback-border: #ccc;
232
- //** Divider color for between dropdown items.
233
- $dropdown-divider-bg: #e5e5e5;
234
-
235
- //** Dropdown link text color.
236
- $dropdown-link-color: $gray-dark;
237
- //** Hover color for dropdown links.
238
- $dropdown-link-hover-color: #fff;
239
- //** Hover background for dropdown links.
240
- $dropdown-link-hover-bg: $component-active-bg;
241
-
242
- //** Active dropdown menu item text color.
243
- $dropdown-link-active-color: #fff;
244
- //** Active dropdown menu item background color.
245
- $dropdown-link-active-bg: $component-active-bg;
246
-
247
- //** Disabled dropdown menu item background color.
248
- $dropdown-link-disabled-color: $gray-light;
249
-
250
- //** Text color for headers within dropdown menus.
251
- $dropdown-header-color: $gray-light;
252
-
253
- //** Deprecated `$dropdown-caret-color` as of v3.1.0
254
- $dropdown-caret-color: #000;
255
-
256
-
257
- //-- Z-index master list
258
- //
259
- // Warning: Avoid customizing these values. They're used for a bird's eye view
260
- // of components dependent on the z-axis and are designed to all work together.
261
- //
262
- // Note: These variables are not generated into the Customizer.
263
-
264
- $zindex-navbar: 1000;
265
- $zindex-dropdown: 1000;
266
- $zindex-popover: 1060;
267
- $zindex-tooltip: 1070;
268
- $zindex-navbar-fixed: 1030;
269
- $zindex-modal: 1040;
270
-
271
-
272
- //== Media queries breakpoints
273
- //
274
- //## Define the breakpoints at which your layout will change, adapting to different screen sizes.
275
-
276
- // Extra small screen / phone
277
- //** Deprecated `$screen-xs` as of v3.0.1
278
- $screen-xs: 480px;
279
- //** Deprecated `$screen-xs-min` as of v3.2.0
280
- $screen-xs-min: $screen-xs;
281
- //** Deprecated `$screen-phone` as of v3.0.1
282
- $screen-phone: $screen-xs-min;
283
-
284
- // Small screen / tablet
285
- //** Deprecated `$screen-sm` as of v3.0.1
286
- $screen-sm: 768px;
287
- $screen-sm-min: $screen-sm;
288
- //** Deprecated `$screen-tablet` as of v3.0.1
289
- $screen-tablet: $screen-sm-min;
290
-
291
- // Medium screen / desktop
292
- //** Deprecated `$screen-md` as of v3.0.1
293
- $screen-md: 992px;
294
- $screen-md-min: $screen-md;
295
- //** Deprecated `$screen-desktop` as of v3.0.1
296
- $screen-desktop: $screen-md-min;
297
-
298
- // Large screen / wide desktop
299
- //** Deprecated `$screen-lg` as of v3.0.1
300
- $screen-lg: 1200px;
301
- $screen-lg-min: $screen-lg;
302
- //** Deprecated `$screen-lg-desktop` as of v3.0.1
303
- $screen-lg-desktop: $screen-lg-min;
304
-
305
- // So media queries don't overlap when required, provide a maximum
306
- $screen-xs-max: ($screen-sm-min - 1);
307
- $screen-sm-max: ($screen-md-min - 1);
308
- $screen-md-max: ($screen-lg-min - 1);
309
-
310
-
311
- //== Grid system
312
- //
313
- //## Define your custom responsive grid.
314
-
315
- //** Number of columns in the grid.
316
- $grid-columns: 12;
317
- //** Padding between columns. Gets divided in half for the left and right.
318
- $grid-gutter-width: 30px;
319
- // Navbar collapse
320
- //** Point at which the navbar becomes uncollapsed.
321
- $grid-float-breakpoint: $screen-sm-min;
322
- //** Point at which the navbar begins collapsing.
323
- $grid-float-breakpoint-max: ($grid-float-breakpoint - 1);
324
-
325
-
326
- //== Container sizes
327
- //
328
- //## Define the maximum width of `.container` for different screen sizes.
329
-
330
- // Small screen / tablet
331
- $container-tablet: (720px + $grid-gutter-width);
332
- //** For `$screen-sm-min` and up.
333
- $container-sm: $container-tablet;
334
-
335
- // Medium screen / desktop
336
- $container-desktop: (940px + $grid-gutter-width);
337
- //** For `$screen-md-min` and up.
338
- $container-md: $container-desktop;
339
-
340
- // Large screen / wide desktop
341
- $container-large-desktop: (1140px + $grid-gutter-width);
342
- //** For `$screen-lg-min` and up.
343
- $container-lg: $container-large-desktop;
344
-
345
-
346
- //== Navbar
347
- //
348
- //##
349
-
350
- // Basics of a navbar
351
- $navbar-height: 50px;
352
- $navbar-margin-bottom: $line-height-computed;
353
- $navbar-border-radius: $border-radius-base;
354
- $navbar-padding-horizontal: floor(($grid-gutter-width / 2));
355
- $navbar-padding-vertical: (($navbar-height - $line-height-computed) / 2);
356
- $navbar-collapse-max-height: 340px;
357
-
358
- $navbar-default-color: #ddd;
359
- $navbar-default-bg: $brand-primary;
360
- $navbar-default-border: darken($navbar-default-bg, 6.5%);
361
-
362
- // Navbar links
363
- $navbar-default-link-color: #fff;
364
- $navbar-default-link-hover-color: #fff;
365
- $navbar-default-link-hover-bg: darken($navbar-default-bg, 10%);
366
- $navbar-default-link-active-color: #fff;
367
- $navbar-default-link-active-bg: darken($navbar-default-bg, 10%);
368
- $navbar-default-link-disabled-color: #ddd;
369
- $navbar-default-link-disabled-bg: transparent;
370
-
371
- // Navbar brand label
372
- $navbar-default-brand-color: $navbar-default-link-color;
373
- $navbar-default-brand-hover-color: #fff;
374
- $navbar-default-brand-hover-bg: none;
375
-
376
- // Navbar toggle
377
- $navbar-default-toggle-hover-bg: darken($navbar-default-bg, 10%);
378
- $navbar-default-toggle-icon-bar-bg: #fff;
379
- $navbar-default-toggle-border-color: darken($navbar-default-bg, 10%);
380
-
381
-
382
- // Inverted navbar
383
- // Reset inverted navbar basics
384
- $navbar-inverse-color: #fff;
385
- $navbar-inverse-bg: $brand-info;
386
- $navbar-inverse-border: darken($navbar-inverse-bg, 5%);
387
-
388
- // Inverted navbar links
389
- $navbar-inverse-link-color: #fff;
390
- $navbar-inverse-link-hover-color: #fff;
391
- $navbar-inverse-link-hover-bg: darken($navbar-inverse-bg, 5%);
392
- $navbar-inverse-link-active-color: #fff;
393
- $navbar-inverse-link-active-bg: darken($navbar-inverse-bg, 5%);
394
- $navbar-inverse-link-disabled-color: #ccc;
395
- $navbar-inverse-link-disabled-bg: transparent;
396
-
397
- // Inverted navbar brand label
398
- $navbar-inverse-brand-color: $navbar-inverse-link-color;
399
- $navbar-inverse-brand-hover-color: #fff;
400
- $navbar-inverse-brand-hover-bg: none;
401
-
402
- // Inverted navbar toggle
403
- $navbar-inverse-toggle-hover-bg: darken($navbar-inverse-bg, 5%);
404
- $navbar-inverse-toggle-icon-bar-bg: #fff;
405
- $navbar-inverse-toggle-border-color: darken($navbar-inverse-bg, 5%);
406
-
407
-
408
- //== Navs
409
- //
410
- //##
411
-
412
- //=== Shared nav styles
413
- $nav-link-padding: 10px 15px;
414
- $nav-link-hover-bg: $gray-lighter;
415
-
416
- $nav-disabled-link-color: $gray-light;
417
- $nav-disabled-link-hover-color: $gray-light;
418
-
419
- //== Tabs
420
- $nav-tabs-border-color: #ddd;
421
-
422
- $nav-tabs-link-hover-border-color: $gray-lighter;
423
-
424
- $nav-tabs-active-link-hover-bg: $body-bg;
425
- $nav-tabs-active-link-hover-color: $gray;
426
- $nav-tabs-active-link-hover-border-color: #ddd;
427
-
428
- $nav-tabs-justified-link-border-color: #ddd;
429
- $nav-tabs-justified-active-link-border-color: $body-bg;
430
-
431
- //== Pills
432
- $nav-pills-border-radius: $border-radius-base;
433
- $nav-pills-active-link-hover-bg: $component-active-bg;
434
- $nav-pills-active-link-hover-color: $component-active-color;
435
-
436
-
437
- //== Pagination
438
- //
439
- //##
440
-
441
- $pagination-color: $link-color;
442
- $pagination-bg: #fff;
443
- $pagination-border: #ddd;
444
-
445
- $pagination-hover-color: $link-hover-color;
446
- $pagination-hover-bg: $gray-lighter;
447
- $pagination-hover-border: #ddd;
448
-
449
- $pagination-active-color: $gray-light;
450
- $pagination-active-bg: #f5f5f5;
451
- $pagination-active-border: $pagination-hover-border;
452
-
453
- $pagination-disabled-color: $gray-light;
454
- $pagination-disabled-bg: #fff;
455
- $pagination-disabled-border: #ddd;
456
-
457
-
458
- //== Pager
459
- //
460
- //##
461
-
462
- $pager-bg: $pagination-bg;
463
- $pager-border: $pagination-border;
464
- $pager-border-radius: 15px;
465
-
466
- $pager-hover-bg: $pagination-hover-bg;
467
-
468
- $pager-active-bg: $pagination-active-bg;
469
- $pager-active-color: $pagination-active-color;
470
-
471
- $pager-disabled-color: $gray-light;
472
-
473
-
474
- //== Jumbotron
475
- //
476
- //##
477
-
478
- $jumbotron-padding: 30px;
479
- $jumbotron-color: inherit;
480
- $jumbotron-bg: $gray-lighter;
481
- $jumbotron-heading-color: inherit;
482
- $jumbotron-font-size: ceil(($font-size-base * 1.5));
483
-
484
-
485
- //== Form states and alerts
486
- //
487
- //## Define colors for form feedback states and, by default, alerts.
488
-
489
- $state-success-text: #468847;
490
- $state-success-bg: #dff0d8;
491
- $state-success-border: darken(adjust-hue($state-success-bg, -10), 5%);
492
-
493
- $state-info-text: #3a87ad;
494
- $state-info-bg: #d9edf7;
495
- $state-info-border: darken(adjust-hue($state-info-bg, -10), 7%);
496
-
497
- $state-warning-text: #c09853;
498
- $state-warning-bg: #fcf8e3;
499
- $state-warning-border: darken(adjust-hue($state-warning-bg, -10), 3%);
500
-
501
- $state-danger-text: #b94a48;
502
- $state-danger-bg: #f2dede;
503
- $state-danger-border: darken(adjust-hue($state-danger-bg, -10), 3%);
504
-
505
-
506
- //== Tooltips
507
- //
508
- //##
509
-
510
- //** Tooltip max width
511
- $tooltip-max-width: 200px;
512
- //** Tooltip text color
513
- $tooltip-color: #fff;
514
- //** Tooltip background color
515
- $tooltip-bg: rgba(0,0,0,.9);
516
- $tooltip-opacity: .9;
517
-
518
- //** Tooltip arrow width
519
- $tooltip-arrow-width: 5px;
520
- //** Tooltip arrow color
521
- $tooltip-arrow-color: $tooltip-bg;
522
-
523
-
524
- //== Popovers
525
- //
526
- //##
527
-
528
- //** Popover body background color
529
- $popover-bg: #fff;
530
- //** Popover maximum width
531
- $popover-max-width: 276px;
532
- //** Popover border color
533
- $popover-border-color: rgba(0,0,0,.2);
534
- //** Popover fallback border color
535
- $popover-fallback-border-color: #ccc;
536
-
537
- //** Popover title background color
538
- $popover-title-bg: darken($popover-bg, 3%);
539
-
540
- //** Popover arrow width
541
- $popover-arrow-width: 10px;
542
- //** Popover arrow color
543
- $popover-arrow-color: $popover-bg;
544
-
545
- //** Popover outer arrow width
546
- $popover-arrow-outer-width: ($popover-arrow-width + 1);
547
- //** Popover outer arrow color
548
- $popover-arrow-outer-color: fadein($popover-border-color, 5%);
549
- //** Popover outer arrow fallback color
550
- $popover-arrow-outer-fallback-color: darken($popover-fallback-border-color, 20%);
551
-
552
-
553
- //== Labels
554
- //
555
- //##
556
-
557
- //** Default label background color
558
- $label-default-bg: $gray-light;
559
- //** Primary label background color
560
- $label-primary-bg: $brand-primary;
561
- //** Success label background color
562
- $label-success-bg: $brand-success;
563
- //** Info label background color
564
- $label-info-bg: $brand-info;
565
- //** Warning label background color
566
- $label-warning-bg: $brand-warning;
567
- //** Danger label background color
568
- $label-danger-bg: $brand-danger;
569
-
570
- //** Default label text color
571
- $label-color: #fff;
572
- //** Default text color of a linked label
573
- $label-link-hover-color: #fff;
574
-
575
-
576
- //== Modals
577
- //
578
- //##
579
-
580
- //** Padding applied to the modal body
581
- $modal-inner-padding: 20px;
582
-
583
- //** Padding applied to the modal title
584
- $modal-title-padding: 15px;
585
- //** Modal title line-height
586
- $modal-title-line-height: $line-height-base;
587
-
588
- //** Background color of modal content area
589
- $modal-content-bg: #fff;
590
- //** Modal content border color
591
- $modal-content-border-color: rgba(0,0,0,.2);
592
- //** Modal content border color **for IE8**
593
- $modal-content-fallback-border-color: #999;
594
-
595
- //** Modal backdrop background color
596
- $modal-backdrop-bg: #000;
597
- //** Modal backdrop opacity
598
- $modal-backdrop-opacity: .5;
599
- //** Modal header border color
600
- $modal-header-border-color: #e5e5e5;
601
- //** Modal footer border color
602
- $modal-footer-border-color: $modal-header-border-color;
603
-
604
- $modal-lg: 900px;
605
- $modal-md: 600px;
606
- $modal-sm: 300px;
607
-
608
-
609
- //== Alerts
610
- //
611
- //## Define alert colors, border radius, and padding.
612
-
613
- $alert-padding: 15px;
614
- $alert-border-radius: $border-radius-base;
615
- $alert-link-font-weight: bold;
616
-
617
- $alert-success-bg: $state-success-bg;
618
- $alert-success-text: $state-success-text;
619
- $alert-success-border: $state-success-border;
620
-
621
- $alert-info-bg: $state-info-bg;
622
- $alert-info-text: $state-info-text;
623
- $alert-info-border: $state-info-border;
624
-
625
- $alert-warning-bg: $state-warning-bg;
626
- $alert-warning-text: $state-warning-text;
627
- $alert-warning-border: $state-warning-border;
628
-
629
- $alert-danger-bg: $state-danger-bg;
630
- $alert-danger-text: $state-danger-text;
631
- $alert-danger-border: $state-danger-border;
632
-
633
-
634
- //== Progress bars
635
- //
636
- //##
637
-
638
- //** Background color of the whole progress component
639
- $progress-bg: #f5f5f5;
640
- //** Progress bar text color
641
- $progress-bar-color: #fff;
642
- //** Variable for setting rounded corners on progress bar.
643
- $progress-border-radius: $border-radius-base;
644
-
645
- //** Default progress bar color
646
- $progress-bar-bg: $brand-primary;
647
- //** Success progress bar color
648
- $progress-bar-success-bg: $brand-success;
649
- //** Warning progress bar color
650
- $progress-bar-warning-bg: $brand-warning;
651
- //** Danger progress bar color
652
- $progress-bar-danger-bg: $brand-danger;
653
- //** Info progress bar color
654
- $progress-bar-info-bg: $brand-info;
655
-
656
-
657
- //== List group
658
- //
659
- //##
660
-
661
- //** Background color on `.list-group-item`
662
- $list-group-bg: #fff;
663
- //** `.list-group-item` border color
664
- $list-group-border: #ddd;
665
- //** List group border radius
666
- $list-group-border-radius: $border-radius-base;
667
-
668
- //** Background color of single list items on hover
669
- $list-group-hover-bg: #f5f5f5;
670
- //** Text color of active list items
671
- $list-group-active-color: $component-active-color;
672
- //** Background color of active list items
673
- $list-group-active-bg: $component-active-bg;
674
- //** Border color of active list elements
675
- $list-group-active-border: $list-group-active-bg;
676
- //** Text color for content within active list items
677
- $list-group-active-text-color: lighten($list-group-active-bg, 40%);
678
-
679
- //** Text color of disabled list items
680
- $list-group-disabled-color: $gray-light;
681
- //** Background color of disabled list items
682
- $list-group-disabled-bg: $gray-lighter;
683
- //** Text color for content within disabled list items
684
- $list-group-disabled-text-color: $list-group-disabled-color;
685
-
686
- $list-group-link-color: #555;
687
- $list-group-link-hover-color: $list-group-link-color;
688
- $list-group-link-heading-color: #333;
689
-
690
-
691
- //== Panels
692
- //
693
- //##
694
-
695
- $panel-bg: #fff;
696
- $panel-body-padding: 15px;
697
- $panel-heading-padding: 10px 15px;
698
- $panel-footer-padding: $panel-heading-padding;
699
- $panel-border-radius: $border-radius-base;
700
-
701
- //** Border color for elements within panels
702
- $panel-inner-border: #ddd;
703
- $panel-footer-bg: #f5f5f5;
704
-
705
- $panel-default-text: $text-color;
706
- $panel-default-border: #ddd;
707
- $panel-default-heading-bg: #f5f5f5;
708
-
709
- $panel-primary-text: #fff;
710
- $panel-primary-border: $panel-default-border;
711
- $panel-primary-heading-bg: $brand-primary;
712
-
713
- $panel-success-text: $state-success-text;
714
- $panel-success-border: $panel-default-border;
715
- $panel-success-heading-bg: $brand-success;
716
-
717
- $panel-info-text: $state-info-text;
718
- $panel-info-border: $panel-default-border;
719
- $panel-info-heading-bg: $brand-info;
720
-
721
- $panel-warning-text: $state-warning-text;
722
- $panel-warning-border: $panel-default-border;
723
- $panel-warning-heading-bg: $brand-warning;
724
-
725
- $panel-danger-text: $state-danger-text;
726
- $panel-danger-border: $panel-default-border;
727
- $panel-danger-heading-bg: $brand-danger;
728
-
729
-
730
- //== Thumbnails
731
- //
732
- //##
733
-
734
- //** Padding around the thumbnail image
735
- $thumbnail-padding: 4px;
736
- //** Thumbnail background color
737
- $thumbnail-bg: $body-bg;
738
- //** Thumbnail border color
739
- $thumbnail-border: #ddd;
740
- //** Thumbnail border radius
741
- $thumbnail-border-radius: $border-radius-base;
742
-
743
- //** Custom text color for thumbnail captions
744
- $thumbnail-caption-color: $text-color;
745
- //** Padding around the thumbnail caption
746
- $thumbnail-caption-padding: 9px;
747
-
748
-
749
- //== Wells
750
- //
751
- //##
752
-
753
- $well-bg: #f5f5f5;
754
- $well-border: darken($well-bg, 7%);
755
-
756
-
757
- //== Badges
758
- //
759
- //##
760
-
761
- $badge-color: #fff;
762
- //** Linked badge text color on hover
763
- $badge-link-hover-color: #fff;
764
- $badge-bg: $brand-primary;
765
-
766
- //** Badge text color in active nav link
767
- $badge-active-color: $link-color;
768
- //** Badge background color in active nav link
769
- $badge-active-bg: #fff;
770
-
771
- $badge-font-weight: bold;
772
- $badge-line-height: 1;
773
- $badge-border-radius: 10px;
774
-
775
-
776
- //== Breadcrumbs
777
- //
778
- //##
779
-
780
- $breadcrumb-padding-vertical: 8px;
781
- $breadcrumb-padding-horizontal: 15px;
782
- //** Breadcrumb background color
783
- $breadcrumb-bg: #f5f5f5;
784
- //** Breadcrumb text color
785
- $breadcrumb-color: #ccc;
786
- //** Text color of current page in the breadcrumb
787
- $breadcrumb-active-color: $gray-light;
788
- //** Textual separator for between breadcrumb elements
789
- $breadcrumb-separator: "/";
790
-
791
-
792
- //== Carousel
793
- //
794
- //##
795
-
796
- $carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6);
797
-
798
- $carousel-control-color: #fff;
799
- $carousel-control-width: 15%;
800
- $carousel-control-opacity: .5;
801
- $carousel-control-font-size: 20px;
802
-
803
- $carousel-indicator-active-bg: #fff;
804
- $carousel-indicator-border-color: #fff;
805
-
806
- $carousel-caption-color: #fff;
807
-
808
-
809
- //== Close
810
- //
811
- //##
812
-
813
- $close-font-weight: bold;
814
- $close-color: #000;
815
- $close-text-shadow: 0 1px 0 #fff;
816
-
817
-
818
- //== Code
819
- //
820
- //##
821
-
822
- $code-color: #c7254e;
823
- $code-bg: #f9f2f4;
824
-
825
- $kbd-color: #fff;
826
- $kbd-bg: #333;
827
-
828
- $pre-bg: #f5f5f5;
829
- $pre-color: $gray-dark;
830
- $pre-border-color: #ccc;
831
- $pre-scrollable-max-height: 340px;
832
-
833
-
834
- //== Type
835
- //
836
- //##
837
-
838
- //** Horizontal offset for forms and lists.
839
- $component-offset-horizontal: 180px;
840
- //** Text muted color
841
- $text-muted: $gray-light;
842
- //** Abbreviations and acronyms border color
843
- $abbr-border-color: $gray-light;
844
- //** Headings small color
845
- $headings-small-color: $gray-light;
846
- //** Blockquote small color
847
- $blockquote-small-color: $gray-light;
848
- //** Blockquote font size
849
- $blockquote-font-size: ($font-size-base * 1.25);
850
- //** Blockquote border color
851
- $blockquote-border-color: $gray-lighter;
852
- //** Page header border color
853
- $page-header-border-color: $gray-lighter;
854
- //** Width of horizontal description list titles
855
- $dl-horizontal-offset: $component-offset-horizontal;
856
- //** Horizontal line color.
857
- $hr-border: $gray-lighter;