card 1.104.2 → 1.105.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (398) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -6
  3. data/VERSION +1 -1
  4. data/config/environments/development.rb +1 -1
  5. data/config/environments/test.rb +1 -0
  6. data/config/initializers/01_core_extensions/object.rb +10 -0
  7. data/config/initializers/01_core_extensions/string.rb +9 -0
  8. data/config/initializers/core_extensions.rb +1 -0
  9. data/db/migrate/{20160122153608_new_indeces.rb → 20160122153608_new_indices.rb} +2 -2
  10. data/db/migrate/{20200805200729_add_unique_pair_indeces.rb → 20200805200729_add_unique_pair_indices.rb} +1 -1
  11. data/db/migrate/20221031182227_remove_referee_key_requirement.rb +11 -0
  12. data/db/migrate_core_cards/20130920291703_update_stylesheets.rb +1 -9
  13. data/db/migrate_core_cards/20140307231621_user_data_to_cards.rb +1 -38
  14. data/db/migrate_core_cards/20161103154836_update_keys.rb +1 -1
  15. data/db/migrate_core_cards/20180905061537_migrate_layouts.rb +1 -1
  16. data/db/migrate_core_cards/20190125125150_add_script_rules_card.rb +1 -1
  17. data/db/migrate_core_cards/20190320091257_upgrade_recaptcha_to_v3.rb +1 -1
  18. data/db/migrate_core_cards/20190502130029_add_shark_and_help_desk_role.rb +2 -20
  19. data/db/migrate_core_cards/20190528131330_enabled_roles.rb +0 -3
  20. data/db/migrate_core_cards/20190625153616_pointer_overhaul.rb +0 -2
  21. data/db/migrate_core_cards/20190718140126_add_guides.rb +1 -1
  22. data/db/migrate_core_cards/20190822093633_move_help_text_to_code.rb +1 -1
  23. data/db/migrate_core_cards/20190829205148_remove_add_help.rb +1 -1
  24. data/db/migrate_core_cards/20190902193208_input_type.rb +1 -1
  25. data/db/migrate_core_cards/20190909104250_add_cardtype_input_types.rb +2 -2
  26. data/db/schema.rb +2 -2
  27. data/db/seeds.rb +14 -1
  28. data/db/version.txt +1 -1
  29. data/lib/card/auth/current.rb +4 -2
  30. data/lib/card/auth/permissions.rb +1 -1
  31. data/lib/card/auth/setup.rb +1 -1
  32. data/lib/card/auth/token.rb +1 -1
  33. data/lib/card/cache/persistent.rb +4 -1
  34. data/lib/card/codename.rb +2 -6
  35. data/lib/card/content/all.rb +2 -2
  36. data/lib/card/content/clean.rb +1 -1
  37. data/lib/card/content/parser.rb +0 -2
  38. data/lib/card/content.rb +1 -8
  39. data/lib/card/director/all.rb +67 -0
  40. data/lib/card/director/card_class.rb +161 -2
  41. data/lib/card/director/{act_direction.rb → class_methods.rb} +13 -3
  42. data/lib/card/director/phases.rb +7 -4
  43. data/lib/card/director/run.rb +51 -50
  44. data/lib/card/director/stages.rb +18 -16
  45. data/lib/card/director/store.rb +1 -1
  46. data/lib/card/director.rb +6 -7
  47. data/lib/card/env/location.rb +1 -1
  48. data/lib/card/env/serializable.rb +2 -0
  49. data/lib/card/env/serialization.rb +2 -3
  50. data/lib/card/env.rb +2 -2
  51. data/lib/card/error.rb +9 -5
  52. data/lib/card/fetch/card_class.rb +19 -13
  53. data/lib/card/format/error.rb +6 -12
  54. data/lib/card/format/nest.rb +1 -1
  55. data/lib/card/format/wrapper.rb +1 -1
  56. data/lib/card/format.rb +4 -0
  57. data/lib/card/model/save_helper/save_arguments.rb +0 -44
  58. data/lib/card/model/save_helper/save_helper_helper.rb +0 -37
  59. data/lib/card/model/save_helper.rb +0 -82
  60. data/lib/card/name/all.rb +1 -4
  61. data/lib/card/name/card_class.rb +0 -2
  62. data/lib/card/name/name_variants.rb +4 -0
  63. data/lib/card/name.rb +3 -8
  64. data/lib/card/query/abstract_query/query_helper.rb +3 -5
  65. data/lib/card/query/abstract_query/tie.rb +1 -1
  66. data/lib/card/query/abstract_query.rb +36 -17
  67. data/lib/card/query/card_class.rb +36 -0
  68. data/lib/card/query/card_query/custom.rb +12 -0
  69. data/lib/card/query/card_query/interpretation.rb +1 -0
  70. data/lib/card/query/card_query/normalization.rb +11 -3
  71. data/lib/card/query/card_query/reference_attributes.rb +3 -2
  72. data/lib/card/query/card_query/sorting.rb +5 -4
  73. data/lib/card/query/card_query.rb +1 -0
  74. data/lib/card/query/sql_statement/order.rb +12 -10
  75. data/lib/card/query/sql_statement/where.rb +2 -2
  76. data/lib/card/query.rb +13 -6
  77. data/lib/card/reference/all.rb +10 -10
  78. data/lib/card/set/abstract.rb +1 -0
  79. data/lib/card/set/advanced_api.rb +1 -1
  80. data/lib/card/set/event/all.rb +9 -1
  81. data/lib/card/set/event/delayed_event.rb +4 -2
  82. data/lib/card/set/event/options.rb +1 -1
  83. data/lib/card/set/event/skip_and_trigger.rb +34 -10
  84. data/lib/card/set/format/abstract_format/haml_views.rb +3 -3
  85. data/lib/card/set/format/abstract_format/wrapper.rb +0 -1
  86. data/lib/card/set/format/abstract_format.rb +5 -4
  87. data/lib/card/set/format/haml_paths.rb +5 -21
  88. data/lib/card/set/format.rb +46 -20
  89. data/lib/card/set/helpers.rb +49 -36
  90. data/lib/card/set/inheritance.rb +4 -4
  91. data/lib/card/set/pattern/all.rb +1 -1
  92. data/lib/card/set/pattern/base.rb +1 -1
  93. data/lib/card/set/pattern/class_methods.rb +4 -4
  94. data/lib/card/set/registrar.rb +3 -5
  95. data/lib/card/set/required_field.rb +3 -2
  96. data/lib/card/set/trait.rb +1 -1
  97. data/lib/card/set/type.rb +1 -41
  98. data/lib/card/set.rb +67 -21
  99. data/lib/card/setting.rb +0 -1
  100. data/lib/card/subcards/all.rb +6 -8
  101. data/lib/card/subcards/args.rb +9 -9
  102. data/lib/card/view/cache/cache_action.rb +1 -1
  103. data/lib/card/view/options/visibility.rb +4 -0
  104. data/lib/card/view/options.rb +1 -0
  105. data/lib/card/view/permission.rb +12 -4
  106. data/lib/card/view.rb +4 -0
  107. data/lib/card.rb +48 -39
  108. data/lib/cardio/cli.rb +3 -1
  109. data/lib/cardio/command/application.rb +5 -0
  110. data/lib/cardio/{commands/command.rb → command/command_base.rb} +2 -2
  111. data/lib/cardio/{commands → command}/custom.rb +17 -13
  112. data/lib/cardio/{commands → command}/rake_command/parser.rb +3 -3
  113. data/lib/cardio/{commands → command}/rake_command.rb +5 -5
  114. data/lib/cardio/{commands → command}/rspec_command/parser.rb +9 -6
  115. data/lib/cardio/{commands → command}/rspec_command.rb +7 -9
  116. data/lib/cardio/command.rb +129 -0
  117. data/lib/cardio/commands.rb +17 -116
  118. data/lib/cardio/generators/deck_generator_loader.rb +1 -0
  119. data/lib/cardio/generators.rb +2 -2
  120. data/lib/cardio/migration.rb +3 -53
  121. data/lib/cardio/mod/class_methods.rb +28 -24
  122. data/lib/cardio/mod/dirs.rb +30 -23
  123. data/lib/cardio/mod/eat/edibles.rb +43 -16
  124. data/lib/cardio/mod/eat.rb +20 -14
  125. data/lib/cardio/mod/load_strategy/set_tmp_files.rb +1 -1
  126. data/lib/cardio/mod/load_strategy.rb +12 -2
  127. data/lib/cardio/mod/modfile_api.rb +18 -18
  128. data/lib/cardio/mod/{poop.rb → sow.rb} +25 -33
  129. data/lib/cardio/mod.rb +46 -73
  130. data/lib/cardio/railtie.rb +21 -58
  131. data/lib/cardio/schema.rb +2 -1
  132. data/lib/cardio/script_loader.rb +3 -1
  133. data/lib/cardio/seed.rb +101 -8
  134. data/lib/cardio/utils.rb +39 -1
  135. data/lib/generators/deck/deck_generator.rb +5 -2
  136. data/lib/generators/deck/templates/config/puma.rb +1 -1
  137. data/lib/generators/deck/templates/script/decko_rspec +1 -1
  138. data/lib/generators/deck/templates/simplecov.rb.erb +10 -8
  139. data/lib/generators/mod/USAGE +1 -1
  140. data/lib/generators/mod/mod_generator.rb +5 -5
  141. data/lib/generators/set/USAGE +2 -2
  142. data/mod/core/{locales → config/locales}/de.yml +4 -0
  143. data/mod/core/{locales → config/locales}/en.yml +13 -0
  144. data/mod/core/data/fixtures/real/card_actions.yml +78 -0
  145. data/{db/seed/new → mod/core/data/fixtures/real}/card_acts.yml +2 -2
  146. data/mod/core/data/fixtures/real/card_references.yml +8 -0
  147. data/mod/core/data/fixtures/real/cards.yml +135 -0
  148. data/mod/core/data/real.yml +79 -0
  149. data/mod/core/data/test/cardtype.yml +38 -0
  150. data/mod/core/data/test/sample.yml +50 -0
  151. data/mod/core/data/test/user.yml +41 -0
  152. data/mod/core/data/test.yml +79 -28
  153. data/{lib → mod/core/lib}/tasks/card/migrate.rake +4 -0
  154. data/{lib → mod/core/lib}/tasks/card/mod.rake +9 -5
  155. data/mod/core/lib/tasks/card/seed.rake +60 -0
  156. data/mod/core/lib/tasks/card.rake +119 -0
  157. data/mod/core/set/all/admin.rb +14 -0
  158. data/mod/core/set/all/codename.rb +4 -0
  159. data/mod/core/set/all/content.rb +8 -4
  160. data/mod/core/set/all/{abort.rb → result.rb} +11 -15
  161. data/mod/core/set/all/states.rb +21 -1
  162. data/mod/core/set/all/trash.rb +25 -73
  163. data/mod/core/set/all/type.rb +2 -2
  164. data/mod/core/set/all/utils.rb +3 -87
  165. data/mod/core/set/right/autoname.rb +2 -0
  166. data/mod/core/set/self/admin/warning_alert.haml +3 -0
  167. data/mod/core/set/self/admin.rb +173 -0
  168. data/mod/core/set/type/cardtype.rb +2 -0
  169. data/mod/core/set_pattern/02_all_plus.rb +1 -1
  170. data/mod/core/set_pattern/05_rstar.rb +1 -1
  171. data/mod/core/set_pattern/06_rule.rb +1 -1
  172. data/mod/core/set_pattern/07_right.rb +1 -1
  173. data/mod/core/set_pattern/08_type_plus_right.rb +1 -1
  174. data/mod/core/spec/set/all/assign_attributes_spec.rb +3 -3
  175. data/mod/core/spec/set/all/autoname_spec.rb +25 -0
  176. data/mod/core/spec/set/all/codename_spec.rb +1 -1
  177. data/mod/core/spec/set/all/name_events_spec.rb +43 -66
  178. data/mod/core/spec/set/all/trash_spec.rb +149 -68
  179. data/mod/{admin → core}/spec/set/self/admin_spec.rb +25 -22
  180. data/mod/core/spec/set/self/trash_spec.rb +5 -0
  181. metadata +88 -253
  182. data/db/migrate_core_cards/20130411211600_delete_old_related_tab_cards.rb +0 -18
  183. data/db/migrate_core_cards/20130419215612_import_help_text.rb +0 -13
  184. data/db/migrate_core_cards/20130823192433_add_style_cards.rb +0 -100
  185. data/db/migrate_core_cards/20130910183318_move_styles_to_content.rb +0 -11
  186. data/db/migrate_core_cards/20130927191728_account_events.rb +0 -20
  187. data/db/migrate_core_cards/20131016172445_common_css_patch.rb +0 -9
  188. data/db/migrate_core_cards/20140110193325_reset_account_request_type.rb +0 -8
  189. data/db/migrate_core_cards/20140512155840_add_script_cards.rb +0 -86
  190. data/db/migrate_core_cards/20140629222005_add_email_cards.rb +0 -132
  191. data/db/migrate_core_cards/20140725180118_config_card_updates.rb +0 -9
  192. data/db/migrate_core_cards/20141111083921_delete_machine_output.rb +0 -7
  193. data/db/migrate_core_cards/20141115034214_config_descriptions_etc.rb +0 -14
  194. data/db/migrate_core_cards/20141119001955_make_symlinks_relative.rb +0 -15
  195. data/db/migrate_core_cards/20141120120605_fix_notification_html_message.rb +0 -10
  196. data/db/migrate_core_cards/20141216155251_add_more_following_cards.rb +0 -26
  197. data/db/migrate_core_cards/20141230204340_uri_codename.rb +0 -13
  198. data/db/migrate_core_cards/20150202143810_import_bootstrap_layout.rb +0 -76
  199. data/db/migrate_core_cards/20150317162412_bootstrap_themes.rb +0 -41
  200. data/db/migrate_core_cards/20150326205655_bootswatch_themes.rb +0 -36
  201. data/db/migrate_core_cards/20150331135745_new_card_menu.rb +0 -8
  202. data/db/migrate_core_cards/20150501010515_responsive_sidebar.rb +0 -11
  203. data/db/migrate_core_cards/20150508212032_menu_compatibility.rb +0 -24
  204. data/db/migrate_core_cards/20150528084659_add_session_cardtype.rb +0 -18
  205. data/db/migrate_core_cards/20150601133433_add_recent_setting_session_card.rb +0 -18
  206. data/db/migrate_core_cards/20150610171702_add_debugger_session_card.rb +0 -12
  207. data/db/migrate_core_cards/20150610180019_add_recaptcha_key_and_admin_info_cards.rb +0 -58
  208. data/db/migrate_core_cards/20150627205133_fix_script_bootstrap_card_type.rb +0 -7
  209. data/db/migrate_core_cards/20150702130543_remove_edit_toolbar_pinned.rb +0 -9
  210. data/db/migrate_core_cards/20150708224756_add_list_cards.rb +0 -29
  211. data/db/migrate_core_cards/20150903130006_attachment_upload_cards.rb +0 -15
  212. data/db/migrate_core_cards/20150910085603_remove_performance_log_card.rb +0 -10
  213. data/db/migrate_core_cards/20151120180631_add_token_expiration.rb +0 -7
  214. data/db/migrate_core_cards/20160801143221_change_bootstrap_card_type_to_scss.rb +0 -10
  215. data/db/migrate_core_cards/20160804112510_reorganize_scripts.rb +0 -27
  216. data/db/migrate_core_cards/20160908154210_add_trash_card.rb +0 -7
  217. data/db/migrate_core_cards/20161102202156_tweak_recaptcha_setting_cards.rb +0 -17
  218. data/db/migrate_core_cards/20170209132834_email_test_context.rb +0 -49
  219. data/db/migrate_core_cards/20170314175313_add_notification_event_card.rb +0 -20
  220. data/db/migrate_core_cards/20170515101262_add_advanced_edit_cards.rb +0 -20
  221. data/db/migrate_core_cards/20170608083819_add_full_width_layout_card.rb +0 -23
  222. data/db/migrate_core_cards/20170608200649_add_input_options_codename.rb +0 -8
  223. data/db/migrate_core_cards/20180423120222_add_mod_styles_card.rb +0 -20
  224. data/db/migrate_core_cards/20180508210903_add_json_type.rb +0 -10
  225. data/db/migrate_core_cards/20180515175726_add_codenames.rb +0 -8
  226. data/db/migrate_core_cards/20180712042655_head_rule.rb +0 -13
  227. data/db/migrate_core_cards/20181120200937_update_layout.rb +0 -7
  228. data/db/migrate_core_cards/20190204195039_add_rule_card.rb +0 -10
  229. data/db/migrate_core_cards/20190321085735_wagn_to_decko_logo.rb +0 -11
  230. data/db/migrate_core_cards/20190417142612_reorganize_scripts_2.rb +0 -17
  231. data/db/migrate_core_cards/20190424100531_update_credit_image.rb +0 -76
  232. data/db/migrate_core_cards/20190424101004_add_read_anyone_rules.rb +0 -13
  233. data/db/migrate_core_cards/20190503122739_update_pristine_data.rb +0 -18
  234. data/db/migrate_core_cards/20190605133556_tweak_config_cards.rb +0 -10
  235. data/db/migrate_core_cards/20190618110446_add_dropdown_divider.rb +0 -8
  236. data/db/migrate_core_cards/20190621143156_add_role_assign_permissions.rb +0 -9
  237. data/db/migrate_core_cards/20190710090209_homepage_tweaks.rb +0 -13
  238. data/db/migrate_core_cards/20190820155833_update_cardtype_type_structure.rb +0 -7
  239. data/db/migrate_core_cards/20190823220018_cleanup_for_decko_1_0.rb +0 -19
  240. data/db/migrate_core_cards/20190826132738_add_more_guides.rb +0 -7
  241. data/db/migrate_core_cards/20190829093961_cardtype_grouping.rb +0 -16
  242. data/db/migrate_core_cards/20190830131820_setting_settings_aside.rb +0 -17
  243. data/db/migrate_core_cards/20190902161223_add_style_media.rb +0 -7
  244. data/db/migrate_core_cards/20190918200115_ensure_description_card.rb +0 -13
  245. data/db/migrate_core_cards/20191008201046_fixture_fix.rb +0 -11
  246. data/db/migrate_core_cards/20191028135243_add_link_editor_to_tiny_mce_config.rb +0 -9
  247. data/db/migrate_core_cards/20191118145629_codename_fixes.rb +0 -5
  248. data/db/migrate_core_cards/20200821231558_add_nest_list_type.rb +0 -9
  249. data/db/migrate_core_cards/data/1.11_help_text.json +0 -410
  250. data/db/migrate_core_cards/data/1.12_stylesheets/classic_cards.scss +0 -104
  251. data/db/migrate_core_cards/data/1.12_stylesheets/common.scss +0 -228
  252. data/db/migrate_core_cards/data/1.12_stylesheets/right_sidebar.scss +0 -27
  253. data/db/migrate_core_cards/data/1.12_stylesheets/traditional.scss +0 -143
  254. data/db/migrate_core_cards/data/1.13_config_text.json +0 -32
  255. data/db/migrate_core_cards/data/1.14_config_descriptions_etc.json +0 -77
  256. data/db/migrate_core_cards/data/bootstrap_layout.json +0 -96
  257. data/db/migrate_core_cards/data/cards/Xaccount +0 -22
  258. data/db/migrate_core_cards/data/cards/Xaccount_setting-Xright-Xstructure +0 -12
  259. data/db/migrate_core_cards/data/cards/Xall-Xlayout +0 -1
  260. data/db/migrate_core_cards/data/cards/Xcredit +0 -2
  261. data/db/migrate_core_cards/data/cards/Xfooter +0 -3
  262. data/db/migrate_core_cards/data/cards/Xgetting_started +0 -31
  263. data/db/migrate_core_cards/data/cards/Xgetting_started-shark +0 -66
  264. data/db/migrate_core_cards/data/cards/Xgetting_started_link +0 -6
  265. data/db/migrate_core_cards/data/cards/Xheader +0 -19
  266. data/db/migrate_core_cards/data/cards/Xhome +0 -1
  267. data/db/migrate_core_cards/data/cards/Xlogo +0 -1
  268. data/db/migrate_core_cards/data/cards/Xmain_menu +0 -2
  269. data/db/migrate_core_cards/data/cards/Xrecaptcha_setting-Xself-Xstructure +0 -1
  270. data/db/migrate_core_cards/data/cards/Xsidebar +0 -7
  271. data/db/migrate_core_cards/data/cards/Xstructure-Xright-Xguide +0 -12
  272. data/db/migrate_core_cards/data/cards/Xtitle +0 -1
  273. data/db/migrate_core_cards/data/cards/administrator-dashboard +0 -23
  274. data/db/migrate_core_cards/data/cards/administrator-description +0 -1
  275. data/db/migrate_core_cards/data/cards/anyone_signed_in-dashboard +0 -0
  276. data/db/migrate_core_cards/data/cards/cardtype-Xtype-Xguide +0 -24
  277. data/db/migrate_core_cards/data/cards/cardtype-Xtype-Xstructure +0 -3
  278. data/db/migrate_core_cards/data/cards/default_layout +0 -6
  279. data/db/migrate_core_cards/data/cards/full_width_layout +0 -5
  280. data/db/migrate_core_cards/data/cards/help_desk-dashboard +0 -7
  281. data/db/migrate_core_cards/data/cards/help_desk-description +0 -1
  282. data/db/migrate_core_cards/data/cards/home +0 -2
  283. data/db/migrate_core_cards/data/cards/home-Xself-Xlayout +0 -1
  284. data/db/migrate_core_cards/data/cards/home-original +0 -22
  285. data/db/migrate_core_cards/data/cards/home_layout +0 -6
  286. data/db/migrate_core_cards/data/cards/left_sidebar_layout +0 -6
  287. data/db/migrate_core_cards/data/cards/menu +0 -1
  288. data/db/migrate_core_cards/data/cards/right_thin_sidebar_layout +0 -8
  289. data/db/migrate_core_cards/data/cards/role-Xtype-Xstructure +0 -2
  290. data/db/migrate_core_cards/data/cards/shark-dashboard +0 -19
  291. data/db/migrate_core_cards/data/cards/shark-description +0 -1
  292. data/db/migrate_core_cards/data/cards/shark_menu +0 -2
  293. data/db/migrate_core_cards/data/cards.yml +0 -138
  294. data/db/migrate_core_cards/data/decko_logo.svg +0 -1
  295. data/db/migrate_core_cards/data/mailer/follower_notification_email.html +0 -9
  296. data/db/migrate_core_cards/data/mailer/follower_notification_email.txt +0 -11
  297. data/db/migrate_core_cards/data/mailer/mail_config.json +0 -22
  298. data/db/migrate_core_cards/data/mailer/password_reset_email.html +0 -13
  299. data/db/migrate_core_cards/data/mailer/password_reset_email.txt +0 -11
  300. data/db/migrate_core_cards/data/mailer/signup_alert_email.html +0 -7
  301. data/db/migrate_core_cards/data/mailer/signup_alert_email.txt +0 -5
  302. data/db/migrate_core_cards/data/mailer/verification_email.html +0 -12
  303. data/db/migrate_core_cards/data/mailer/verification_email.txt +0 -9
  304. data/db/migrate_core_cards/data/skin_images.json +0 -91
  305. data/db/migrate_core_cards/data/themes/bootstrap_default/_bootswatch.scss +0 -0
  306. data/db/migrate_core_cards/data/themes/bootstrap_default/_variables.scss +0 -867
  307. data/db/migrate_core_cards/data/themes/cerulean/_bootswatch.scss +0 -125
  308. data/db/migrate_core_cards/data/themes/cerulean/_variables.scss +0 -861
  309. data/db/migrate_core_cards/data/themes/cosmo/_bootswatch.scss +0 -237
  310. data/db/migrate_core_cards/data/themes/cosmo/_variables.scss +0 -861
  311. data/db/migrate_core_cards/data/themes/cyborg/_bootswatch.scss +0 -210
  312. data/db/migrate_core_cards/data/themes/cyborg/_variables.scss +0 -861
  313. data/db/migrate_core_cards/data/themes/darkly/_bootswatch.scss +0 -330
  314. data/db/migrate_core_cards/data/themes/darkly/_variables.scss +0 -861
  315. data/db/migrate_core_cards/data/themes/flatly/_bootswatch.scss +0 -313
  316. data/db/migrate_core_cards/data/themes/flatly/_variables.scss +0 -861
  317. data/db/migrate_core_cards/data/themes/journal/_bootswatch.scss +0 -120
  318. data/db/migrate_core_cards/data/themes/journal/_variables.scss +0 -861
  319. data/db/migrate_core_cards/data/themes/lumen/_bootswatch.scss +0 -496
  320. data/db/migrate_core_cards/data/themes/lumen/_variables.scss +0 -861
  321. data/db/migrate_core_cards/data/themes/paper/_bootswatch.scss +0 -607
  322. data/db/migrate_core_cards/data/themes/paper/_variables.scss +0 -861
  323. data/db/migrate_core_cards/data/themes/readable/_bootswatch.scss +0 -174
  324. data/db/migrate_core_cards/data/themes/readable/_variables.scss +0 -861
  325. data/db/migrate_core_cards/data/themes/sandstone/_bootswatch.scss +0 -194
  326. data/db/migrate_core_cards/data/themes/sandstone/_variables.scss +0 -861
  327. data/db/migrate_core_cards/data/themes/simplex/_bootswatch.scss +0 -142
  328. data/db/migrate_core_cards/data/themes/simplex/_variables.scss +0 -861
  329. data/db/migrate_core_cards/data/themes/slate/_bootswatch.scss +0 -417
  330. data/db/migrate_core_cards/data/themes/slate/_variables.scss +0 -861
  331. data/db/migrate_core_cards/data/themes/spacelab/_bootswatch.scss +0 -137
  332. data/db/migrate_core_cards/data/themes/spacelab/_variables.scss +0 -861
  333. data/db/migrate_core_cards/data/themes/superhero/_bootswatch.scss +0 -332
  334. data/db/migrate_core_cards/data/themes/superhero/_variables.scss +0 -861
  335. data/db/migrate_core_cards/data/themes/united/_bootswatch.scss +0 -42
  336. data/db/migrate_core_cards/data/themes/united/_variables.scss +0 -861
  337. data/db/migrate_core_cards/data/themes/yeti/_bootswatch.scss +0 -437
  338. data/db/migrate_core_cards/data/themes/yeti/_variables.scss +0 -861
  339. data/db/seed/README.md +0 -2
  340. data/db/seed/new/card_actions.yml +0 -5913
  341. data/db/seed/new/card_references.yml +0 -6532
  342. data/db/seed/new/cards.yml +0 -14595
  343. data/db/seed/test/fixtures/card_actions.yml +0 -8153
  344. data/db/seed/test/fixtures/card_acts.yml +0 -1039
  345. data/db/seed/test/fixtures/card_changes.yml +0 -230
  346. data/db/seed/test/fixtures/card_references.yml +0 -8471
  347. data/db/seed/test/fixtures/cards.yml +0 -20171
  348. data/db/seed/test/fixtures/file1.txt +0 -1
  349. data/db/seed/test/fixtures/file2.txt +0 -1
  350. data/db/seed/test/fixtures/mao2.jpg +0 -0
  351. data/db/seed/test/fixtures/rails.gif +0 -0
  352. data/db/seed/test/fixtures/schema_migrations.yml +0 -67
  353. data/db/seed/test/fixtures/schema_migrations_core_cards.yml +0 -347
  354. data/db/seed/test/fixtures/schema_migrations_deck.yml +0 -1
  355. data/db/seed/test/fixtures/schema_migrations_deck_cards.yml +0 -5
  356. data/db/test_seed.rb +0 -322
  357. data/lib/card/content/truncate.rb +0 -67
  358. data/lib/card/director/card_methods.rb +0 -45
  359. data/lib/card/file_card_creator/abstract_file_card/migration_file.rb +0 -50
  360. data/lib/card/file_card_creator/abstract_file_card/ruby_file.rb +0 -30
  361. data/lib/card/file_card_creator/abstract_file_card/source_file.rb +0 -36
  362. data/lib/card/file_card_creator/abstract_file_card.rb +0 -44
  363. data/lib/card/file_card_creator/haml_card.rb +0 -42
  364. data/lib/card/file_card_creator/output_helper.rb +0 -53
  365. data/lib/card/file_card_creator/script_card.rb +0 -35
  366. data/lib/card/file_card_creator/style_card.rb +0 -25
  367. data/lib/card/file_card_creator.rb +0 -25
  368. data/lib/card/name/fields_and_traits.rb +0 -42
  369. data/lib/cardio/commands/application.rb +0 -10
  370. data/lib/cardio/migration/import/import_data/card_attributes.rb +0 -64
  371. data/lib/cardio/migration/import/import_data/card_content.rb +0 -30
  372. data/lib/cardio/migration/import/import_data.rb +0 -119
  373. data/lib/cardio/migration/import/merger.rb +0 -46
  374. data/lib/cardio/migration/import.rb +0 -125
  375. data/lib/tasks/card/create.rake +0 -81
  376. data/lib/tasks/card.rake +0 -65
  377. data/mod/admin/locales/de.yml +0 -4
  378. data/mod/admin/locales/en.yml +0 -4
  379. data/mod/admin/set/all/admin.rb +0 -16
  380. data/mod/admin/set/self/admin.rb +0 -144
  381. data/mod/admin/set/self/admin_info.rb +0 -40
  382. data/mod/admin/set/self/debugger.rb +0 -3
  383. data/mod/admin/spec/set/self/admin_info_spec.rb +0 -9
  384. data/mod/core/data/production.yml +0 -7
  385. data/mod/core/set/all/collection.rb +0 -53
  386. data/mod/core/spec/set/all/collection_spec.rb +0 -170
  387. data/mod/core/spec/set/all/utils_spec.rb +0 -5
  388. data/mod/standard/data/files/favicon/image-icon.png +0 -0
  389. data/mod/standard/data/files/favicon/image-large.png +0 -0
  390. data/mod/standard/data/files/favicon/image-medium.png +0 -0
  391. data/mod/standard/data/files/favicon/image-original.png +0 -0
  392. data/mod/standard/data/files/favicon/image-small.png +0 -0
  393. data/mod/standard/data/files/logo/image-original.svg +0 -1
  394. /data/{db/seed/new → mod/core/data/fixtures/real}/card_changes.yml +0 -0
  395. /data/{db/seed/new → mod/core/data/fixtures/real}/schema_migrations.yml +0 -0
  396. /data/{db/seed/new → mod/core/data/fixtures/real}/schema_migrations_core_cards.yml +0 -0
  397. /data/{db/seed/new → mod/core/data/fixtures/real}/schema_migrations_deck.yml +0 -0
  398. /data/{db/seed/new → mod/core/data/fixtures/real}/schema_migrations_deck_cards.yml +0 -0
@@ -1,867 +0,0 @@
1
- $bootstrap-sass-asset-helper: false !default;
2
- //
3
- // Variables
4
- // --------------------------------------------------
5
-
6
-
7
- //== Colors
8
- //
9
- //## Gray and brand colors for use across Bootstrap.
10
-
11
- $gray-base: #000 !default;
12
- $gray-darker: lighten($gray-base, 13.5%) !default; // #222
13
- $gray-dark: lighten($gray-base, 20%) !default; // #333
14
- $gray: lighten($gray-base, 33.5%) !default; // #555
15
- $gray-light: lighten($gray-base, 46.7%) !default; // #777
16
- $gray-lighter: lighten($gray-base, 93.5%) !default; // #eee
17
-
18
- $brand-primary: darken(#428bca, 6.5%) !default; // #337ab7
19
- $brand-success: #5cb85c !default;
20
- $brand-info: #5bc0de !default;
21
- $brand-warning: #f0ad4e !default;
22
- $brand-danger: #d9534f !default;
23
-
24
-
25
- //== Scaffolding
26
- //
27
- //## Settings for some of the most global styles.
28
-
29
- //** Background color for `<body>`.
30
- $body-bg: #fff !default;
31
- //** Global text color on `<body>`.
32
- $text-color: $gray-dark !default;
33
-
34
- //** Global textual link color.
35
- $link-color: $brand-primary !default;
36
- //** Link hover color set via `darken()` function.
37
- $link-hover-color: darken($link-color, 15%) !default;
38
- //** Link hover decoration.
39
- $link-hover-decoration: underline !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
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
-
81
- // [converter] If $bootstrap-sass-asset-helper if used, provide path relative to the assets load path.
82
- // [converter] This is because some asset helpers, such as Sprockets, do not work with file-relative paths.
83
- //$icon-font-path: if($bootstrap-sass-asset-helper, "bootstrap/", "../fonts/bootstrap/") !default;
84
- $icon-font-path: if($bootstrap-sass-asset-helper, "bootstrap/", "[[/assets/fonts/bootstrap/]]") !default;
85
-
86
- //** File name for all font files.
87
- $icon-font-name: "glyphicons-halflings-regular" !default;
88
- //** Element ID within SVG icon file.
89
- $icon-font-svg-id: "glyphicons_halflingsregular" !default;
90
-
91
-
92
- //== Components
93
- //
94
- //## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start).
95
-
96
- $padding-base-vertical: 6px !default;
97
- $padding-base-horizontal: 12px !default;
98
-
99
- $padding-large-vertical: 10px !default;
100
- $padding-large-horizontal: 16px !default;
101
-
102
- $padding-small-vertical: 5px !default;
103
- $padding-small-horizontal: 10px !default;
104
-
105
- $padding-xs-vertical: 1px !default;
106
- $padding-xs-horizontal: 5px !default;
107
-
108
- $line-height-large: 1.3333333 !default; // extra decimals for Win 8.1 Chrome
109
- $line-height-small: 1.5 !default;
110
-
111
- $border-radius-base: 4px !default;
112
- $border-radius-large: 6px !default;
113
- $border-radius-small: 3px !default;
114
-
115
- //** Global color for active items (e.g., navs or dropdowns).
116
- $component-active-color: #fff !default;
117
- //** Global background color for active items (e.g., navs or dropdowns).
118
- $component-active-bg: $brand-primary !default;
119
-
120
- //** Width of the `border` for generating carets that indicator dropdowns.
121
- $caret-width-base: 4px !default;
122
- //** Carets increase slightly in size for larger components.
123
- $caret-width-large: 5px !default;
124
-
125
-
126
- //== Tables
127
- //
128
- //## Customizes the `.table` component with basic values, each used across all table variations.
129
-
130
- //** Padding for `<th>`s and `<td>`s.
131
- $table-cell-padding: 8px !default;
132
- //** Padding for cells in `.table-condensed`.
133
- $table-condensed-cell-padding: 5px !default;
134
-
135
- //** Default background color used for all tables.
136
- $table-bg: transparent !default;
137
- //** Background color used for `.table-striped`.
138
- $table-bg-accent: #f9f9f9 !default;
139
- //** Background color used for `.table-hover`.
140
- $table-bg-hover: #f5f5f5 !default;
141
- $table-bg-active: $table-bg-hover !default;
142
-
143
- //** Border color for table and cell borders.
144
- $table-border-color: #ddd !default;
145
-
146
-
147
- //== Buttons
148
- //
149
- //## For each of Bootstrap's buttons, define text, background and border color.
150
-
151
- $btn-font-weight: normal !default;
152
-
153
- $btn-default-color: #333 !default;
154
- $btn-default-bg: #fff !default;
155
- $btn-default-border: #ccc !default;
156
-
157
- $btn-primary-color: #fff !default;
158
- $btn-primary-bg: $brand-primary !default;
159
- $btn-primary-border: darken($btn-primary-bg, 5%) !default;
160
-
161
- $btn-success-color: #fff !default;
162
- $btn-success-bg: $brand-success !default;
163
- $btn-success-border: darken($btn-success-bg, 5%) !default;
164
-
165
- $btn-info-color: #fff !default;
166
- $btn-info-bg: $brand-info !default;
167
- $btn-info-border: darken($btn-info-bg, 5%) !default;
168
-
169
- $btn-warning-color: #fff !default;
170
- $btn-warning-bg: $brand-warning !default;
171
- $btn-warning-border: darken($btn-warning-bg, 5%) !default;
172
-
173
- $btn-danger-color: #fff !default;
174
- $btn-danger-bg: $brand-danger !default;
175
- $btn-danger-border: darken($btn-danger-bg, 5%) !default;
176
-
177
- $btn-link-disabled-color: $gray-light !default;
178
-
179
-
180
- //== Forms
181
- //
182
- //##
183
-
184
- //** `<input>` background color
185
- $input-bg: #fff !default;
186
- //** `<input disabled>` background color
187
- $input-bg-disabled: $gray-lighter !default;
188
-
189
- //** Text color for `<input>`s
190
- $input-color: $gray !default;
191
- //** `<input>` border color
192
- $input-border: #ccc !default;
193
-
194
- // TODO: Rename `$input-border-radius` to `$input-border-radius-base` in v4
195
- //** Default `.form-control` border radius
196
- // This has no effect on `<select>`s in some browsers, due to the limited stylability of `<select>`s in CSS.
197
- $input-border-radius: $border-radius-base !default;
198
- //** Large `.form-control` border radius
199
- $input-border-radius-large: $border-radius-large !default;
200
- //** Small `.form-control` border radius
201
- $input-border-radius-small: $border-radius-small !default;
202
-
203
- //** Border color for inputs on focus
204
- $input-border-focus: #66afe9 !default;
205
-
206
- //** Placeholder text color
207
- $input-color-placeholder: #999 !default;
208
-
209
- //** Default `.form-control` height
210
- $input-height-base: ($line-height-computed + ($padding-base-vertical * 2) + 2) !default;
211
- //** Large `.form-control` height
212
- $input-height-large: (ceil($font-size-large * $line-height-large) + ($padding-large-vertical * 2) + 2) !default;
213
- //** Small `.form-control` height
214
- $input-height-small: (floor($font-size-small * $line-height-small) + ($padding-small-vertical * 2) + 2) !default;
215
-
216
- //** `.form-group` margin
217
- $form-group-margin-bottom: 15px !default;
218
-
219
- $legend-color: $gray-dark !default;
220
- $legend-border-color: #e5e5e5 !default;
221
-
222
- //** Background color for textual input addons
223
- $input-group-addon-bg: $gray-lighter !default;
224
- //** Border color for textual input addons
225
- $input-group-addon-border-color: $input-border !default;
226
-
227
- //** Disabled cursor for form controls and buttons.
228
- $cursor-disabled: not-allowed !default;
229
-
230
-
231
- //== Dropdowns
232
- //
233
- //## Dropdown menu container and contents.
234
-
235
- //** Background for the dropdown menu.
236
- $dropdown-bg: #fff !default;
237
- //** Dropdown menu `border-color`.
238
- $dropdown-border: rgba(0,0,0,.15) !default;
239
- //** Dropdown menu `border-color` **for IE8**.
240
- $dropdown-fallback-border: #ccc !default;
241
- //** Divider color for between dropdown items.
242
- $dropdown-divider-bg: #e5e5e5 !default;
243
-
244
- //** Dropdown link text color.
245
- $dropdown-link-color: $gray-dark !default;
246
- //** Hover color for dropdown links.
247
- $dropdown-link-hover-color: darken($gray-dark, 5%) !default;
248
- //** Hover background for dropdown links.
249
- $dropdown-link-hover-bg: #f5f5f5 !default;
250
-
251
- //** Active dropdown menu item text color.
252
- $dropdown-link-active-color: $component-active-color !default;
253
- //** Active dropdown menu item background color.
254
- $dropdown-link-active-bg: $component-active-bg !default;
255
-
256
- //** Disabled dropdown menu item background color.
257
- $dropdown-link-disabled-color: $gray-light !default;
258
-
259
- //** Text color for headers within dropdown menus.
260
- $dropdown-header-color: $gray-light !default;
261
-
262
- //** Deprecated `$dropdown-caret-color` as of v3.1.0
263
- $dropdown-caret-color: #000 !default;
264
-
265
-
266
- //-- Z-index master list
267
- //
268
- // Warning: Avoid customizing these values. They're used for a bird's eye view
269
- // of components dependent on the z-axis and are designed to all work together.
270
- //
271
- // Note: These variables are not generated into the Customizer.
272
-
273
- $zindex-navbar: 1000 !default;
274
- $zindex-dropdown: 1000 !default;
275
- $zindex-popover: 1060 !default;
276
- $zindex-tooltip: 1070 !default;
277
- $zindex-navbar-fixed: 1030 !default;
278
- $zindex-modal-background: 1040 !default;
279
- $zindex-modal: 1050 !default;
280
-
281
-
282
- //== Media queries breakpoints
283
- //
284
- //## Define the breakpoints at which your layout will change, adapting to different screen sizes.
285
-
286
- // Extra small screen / phone
287
- //** Deprecated `$screen-xs` as of v3.0.1
288
- $screen-xs: 480px !default;
289
- //** Deprecated `$screen-xs-min` as of v3.2.0
290
- $screen-xs-min: $screen-xs !default;
291
- //** Deprecated `$screen-phone` as of v3.0.1
292
- $screen-phone: $screen-xs-min !default;
293
-
294
- // Small screen / tablet
295
- //** Deprecated `$screen-sm` as of v3.0.1
296
- $screen-sm: 768px !default;
297
- $screen-sm-min: $screen-sm !default;
298
- //** Deprecated `$screen-tablet` as of v3.0.1
299
- $screen-tablet: $screen-sm-min !default;
300
-
301
- // Medium screen / desktop
302
- //** Deprecated `$screen-md` as of v3.0.1
303
- $screen-md: 992px !default;
304
- $screen-md-min: $screen-md !default;
305
- //** Deprecated `$screen-desktop` as of v3.0.1
306
- $screen-desktop: $screen-md-min !default;
307
-
308
- // Large screen / wide desktop
309
- //** Deprecated `$screen-lg` as of v3.0.1
310
- $screen-lg: 1200px !default;
311
- $screen-lg-min: $screen-lg !default;
312
- //** Deprecated `$screen-lg-desktop` as of v3.0.1
313
- $screen-lg-desktop: $screen-lg-min !default;
314
-
315
- // So media queries don't overlap when required, provide a maximum
316
- $screen-xs-max: ($screen-sm-min - 1) !default;
317
- $screen-sm-max: ($screen-md-min - 1) !default;
318
- $screen-md-max: ($screen-lg-min - 1) !default;
319
-
320
-
321
- //== Grid system
322
- //
323
- //## Define your custom responsive grid.
324
-
325
- //** Number of columns in the grid.
326
- $grid-columns: 12 !default;
327
- //** Padding between columns. Gets divided in half for the left and right.
328
- $grid-gutter-width: 30px !default;
329
- // Navbar collapse
330
- //** Point at which the navbar becomes uncollapsed.
331
- $grid-float-breakpoint: $screen-sm-min !default;
332
- //** Point at which the navbar begins collapsing.
333
- $grid-float-breakpoint-max: ($grid-float-breakpoint - 1) !default;
334
-
335
-
336
- //== Container sizes
337
- //
338
- //## Define the maximum width of `.container` for different screen sizes.
339
-
340
- // Small screen / tablet
341
- $container-tablet: (720px + $grid-gutter-width) !default;
342
- //** For `$screen-sm-min` and up.
343
- $container-sm: $container-tablet !default;
344
-
345
- // Medium screen / desktop
346
- $container-desktop: (940px + $grid-gutter-width) !default;
347
- //** For `$screen-md-min` and up.
348
- $container-md: $container-desktop !default;
349
-
350
- // Large screen / wide desktop
351
- $container-large-desktop: (1140px + $grid-gutter-width) !default;
352
- //** For `$screen-lg-min` and up.
353
- $container-lg: $container-large-desktop !default;
354
-
355
-
356
- //== Navbar
357
- //
358
- //##
359
-
360
- // Basics of a navbar
361
- $navbar-height: 50px !default;
362
- $navbar-margin-bottom: $line-height-computed !default;
363
- $navbar-border-radius: $border-radius-base !default;
364
- $navbar-padding-horizontal: floor(($grid-gutter-width / 2)) !default;
365
- $navbar-padding-vertical: (($navbar-height - $line-height-computed) / 2) !default;
366
- $navbar-collapse-max-height: 340px !default;
367
-
368
- $navbar-default-color: #777 !default;
369
- $navbar-default-bg: #f8f8f8 !default;
370
- $navbar-default-border: darken($navbar-default-bg, 6.5%) !default;
371
-
372
- // Navbar links
373
- $navbar-default-link-color: #777 !default;
374
- $navbar-default-link-hover-color: #333 !default;
375
- $navbar-default-link-hover-bg: transparent !default;
376
- $navbar-default-link-active-color: #555 !default;
377
- $navbar-default-link-active-bg: darken($navbar-default-bg, 6.5%) !default;
378
- $navbar-default-link-disabled-color: #ccc !default;
379
- $navbar-default-link-disabled-bg: transparent !default;
380
-
381
- // Navbar brand label
382
- $navbar-default-brand-color: $navbar-default-link-color !default;
383
- $navbar-default-brand-hover-color: darken($navbar-default-brand-color, 10%) !default;
384
- $navbar-default-brand-hover-bg: transparent !default;
385
-
386
- // Navbar toggle
387
- $navbar-default-toggle-hover-bg: #ddd !default;
388
- $navbar-default-toggle-icon-bar-bg: #888 !default;
389
- $navbar-default-toggle-border-color: #ddd !default;
390
-
391
-
392
- // Inverted navbar
393
- // Reset inverted navbar basics
394
- $navbar-inverse-color: lighten($gray-light, 15%) !default;
395
- $navbar-inverse-bg: #222 !default;
396
- $navbar-inverse-border: darken($navbar-inverse-bg, 10%) !default;
397
-
398
- // Inverted navbar links
399
- $navbar-inverse-link-color: lighten($gray-light, 15%) !default;
400
- $navbar-inverse-link-hover-color: #fff !default;
401
- $navbar-inverse-link-hover-bg: transparent !default;
402
- $navbar-inverse-link-active-color: $navbar-inverse-link-hover-color !default;
403
- $navbar-inverse-link-active-bg: darken($navbar-inverse-bg, 10%) !default;
404
- $navbar-inverse-link-disabled-color: #444 !default;
405
- $navbar-inverse-link-disabled-bg: transparent !default;
406
-
407
- // Inverted navbar brand label
408
- $navbar-inverse-brand-color: $navbar-inverse-link-color !default;
409
- $navbar-inverse-brand-hover-color: #fff !default;
410
- $navbar-inverse-brand-hover-bg: transparent !default;
411
-
412
- // Inverted navbar toggle
413
- $navbar-inverse-toggle-hover-bg: #333 !default;
414
- $navbar-inverse-toggle-icon-bar-bg: #fff !default;
415
- $navbar-inverse-toggle-border-color: #333 !default;
416
-
417
-
418
- //== Navs
419
- //
420
- //##
421
-
422
- //=== Shared nav styles
423
- $nav-link-padding: 10px 15px !default;
424
- $nav-link-hover-bg: $gray-lighter !default;
425
-
426
- $nav-disabled-link-color: $gray-light !default;
427
- $nav-disabled-link-hover-color: $gray-light !default;
428
-
429
- //== Tabs
430
- $nav-tabs-border-color: #ddd !default;
431
-
432
- $nav-tabs-link-hover-border-color: $gray-lighter !default;
433
-
434
- $nav-tabs-active-link-hover-bg: $body-bg !default;
435
- $nav-tabs-active-link-hover-color: $gray !default;
436
- $nav-tabs-active-link-hover-border-color: #ddd !default;
437
-
438
- $nav-tabs-justified-link-border-color: #ddd !default;
439
- $nav-tabs-justified-active-link-border-color: $body-bg !default;
440
-
441
- //== Pills
442
- $nav-pills-border-radius: $border-radius-base !default;
443
- $nav-pills-active-link-hover-bg: $component-active-bg !default;
444
- $nav-pills-active-link-hover-color: $component-active-color !default;
445
-
446
-
447
- //== Pagination
448
- //
449
- //##
450
-
451
- $pagination-color: $link-color !default;
452
- $pagination-bg: #fff !default;
453
- $pagination-border: #ddd !default;
454
-
455
- $pagination-hover-color: $link-hover-color !default;
456
- $pagination-hover-bg: $gray-lighter !default;
457
- $pagination-hover-border: #ddd !default;
458
-
459
- $pagination-active-color: #fff !default;
460
- $pagination-active-bg: $brand-primary !default;
461
- $pagination-active-border: $brand-primary !default;
462
-
463
- $pagination-disabled-color: $gray-light !default;
464
- $pagination-disabled-bg: #fff !default;
465
- $pagination-disabled-border: #ddd !default;
466
-
467
-
468
- //== Pager
469
- //
470
- //##
471
-
472
- $pager-bg: $pagination-bg !default;
473
- $pager-border: $pagination-border !default;
474
- $pager-border-radius: 15px !default;
475
-
476
- $pager-hover-bg: $pagination-hover-bg !default;
477
-
478
- $pager-active-bg: $pagination-active-bg !default;
479
- $pager-active-color: $pagination-active-color !default;
480
-
481
- $pager-disabled-color: $pagination-disabled-color !default;
482
-
483
-
484
- //== Jumbotron
485
- //
486
- //##
487
-
488
- $jumbotron-padding: 30px !default;
489
- $jumbotron-color: inherit !default;
490
- $jumbotron-bg: $gray-lighter !default;
491
- $jumbotron-heading-color: inherit !default;
492
- $jumbotron-font-size: ceil(($font-size-base * 1.5)) !default;
493
-
494
-
495
- //== Form states and alerts
496
- //
497
- //## Define colors for form feedback states and, by default, alerts.
498
-
499
- $state-success-text: #3c763d !default;
500
- $state-success-bg: #dff0d8 !default;
501
- $state-success-border: darken(adjust-hue($state-success-bg, -10), 5%) !default;
502
-
503
- $state-info-text: #31708f !default;
504
- $state-info-bg: #d9edf7 !default;
505
- $state-info-border: darken(adjust-hue($state-info-bg, -10), 7%) !default;
506
-
507
- $state-warning-text: #8a6d3b !default;
508
- $state-warning-bg: #fcf8e3 !default;
509
- $state-warning-border: darken(adjust-hue($state-warning-bg, -10), 5%) !default;
510
-
511
- $state-danger-text: #a94442 !default;
512
- $state-danger-bg: #f2dede !default;
513
- $state-danger-border: darken(adjust-hue($state-danger-bg, -10), 5%) !default;
514
-
515
-
516
- //== Tooltips
517
- //
518
- //##
519
-
520
- //** Tooltip max width
521
- $tooltip-max-width: 200px !default;
522
- //** Tooltip text color
523
- $tooltip-color: #fff !default;
524
- //** Tooltip background color
525
- $tooltip-bg: #000 !default;
526
- $tooltip-opacity: .9 !default;
527
-
528
- //** Tooltip arrow width
529
- $tooltip-arrow-width: 5px !default;
530
- //** Tooltip arrow color
531
- $tooltip-arrow-color: $tooltip-bg !default;
532
-
533
-
534
- //== Popovers
535
- //
536
- //##
537
-
538
- //** Popover body background color
539
- $popover-bg: #fff !default;
540
- //** Popover maximum width
541
- $popover-max-width: 276px !default;
542
- //** Popover border color
543
- $popover-border-color: rgba(0,0,0,.2) !default;
544
- //** Popover fallback border color
545
- $popover-fallback-border-color: #ccc !default;
546
-
547
- //** Popover title background color
548
- $popover-title-bg: darken($popover-bg, 3%) !default;
549
-
550
- //** Popover arrow width
551
- $popover-arrow-width: 10px !default;
552
- //** Popover arrow color
553
- $popover-arrow-color: $popover-bg !default;
554
-
555
- //** Popover outer arrow width
556
- $popover-arrow-outer-width: ($popover-arrow-width + 1) !default;
557
- //** Popover outer arrow color
558
- $popover-arrow-outer-color: fade_in($popover-border-color, 0.05) !default;
559
- //** Popover outer arrow fallback color
560
- $popover-arrow-outer-fallback-color: darken($popover-fallback-border-color, 20%) !default;
561
-
562
-
563
- //== Labels
564
- //
565
- //##
566
-
567
- //** Default label background color
568
- $label-default-bg: $gray-light !default;
569
- //** Primary label background color
570
- $label-primary-bg: $brand-primary !default;
571
- //** Success label background color
572
- $label-success-bg: $brand-success !default;
573
- //** Info label background color
574
- $label-info-bg: $brand-info !default;
575
- //** Warning label background color
576
- $label-warning-bg: $brand-warning !default;
577
- //** Danger label background color
578
- $label-danger-bg: $brand-danger !default;
579
-
580
- //** Default label text color
581
- $label-color: #fff !default;
582
- //** Default text color of a linked label
583
- $label-link-hover-color: #fff !default;
584
-
585
-
586
- //== Modals
587
- //
588
- //##
589
-
590
- //** Padding applied to the modal body
591
- $modal-inner-padding: 15px !default;
592
-
593
- //** Padding applied to the modal title
594
- $modal-title-padding: 15px !default;
595
- //** Modal title line-height
596
- $modal-title-line-height: $line-height-base !default;
597
-
598
- //** Background color of modal content area
599
- $modal-content-bg: #fff !default;
600
- //** Modal content border color
601
- $modal-content-border-color: rgba(0,0,0,.2) !default;
602
- //** Modal content border color **for IE8**
603
- $modal-content-fallback-border-color: #999 !default;
604
-
605
- //** Modal backdrop background color
606
- $modal-backdrop-bg: #000 !default;
607
- //** Modal backdrop opacity
608
- $modal-backdrop-opacity: .5 !default;
609
- //** Modal header border color
610
- $modal-header-border-color: #e5e5e5 !default;
611
- //** Modal footer border color
612
- $modal-footer-border-color: $modal-header-border-color !default;
613
-
614
- $modal-lg: 900px !default;
615
- $modal-md: 600px !default;
616
- $modal-sm: 300px !default;
617
-
618
-
619
- //== Alerts
620
- //
621
- //## Define alert colors, border radius, and padding.
622
-
623
- $alert-padding: 15px !default;
624
- $alert-border-radius: $border-radius-base !default;
625
- $alert-link-font-weight: bold !default;
626
-
627
- $alert-success-bg: $state-success-bg !default;
628
- $alert-success-text: $state-success-text !default;
629
- $alert-success-border: $state-success-border !default;
630
-
631
- $alert-info-bg: $state-info-bg !default;
632
- $alert-info-text: $state-info-text !default;
633
- $alert-info-border: $state-info-border !default;
634
-
635
- $alert-warning-bg: $state-warning-bg !default;
636
- $alert-warning-text: $state-warning-text !default;
637
- $alert-warning-border: $state-warning-border !default;
638
-
639
- $alert-danger-bg: $state-danger-bg !default;
640
- $alert-danger-text: $state-danger-text !default;
641
- $alert-danger-border: $state-danger-border !default;
642
-
643
-
644
- //== Progress bars
645
- //
646
- //##
647
-
648
- //** Background color of the whole progress component
649
- $progress-bg: #f5f5f5 !default;
650
- //** Progress bar text color
651
- $progress-bar-color: #fff !default;
652
- //** Variable for setting rounded corners on progress bar.
653
- $progress-border-radius: $border-radius-base !default;
654
-
655
- //** Default progress bar color
656
- $progress-bar-bg: $brand-primary !default;
657
- //** Success progress bar color
658
- $progress-bar-success-bg: $brand-success !default;
659
- //** Warning progress bar color
660
- $progress-bar-warning-bg: $brand-warning !default;
661
- //** Danger progress bar color
662
- $progress-bar-danger-bg: $brand-danger !default;
663
- //** Info progress bar color
664
- $progress-bar-info-bg: $brand-info !default;
665
-
666
-
667
- //== List group
668
- //
669
- //##
670
-
671
- //** Background color on `.list-group-item`
672
- $list-group-bg: #fff !default;
673
- //** `.list-group-item` border color
674
- $list-group-border: #ddd !default;
675
- //** List group border radius
676
- $list-group-border-radius: $border-radius-base !default;
677
-
678
- //** Background color of single list items on hover
679
- $list-group-hover-bg: #f5f5f5 !default;
680
- //** Text color of active list items
681
- $list-group-active-color: $component-active-color !default;
682
- //** Background color of active list items
683
- $list-group-active-bg: $component-active-bg !default;
684
- //** Border color of active list elements
685
- $list-group-active-border: $list-group-active-bg !default;
686
- //** Text color for content within active list items
687
- $list-group-active-text-color: lighten($list-group-active-bg, 40%) !default;
688
-
689
- //** Text color of disabled list items
690
- $list-group-disabled-color: $gray-light !default;
691
- //** Background color of disabled list items
692
- $list-group-disabled-bg: $gray-lighter !default;
693
- //** Text color for content within disabled list items
694
- $list-group-disabled-text-color: $list-group-disabled-color !default;
695
-
696
- $list-group-link-color: #555 !default;
697
- $list-group-link-hover-color: $list-group-link-color !default;
698
- $list-group-link-heading-color: #333 !default;
699
-
700
-
701
- //== Panels
702
- //
703
- //##
704
-
705
- $panel-bg: #fff !default;
706
- $panel-body-padding: 15px !default;
707
- $panel-heading-padding: 10px 15px !default;
708
- $panel-footer-padding: $panel-heading-padding !default;
709
- $panel-border-radius: $border-radius-base !default;
710
-
711
- //** Border color for elements within panels
712
- $panel-inner-border: #ddd !default;
713
- $panel-footer-bg: #f5f5f5 !default;
714
-
715
- $panel-default-text: $gray-dark !default;
716
- $panel-default-border: #ddd !default;
717
- $panel-default-heading-bg: #f5f5f5 !default;
718
-
719
- $panel-primary-text: #fff !default;
720
- $panel-primary-border: $brand-primary !default;
721
- $panel-primary-heading-bg: $brand-primary !default;
722
-
723
- $panel-success-text: $state-success-text !default;
724
- $panel-success-border: $state-success-border !default;
725
- $panel-success-heading-bg: $state-success-bg !default;
726
-
727
- $panel-info-text: $state-info-text !default;
728
- $panel-info-border: $state-info-border !default;
729
- $panel-info-heading-bg: $state-info-bg !default;
730
-
731
- $panel-warning-text: $state-warning-text !default;
732
- $panel-warning-border: $state-warning-border !default;
733
- $panel-warning-heading-bg: $state-warning-bg !default;
734
-
735
- $panel-danger-text: $state-danger-text !default;
736
- $panel-danger-border: $state-danger-border !default;
737
- $panel-danger-heading-bg: $state-danger-bg !default;
738
-
739
-
740
- //== Thumbnails
741
- //
742
- //##
743
-
744
- //** Padding around the thumbnail image
745
- $thumbnail-padding: 4px !default;
746
- //** Thumbnail background color
747
- $thumbnail-bg: $body-bg !default;
748
- //** Thumbnail border color
749
- $thumbnail-border: #ddd !default;
750
- //** Thumbnail border radius
751
- $thumbnail-border-radius: $border-radius-base !default;
752
-
753
- //** Custom text color for thumbnail captions
754
- $thumbnail-caption-color: $text-color !default;
755
- //** Padding around the thumbnail caption
756
- $thumbnail-caption-padding: 9px !default;
757
-
758
-
759
- //== Wells
760
- //
761
- //##
762
-
763
- $well-bg: #f5f5f5 !default;
764
- $well-border: darken($well-bg, 7%) !default;
765
-
766
-
767
- //== Badges
768
- //
769
- //##
770
-
771
- $badge-color: #fff !default;
772
- //** Linked badge text color on hover
773
- $badge-link-hover-color: #fff !default;
774
- $badge-bg: $gray-light !default;
775
-
776
- //** Badge text color in active nav link
777
- $badge-active-color: $link-color !default;
778
- //** Badge background color in active nav link
779
- $badge-active-bg: #fff !default;
780
-
781
- $badge-font-weight: bold !default;
782
- $badge-line-height: 1 !default;
783
- $badge-border-radius: 10px !default;
784
-
785
-
786
- //== Breadcrumbs
787
- //
788
- //##
789
-
790
- $breadcrumb-padding-vertical: 8px !default;
791
- $breadcrumb-padding-horizontal: 15px !default;
792
- //** Breadcrumb background color
793
- $breadcrumb-bg: #f5f5f5 !default;
794
- //** Breadcrumb text color
795
- $breadcrumb-color: #ccc !default;
796
- //** Text color of current page in the breadcrumb
797
- $breadcrumb-active-color: $gray-light !default;
798
- //** Textual separator for between breadcrumb elements
799
- $breadcrumb-separator: "/" !default;
800
-
801
-
802
- //== Carousel
803
- //
804
- //##
805
-
806
- $carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6) !default;
807
-
808
- $carousel-control-color: #fff !default;
809
- $carousel-control-width: 15% !default;
810
- $carousel-control-opacity: .5 !default;
811
- $carousel-control-font-size: 20px !default;
812
-
813
- $carousel-indicator-active-bg: #fff !default;
814
- $carousel-indicator-border-color: #fff !default;
815
-
816
- $carousel-caption-color: #fff !default;
817
-
818
-
819
- //== Close
820
- //
821
- //##
822
-
823
- $close-font-weight: bold !default;
824
- $close-color: #000 !default;
825
- $close-text-shadow: 0 1px 0 #fff !default;
826
-
827
-
828
- //== Code
829
- //
830
- //##
831
-
832
- $code-color: #c7254e !default;
833
- $code-bg: #f9f2f4 !default;
834
-
835
- $kbd-color: #fff !default;
836
- $kbd-bg: #333 !default;
837
-
838
- $pre-bg: #f5f5f5 !default;
839
- $pre-color: $gray-dark !default;
840
- $pre-border-color: #ccc !default;
841
- $pre-scrollable-max-height: 340px !default;
842
-
843
-
844
- //== Type
845
- //
846
- //##
847
-
848
- //** Horizontal offset for forms and lists.
849
- $component-offset-horizontal: 180px !default;
850
- //** Text muted color
851
- $text-muted: $gray-light !default;
852
- //** Abbreviations and acronyms border color
853
- $abbr-border-color: $gray-light !default;
854
- //** Headings small color
855
- $headings-small-color: $gray-light !default;
856
- //** Blockquote small color
857
- $blockquote-small-color: $gray-light !default;
858
- //** Blockquote font size
859
- $blockquote-font-size: ($font-size-base * 1.25) !default;
860
- //** Blockquote border color
861
- $blockquote-border-color: $gray-lighter !default;
862
- //** Page header border color
863
- $page-header-border-color: $gray-lighter !default;
864
- //** Width of horizontal description list titles
865
- $dl-horizontal-offset: $component-offset-horizontal !default;
866
- //** Horizontal line color.
867
- $hr-border: $gray-lighter !default;