decidim-core 0.21.0 → 0.22.0

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

Potentially problematic release.


This version of decidim-core might be problematic. Click here for more details.

Files changed (544) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/config/decidim_core_manifest.js +3 -0
  3. data/app/assets/fonts/decidim/Roboto-Regular.svg +1 -10520
  4. data/app/assets/fonts/decidim/Source_Sans_Pro_400.svg +1 -345
  5. data/app/assets/fonts/decidim/Source_Sans_Pro_600.svg +1 -339
  6. data/app/assets/fonts/decidim/Source_Sans_Pro_900.svg +1 -342
  7. data/app/assets/images/decidim/avatar-multiuser.png +0 -0
  8. data/app/assets/images/decidim/brands/google.svg +1 -1
  9. data/app/assets/images/decidim/decidim-logo.svg +1 -71
  10. data/app/assets/images/decidim/default-avatar.svg +1 -14
  11. data/app/assets/images/decidim/gamification/badges/followers.svg +1 -115
  12. data/app/assets/images/decidim/gamification/badges/invitations.svg +1 -117
  13. data/app/assets/images/decidim/icons.svg +1 -259
  14. data/app/assets/images/decidim/placeholder.jpg +0 -0
  15. data/app/assets/javascripts/decidim.js.es6 +23 -1
  16. data/app/assets/javascripts/decidim/ajax_modals.js.es6 +3 -0
  17. data/app/assets/javascripts/decidim/assets.js.erb +5 -0
  18. data/app/assets/javascripts/decidim/callout.js.es6 +18 -0
  19. data/app/assets/javascripts/decidim/configuration.js.es6 +23 -0
  20. data/app/assets/javascripts/decidim/confirm.js.es6 +178 -0
  21. data/app/assets/javascripts/decidim/conversations.js.es6 +17 -0
  22. data/app/assets/javascripts/decidim/core/bundle.js +1 -1
  23. data/app/assets/javascripts/decidim/core/bundle.js.map +1 -1
  24. data/app/assets/javascripts/decidim/core/extrapoly.js +6 -0
  25. data/app/assets/javascripts/decidim/data_picker.js.es6 +128 -50
  26. data/app/assets/javascripts/decidim/diff_mode_dropdown.js.es6 +5 -7
  27. data/app/assets/javascripts/decidim/dropdowns_menus.js.es6 +32 -0
  28. data/app/assets/javascripts/decidim/external_link.js.es6 +69 -0
  29. data/app/assets/javascripts/decidim/floating_help.js.es6 +7 -0
  30. data/app/assets/javascripts/decidim/form_filter.component.js.es6 +1 -1
  31. data/app/assets/javascripts/decidim/form_filter.component.test.js +4 -4
  32. data/app/assets/javascripts/decidim/form_validator.es6 +61 -0
  33. data/app/assets/javascripts/decidim/foundation.js.es6 +28 -28
  34. data/app/assets/javascripts/decidim/icon.js.es6 +42 -0
  35. data/app/assets/javascripts/decidim/identity_selector_dialog.js.es6 +61 -0
  36. data/app/assets/javascripts/decidim/input_character_counter.js.es6 +115 -0
  37. data/app/assets/javascripts/decidim/input_mentions.js.es6 +34 -9
  38. data/app/assets/javascripts/decidim/input_multiple_mentions.js.es6 +195 -0
  39. data/app/assets/javascripts/decidim/map.js.es6 +40 -3
  40. data/app/assets/javascripts/decidim/orders.js.es6 +9 -28
  41. data/app/assets/javascripts/decidim/responsive_horizontal_tabs.js.es6 +12 -0
  42. data/app/assets/javascripts/decidim/results_listing.js.es6 +44 -0
  43. data/app/assets/javascripts/decidim/start_conversation_dialog.js +13 -0
  44. data/app/assets/javascripts/decidim/vizzs.js.es6 +1 -0
  45. data/app/assets/stylesheets/decidim/_decidim-settings.scss +5 -0
  46. data/app/assets/stylesheets/decidim/_decidim.scss +13 -11
  47. data/app/assets/stylesheets/decidim/_properties.scss +25 -0
  48. data/app/assets/stylesheets/decidim/_variables.scss +6 -24
  49. data/app/assets/stylesheets/decidim/application.scss.erb +2 -2
  50. data/app/assets/stylesheets/decidim/editor.scss +2 -2
  51. data/app/assets/stylesheets/decidim/email.scss +1771 -0
  52. data/app/assets/stylesheets/decidim/extras/_external-links.scss +29 -0
  53. data/app/assets/stylesheets/decidim/extras/_extras.scss +17 -0
  54. data/app/assets/stylesheets/decidim/extras/_label-required.scss +9 -0
  55. data/app/assets/stylesheets/decidim/extras/_process_stats.scss +1 -1
  56. data/app/assets/stylesheets/decidim/extras/_quill.scss +5 -0
  57. data/app/assets/stylesheets/decidim/extras/_results-per-page.scss +8 -0
  58. data/app/assets/stylesheets/decidim/layouts/_home.scss +31 -7
  59. data/app/assets/stylesheets/decidim/layouts/_layouts.scss +5 -0
  60. data/app/assets/stylesheets/decidim/layouts/_logo.scss +26 -0
  61. data/app/assets/stylesheets/decidim/layouts/_user.scss +4 -0
  62. data/app/assets/stylesheets/decidim/modules/_author-avatar.scss +9 -13
  63. data/app/assets/stylesheets/decidim/modules/_buttons.scss +198 -26
  64. data/app/assets/stylesheets/decidim/modules/_cards.scss +174 -23
  65. data/app/assets/stylesheets/decidim/modules/_collapsible-list.scss +21 -0
  66. data/app/assets/stylesheets/decidim/modules/_comments.scss +25 -1
  67. data/app/assets/stylesheets/decidim/modules/_conference-programme.scss +0 -1
  68. data/app/assets/stylesheets/decidim/modules/_confirm.scss +5 -0
  69. data/app/assets/stylesheets/decidim/modules/_conversation.scss +50 -0
  70. data/app/assets/stylesheets/decidim/modules/_data-picker.scss +9 -11
  71. data/app/assets/stylesheets/decidim/modules/_definition-data.scss +6 -1
  72. data/app/assets/stylesheets/decidim/modules/_docs-manager.scss +0 -1
  73. data/app/assets/stylesheets/decidim/modules/_extra.scss +0 -2
  74. data/app/assets/stylesheets/decidim/modules/_filters.scss +25 -1
  75. data/app/assets/stylesheets/decidim/modules/_floating-helper.scss +20 -8
  76. data/app/assets/stylesheets/decidim/modules/_footer.scss +8 -4
  77. data/app/assets/stylesheets/decidim/modules/_forms.scss +63 -4
  78. data/app/assets/stylesheets/decidim/modules/_horizontal-tabs.scss +64 -1
  79. data/app/assets/stylesheets/decidim/modules/_inline-filters.scss +6 -3
  80. data/app/assets/stylesheets/decidim/modules/_input-gallery.scss +10 -0
  81. data/app/assets/stylesheets/decidim/modules/_input-mentions.scss +25 -7
  82. data/app/assets/stylesheets/decidim/modules/_input-multiple-mentions.scss +5 -0
  83. data/app/assets/stylesheets/decidim/modules/_map.scss +11 -0
  84. data/app/assets/stylesheets/decidim/modules/_margins.scss +8 -7
  85. data/app/assets/stylesheets/decidim/modules/_messages.scss +18 -18
  86. data/app/assets/stylesheets/decidim/modules/_modules.scss +75 -72
  87. data/app/assets/stylesheets/decidim/modules/_navbar.scss +176 -26
  88. data/app/assets/stylesheets/decidim/modules/_notification.scss +5 -0
  89. data/app/assets/stylesheets/decidim/modules/_order-by.scss +5 -0
  90. data/app/assets/stylesheets/decidim/modules/_process-nav.scss +5 -2
  91. data/app/assets/stylesheets/decidim/modules/_process-phase.scss +2 -4
  92. data/app/assets/stylesheets/decidim/modules/_process-stats.scss +2 -2
  93. data/app/assets/stylesheets/decidim/modules/_progress-bar.scss +1 -1
  94. data/app/assets/stylesheets/decidim/modules/_reveal.scss +6 -0
  95. data/app/assets/stylesheets/decidim/modules/_signup.scss +6 -5
  96. data/app/assets/stylesheets/decidim/modules/_static-pages.scss +0 -1
  97. data/app/assets/stylesheets/decidim/modules/_sticky.scss +5 -0
  98. data/app/assets/stylesheets/decidim/modules/_tags.scss +4 -0
  99. data/app/assets/stylesheets/decidim/modules/_timeline.scss +1 -2
  100. data/app/assets/stylesheets/decidim/modules/_typography.scss +47 -8
  101. data/app/assets/stylesheets/decidim/modules/_versions.scss +0 -1
  102. data/app/assets/stylesheets/decidim/utils/_helpers.scss +8 -0
  103. data/app/assets/stylesheets/decidim/utils/_mixins.scss +86 -7
  104. data/app/assets/stylesheets/decidim/utils/_settings.scss +81 -69
  105. data/app/assets/stylesheets/decidim/vizzs.scss +8 -0
  106. data/app/assets/stylesheets/decidim/vizzs/_areachart.scss +0 -1
  107. data/app/assets/stylesheets/decidim/vizzs/_linechart.scss +0 -1
  108. data/app/assets/stylesheets/decidim/vizzs/_rowchart.scss +0 -1
  109. data/app/assets/stylesheets/decidim/vizzs/_vizzs.scss +5 -0
  110. data/app/assets/stylesheets/foundation-overrides/components/_button-group.scss +319 -0
  111. data/app/cells/decidim/activity/show.erb +24 -21
  112. data/app/cells/decidim/activity_cell.rb +2 -0
  113. data/app/cells/decidim/address_cell.rb +1 -1
  114. data/app/cells/decidim/amendable/amend_button_card_cell.rb +1 -5
  115. data/app/cells/decidim/amendable/promote_button_card_cell.rb +1 -1
  116. data/app/cells/decidim/announcement/show.erb +1 -1
  117. data/app/cells/decidim/author/comments.erb +1 -1
  118. data/app/cells/decidim/author/endorsements.erb +6 -0
  119. data/app/cells/decidim/author/flag.erb +5 -2
  120. data/app/cells/decidim/author/profile_inline.erb +0 -1
  121. data/app/cells/decidim/author/show.erb +2 -0
  122. data/app/cells/decidim/author/withdraw.erb +2 -2
  123. data/app/cells/decidim/author_cell.rb +9 -13
  124. data/app/cells/decidim/badge/show.erb +6 -6
  125. data/app/cells/decidim/badge/small.erb +2 -1
  126. data/app/cells/decidim/card/show.erb +4 -4
  127. data/app/cells/decidim/card_m/comments_counter.erb +1 -1
  128. data/app/cells/decidim/card_m/header.erb +4 -4
  129. data/app/cells/decidim/card_m/image.erb +1 -1
  130. data/app/cells/decidim/card_m/show.erb +2 -2
  131. data/app/cells/decidim/card_m_cell.rb +3 -2
  132. data/app/cells/decidim/collapsible_list/show.erb +3 -3
  133. data/app/cells/decidim/content_blocks/footer_sub_hero/show.erb +4 -4
  134. data/app/cells/decidim/content_blocks/hero_settings_form/show.erb +2 -2
  135. data/app/cells/decidim/content_blocks/how_to_participate/show.erb +8 -8
  136. data/app/cells/decidim/content_blocks/last_activity_cell.rb +1 -1
  137. data/app/cells/decidim/content_blocks/stats/show.erb +1 -1
  138. data/app/cells/decidim/content_blocks/sub_hero/show.erb +3 -3
  139. data/app/cells/decidim/diff/attribute.erb +10 -10
  140. data/app/cells/decidim/diff_cell.rb +11 -1
  141. data/app/cells/decidim/endorsement_buttons/select_identity_button.erb +10 -0
  142. data/app/cells/decidim/endorsement_buttons/show.erb +4 -0
  143. data/app/cells/decidim/endorsement_buttons_cell.rb +208 -0
  144. data/app/cells/decidim/endorsers_list/show.erb +16 -0
  145. data/app/cells/decidim/endorsers_list_cell.rb +29 -0
  146. data/app/cells/decidim/fingerprint_cell.rb +1 -0
  147. data/app/cells/decidim/follow_button/show.erb +13 -5
  148. data/app/cells/decidim/follow_button_cell.rb +29 -5
  149. data/app/cells/decidim/navbar_admin_link/show.erb +1 -1
  150. data/app/cells/decidim/navbar_admin_link_cell.rb +6 -0
  151. data/app/cells/decidim/newsletter_templates/base_cell.rb +30 -0
  152. data/app/cells/decidim/newsletter_templates/base_settings_form_cell.rb +13 -0
  153. data/app/cells/decidim/newsletter_templates/basic_only_text/show.erb +86 -0
  154. data/app/cells/decidim/newsletter_templates/basic_only_text_cell.rb +21 -0
  155. data/app/cells/decidim/newsletter_templates/basic_only_text_settings_form/show.erb +7 -0
  156. data/app/cells/decidim/newsletter_templates/basic_only_text_settings_form_cell.rb +8 -0
  157. data/app/cells/decidim/newsletter_templates/image_text_cta/show.erb +125 -0
  158. data/app/cells/decidim/newsletter_templates/image_text_cta_cell.rb +61 -0
  159. data/app/cells/decidim/newsletter_templates/image_text_cta_settings_form/show.erb +17 -0
  160. data/app/cells/decidim/newsletter_templates/image_text_cta_settings_form_cell.rb +8 -0
  161. data/app/cells/decidim/notifications/show.erb +1 -1
  162. data/app/cells/decidim/profile/show.erb +2 -2
  163. data/app/cells/decidim/profile/user_group_tabs.erb +10 -5
  164. data/app/cells/decidim/profile/user_tabs.erb +16 -14
  165. data/app/cells/decidim/profile_cell.rb +18 -0
  166. data/app/cells/decidim/profile_sidebar/show.erb +16 -16
  167. data/app/cells/decidim/profile_sidebar_cell.rb +1 -0
  168. data/app/cells/decidim/search_results_section/show.erb +1 -1
  169. data/app/cells/decidim/tags_cell.rb +32 -2
  170. data/app/cells/decidim/user_activity/show.erb +19 -1
  171. data/app/cells/decidim/user_activity_cell.rb +6 -0
  172. data/app/cells/decidim/user_conversation/conversation_header.erb +14 -0
  173. data/app/cells/decidim/user_conversation/messages.erb +15 -0
  174. data/app/cells/decidim/user_conversation/new.erb +15 -0
  175. data/app/cells/decidim/user_conversation/reply.erb +17 -0
  176. data/app/cells/decidim/user_conversation/show.erb +20 -0
  177. data/app/cells/decidim/user_conversation_cell.rb +75 -0
  178. data/app/cells/decidim/user_conversations/add_conversation_users.erb +25 -0
  179. data/app/cells/decidim/user_conversations/conversation_item.erb +38 -0
  180. data/app/cells/decidim/user_conversations/show.erb +58 -0
  181. data/app/cells/decidim/user_conversations_cell.rb +40 -0
  182. data/app/cells/decidim/user_group_admin_membership_profile/footer.erb +3 -3
  183. data/app/cells/decidim/user_profile/footer.erb +1 -1
  184. data/app/cells/decidim/user_profile/unlinked_user_data.erb +16 -0
  185. data/app/cells/decidim/user_profile/user_data.erb +1 -1
  186. data/app/cells/decidim/user_profile_cell.rb +7 -1
  187. data/app/cells/decidim/user_timeline_cell.rb +4 -0
  188. data/app/cells/decidim/version/show.erb +31 -0
  189. data/app/{views/decidim/shared/_version_author.html.erb → cells/decidim/version_author/show.erb} +1 -1
  190. data/app/cells/decidim/version_author_cell.rb +9 -0
  191. data/app/cells/decidim/version_cell.rb +83 -0
  192. data/app/cells/decidim/versions_list/show.erb +32 -0
  193. data/app/cells/decidim/versions_list_cell.rb +64 -0
  194. data/app/cells/decidim/versions_list_item/show.erb +20 -0
  195. data/app/cells/decidim/versions_list_item_cell.rb +51 -0
  196. data/app/cells/decidim/wizard_step_form/wizard_aside.erb +1 -1
  197. data/app/cells/decidim/wizard_step_form/wizard_header.erb +2 -2
  198. data/app/cells/decidim/wizard_step_form_cell.rb +4 -1
  199. data/app/commands/decidim/attachment_methods.rb +40 -0
  200. data/app/commands/decidim/create_registration.rb +2 -1
  201. data/app/commands/decidim/create_user_group.rb +12 -0
  202. data/app/commands/decidim/destroy_account.rb +12 -0
  203. data/app/commands/decidim/endorse_resource.rb +64 -0
  204. data/app/commands/decidim/gallery_methods.rb +64 -0
  205. data/app/commands/decidim/invite_user_again.rb +2 -4
  206. data/app/commands/decidim/messaging/reply_to_conversation.rb +34 -3
  207. data/app/commands/decidim/messaging/start_conversation.rb +36 -5
  208. data/app/commands/decidim/unendorse_resource.rb +38 -0
  209. data/app/commands/decidim/update_notifications_settings.rb +1 -0
  210. data/app/commands/decidim/update_user_group.rb +14 -1
  211. data/app/controllers/concerns/decidim/impersonate_users.rb +13 -0
  212. data/app/controllers/concerns/decidim/resource_versions_concern.rb +28 -0
  213. data/app/controllers/decidim/devise/registrations_controller.rb +2 -4
  214. data/app/controllers/decidim/devise/sessions_controller.rb +5 -0
  215. data/app/controllers/decidim/endorsements_controller.rb +71 -0
  216. data/app/controllers/decidim/messaging/conversations_controller.rb +52 -12
  217. data/app/controllers/decidim/newsletters_controller.rb +2 -2
  218. data/app/controllers/decidim/profiles_controller.rb +6 -0
  219. data/app/controllers/decidim/scopes_controller.rb +1 -0
  220. data/app/controllers/decidim/user_activities_controller.rb +19 -2
  221. data/app/controllers/decidim/user_conversations_controller.rb +142 -0
  222. data/app/controllers/decidim/user_timeline_controller.rb +19 -2
  223. data/app/events/decidim/resource_endorsed_event.rb +35 -0
  224. data/app/events/decidim/user_group_admin_event.rb +37 -0
  225. data/app/events/decidim/user_group_created_event.rb +6 -0
  226. data/app/events/decidim/user_group_updated_event.rb +6 -0
  227. data/app/forms/decidim/attachment_form.rb +1 -0
  228. data/app/forms/decidim/messaging/conversation_form.rb +10 -4
  229. data/app/forms/decidim/notifications_settings_form.rb +6 -0
  230. data/app/forms/decidim/registration_form.rb +1 -0
  231. data/app/functions/decidim/core/component_finder_base.rb +10 -3
  232. data/app/functions/decidim/core/component_list_base.rb +8 -2
  233. data/app/functions/decidim/core/user_entity_finder.rb +33 -0
  234. data/app/functions/decidim/core/user_entity_list.rb +31 -0
  235. data/app/helpers/concerns/decidim/flash_helper_extensions.rb +47 -0
  236. data/app/helpers/decidim/action_authorization_helper.rb +24 -2
  237. data/app/helpers/decidim/amendments_helper.rb +5 -3
  238. data/app/helpers/decidim/application_helper.rb +7 -1
  239. data/app/helpers/decidim/check_boxes_tree_helper.rb +4 -5
  240. data/app/helpers/decidim/cta_button_helper.rb +1 -1
  241. data/app/helpers/decidim/decidim_form_helper.rb +23 -0
  242. data/app/helpers/decidim/endorsable_helper.rb +93 -0
  243. data/app/helpers/decidim/filters_helper.rb +15 -5
  244. data/app/helpers/decidim/followable_helper.rb +11 -0
  245. data/app/helpers/decidim/layout_helper.rb +23 -5
  246. data/app/helpers/decidim/map_helper.rb +15 -2
  247. data/app/helpers/decidim/markup_helper.rb +9 -0
  248. data/app/helpers/decidim/messaging/conversation_helper.rb +61 -7
  249. data/app/helpers/decidim/orders_helper.rb +10 -1
  250. data/app/helpers/decidim/participatory_space_helpers.rb +1 -1
  251. data/app/helpers/decidim/resource_versions_helper.rb +24 -7
  252. data/app/helpers/decidim/rich_text_editor_helper.rb +1 -0
  253. data/app/helpers/decidim/sanitize_helper.rb +10 -2
  254. data/app/helpers/decidim/tooltip_helper.rb +1 -1
  255. data/app/helpers/decidim/traceability_helper.rb +2 -8
  256. data/app/helpers/decidim/user_profile_helper.rb +1 -1
  257. data/app/helpers/decidim/widget_urls_helper.rb +4 -2
  258. data/app/jobs/decidim/event_publisher_job.rb +1 -1
  259. data/app/mailers/concerns/decidim/multitenant_asset_host.rb +33 -0
  260. data/app/mailers/decidim/application_mailer.rb +1 -0
  261. data/app/mailers/decidim/messaging/conversation_mailer.rb +53 -4
  262. data/app/mailers/decidim/newsletter_mailer.rb +22 -4
  263. data/app/middleware/decidim/strip_x_forwarded_host.rb +14 -0
  264. data/app/models/decidim/action_log.rb +1 -1
  265. data/app/models/decidim/amendment.rb +0 -18
  266. data/app/models/decidim/authorization.rb +24 -0
  267. data/app/models/decidim/component.rb +7 -0
  268. data/app/models/decidim/content_block.rb +5 -3
  269. data/app/models/decidim/endorsement.rb +30 -0
  270. data/app/models/decidim/messaging/conversation.rb +39 -11
  271. data/app/models/decidim/messaging/message.rb +31 -5
  272. data/app/models/decidim/messaging/participation.rb +1 -1
  273. data/app/models/decidim/messaging/receipt.rb +8 -0
  274. data/app/models/decidim/newsletter.rb +7 -1
  275. data/app/models/decidim/organization.rb +16 -7
  276. data/app/models/decidim/user.rb +32 -0
  277. data/app/models/decidim/user_group.rb +23 -0
  278. data/app/permissions/decidim/permissions.rb +19 -6
  279. data/app/presenters/decidim/admin_log/user_presenter.rb +1 -1
  280. data/app/presenters/decidim/metric_charts_presenter.rb +33 -13
  281. data/app/presenters/decidim/nil_presenter.rb +29 -0
  282. data/app/presenters/decidim/resource_locator_presenter.rb +2 -1
  283. data/app/presenters/decidim/user_group_presenter.rb +1 -1
  284. data/app/presenters/decidim/user_presenter.rb +6 -0
  285. data/app/queries/decidim/metric_manage.rb +5 -0
  286. data/app/queries/decidim/metrics/followers_metric_manage.rb +1 -6
  287. data/app/queries/decidim/user_groups/admin_memberships.rb +3 -3
  288. data/app/services/decidim/activity_search.rb +1 -0
  289. data/app/services/decidim/base_diff_renderer.rb +25 -3
  290. data/app/services/decidim/events_manager.rb +4 -1
  291. data/app/types/decidim/core/decidim_type.rb +0 -4
  292. data/app/types/decidim/core/has_endorsable_input_sort.rb +17 -0
  293. data/app/types/decidim/core/has_timestamp_input_filter.rb +52 -0
  294. data/app/types/decidim/core/has_timestamp_input_sort.rb +12 -0
  295. data/app/types/decidim/core/user_entity_input_filter.rb +81 -0
  296. data/app/types/decidim/core/user_entity_input_sort.rb +24 -0
  297. data/app/types/decidim/core/user_group_type.rb +17 -5
  298. data/app/types/decidim/core/user_type.rb +17 -6
  299. data/app/uploaders/decidim/attachment_uploader.rb +1 -1
  300. data/app/uploaders/decidim/avatar_uploader.rb +4 -0
  301. data/app/uploaders/decidim/image_uploader.rb +28 -4
  302. data/app/uploaders/decidim/newsletter_template_image_uploader.rb +36 -0
  303. data/app/views/decidim/account/delete.html.erb +6 -3
  304. data/app/views/decidim/account/show.html.erb +17 -10
  305. data/app/views/decidim/amendments/_edit_form_fields.html.erb +2 -0
  306. data/app/views/decidim/amendments/_similar_emendation.html.erb +4 -4
  307. data/app/views/decidim/amendments/compare_draft.html.erb +2 -2
  308. data/app/views/decidim/amendments/edit_draft.html.erb +2 -2
  309. data/app/views/decidim/amendments/new.html.erb +2 -2
  310. data/app/views/decidim/amendments/preview_draft.html.erb +2 -2
  311. data/app/views/decidim/amendments/review.html.erb +3 -3
  312. data/app/views/decidim/application/_collection.html.erb +2 -2
  313. data/app/views/decidim/application/_document.html.erb +4 -4
  314. data/app/views/decidim/application/_documents.html.erb +1 -1
  315. data/app/views/decidim/application/_photos.html.erb +1 -1
  316. data/app/views/decidim/authorization_modals/show.html.erb +1 -1
  317. data/app/views/decidim/data_portability/show.html.erb +3 -0
  318. data/app/views/decidim/devise/confirmations/new.html.erb +3 -3
  319. data/app/views/decidim/devise/invitations/edit.html.erb +13 -13
  320. data/app/views/decidim/devise/omniauth_registrations/new.html.erb +5 -3
  321. data/app/views/decidim/devise/passwords/edit.html.erb +5 -3
  322. data/app/views/decidim/devise/passwords/new.html.erb +3 -3
  323. data/app/views/decidim/devise/registrations/edit.html.erb +2 -1
  324. data/app/views/decidim/devise/registrations/new.html.erb +7 -8
  325. data/app/views/decidim/devise/sessions/new.html.erb +4 -6
  326. data/app/views/decidim/devise/shared/_newsletter_modal.html.erb +3 -3
  327. data/app/views/decidim/devise/shared/_omniauth_buttons.html.erb +3 -1
  328. data/app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb +4 -1
  329. data/app/views/decidim/devise/unlocks/new.html.erb +3 -3
  330. data/app/views/decidim/doorkeeper/authorizations/new.html.erb +2 -2
  331. data/app/views/decidim/endorsements/_identity.html.erb +9 -0
  332. data/app/views/decidim/endorsements/identities.html.erb +12 -0
  333. data/app/views/decidim/endorsements/update_buttons_and_counters.js.erb +20 -0
  334. data/app/views/decidim/errors/internal_server_error.html.erb +2 -2
  335. data/app/views/decidim/errors/not_found.html.erb +2 -2
  336. data/app/views/decidim/gamification/badges/index.html.erb +4 -4
  337. data/app/views/decidim/group_admins/index.html.erb +6 -4
  338. data/app/views/decidim/group_invites/index.html.erb +5 -2
  339. data/app/views/decidim/group_members/index.html.erb +6 -4
  340. data/app/views/decidim/groups/_form.html.erb +2 -0
  341. data/app/views/decidim/groups/edit.html.erb +4 -2
  342. data/app/views/decidim/groups/new.html.erb +2 -2
  343. data/app/views/decidim/last_activities/index.html.erb +2 -0
  344. data/app/views/decidim/messaging/conversation_mailer/comanagers_new_conversation.html.erb +17 -0
  345. data/app/views/decidim/messaging/conversation_mailer/comanagers_new_message.html.erb +17 -0
  346. data/app/views/decidim/messaging/conversation_mailer/new_conversation.html.erb +2 -2
  347. data/app/views/decidim/messaging/conversation_mailer/new_group_conversation.html.erb +17 -0
  348. data/app/views/decidim/messaging/conversation_mailer/new_group_message.html.erb +17 -0
  349. data/app/views/decidim/messaging/conversation_mailer/new_message.html.erb +2 -2
  350. data/app/views/decidim/messaging/conversations/_add_conversation_users.html.erb +24 -0
  351. data/app/views/decidim/messaging/conversations/_conversation.html.erb +54 -0
  352. data/app/views/decidim/messaging/conversations/_messages.html.erb +15 -0
  353. data/app/views/decidim/messaging/conversations/_new_conversation_button.html.erb +33 -0
  354. data/app/views/decidim/messaging/conversations/_reply.html.erb +3 -3
  355. data/app/views/decidim/messaging/conversations/_show.html.erb +34 -15
  356. data/app/views/decidim/messaging/conversations/_start.html.erb +7 -1
  357. data/app/views/decidim/messaging/conversations/create.js.erb +1 -1
  358. data/app/views/decidim/messaging/conversations/index.html.erb +34 -29
  359. data/app/views/decidim/messaging/conversations/new.html.erb +1 -1
  360. data/app/views/decidim/messaging/conversations/show.html.erb +8 -4
  361. data/app/views/decidim/messaging/conversations/update.js.erb +1 -1
  362. data/app/views/decidim/newsletter_mailer/newsletter.html.erb +2 -2
  363. data/app/views/decidim/newsletters/show.html.erb +8 -1
  364. data/app/views/decidim/notifications/index.html.erb +4 -2
  365. data/app/views/decidim/notifications_settings/show.html.erb +14 -1
  366. data/app/views/decidim/own_user_groups/index.html.erb +4 -0
  367. data/app/views/decidim/pages/_standalone.html.erb +1 -1
  368. data/app/views/decidim/pages/_tabbed.html.erb +5 -5
  369. data/app/views/decidim/pages/index.html.erb +22 -13
  370. data/app/views/decidim/profiles/_user_follow.erb +3 -3
  371. data/app/views/decidim/profiles/show.html.erb +2 -0
  372. data/app/views/decidim/scopes/_scopes_picker_input.html.erb +11 -4
  373. data/app/views/decidim/scopes/picker.html.erb +26 -16
  374. data/app/views/decidim/searches/_count.html.erb +14 -11
  375. data/app/views/decidim/searches/_filters.html.erb +2 -2
  376. data/app/views/decidim/searches/index.html.erb +5 -3
  377. data/app/views/decidim/shared/_check_boxes_tree.html.erb +5 -3
  378. data/app/views/decidim/shared/_confirm_modal.html.erb +18 -0
  379. data/app/views/decidim/shared/_embed_modal.html.erb +4 -1
  380. data/app/views/decidim/shared/_extended_navigation_bar.html.erb +2 -2
  381. data/app/views/decidim/shared/_filter_form_help.erb +8 -0
  382. data/app/views/decidim/shared/_floating_help.html.erb +7 -7
  383. data/app/views/decidim/shared/_login_modal.html.erb +4 -4
  384. data/app/views/decidim/shared/_orders.html.erb +16 -5
  385. data/app/views/decidim/shared/_results_per_page.html.erb +16 -6
  386. data/app/views/decidim/shared/_share_modal.html.erb +8 -4
  387. data/app/views/decidim/shared/_static_map.html.erb +1 -1
  388. data/app/views/decidim/shared/participatory_space_filters/_filters.html.erb +1 -1
  389. data/app/views/decidim/user_activities/index.html.erb +4 -0
  390. data/app/views/decidim/user_activities/index.js.erb +14 -0
  391. data/app/views/decidim/user_conversations/index.html.erb +4 -0
  392. data/app/views/decidim/user_conversations/show.html.erb +4 -0
  393. data/app/views/decidim/user_conversations/update.js.erb +8 -0
  394. data/app/views/decidim/user_interests/_scopes.html.erb +12 -10
  395. data/app/views/decidim/user_interests/show.html.erb +4 -1
  396. data/app/views/decidim/user_timeline/index.html.erb +5 -1
  397. data/app/views/decidim/user_timeline/index.js.erb +14 -0
  398. data/app/views/kaminari/decidim/_first_page.html.erb +5 -1
  399. data/app/views/kaminari/decidim/_last_page.html.erb +5 -1
  400. data/app/views/kaminari/decidim/_next_page.html.erb +6 -1
  401. data/app/views/kaminari/decidim/_page.html.erb +2 -2
  402. data/app/views/kaminari/decidim/_paginator.html.erb +16 -14
  403. data/app/views/kaminari/decidim/_prev_page.html.erb +6 -1
  404. data/app/views/layouts/decidim/_application.html.erb +4 -2
  405. data/app/views/layouts/decidim/_cookie_warning.html.erb +1 -1
  406. data/app/views/layouts/decidim/_edit_link.html.erb +0 -0
  407. data/app/views/layouts/decidim/_head.html.erb +2 -0
  408. data/app/views/layouts/decidim/_js_configuration.html.erb +28 -0
  409. data/app/views/layouts/decidim/_language_chooser.html.erb +10 -5
  410. data/app/views/layouts/decidim/_logo.html.erb +2 -22
  411. data/app/views/layouts/decidim/_mailer_logo.html.erb +2 -22
  412. data/app/views/layouts/decidim/_main_footer.html.erb +3 -1
  413. data/app/views/layouts/decidim/_mini_footer.html.erb +7 -7
  414. data/app/views/layouts/decidim/_omnipresent_banner.html.erb +1 -1
  415. data/app/views/layouts/decidim/_organization_colors.html.erb +4 -3
  416. data/app/views/layouts/decidim/_social_media_links.html.erb +15 -10
  417. data/app/views/layouts/decidim/_topbar_search.html.erb +12 -2
  418. data/app/views/layouts/decidim/_user_menu.html.erb +6 -6
  419. data/app/views/layouts/decidim/_wrapper.html.erb +21 -16
  420. data/app/views/layouts/decidim/newsletter_base.html.erb +46 -0
  421. data/app/views/layouts/decidim/user_profile.html.erb +8 -3
  422. data/app/views/layouts/decidim/widget.html.erb +1 -0
  423. data/config/initializers/devise.rb +11 -3
  424. data/config/initializers/invisible_captcha.rb +1 -0
  425. data/config/initializers/omniauth.rb +7 -1
  426. data/config/initializers/rack_attack.rb +25 -16
  427. data/config/locales/ar.yml +7 -5
  428. data/config/locales/bg-BG.yml +1512 -0
  429. data/config/locales/ca.yml +258 -6
  430. data/config/locales/cs.yml +297 -37
  431. data/config/locales/da-DK.yml +9 -0
  432. data/config/locales/de.yml +279 -5
  433. data/config/locales/el.yml +1443 -5
  434. data/config/locales/en.yml +263 -11
  435. data/config/locales/es-MX.yml +257 -5
  436. data/config/locales/es-PY.yml +257 -5
  437. data/config/locales/es.yml +257 -5
  438. data/config/locales/et-EE.yml +9 -0
  439. data/config/locales/eu.yml +7 -2
  440. data/config/locales/fi-plain.yml +258 -6
  441. data/config/locales/fi.yml +319 -67
  442. data/config/locales/fr-CA.yml +1585 -0
  443. data/config/locales/fr.yml +263 -5
  444. data/config/locales/ga-IE.yml +9 -0
  445. data/config/locales/gl.yml +7 -2
  446. data/config/locales/hr-HR.yml +9 -0
  447. data/config/locales/hu.yml +87 -5
  448. data/config/locales/id-ID.yml +7 -2
  449. data/config/locales/is-IS.yml +1 -0
  450. data/config/locales/it.yml +279 -27
  451. data/config/locales/ja-JP.yml +1578 -0
  452. data/config/locales/lt-LT.yml +9 -0
  453. data/config/locales/lv-LV.yml +1485 -0
  454. data/config/locales/mt-MT.yml +9 -0
  455. data/config/locales/nl.yml +261 -6
  456. data/config/locales/no.yml +117 -41
  457. data/config/locales/pl.yml +755 -406
  458. data/config/locales/pt-BR.yml +8 -4
  459. data/config/locales/pt.yml +875 -536
  460. data/config/locales/ro-RO.yml +1603 -0
  461. data/config/locales/ru.yml +6 -1
  462. data/config/locales/sk-SK.yml +1426 -0
  463. data/config/locales/sk.yml +1441 -0
  464. data/config/locales/sl.yml +71 -0
  465. data/config/locales/sr-CS.yml +129 -0
  466. data/config/locales/sv.yml +323 -24
  467. data/config/locales/tr-TR.yml +7 -2
  468. data/config/locales/uk.yml +6 -1
  469. data/config/routes.rb +5 -0
  470. data/db/migrate/20180810092428_move_organization_fields_to_hero_content_block.rb +2 -2
  471. data/db/migrate/20191130151925_create_decidim_endorsements.rb +13 -0
  472. data/db/migrate/20191204075509_add_session_token_to_users.rb +7 -0
  473. data/db/migrate/20200211173227_add_direct_message_types_to_users.rb +12 -0
  474. data/db/migrate/20200320105904_index_foreign_keys_in_decidim_action_logs.rb +9 -0
  475. data/db/migrate/20200320105905_index_foreign_keys_in_decidim_amendments.rb +7 -0
  476. data/db/migrate/20200320105909_index_foreign_keys_in_decidim_authorizations.rb +7 -0
  477. data/db/migrate/20200320105917_index_foreign_keys_in_decidim_contextual_help_sections.rb +7 -0
  478. data/db/migrate/20200320105919_index_foreign_keys_in_decidim_endorsements.rb +7 -0
  479. data/db/migrate/20200320105923_index_foreign_keys_in_decidim_notifications.rb +7 -0
  480. data/db/migrate/20200320105927_index_foreign_keys_in_oauth_access_grants.rb +7 -0
  481. data/db/migrate/20200323094443_add_id_to_content_blocks_scope.rb +7 -0
  482. data/db/migrate/20200326102407_rename_scope_column.rb +7 -0
  483. data/db/migrate/20200327082257_migrate_newsletters_to_templates.rb +33 -0
  484. data/db/migrate/20200327082954_remove_newsletter_body.rb +7 -0
  485. data/db/migrate/20200401073419_add_index_on_content_block_scope_id.rb +11 -0
  486. data/db/seeds.rb +1 -1
  487. data/{app/controllers/concerns → lib}/decidim/action_authorization.rb +0 -0
  488. data/lib/decidim/api/author_interface.rb +4 -0
  489. data/lib/decidim/api/endorsable_interface.rb +22 -0
  490. data/lib/decidim/api/participatory_space_interface.rb +2 -0
  491. data/lib/decidim/api/timestamps_interface.rb +2 -2
  492. data/lib/decidim/coauthorable.rb +1 -1
  493. data/lib/decidim/component_manifest.rb +14 -0
  494. data/lib/decidim/content_parsers.rb +1 -0
  495. data/lib/decidim/content_parsers/user_group_parser.rb +61 -0
  496. data/lib/decidim/content_parsers/user_parser.rb +3 -5
  497. data/lib/decidim/content_renderers.rb +1 -0
  498. data/lib/decidim/content_renderers/user_group_renderer.rb +30 -0
  499. data/lib/decidim/core.rb +65 -21
  500. data/lib/decidim/core/api.rb +1 -0
  501. data/lib/decidim/core/engine.rb +88 -6
  502. data/lib/decidim/core/test.rb +8 -0
  503. data/lib/decidim/core/test/factories.rb +103 -3
  504. data/lib/decidim/core/test/shared_examples/admin_resource_gallery_examples.rb +79 -0
  505. data/lib/decidim/core/test/shared_examples/back_to_list_button_examples.rb +17 -0
  506. data/lib/decidim/core/test/shared_examples/comments_examples.rb +17 -2
  507. data/lib/decidim/core/test/shared_examples/edit_link_shared_examples.rb +5 -1
  508. data/lib/decidim/core/test/shared_examples/endorsable_interface_examples.rb +22 -0
  509. data/lib/decidim/core/test/shared_examples/endorsements_controller_shared_context.rb +22 -0
  510. data/lib/decidim/core/test/shared_examples/follows_examples.rb +1 -1
  511. data/lib/decidim/core/test/shared_examples/input_sort_examples.rb +21 -0
  512. data/lib/decidim/core/test/shared_examples/logo_email.rb +20 -0
  513. data/lib/decidim/core/test/shared_examples/metric_manage_shared_context.rb +9 -0
  514. data/lib/decidim/core/test/shared_examples/permissions.rb +143 -0
  515. data/lib/decidim/core/test/shared_examples/reports_examples.rb +4 -4
  516. data/lib/decidim/core/test/shared_examples/rich_text_editor_examples.rb +3 -3
  517. data/lib/decidim/core/test/shared_examples/simple_event.rb +1 -0
  518. data/lib/decidim/core/test/shared_examples/system_endorse_resource_examples.rb +165 -0
  519. data/lib/decidim/core/test/shared_examples/traceable_interface_examples.rb +3 -3
  520. data/lib/decidim/core/test/shared_examples/with_endorsable_permissions_examples.rb +89 -0
  521. data/lib/decidim/core/version.rb +1 -1
  522. data/lib/decidim/endorsable.rb +25 -0
  523. data/lib/decidim/events.rb +1 -0
  524. data/lib/decidim/events/user_group_event.rb +45 -0
  525. data/lib/decidim/exporters/csv.rb +1 -1
  526. data/lib/decidim/filter_form_builder.rb +15 -6
  527. data/lib/decidim/form_builder.rb +209 -23
  528. data/lib/decidim/has_attachments.rb +1 -1
  529. data/lib/decidim/participable.rb +6 -0
  530. data/lib/decidim/participatory_space_manifest.rb +15 -0
  531. data/lib/decidim/query_extensions.rb +9 -15
  532. data/lib/decidim/settings_manifest.rb +15 -1
  533. data/lib/decidim/view_model.rb +4 -0
  534. data/lib/tasks/decidim_tasks.rake +1 -0
  535. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.ro.js +15 -0
  536. data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.sk.js +14 -0
  537. data/vendor/assets/javascripts/svg4everybody.min.js +1 -2
  538. data/vendor/assets/javascripts/tribute.js +11 -4
  539. metadata +187 -31
  540. data/app/assets/javascripts/decidim/vizzs/orgchart.js.es6 +0 -699
  541. data/app/assets/stylesheets/decidim/email.css +0 -1403
  542. data/app/assets/stylesheets/decidim/modules/_input-hashtags.scss +0 -124
  543. data/app/resolvers/decidim/core/user_resolver.rb +0 -61
  544. data/app/views/decidim/messaging/conversations/_message.html.erb +0 -14
@@ -0,0 +1,13 @@
1
+ $(document).ready(function () {
2
+ let addUsersConversationDialog = $("#user-conversations-add-modal"),
3
+ button = $("#start-conversation-dialog-button");
4
+
5
+ /* eslint no-unused-vars: 0 */
6
+ if (addUsersConversationDialog.length) {
7
+ let refreshUrl = addUsersConversationDialog.data("refresh-url");
8
+
9
+ button.click(function () {
10
+ addUsersConversationDialog.foundation("open");
11
+ });
12
+ }
13
+ });
@@ -0,0 +1 @@
1
+ // = require_tree ./vizzs
@@ -0,0 +1,5 @@
1
+ // This is a file that can be overridden by the application in order to override
2
+ // some of the Foundation/Decidim SCSS settings and variables after the default
3
+ // settings have been loaded.
4
+ //
5
+ // By default this is empty.
@@ -1,15 +1,17 @@
1
- @import "variables";
1
+ @import "decidim/variables";
2
+ @import "decidim/properties";
2
3
  @import "foundation";
3
- @import "utils/settings";
4
+ @import "foundation-overrides/components/button-group";
5
+ @import "decidim/utils/settings";
4
6
 
5
7
  @include foundation-everything($flex: false);
6
8
 
7
- @import "utils/fontface";
8
- @import "utils/helpers";
9
- @import "utils/keyframes";
10
- @import "utils/mixins";
11
- @import "utils/toggle-expand";
12
- @import "modules/modules";
13
- @import "layouts/*";
14
- @import "extras/*";
15
- @import "vizzs/*";
9
+ @import "decidim/utils/fontface";
10
+ @import "decidim/utils/helpers";
11
+ @import "decidim/utils/keyframes";
12
+ @import "decidim/utils/mixins";
13
+ @import "decidim/utils/toggle-expand";
14
+ @import "decidim/modules/modules";
15
+ @import "decidim/layouts/layouts";
16
+ @import "decidim/extras/extras";
17
+ @import "decidim/vizzs/vizzs";
@@ -0,0 +1,25 @@
1
+ // Define custom properties as css color variables
2
+
3
+ :root{
4
+ --primary: #{$primary};
5
+ --primary-rgb: #{$primary-rgb};
6
+ --secondary: #{$secondary};
7
+ --secondary-rgb: #{$secondary-rgb};
8
+ --success: #{$success};
9
+ --success-rgb: #{$success-rgb};
10
+ --warning: #{$warning};
11
+ --warning-rgb: #{$warning-rgb};
12
+ --alert: #{$alert};
13
+ --alert-rgb: #{$alert-rgb};
14
+ --highlight: #{$highlight};
15
+ --highlight-rgb: #{$highlight-rgb};
16
+ --highlight-alternative: #{$highlight-alternative};
17
+ --highlight-alternative-rgb: #{$highlight-alternative-rgb};
18
+ --proposals: #{$proposals};
19
+ --actions: #{$actions};
20
+ --debates: #{$debates};
21
+ --meetings: #{$meetings};
22
+ --twitter: #{$twitter};
23
+ --facebook: #{$facebook};
24
+ --google: #{$google};
25
+ }
@@ -1,8 +1,8 @@
1
1
  // Variables
2
2
 
3
- $primary: #ef604d !default;
3
+ $primary: #cb3c29 !default;
4
4
  $primary-rgb: 239,96,77 !default;
5
- $secondary: #599aa6 !default;
5
+ $secondary: #3e7f8b !default;
6
6
  $secondary-rgb: 89,154,166 !default;
7
7
  $success: #57d685 !default;
8
8
  $success-rgb: 87,214,133 !default;
@@ -10,6 +10,10 @@ $warning: #ffae00 !default;
10
10
  $warning-rgb: 255,174,0 !default;
11
11
  $alert: #ec5840 !default;
12
12
  $alert-rgb: 236,88,64 !default;
13
+ $highlight: #be6400 !default;
14
+ $highlight-rgb: 190,100,0 !default;
15
+ $highlight-alternative: #ff5731 !default;
16
+ $highlight-alternative-rgb: 255,87,49 !default;
13
17
 
14
18
  $proposals: #238ff7 !default;
15
19
  $actions: #57d685 !default;
@@ -23,25 +27,3 @@ $google: #4285f4 !default;
23
27
  // background colors used in public diff views
24
28
  $color-addition: #e6ffed !default;
25
29
  $color-removal: #ffeef0 !default;
26
-
27
- // Define custom properties as css color variables
28
-
29
- :root{
30
- --primary: #{$primary};
31
- --primary-rgb: #{$primary-rgb};
32
- --secondary: #{$secondary};
33
- --secondary-rgb: #{$secondary-rgb};
34
- --success: #{$success};
35
- --success-rgb: #{$success-rgb};
36
- --warning: #{$warning};
37
- --warning-rgb: #{$warning-rgb};
38
- --alert: #{$alert};
39
- --alert-rgb: #{$alert-rgb};
40
- --proposals: #{$proposals};
41
- --actions: #{$actions};
42
- --debates: #{$debates};
43
- --meetings: #{$meetings};
44
- --twitter: #{$twitter};
45
- --facebook: #{$facebook};
46
- --google: #{$google};
47
- }
@@ -1,5 +1,5 @@
1
- @import "decidim";
2
- @import "editor";
1
+ @import "decidim/decidim";
2
+ @import "decidim/editor";
3
3
 
4
4
  <% Decidim.component_manifests.map(&:stylesheet).compact.each do |stylesheet| %>
5
5
  @import "<%= stylesheet %>";
@@ -1,6 +1,6 @@
1
1
  @import "quill.snow";
2
- @import "variables";
3
- @import "utils/settings";
2
+ @import "decidim/variables";
3
+ @import "decidim/utils/settings";
4
4
 
5
5
  .editor-container{
6
6
  margin-bottom: 1.5rem;
@@ -0,0 +1,1771 @@
1
+ @import "variables";
2
+
3
+ /* Index:
4
+ 1 - Foundation settings
5
+ 2 - Custom styles
6
+ */
7
+
8
+ /* 1 - Foundation settings --------- */
9
+
10
+ .wrapper{
11
+ width: 100%;
12
+ }
13
+
14
+ #outlook a{
15
+ padding: 0;
16
+ }
17
+
18
+ body{
19
+ width: 100% !important;
20
+ min-width: 100%;
21
+ -webkit-text-size-adjust: 100%;
22
+ -ms-text-size-adjust: 100%;
23
+ margin: 0;
24
+ padding: 0;
25
+ -moz-box-sizing: border-box;
26
+ -webkit-box-sizing: border-box;
27
+ box-sizing: border-box;
28
+ }
29
+
30
+ .ExternalClass{
31
+ width: 100%;
32
+ }
33
+
34
+ .ExternalClass,
35
+ .ExternalClass p,
36
+ .ExternalClass span,
37
+ .ExternalClass font,
38
+ .ExternalClass td,
39
+ .ExternalClass div{
40
+ line-height: 100%;
41
+ }
42
+
43
+ #backgroundTable{
44
+ margin: 0;
45
+ padding: 0;
46
+ width: 100% !important;
47
+ line-height: 100% !important;
48
+ }
49
+
50
+ img{
51
+ outline: none;
52
+ text-decoration: none;
53
+ -ms-interpolation-mode: bicubic;
54
+ width: auto;
55
+ max-width: 100%;
56
+ clear: both;
57
+ display: block;
58
+ }
59
+
60
+ center{
61
+ width: 100%;
62
+ min-width: 580px;
63
+ }
64
+
65
+ a img{
66
+ border: none;
67
+ }
68
+
69
+ p{
70
+ margin: 0 0 0 10px;
71
+ }
72
+
73
+ table{
74
+ border-spacing: 0;
75
+ border-collapse: collapse;
76
+ }
77
+
78
+ td{
79
+ word-wrap: break-word;
80
+ -webkit-hyphens: auto;
81
+ -moz-hyphens: auto;
82
+ hyphens: auto;
83
+ border-collapse: collapse !important;
84
+ }
85
+
86
+ table,
87
+ tr,
88
+ td{
89
+ padding: 0;
90
+ vertical-align: top;
91
+ text-align: left;
92
+ }
93
+
94
+ @media only screen{
95
+ html{
96
+ min-height: 100%;
97
+ background: #f3f3f3;
98
+ }
99
+ }
100
+
101
+ table.body{
102
+ background: #f3f3f3;
103
+ height: 100%;
104
+ width: 100%;
105
+ }
106
+
107
+ table.container{
108
+ width: 580px;
109
+ margin: 0 auto;
110
+ text-align: inherit;
111
+ }
112
+
113
+ table.row{
114
+ padding: 0;
115
+ width: 100%;
116
+ position: relative;
117
+ }
118
+
119
+ table.spacer{
120
+ width: 100%;
121
+ }
122
+
123
+ /* stylelint-disable property-no-unknown */
124
+ table.spacer td{
125
+ mso-line-height-rule: exactly;
126
+ }
127
+ /* stylelint-enable property-no-unknown */
128
+
129
+ table.container table.row{
130
+ display: table;
131
+ }
132
+
133
+ td.columns,
134
+ td.column,
135
+ th.columns,
136
+ th.column{
137
+ margin: 0 auto;
138
+ padding-right: 16px;
139
+ padding-left: 16px;
140
+ padding-bottom: 16px;
141
+ }
142
+
143
+ td.columns .column,
144
+ td.columns .columns,
145
+ td.column .column,
146
+ td.column .columns,
147
+ th.columns .column,
148
+ th.columns .columns,
149
+ th.column .column,
150
+ th.column .columns{
151
+ padding-left: 0 !important;
152
+ padding-right: 0 !important;
153
+ }
154
+
155
+ td.columns .column center,
156
+ td.columns .columns center,
157
+ td.column .column center,
158
+ td.column .columns center,
159
+ th.columns .column center,
160
+ th.columns .columns center,
161
+ th.column .column center,
162
+ th.column .columns center{
163
+ min-width: none !important;
164
+ }
165
+
166
+ td.columns.last,
167
+ td.column.last,
168
+ th.columns.last,
169
+ th.column.last{
170
+ padding-right: 16px;
171
+ }
172
+
173
+ td.columns table:not(.button),
174
+ td.column table:not(.button),
175
+ th.columns table:not(.button),
176
+ th.column table:not(.button){
177
+ width: 100%;
178
+ }
179
+
180
+ td.large-1,
181
+ th.large-1{
182
+ width: 32.33333px;
183
+ padding-left: 8px;
184
+ padding-right: 8px;
185
+ }
186
+
187
+ td.large-1.first,
188
+ th.large-1.first{
189
+ padding-left: 16px;
190
+ }
191
+
192
+ td.large-1.last,
193
+ th.large-1.last{
194
+ padding-right: 16px;
195
+ }
196
+
197
+ .collapse > tbody > tr > td.large-1,
198
+ .collapse > tbody > tr > th.large-1{
199
+ padding-right: 0;
200
+ padding-left: 0;
201
+ width: 48.33333px;
202
+ }
203
+
204
+ .collapse td.large-1.first,
205
+ .collapse th.large-1.first,
206
+ .collapse td.large-1.last,
207
+ .collapse th.large-1.last{
208
+ width: 56.33333px;
209
+ }
210
+
211
+ td.large-1 center,
212
+ th.large-1 center{
213
+ min-width: .33333px;
214
+ }
215
+
216
+ .body .columns td.large-1,
217
+ .body .column td.large-1,
218
+ .body .columns th.large-1,
219
+ .body .column th.large-1{
220
+ width: 8.33333%;
221
+ }
222
+
223
+ td.large-2,
224
+ th.large-2{
225
+ width: 80.66667px;
226
+ padding-left: 8px;
227
+ padding-right: 8px;
228
+ }
229
+
230
+ td.large-2.first,
231
+ th.large-2.first{
232
+ padding-left: 16px;
233
+ }
234
+
235
+ td.large-2.last,
236
+ th.large-2.last{
237
+ padding-right: 16px;
238
+ }
239
+
240
+ .collapse > tbody > tr > td.large-2,
241
+ .collapse > tbody > tr > th.large-2{
242
+ padding-right: 0;
243
+ padding-left: 0;
244
+ width: 96.66667px;
245
+ }
246
+
247
+ .collapse td.large-2.first,
248
+ .collapse th.large-2.first,
249
+ .collapse td.large-2.last,
250
+ .collapse th.large-2.last{
251
+ width: 104.66667px;
252
+ }
253
+
254
+ td.large-2 center,
255
+ th.large-2 center{
256
+ min-width: 48.66667px;
257
+ }
258
+
259
+ .body .columns td.large-2,
260
+ .body .column td.large-2,
261
+ .body .columns th.large-2,
262
+ .body .column th.large-2{
263
+ width: 16.66667%;
264
+ }
265
+
266
+ td.large-3,
267
+ th.large-3{
268
+ width: 129px;
269
+ padding-left: 8px;
270
+ padding-right: 8px;
271
+ }
272
+
273
+ td.large-3.first,
274
+ th.large-3.first{
275
+ padding-left: 16px;
276
+ }
277
+
278
+ td.large-3.last,
279
+ th.large-3.last{
280
+ padding-right: 16px;
281
+ }
282
+
283
+ .collapse > tbody > tr > td.large-3,
284
+ .collapse > tbody > tr > th.large-3{
285
+ padding-right: 0;
286
+ padding-left: 0;
287
+ width: 145px;
288
+ }
289
+
290
+ .collapse td.large-3.first,
291
+ .collapse th.large-3.first,
292
+ .collapse td.large-3.last,
293
+ .collapse th.large-3.last{
294
+ width: 153px;
295
+ }
296
+
297
+ td.large-3 center,
298
+ th.large-3 center{
299
+ min-width: 97px;
300
+ }
301
+
302
+ .body .columns td.large-3,
303
+ .body .column td.large-3,
304
+ .body .columns th.large-3,
305
+ .body .column th.large-3{
306
+ width: 25%;
307
+ }
308
+
309
+ td.large-4,
310
+ th.large-4{
311
+ width: 177.33333px;
312
+ padding-left: 8px;
313
+ padding-right: 8px;
314
+ }
315
+
316
+ td.large-4.first,
317
+ th.large-4.first{
318
+ padding-left: 16px;
319
+ }
320
+
321
+ td.large-4.last,
322
+ th.large-4.last{
323
+ padding-right: 16px;
324
+ }
325
+
326
+ .collapse > tbody > tr > td.large-4,
327
+ .collapse > tbody > tr > th.large-4{
328
+ padding-right: 0;
329
+ padding-left: 0;
330
+ width: 193.33333px;
331
+ }
332
+
333
+ .collapse td.large-4.first,
334
+ .collapse th.large-4.first,
335
+ .collapse td.large-4.last,
336
+ .collapse th.large-4.last{
337
+ width: 201.33333px;
338
+ }
339
+
340
+ td.large-4 center,
341
+ th.large-4 center{
342
+ min-width: 145.33333px;
343
+ }
344
+
345
+ .body .columns td.large-4,
346
+ .body .column td.large-4,
347
+ .body .columns th.large-4,
348
+ .body .column th.large-4{
349
+ width: 33.33333%;
350
+ }
351
+
352
+ td.large-5,
353
+ th.large-5{
354
+ width: 225.66667px;
355
+ padding-left: 8px;
356
+ padding-right: 8px;
357
+ }
358
+
359
+ td.large-5.first,
360
+ th.large-5.first{
361
+ padding-left: 16px;
362
+ }
363
+
364
+ td.large-5.last,
365
+ th.large-5.last{
366
+ padding-right: 16px;
367
+ }
368
+
369
+ .collapse > tbody > tr > td.large-5,
370
+ .collapse > tbody > tr > th.large-5{
371
+ padding-right: 0;
372
+ padding-left: 0;
373
+ width: 241.66667px;
374
+ }
375
+
376
+ .collapse td.large-5.first,
377
+ .collapse th.large-5.first,
378
+ .collapse td.large-5.last,
379
+ .collapse th.large-5.last{
380
+ width: 249.66667px;
381
+ }
382
+
383
+ td.large-5 center,
384
+ th.large-5 center{
385
+ min-width: 193.66667px;
386
+ }
387
+
388
+ .body .columns td.large-5,
389
+ .body .column td.large-5,
390
+ .body .columns th.large-5,
391
+ .body .column th.large-5{
392
+ width: 41.66667%;
393
+ }
394
+
395
+ td.large-6,
396
+ th.large-6{
397
+ width: 274px;
398
+ padding-left: 8px;
399
+ padding-right: 8px;
400
+ }
401
+
402
+ td.large-6.first,
403
+ th.large-6.first{
404
+ padding-left: 16px;
405
+ }
406
+
407
+ td.large-6.last,
408
+ th.large-6.last{
409
+ padding-right: 16px;
410
+ }
411
+
412
+ .collapse > tbody > tr > td.large-6,
413
+ .collapse > tbody > tr > th.large-6{
414
+ padding-right: 0;
415
+ padding-left: 0;
416
+ width: 290px;
417
+ }
418
+
419
+ .collapse td.large-6.first,
420
+ .collapse th.large-6.first,
421
+ .collapse td.large-6.last,
422
+ .collapse th.large-6.last{
423
+ width: 298px;
424
+ }
425
+
426
+ td.large-6 center,
427
+ th.large-6 center{
428
+ min-width: 242px;
429
+ }
430
+
431
+ .body .columns td.large-6,
432
+ .body .column td.large-6,
433
+ .body .columns th.large-6,
434
+ .body .column th.large-6{
435
+ width: 50%;
436
+ }
437
+
438
+ td.large-7,
439
+ th.large-7{
440
+ width: 322.33333px;
441
+ padding-left: 8px;
442
+ padding-right: 8px;
443
+ }
444
+
445
+ td.large-7.first,
446
+ th.large-7.first{
447
+ padding-left: 16px;
448
+ }
449
+
450
+ td.large-7.last,
451
+ th.large-7.last{
452
+ padding-right: 16px;
453
+ }
454
+
455
+ .collapse > tbody > tr > td.large-7,
456
+ .collapse > tbody > tr > th.large-7{
457
+ padding-right: 0;
458
+ padding-left: 0;
459
+ width: 338.33333px;
460
+ }
461
+
462
+ .collapse td.large-7.first,
463
+ .collapse th.large-7.first,
464
+ .collapse td.large-7.last,
465
+ .collapse th.large-7.last{
466
+ width: 346.33333px;
467
+ }
468
+
469
+ td.large-7 center,
470
+ th.large-7 center{
471
+ min-width: 290.33333px;
472
+ }
473
+
474
+ .body .columns td.large-7,
475
+ .body .column td.large-7,
476
+ .body .columns th.large-7,
477
+ .body .column th.large-7{
478
+ width: 58.33333%;
479
+ }
480
+
481
+ td.large-8,
482
+ th.large-8{
483
+ width: 370.66667px;
484
+ padding-left: 8px;
485
+ padding-right: 8px;
486
+ }
487
+
488
+ td.large-8.first,
489
+ th.large-8.first{
490
+ padding-left: 16px;
491
+ }
492
+
493
+ td.large-8.last,
494
+ th.large-8.last{
495
+ padding-right: 16px;
496
+ }
497
+
498
+ .collapse > tbody > tr > td.large-8,
499
+ .collapse > tbody > tr > th.large-8{
500
+ padding-right: 0;
501
+ padding-left: 0;
502
+ width: 386.66667px;
503
+ }
504
+
505
+ .collapse td.large-8.first,
506
+ .collapse th.large-8.first,
507
+ .collapse td.large-8.last,
508
+ .collapse th.large-8.last{
509
+ width: 394.66667px;
510
+ }
511
+
512
+ td.large-8 center,
513
+ th.large-8 center{
514
+ min-width: 338.66667px;
515
+ }
516
+
517
+ .body .columns td.large-8,
518
+ .body .column td.large-8,
519
+ .body .columns th.large-8,
520
+ .body .column th.large-8{
521
+ width: 66.66667%;
522
+ }
523
+
524
+ td.large-9,
525
+ th.large-9{
526
+ width: 419px;
527
+ padding-left: 8px;
528
+ padding-right: 8px;
529
+ }
530
+
531
+ td.large-9.first,
532
+ th.large-9.first{
533
+ padding-left: 16px;
534
+ }
535
+
536
+ td.large-9.last,
537
+ th.large-9.last{
538
+ padding-right: 16px;
539
+ }
540
+
541
+ .collapse > tbody > tr > td.large-9,
542
+ .collapse > tbody > tr > th.large-9{
543
+ padding-right: 0;
544
+ padding-left: 0;
545
+ width: 435px;
546
+ }
547
+
548
+ .collapse td.large-9.first,
549
+ .collapse th.large-9.first,
550
+ .collapse td.large-9.last,
551
+ .collapse th.large-9.last{
552
+ width: 443px;
553
+ }
554
+
555
+ td.large-9 center,
556
+ th.large-9 center{
557
+ min-width: 387px;
558
+ }
559
+
560
+ .body .columns td.large-9,
561
+ .body .column td.large-9,
562
+ .body .columns th.large-9,
563
+ .body .column th.large-9{
564
+ width: 75%;
565
+ }
566
+
567
+ td.large-10,
568
+ th.large-10{
569
+ width: 467.33333px;
570
+ padding-left: 8px;
571
+ padding-right: 8px;
572
+ }
573
+
574
+ td.large-10.first,
575
+ th.large-10.first{
576
+ padding-left: 16px;
577
+ }
578
+
579
+ td.large-10.last,
580
+ th.large-10.last{
581
+ padding-right: 16px;
582
+ }
583
+
584
+ .collapse > tbody > tr > td.large-10,
585
+ .collapse > tbody > tr > th.large-10{
586
+ padding-right: 0;
587
+ padding-left: 0;
588
+ width: 483.33333px;
589
+ }
590
+
591
+ .collapse td.large-10.first,
592
+ .collapse th.large-10.first,
593
+ .collapse td.large-10.last,
594
+ .collapse th.large-10.last{
595
+ width: 491.33333px;
596
+ }
597
+
598
+ td.large-10 center,
599
+ th.large-10 center{
600
+ min-width: 435.33333px;
601
+ }
602
+
603
+ .body .columns td.large-10,
604
+ .body .column td.large-10,
605
+ .body .columns th.large-10,
606
+ .body .column th.large-10{
607
+ width: 83.33333%;
608
+ }
609
+
610
+ td.large-11,
611
+ th.large-11{
612
+ width: 515.66667px;
613
+ padding-left: 8px;
614
+ padding-right: 8px;
615
+ }
616
+
617
+ td.large-11.first,
618
+ th.large-11.first{
619
+ padding-left: 16px;
620
+ }
621
+
622
+ td.large-11.last,
623
+ th.large-11.last{
624
+ padding-right: 16px;
625
+ }
626
+
627
+ .collapse > tbody > tr > td.large-11,
628
+ .collapse > tbody > tr > th.large-11{
629
+ padding-right: 0;
630
+ padding-left: 0;
631
+ width: 531.66667px;
632
+ }
633
+
634
+ .collapse td.large-11.first,
635
+ .collapse th.large-11.first,
636
+ .collapse td.large-11.last,
637
+ .collapse th.large-11.last{
638
+ width: 539.66667px;
639
+ }
640
+
641
+ td.large-11 center,
642
+ th.large-11 center{
643
+ min-width: 483.66667px;
644
+ }
645
+
646
+ .body .columns td.large-11,
647
+ .body .column td.large-11,
648
+ .body .columns th.large-11,
649
+ .body .column th.large-11{
650
+ width: 91.66667%;
651
+ }
652
+
653
+ td.large-12,
654
+ th.large-12{
655
+ width: 564px;
656
+ padding-left: 8px;
657
+ padding-right: 8px;
658
+ }
659
+
660
+ td.large-12.first,
661
+ th.large-12.first{
662
+ padding-left: 16px;
663
+ }
664
+
665
+ td.large-12.last,
666
+ th.large-12.last{
667
+ padding-right: 16px;
668
+ }
669
+
670
+ .collapse > tbody > tr > td.large-12,
671
+ .collapse > tbody > tr > th.large-12{
672
+ padding-right: 0;
673
+ padding-left: 0;
674
+ width: 580px;
675
+ }
676
+
677
+ .collapse td.large-12.first,
678
+ .collapse th.large-12.first,
679
+ .collapse td.large-12.last,
680
+ .collapse th.large-12.last{
681
+ width: 588px;
682
+ }
683
+
684
+ td.large-12 center,
685
+ th.large-12 center{
686
+ min-width: 532px;
687
+ }
688
+
689
+ .body .columns td.large-12,
690
+ .body .column td.large-12,
691
+ .body .columns th.large-12,
692
+ .body .column th.large-12{
693
+ width: 100%;
694
+ }
695
+
696
+ td.large-offset-1,
697
+ td.large-offset-1.first,
698
+ td.large-offset-1.last,
699
+ th.large-offset-1,
700
+ th.large-offset-1.first,
701
+ th.large-offset-1.last{
702
+ padding-left: 64.33333px;
703
+ }
704
+
705
+ td.large-offset-2,
706
+ td.large-offset-2.first,
707
+ td.large-offset-2.last,
708
+ th.large-offset-2,
709
+ th.large-offset-2.first,
710
+ th.large-offset-2.last{
711
+ padding-left: 112.66667px;
712
+ }
713
+
714
+ td.large-offset-3,
715
+ td.large-offset-3.first,
716
+ td.large-offset-3.last,
717
+ th.large-offset-3,
718
+ th.large-offset-3.first,
719
+ th.large-offset-3.last{
720
+ padding-left: 161px;
721
+ }
722
+
723
+ td.large-offset-4,
724
+ td.large-offset-4.first,
725
+ td.large-offset-4.last,
726
+ th.large-offset-4,
727
+ th.large-offset-4.first,
728
+ th.large-offset-4.last{
729
+ padding-left: 209.33333px;
730
+ }
731
+
732
+ td.large-offset-5,
733
+ td.large-offset-5.first,
734
+ td.large-offset-5.last,
735
+ th.large-offset-5,
736
+ th.large-offset-5.first,
737
+ th.large-offset-5.last{
738
+ padding-left: 257.66667px;
739
+ }
740
+
741
+ td.large-offset-6,
742
+ td.large-offset-6.first,
743
+ td.large-offset-6.last,
744
+ th.large-offset-6,
745
+ th.large-offset-6.first,
746
+ th.large-offset-6.last{
747
+ padding-left: 306px;
748
+ }
749
+
750
+ td.large-offset-7,
751
+ td.large-offset-7.first,
752
+ td.large-offset-7.last,
753
+ th.large-offset-7,
754
+ th.large-offset-7.first,
755
+ th.large-offset-7.last{
756
+ padding-left: 354.33333px;
757
+ }
758
+
759
+ td.large-offset-8,
760
+ td.large-offset-8.first,
761
+ td.large-offset-8.last,
762
+ th.large-offset-8,
763
+ th.large-offset-8.first,
764
+ th.large-offset-8.last{
765
+ padding-left: 402.66667px;
766
+ }
767
+
768
+ td.large-offset-9,
769
+ td.large-offset-9.first,
770
+ td.large-offset-9.last,
771
+ th.large-offset-9,
772
+ th.large-offset-9.first,
773
+ th.large-offset-9.last{
774
+ padding-left: 451px;
775
+ }
776
+
777
+ td.large-offset-10,
778
+ td.large-offset-10.first,
779
+ td.large-offset-10.last,
780
+ th.large-offset-10,
781
+ th.large-offset-10.first,
782
+ th.large-offset-10.last{
783
+ padding-left: 499.33333px;
784
+ }
785
+
786
+ td.large-offset-11,
787
+ td.large-offset-11.first,
788
+ td.large-offset-11.last,
789
+ th.large-offset-11,
790
+ th.large-offset-11.first,
791
+ th.large-offset-11.last{
792
+ padding-left: 547.66667px;
793
+ }
794
+
795
+ td.expander,
796
+ th.expander{
797
+ visibility: hidden;
798
+ width: 0;
799
+ padding: 0 !important;
800
+ }
801
+
802
+ table.container.radius{
803
+ border-radius: 0;
804
+ border-collapse: separate;
805
+ }
806
+
807
+ .block-grid{
808
+ width: 100%;
809
+ max-width: 580px;
810
+ }
811
+
812
+ .block-grid td{
813
+ display: inline-block;
814
+ padding: 8px;
815
+ }
816
+
817
+ .up-2 td{
818
+ width: 274px !important;
819
+ }
820
+
821
+ .up-3 td{
822
+ width: 177px !important;
823
+ }
824
+
825
+ .up-4 td{
826
+ width: 129px !important;
827
+ }
828
+
829
+ .up-5 td{
830
+ width: 100px !important;
831
+ }
832
+
833
+ .up-6 td{
834
+ width: 80px !important;
835
+ }
836
+
837
+ .up-7 td{
838
+ width: 66px !important;
839
+ }
840
+
841
+ .up-8 td{
842
+ width: 56px !important;
843
+ }
844
+
845
+ table.text-center,
846
+ th.text-center,
847
+ td.text-center,
848
+ h1.text-center,
849
+ h2.text-center,
850
+ h3.text-center,
851
+ h4.text-center,
852
+ h5.text-center,
853
+ h6.text-center,
854
+ p.text-center,
855
+ span.text-center{
856
+ text-align: center;
857
+ }
858
+
859
+ table.text-left,
860
+ th.text-left,
861
+ td.text-left,
862
+ h1.text-left,
863
+ h2.text-left,
864
+ h3.text-left,
865
+ h4.text-left,
866
+ h5.text-left,
867
+ h6.text-left,
868
+ p.text-left,
869
+ span.text-left{
870
+ text-align: left;
871
+ }
872
+
873
+ table.text-right,
874
+ th.text-right,
875
+ td.text-right,
876
+ h1.text-right,
877
+ h2.text-right,
878
+ h3.text-right,
879
+ h4.text-right,
880
+ h5.text-right,
881
+ h6.text-right,
882
+ p.text-right,
883
+ span.text-right{
884
+ text-align: right;
885
+ }
886
+
887
+ span.text-center{
888
+ display: block;
889
+ width: 100%;
890
+ text-align: center;
891
+ }
892
+
893
+ @media only screen and (max-width: 596px){
894
+ .small-float-center{
895
+ margin: 0 auto !important;
896
+ float: none !important;
897
+ text-align: center !important;
898
+ }
899
+
900
+ .small-text-center{
901
+ text-align: center !important;
902
+ }
903
+
904
+ .small-text-left{
905
+ text-align: left !important;
906
+ }
907
+
908
+ .small-text-right{
909
+ text-align: right !important;
910
+ }
911
+ }
912
+
913
+ img.float-left{
914
+ float: left;
915
+ text-align: left;
916
+ }
917
+
918
+ img.float-right{
919
+ float: right;
920
+ text-align: right;
921
+ }
922
+
923
+ img.float-center,
924
+ img.text-center{
925
+ margin: 0 auto;
926
+ float: none;
927
+ text-align: center;
928
+ }
929
+
930
+ table.float-center,
931
+ td.float-center,
932
+ th.float-center{
933
+ margin: 0 auto;
934
+ float: none;
935
+ text-align: center;
936
+ }
937
+
938
+ th.float-right{
939
+ margin: 0 auto;
940
+ float: right;
941
+ text-align: center;
942
+ }
943
+
944
+ /* stylelint-disable property-no-unknown */
945
+ .hide-for-large{
946
+ display: none !important;
947
+ mso-hide: all;
948
+ overflow: hidden;
949
+ max-height: 0;
950
+ font-size: 0;
951
+ width: 0;
952
+ line-height: 0;
953
+ }
954
+ /* stylelint-enable property-no-unknown */
955
+
956
+ @media only screen and (max-width: 596px){
957
+ .hide-for-large{
958
+ display: block !important;
959
+ width: auto !important;
960
+ overflow: visible !important;
961
+ max-height: none !important;
962
+ font-size: inherit !important;
963
+ line-height: inherit !important;
964
+ }
965
+ }
966
+
967
+ /* stylelint-disable property-no-unknown */
968
+ table.body table.container .hide-for-large *{
969
+ mso-hide: all;
970
+ }
971
+ /* stylelint-enable property-no-unknown */
972
+
973
+ @media only screen and (max-width: 596px){
974
+ table.body table.container .hide-for-large,
975
+ table.body table.container .row.hide-for-large{
976
+ display: table !important;
977
+ width: 100% !important;
978
+ }
979
+ }
980
+
981
+ @media only screen and (max-width: 596px){
982
+ table.body table.container .callout-inner.hide-for-large{
983
+ display: table-cell !important;
984
+ width: 100% !important;
985
+ }
986
+ }
987
+
988
+ /* stylelint-disable property-no-unknown */
989
+ @media only screen and (max-width: 596px){
990
+ table.body table.container .show-for-large{
991
+ display: none !important;
992
+ width: 0;
993
+ mso-hide: all;
994
+ overflow: hidden;
995
+ }
996
+ }
997
+ /* stylelint-enable property-no-unknown */
998
+
999
+ body,
1000
+ table.body,
1001
+ h1,
1002
+ h2,
1003
+ h3,
1004
+ h4,
1005
+ h5,
1006
+ h6,
1007
+ p,
1008
+ td,
1009
+ th,
1010
+ a{
1011
+ color: #0a0a0a;
1012
+ font-family: Helvetica, Arial, sans-serif;
1013
+ font-weight: normal;
1014
+ padding: 0;
1015
+ margin: 0;
1016
+ text-align: left;
1017
+ line-height: 1.3;
1018
+ }
1019
+
1020
+ h1,
1021
+ h2,
1022
+ h3,
1023
+ h4,
1024
+ h5,
1025
+ h6{
1026
+ color: inherit;
1027
+ word-wrap: normal;
1028
+ font-family: Helvetica, Arial, sans-serif;
1029
+ font-weight: normal;
1030
+ margin-bottom: 10px;
1031
+ }
1032
+
1033
+ h1{
1034
+ font-size: 34px;
1035
+ }
1036
+
1037
+ h2{
1038
+ font-size: 30px;
1039
+ }
1040
+
1041
+ h3{
1042
+ font-size: 28px;
1043
+ }
1044
+
1045
+ h4{
1046
+ font-size: 24px;
1047
+ }
1048
+
1049
+ h5{
1050
+ font-size: 20px;
1051
+ }
1052
+
1053
+ h6{
1054
+ font-size: 18px;
1055
+ }
1056
+
1057
+ body,
1058
+ table.body,
1059
+ p,
1060
+ td,
1061
+ th{
1062
+ font-size: 16px;
1063
+ line-height: 1.3;
1064
+ }
1065
+
1066
+ p{
1067
+ margin-bottom: 10px;
1068
+ }
1069
+
1070
+ p.lead{
1071
+ font-size: 20px;
1072
+ line-height: 1.6;
1073
+ }
1074
+
1075
+ p.subheader{
1076
+ margin-top: 4px;
1077
+ margin-bottom: 8px;
1078
+ font-weight: normal;
1079
+ line-height: 1.4;
1080
+ color: #8a8a8a;
1081
+ }
1082
+
1083
+ small{
1084
+ font-size: 80%;
1085
+ color: #cacaca;
1086
+ }
1087
+
1088
+ a{
1089
+ color: #5295ad;
1090
+ text-decoration: none;
1091
+ }
1092
+
1093
+ a:hover{
1094
+ color: #147dc2;
1095
+ }
1096
+
1097
+ a:active{
1098
+ color: #147dc2;
1099
+ }
1100
+
1101
+ a:visited{
1102
+ color: #5295ad;
1103
+ }
1104
+
1105
+ h1 a,
1106
+ h1 a:visited,
1107
+ h2 a,
1108
+ h2 a:visited,
1109
+ h3 a,
1110
+ h3 a:visited,
1111
+ h4 a,
1112
+ h4 a:visited,
1113
+ h5 a,
1114
+ h5 a:visited,
1115
+ h6 a,
1116
+ h6 a:visited{
1117
+ color: #5295ad;
1118
+ }
1119
+
1120
+ pre{
1121
+ background: #f3f3f3;
1122
+ margin: 30px 0;
1123
+ }
1124
+
1125
+ pre code{
1126
+ color: #cacaca;
1127
+ }
1128
+
1129
+ pre code span.callout{
1130
+ color: #8a8a8a;
1131
+ font-weight: bold;
1132
+ }
1133
+
1134
+ pre code span.callout-strong{
1135
+ color: #ff6908;
1136
+ font-weight: bold;
1137
+ }
1138
+
1139
+ table.hr{
1140
+ width: 100%;
1141
+ }
1142
+
1143
+ table.hr th{
1144
+ height: 0;
1145
+ max-width: 580px;
1146
+ border-top: 0;
1147
+ border-right: 0;
1148
+ border-bottom: 1px solid #0a0a0a;
1149
+ border-left: 0;
1150
+ margin: 20px auto;
1151
+ clear: both;
1152
+ }
1153
+
1154
+ .stat{
1155
+ font-size: 40px;
1156
+ line-height: 1;
1157
+ }
1158
+
1159
+ p + .stat{
1160
+ margin-top: -16px;
1161
+ }
1162
+
1163
+ /* stylelint-disable property-no-unknown */
1164
+ span.preheader{
1165
+ display: none !important;
1166
+ visibility: hidden;
1167
+ mso-hide: all !important;
1168
+ font-size: 1px;
1169
+ color: #f3f3f3;
1170
+ line-height: 1px;
1171
+ max-height: 0;
1172
+ max-width: 0;
1173
+ opacity: 0;
1174
+ overflow: hidden;
1175
+ }
1176
+ /* stylelint-enable property-no-unknown */
1177
+
1178
+ table.button{
1179
+ width: auto;
1180
+ margin: 0 0 16px;
1181
+ }
1182
+
1183
+ table.button table td{
1184
+ text-align: left;
1185
+ color: #fefefe;
1186
+ background: $primary;
1187
+ border: 2px solid $primary;
1188
+ }
1189
+
1190
+ table.button table td a{
1191
+ font-family: Helvetica, Arial, sans-serif;
1192
+ font-size: 16px;
1193
+ color: #fefefe;
1194
+ text-decoration: none;
1195
+ display: inline-block;
1196
+ padding: 8px 16px;
1197
+ border: 0 solid $primary;
1198
+ border-radius: 3px;
1199
+ }
1200
+
1201
+ table.button.radius table td{
1202
+ border-radius: 4px;
1203
+ border: none;
1204
+ }
1205
+
1206
+ table.button.rounded table td{
1207
+ border-radius: 500px;
1208
+ border: none;
1209
+ }
1210
+
1211
+ table.button:hover table tr td a,
1212
+ table.button:active table tr td a,
1213
+ table.button table tr td a:visited,
1214
+ table.button.tiny:hover table tr td a,
1215
+ table.button.tiny:active table tr td a,
1216
+ table.button.tiny table tr td a:visited,
1217
+ table.button.small:hover table tr td a,
1218
+ table.button.small:active table tr td a,
1219
+ table.button.small table tr td a:visited,
1220
+ table.button.large:hover table tr td a,
1221
+ table.button.large:active table tr td a,
1222
+ table.button.large table tr td a:visited{
1223
+ color: #fefefe;
1224
+ }
1225
+
1226
+ table.button.tiny table td,
1227
+ table.button.tiny table a{
1228
+ padding: 4px 8px;
1229
+ }
1230
+
1231
+ table.button.tiny table a{
1232
+ font-size: 10px;
1233
+ font-weight: normal;
1234
+ }
1235
+
1236
+ table.button.small table td,
1237
+ table.button.small table a{
1238
+ padding: 5px 10px;
1239
+ font-size: 12px;
1240
+ }
1241
+
1242
+ table.button.large table a{
1243
+ padding: 10px 20px;
1244
+ font-size: 20px;
1245
+ }
1246
+
1247
+ table.button.expand,
1248
+ table.button.expanded{
1249
+ width: 100% !important;
1250
+ }
1251
+
1252
+ table.button.expand table,
1253
+ table.button.expanded table{
1254
+ width: 50%;
1255
+ margin: auto;
1256
+ }
1257
+
1258
+ table.button.expand table a,
1259
+ table.button.expanded table a{
1260
+ text-align: center;
1261
+ width: 100%;
1262
+ padding-left: 0;
1263
+ padding-right: 0;
1264
+ }
1265
+
1266
+ table.button.expand center,
1267
+ table.button.expanded center{
1268
+ min-width: 0;
1269
+ }
1270
+
1271
+ table.button:hover table td,
1272
+ table.button:visited table td,
1273
+ table.button:active table td{
1274
+ background: $primary;
1275
+ color: #fefefe;
1276
+ }
1277
+
1278
+ table.button:hover table a,
1279
+ table.button:visited table a,
1280
+ table.button:active table a{
1281
+ border: 0 solid #147dc2;
1282
+ }
1283
+
1284
+ table.button.secondary table td{
1285
+ background: #777;
1286
+ color: #fefefe;
1287
+ border: 0 solid #777;
1288
+ }
1289
+
1290
+ table.button.secondary table a{
1291
+ color: #fefefe;
1292
+ border: 0 solid #777;
1293
+ }
1294
+
1295
+ table.button.secondary:hover table td{
1296
+ background: #919191;
1297
+ color: #fefefe;
1298
+ }
1299
+
1300
+ table.button.secondary:hover table a{
1301
+ border: 0 solid #919191;
1302
+ }
1303
+
1304
+ table.button.secondary:hover table td a{
1305
+ color: #fefefe;
1306
+ }
1307
+
1308
+ table.button.secondary:active table td a{
1309
+ color: #fefefe;
1310
+ }
1311
+
1312
+ table.button.secondary table td a:visited{
1313
+ color: #fefefe;
1314
+ }
1315
+
1316
+ table.button.success table td{
1317
+ background: #3adb76;
1318
+ border: 0 solid #3adb76;
1319
+ }
1320
+
1321
+ table.button.success table a{
1322
+ border: 0 solid #3adb76;
1323
+ }
1324
+
1325
+ table.button.success:hover table td{
1326
+ background: #23bf5d;
1327
+ }
1328
+
1329
+ table.button.success:hover table a{
1330
+ border: 0 solid #23bf5d;
1331
+ }
1332
+
1333
+ table.button.alert table td{
1334
+ background: #ec5840;
1335
+ border: 0 solid #ec5840;
1336
+ }
1337
+
1338
+ table.button.alert table a{
1339
+ border: 0 solid #ec5840;
1340
+ }
1341
+
1342
+ table.button.alert:hover table td{
1343
+ background: #e23317;
1344
+ }
1345
+
1346
+ table.button.alert:hover table a{
1347
+ border: 0 solid #e23317;
1348
+ }
1349
+
1350
+ table.button.warning table td{
1351
+ background: #ffae00;
1352
+ border: 0 solid #ffae00;
1353
+ }
1354
+
1355
+ table.button.warning table a{
1356
+ border: 0 solid #ffae00;
1357
+ }
1358
+
1359
+ table.button.warning:hover table td{
1360
+ background: #cc8b00;
1361
+ }
1362
+
1363
+ table.button.warning:hover table a{
1364
+ border: 0 solid #cc8b00;
1365
+ }
1366
+
1367
+ table.callout{
1368
+ margin-bottom: 16px;
1369
+ }
1370
+
1371
+ th.callout-inner{
1372
+ width: 100%;
1373
+ border: 1px solid #cbcbcb;
1374
+ padding: 10px;
1375
+ background: #fefefe;
1376
+ }
1377
+
1378
+ th.callout-inner.primary{
1379
+ background: #def0fc;
1380
+ border: 1px solid #444;
1381
+ color: #0a0a0a;
1382
+ }
1383
+
1384
+ th.callout-inner.secondary{
1385
+ background: #ebebeb;
1386
+ border: 1px solid #444;
1387
+ color: #0a0a0a;
1388
+ }
1389
+
1390
+ th.callout-inner.success{
1391
+ background: #e1faea;
1392
+ border: 1px solid #1b9448;
1393
+ color: #fefefe;
1394
+ }
1395
+
1396
+ th.callout-inner.warning{
1397
+ background: #fff3d9;
1398
+ border: 1px solid #996800;
1399
+ color: #fefefe;
1400
+ }
1401
+
1402
+ th.callout-inner.alert{
1403
+ background: #fce6e2;
1404
+ border: 1px solid #b42912;
1405
+ color: #fefefe;
1406
+ }
1407
+
1408
+ .thumbnail{
1409
+ border: solid 4px #fefefe;
1410
+ box-shadow: 0 0 0 1px rgba(10, 10, 10, .2);
1411
+ display: inline-block;
1412
+ line-height: 0;
1413
+ max-width: 100%;
1414
+ transition: box-shadow 200ms ease-out;
1415
+ border-radius: 3px;
1416
+ margin-bottom: 16px;
1417
+ }
1418
+
1419
+ .thumbnail:hover,
1420
+ .thumbnail:focus{
1421
+ box-shadow: 0 0 6px 1px rgba(33, 153, 232, .5);
1422
+ }
1423
+
1424
+ table.menu{
1425
+ width: 580px;
1426
+ }
1427
+
1428
+ table.menu td.menu-item,
1429
+ table.menu th.menu-item{
1430
+ padding: 10px;
1431
+ padding-right: 10px;
1432
+ }
1433
+
1434
+ table.menu td.menu-item a,
1435
+ table.menu th.menu-item a{
1436
+ color: #5295ad;
1437
+ }
1438
+
1439
+ table.menu.vertical td.menu-item,
1440
+ table.menu.vertical th.menu-item{
1441
+ padding: 10px;
1442
+ padding-right: 0;
1443
+ display: block;
1444
+ }
1445
+
1446
+ table.menu.vertical td.menu-item a,
1447
+ table.menu.vertical th.menu-item a{
1448
+ width: 100%;
1449
+ }
1450
+
1451
+ table.menu.vertical td.menu-item table.menu.vertical td.menu-item,
1452
+ table.menu.vertical td.menu-item table.menu.vertical th.menu-item,
1453
+ table.menu.vertical th.menu-item table.menu.vertical td.menu-item,
1454
+ table.menu.vertical th.menu-item table.menu.vertical th.menu-item{
1455
+ padding-left: 10px;
1456
+ }
1457
+
1458
+ table.menu.text-center a{
1459
+ text-align: center;
1460
+ }
1461
+
1462
+ .menu[align="center"]{
1463
+ width: auto !important;
1464
+ }
1465
+
1466
+ body.outlook p{
1467
+ display: inline !important;
1468
+ }
1469
+
1470
+ @media only screen and (max-width: 596px){
1471
+ table.body img{
1472
+ width: auto;
1473
+ height: auto;
1474
+ }
1475
+
1476
+ table.body center{
1477
+ min-width: 0 !important;
1478
+ }
1479
+
1480
+ table.body .container{
1481
+ width: 95% !important;
1482
+ }
1483
+
1484
+ table.body .columns,
1485
+ table.body .column{
1486
+ height: auto !important;
1487
+ -moz-box-sizing: border-box;
1488
+ -webkit-box-sizing: border-box;
1489
+ box-sizing: border-box;
1490
+ padding-left: 16px !important;
1491
+ padding-right: 16px !important;
1492
+ }
1493
+
1494
+ table.body .columns .column,
1495
+ table.body .columns .columns,
1496
+ table.body .column .column,
1497
+ table.body .column .columns{
1498
+ padding-left: 0 !important;
1499
+ padding-right: 0 !important;
1500
+ }
1501
+
1502
+ table.body .collapse .columns,
1503
+ table.body .collapse .column{
1504
+ padding-left: 0 !important;
1505
+ padding-right: 0 !important;
1506
+ }
1507
+
1508
+ td.small-1,
1509
+ th.small-1{
1510
+ display: inline-block !important;
1511
+ width: 8.33333% !important;
1512
+ }
1513
+
1514
+ td.small-2,
1515
+ th.small-2{
1516
+ display: inline-block !important;
1517
+ width: 16.66667% !important;
1518
+ }
1519
+
1520
+ td.small-3,
1521
+ th.small-3{
1522
+ display: inline-block !important;
1523
+ width: 25% !important;
1524
+ }
1525
+
1526
+ td.small-4,
1527
+ th.small-4{
1528
+ display: inline-block !important;
1529
+ width: 33.33333% !important;
1530
+ }
1531
+
1532
+ td.small-5,
1533
+ th.small-5{
1534
+ display: inline-block !important;
1535
+ width: 41.66667% !important;
1536
+ }
1537
+
1538
+ td.small-6,
1539
+ th.small-6{
1540
+ display: inline-block !important;
1541
+ width: 50% !important;
1542
+ }
1543
+
1544
+ td.small-7,
1545
+ th.small-7{
1546
+ display: inline-block !important;
1547
+ width: 58.33333% !important;
1548
+ }
1549
+
1550
+ td.small-8,
1551
+ th.small-8{
1552
+ display: inline-block !important;
1553
+ width: 66.66667% !important;
1554
+ }
1555
+
1556
+ td.small-9,
1557
+ th.small-9{
1558
+ display: inline-block !important;
1559
+ width: 75% !important;
1560
+ }
1561
+
1562
+ td.small-10,
1563
+ th.small-10{
1564
+ display: inline-block !important;
1565
+ width: 83.33333% !important;
1566
+ }
1567
+
1568
+ td.small-11,
1569
+ th.small-11{
1570
+ display: inline-block !important;
1571
+ width: 91.66667% !important;
1572
+ }
1573
+
1574
+ td.small-12,
1575
+ th.small-12{
1576
+ display: inline-block !important;
1577
+ width: 100% !important;
1578
+ }
1579
+
1580
+ .columns td.small-12,
1581
+ .column td.small-12,
1582
+ .columns th.small-12,
1583
+ .column th.small-12{
1584
+ display: block !important;
1585
+ width: 100% !important;
1586
+ }
1587
+
1588
+ table.body td.small-offset-1,
1589
+ table.body th.small-offset-1{
1590
+ margin-left: 8.33333% !important;
1591
+ }
1592
+
1593
+ table.body td.small-offset-2,
1594
+ table.body th.small-offset-2{
1595
+ margin-left: 16.66667% !important;
1596
+ }
1597
+
1598
+ table.body td.small-offset-3,
1599
+ table.body th.small-offset-3{
1600
+ margin-left: 25% !important;
1601
+ }
1602
+
1603
+ table.body td.small-offset-4,
1604
+ table.body th.small-offset-4{
1605
+ margin-left: 33.33333% !important;
1606
+ }
1607
+
1608
+ table.body td.small-offset-5,
1609
+ table.body th.small-offset-5{
1610
+ margin-left: 41.66667% !important;
1611
+ }
1612
+
1613
+ table.body td.small-offset-6,
1614
+ table.body th.small-offset-6{
1615
+ margin-left: 50% !important;
1616
+ }
1617
+
1618
+ table.body td.small-offset-7,
1619
+ table.body th.small-offset-7{
1620
+ margin-left: 58.33333% !important;
1621
+ }
1622
+
1623
+ table.body td.small-offset-8,
1624
+ table.body th.small-offset-8{
1625
+ margin-left: 66.66667% !important;
1626
+ }
1627
+
1628
+ table.body td.small-offset-9,
1629
+ table.body th.small-offset-9{
1630
+ margin-left: 75% !important;
1631
+ }
1632
+
1633
+ table.body td.small-offset-10,
1634
+ table.body th.small-offset-10{
1635
+ margin-left: 83.33333% !important;
1636
+ }
1637
+
1638
+ table.body td.small-offset-11,
1639
+ table.body th.small-offset-11{
1640
+ margin-left: 91.66667% !important;
1641
+ }
1642
+
1643
+ table.body table.columns td.expander,
1644
+ table.body table.columns th.expander{
1645
+ display: none !important;
1646
+ }
1647
+
1648
+ table.body .right-text-pad,
1649
+ table.body .text-pad-right{
1650
+ padding-left: 10px !important;
1651
+ }
1652
+
1653
+ table.body .left-text-pad,
1654
+ table.body .text-pad-left{
1655
+ padding-right: 10px !important;
1656
+ }
1657
+
1658
+ table.menu{
1659
+ width: 100% !important;
1660
+ }
1661
+
1662
+ table.menu td,
1663
+ table.menu th{
1664
+ width: auto !important;
1665
+ display: inline-block !important;
1666
+ }
1667
+
1668
+ table.menu.vertical td,
1669
+ table.menu.vertical th,
1670
+ table.menu.small-vertical td,
1671
+ table.menu.small-vertical th{
1672
+ display: block !important;
1673
+ }
1674
+
1675
+ table.menu[align="center"]{
1676
+ width: auto !important;
1677
+ }
1678
+
1679
+ table.button.small-expand,
1680
+ table.button.small-expanded{
1681
+ width: 100% !important;
1682
+ }
1683
+
1684
+ table.button.small-expand table,
1685
+ table.button.small-expanded table{
1686
+ width: 100%;
1687
+ }
1688
+
1689
+ table.button.small-expand table a,
1690
+ table.button.small-expanded table a{
1691
+ text-align: center !important;
1692
+ width: 100% !important;
1693
+ padding-left: 0 !important;
1694
+ padding-right: 0 !important;
1695
+ }
1696
+
1697
+ table.button.small-expand center,
1698
+ table.button.small-expanded center{
1699
+ min-width: 0;
1700
+ }
1701
+ }
1702
+
1703
+ /* 2 - Custom styles --------- */
1704
+
1705
+ table.body th.decidim-bar,
1706
+ table.body td.decidim-bar{
1707
+ padding: 10px 0;
1708
+ background-color: #1a181d;
1709
+ }
1710
+
1711
+ table.body{
1712
+ background-color: #f3f3f3;
1713
+ margin: 20px 0;
1714
+ }
1715
+
1716
+ .decidim-logo{
1717
+ margin-top: 16px;
1718
+ }
1719
+
1720
+ .decidim-logo a{
1721
+ display: inline-block;
1722
+ height: 30px;
1723
+ }
1724
+
1725
+ .cityhall-bar{
1726
+ background-color: #2c2930;
1727
+ }
1728
+
1729
+ .cityhall-logo{
1730
+ width: 150px;
1731
+ margin-top: 16px;
1732
+ }
1733
+
1734
+ .footnote,
1735
+ .headnote{
1736
+ padding-top: 10px;
1737
+ color: #666;
1738
+ font-size: 12px;
1739
+ }
1740
+
1741
+ table.container.main{
1742
+ background: #fefefe;
1743
+ }
1744
+
1745
+ .custom-button{
1746
+ display: block;
1747
+ text-align: center;
1748
+ border-radius: 4px;
1749
+ line-height: 1;
1750
+ padding: .58em 1em;
1751
+ background: red;
1752
+ }
1753
+
1754
+ .button--sc{
1755
+ letter-spacing: .05em;
1756
+ font-weight: 600;
1757
+ text-transform: uppercase;
1758
+
1759
+ &.large{
1760
+ font-size: 1rem;
1761
+ }
1762
+ }
1763
+
1764
+ table.content.image img{
1765
+ width: 100%;
1766
+ }
1767
+
1768
+ th,
1769
+ td{
1770
+ box-sizing: border-box;
1771
+ }