decidim-admin 0.27.9 → 0.28.0.rc4
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of decidim-admin might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/app/cells/decidim/admin/attachments_privacy_warning/show.erb +1 -1
- data/app/cells/decidim/admin/content_block/show.erb +11 -6
- data/app/cells/decidim/admin/content_block_cell.rb +21 -7
- data/app/cells/decidim/admin/homepage_content_block_cell.rb +19 -0
- data/app/cells/decidim/admin/results_per_page/show.erb +1 -1
- data/app/cells/decidim/admin/static_page_content_block_cell.rb +21 -0
- data/app/commands/decidim/admin/block_user.rb +15 -11
- data/app/commands/decidim/admin/close_session_managed_user.rb +1 -1
- data/app/commands/decidim/admin/content_blocks/create_content_block.rb +50 -0
- data/app/commands/decidim/admin/content_blocks/destroy_content_block.rb +36 -0
- data/app/commands/decidim/admin/content_blocks/reorder_content_blocks.rb +88 -0
- data/app/commands/decidim/admin/content_blocks/update_content_block.rb +81 -0
- data/app/commands/decidim/admin/create_area.rb +1 -1
- data/app/commands/decidim/admin/create_area_type.rb +1 -1
- data/app/commands/decidim/admin/create_attachment.rb +1 -1
- data/app/commands/decidim/admin/create_attachment_collection.rb +1 -1
- data/app/commands/decidim/admin/create_category.rb +1 -1
- data/app/commands/decidim/admin/create_newsletter.rb +1 -1
- data/app/commands/decidim/admin/create_participatory_space_private_user.rb +3 -3
- data/app/commands/decidim/admin/create_scope.rb +1 -1
- data/app/commands/decidim/admin/create_scope_type.rb +1 -1
- data/app/commands/decidim/admin/create_static_page.rb +1 -1
- data/app/commands/decidim/admin/create_static_page_topic.rb +1 -1
- data/app/commands/decidim/admin/destroy_area.rb +1 -1
- data/app/commands/decidim/admin/destroy_category.rb +2 -2
- data/app/commands/decidim/admin/destroy_participatory_space_private_user.rb +1 -1
- data/app/commands/decidim/admin/destroy_scope.rb +1 -1
- data/app/commands/decidim/admin/destroy_share_token.rb +1 -1
- data/app/commands/decidim/admin/destroy_static_page_topic.rb +1 -1
- data/app/commands/decidim/admin/hide_resource.rb +9 -35
- data/app/commands/decidim/admin/impersonate_user.rb +1 -1
- data/app/commands/decidim/admin/invite_admin.rb +1 -1
- data/app/commands/decidim/admin/participatory_space/create_admin.rb +132 -0
- data/app/commands/decidim/admin/participatory_space/destroy_admin.rb +61 -0
- data/app/commands/decidim/admin/participatory_space/publish.rb +41 -0
- data/app/commands/decidim/admin/participatory_space/unpublish.rb +41 -0
- data/app/commands/decidim/admin/participatory_space/update_admin.rb +72 -0
- data/app/commands/decidim/admin/process_participatory_space_private_user_import_csv.rb +4 -6
- data/app/commands/decidim/admin/process_user_group_verification_csv.rb +4 -7
- data/app/commands/decidim/admin/promote_managed_user.rb +1 -1
- data/app/commands/decidim/admin/reject_user_group.rb +1 -1
- data/app/commands/decidim/admin/update_area.rb +1 -1
- data/app/commands/decidim/admin/update_area_type.rb +1 -1
- data/app/commands/decidim/admin/update_attachment.rb +1 -1
- data/app/commands/decidim/admin/update_attachment_collection.rb +1 -1
- data/app/commands/decidim/admin/update_category.rb +1 -1
- data/app/commands/decidim/admin/update_component_permissions.rb +2 -2
- data/app/commands/decidim/admin/update_newsletter.rb +1 -1
- data/app/commands/decidim/admin/update_organization.rb +2 -2
- data/app/commands/decidim/admin/update_organization_appearance.rb +5 -7
- data/app/commands/decidim/admin/update_organization_tos_version.rb +3 -3
- data/app/commands/decidim/admin/update_resource_permissions.rb +1 -1
- data/app/commands/decidim/admin/update_scope.rb +1 -1
- data/app/commands/decidim/admin/update_scope_type.rb +1 -1
- data/app/commands/decidim/admin/update_static_page.rb +1 -1
- data/app/commands/decidim/admin/update_static_page_topic.rb +1 -1
- data/app/commands/decidim/admin/update_user_groups.rb +1 -1
- data/app/controllers/concerns/decidim/admin/content_blocks/landing_page.rb +130 -0
- data/app/controllers/concerns/decidim/admin/content_blocks/landing_page_content_blocks.rb +158 -0
- data/app/controllers/concerns/decidim/admin/filterable.rb +3 -3
- data/app/controllers/concerns/decidim/admin/global_moderation_context.rb +1 -20
- data/app/controllers/concerns/decidim/admin/logs/filterable.rb +31 -0
- data/app/controllers/concerns/decidim/admin/participatory_space_admin_breadcrumb.rb +38 -0
- data/app/controllers/concerns/decidim/admin/participatory_space_admin_context.rb +3 -2
- data/app/controllers/decidim/admin/admin_terms_controller.rb +3 -3
- data/app/controllers/decidim/admin/application_controller.rb +6 -2
- data/app/controllers/decidim/admin/area_types_controller.rb +10 -3
- data/app/controllers/decidim/admin/areas_controller.rb +10 -3
- data/app/controllers/decidim/admin/authorization_workflows_controller.rb +1 -3
- data/app/controllers/decidim/admin/block_user_controller.rb +4 -3
- data/app/controllers/decidim/admin/categories_controller.rb +20 -12
- data/app/controllers/decidim/admin/component_permissions_controller.rb +2 -2
- data/app/controllers/decidim/admin/components/base_controller.rb +16 -1
- data/app/controllers/decidim/admin/components_controller.rb +13 -1
- data/app/controllers/decidim/admin/concerns/has_attachment_collections.rb +4 -10
- data/app/controllers/decidim/admin/concerns/has_attachments.rb +10 -16
- data/app/controllers/decidim/admin/concerns/has_breadcrumb_items.rb +27 -0
- data/app/controllers/decidim/admin/concerns/has_content_blocks.rb +23 -0
- data/app/controllers/decidim/admin/concerns/has_private_users.rb +4 -4
- data/app/controllers/decidim/admin/concerns/has_private_users_csv_import.rb +2 -2
- data/app/controllers/decidim/admin/concerns/has_tabbed_menu.rb +21 -0
- data/app/controllers/decidim/admin/conflicts_controller.rb +3 -9
- data/app/controllers/decidim/admin/dashboard_controller.rb +8 -3
- data/app/controllers/decidim/admin/exports_controller.rb +21 -4
- data/app/controllers/decidim/admin/help_sections_controller.rb +3 -1
- data/app/controllers/decidim/admin/impersonatable_users_controller.rb +3 -1
- data/app/controllers/decidim/admin/impersonations_controller.rb +8 -9
- data/app/controllers/decidim/admin/imports_controller.rb +24 -6
- data/app/controllers/decidim/admin/logs_controller.rb +20 -8
- data/app/controllers/decidim/admin/managed_users/impersonation_logs_controller.rb +1 -3
- data/app/controllers/decidim/admin/managed_users/promotions_controller.rb +2 -2
- data/app/controllers/decidim/admin/metrics_controller.rb +1 -1
- data/app/controllers/decidim/admin/moderated_users_controller.rb +7 -4
- data/app/controllers/decidim/admin/newsletters_controller.rb +16 -7
- data/app/controllers/decidim/admin/officializations_controller.rb +3 -3
- data/app/controllers/decidim/admin/organization_appearance_controller.rb +3 -0
- data/app/controllers/decidim/admin/organization_controller.rb +6 -7
- data/app/controllers/decidim/admin/organization_external_domain_whitelist_controller.rb +2 -0
- data/app/controllers/decidim/admin/organization_homepage_content_blocks_controller.rb +12 -41
- data/app/controllers/decidim/admin/organization_homepage_controller.rb +15 -33
- data/app/controllers/decidim/admin/participatory_space/user_role_controller.rb +119 -0
- data/app/controllers/decidim/admin/reminders_controller.rb +1 -1
- data/app/controllers/decidim/admin/resource_permissions_controller.rb +1 -1
- data/app/controllers/decidim/admin/scope_types_controller.rb +10 -3
- data/app/controllers/decidim/admin/scopes_controller.rb +10 -3
- data/app/controllers/decidim/admin/share_tokens_controller.rb +1 -1
- data/app/controllers/decidim/admin/space_publications_controller.rb +53 -0
- data/app/controllers/decidim/admin/static_page_content_blocks_controller.rb +40 -0
- data/app/controllers/decidim/admin/static_page_topics_controller.rb +18 -7
- data/app/controllers/decidim/admin/static_pages_controller.rb +33 -6
- data/app/controllers/decidim/admin/users_controller.rb +2 -2
- data/app/events/decidim/attachment_created_event.rb +1 -1
- data/app/events/decidim/component_published_event.rb +1 -12
- data/app/events/decidim/resource_hidden_event.rb +2 -6
- data/app/forms/decidim/admin/area_form.rb +1 -1
- data/app/forms/decidim/admin/block_user_form.rb +1 -0
- data/app/forms/decidim/admin/category_form.rb +1 -1
- data/app/forms/decidim/admin/managed_user_promotion_form.rb +1 -1
- data/app/forms/decidim/admin/organization_appearance_form.rb +7 -12
- data/app/forms/decidim/admin/organization_form.rb +2 -2
- data/app/forms/decidim/admin/participatory_space_admin_user_form.rb +16 -0
- data/app/forms/decidim/admin/participatory_space_private_user_csv_import_form.rb +3 -5
- data/app/forms/decidim/admin/scope_form.rb +1 -1
- data/app/forms/decidim/admin/selective_newsletter_form.rb +1 -1
- data/app/forms/decidim/admin/static_page_form.rb +3 -3
- data/app/helpers/decidim/admin/admin_terms_helper.rb +10 -10
- data/app/helpers/decidim/admin/application_helper.rb +1 -14
- data/app/helpers/decidim/admin/attributes_display_helper.rb +1 -1
- data/app/helpers/decidim/admin/bulk_actions_helper.rb +2 -2
- data/app/helpers/decidim/admin/dashboard_helper.rb +3 -3
- data/app/helpers/decidim/admin/exports_helper.rb +26 -2
- data/app/helpers/decidim/admin/filterable_helper.rb +2 -2
- data/app/helpers/decidim/admin/icon_link_helper.rb +12 -11
- data/app/helpers/decidim/admin/icon_with_tooltip_helper.rb +22 -0
- data/app/helpers/decidim/admin/imports_helper.rb +1 -1
- data/app/helpers/decidim/admin/logs_helper.rb +18 -0
- data/app/helpers/decidim/admin/menu_helper.rb +61 -1
- data/app/helpers/decidim/admin/moderations/reports_helper.rb +3 -2
- data/app/helpers/decidim/admin/newsletters_helper.rb +4 -4
- data/app/helpers/decidim/admin/paginable/per_page_helper.rb +1 -1
- data/app/helpers/decidim/admin/resource_permissions_helper.rb +2 -2
- data/app/helpers/decidim/admin/search_form_helper.rb +19 -0
- data/app/helpers/decidim/admin/settings_helper.rb +9 -8
- data/app/jobs/decidim/admin/application_job.rb +1 -1
- data/app/jobs/decidim/admin/expire_impersonation_job.rb +1 -1
- data/app/jobs/decidim/admin/import_participatory_space_private_user_csv_job.rb +2 -2
- data/app/jobs/decidim/admin/newsletter_job.rb +1 -1
- data/app/mailers/decidim/admin/application_mailer.rb +12 -0
- data/app/packs/entrypoints/decidim_admin.js +2 -23
- data/app/packs/entrypoints/decidim_admin.scss +1 -1
- data/app/packs/src/decidim/admin/application.js +0 -12
- data/app/packs/src/decidim/admin/officializations.js +21 -3
- data/app/packs/src/decidim/admin/participatory_space_search.js +268 -0
- data/app/packs/src/decidim/admin/scope_picker_enabler.component.js +2 -2
- data/app/packs/src/decidim/admin/sortable.js +0 -2
- data/app/packs/src/decidim/admin/tab_focus.js +3 -3
- data/app/packs/src/decidim/admin/toggle_nav.js +1 -1
- data/app/packs/src/decidim/admin/triadic_color_picker.js +128 -0
- data/app/packs/stylesheets/decidim/admin/_bulk_actions.scss +16 -0
- data/app/packs/stylesheets/decidim/admin/_cards.scss +171 -0
- data/app/packs/stylesheets/decidim/admin/_color_picker.scss +61 -0
- data/app/packs/stylesheets/decidim/admin/_component-show.scss +95 -0
- data/app/packs/stylesheets/decidim/admin/_data_picker.scss +55 -0
- data/app/packs/stylesheets/decidim/admin/_dropdown.scss +35 -0
- data/app/packs/stylesheets/decidim/admin/_filters.scss +94 -0
- data/app/packs/stylesheets/decidim/admin/_forms.scss +81 -0
- data/app/packs/stylesheets/decidim/admin/_item_edit.scss +122 -0
- data/app/packs/stylesheets/decidim/admin/_item_show.scss +69 -0
- data/app/packs/stylesheets/decidim/admin/_layout.scss +79 -0
- data/app/packs/stylesheets/decidim/admin/_legacy_foundation.scss +482 -0
- data/app/packs/stylesheets/decidim/admin/_logs.scss +80 -0
- data/app/packs/stylesheets/decidim/admin/_main-nav.scss +93 -0
- data/app/packs/stylesheets/decidim/admin/_minimap.scss +59 -0
- data/app/packs/stylesheets/decidim/admin/_moderations.scss +36 -0
- data/app/packs/stylesheets/decidim/admin/_secondary-nav.scss +111 -0
- data/app/packs/stylesheets/decidim/admin/_show_email.scss +19 -0
- data/app/packs/stylesheets/decidim/admin/_sidebar-menu.scss +66 -0
- data/app/packs/stylesheets/decidim/admin/_table-list.scss +155 -0
- data/app/packs/stylesheets/decidim/admin/_tabs.scss +74 -0
- data/app/packs/stylesheets/decidim/admin/_title-bar.scss +62 -0
- data/app/packs/stylesheets/decidim/admin/_user-login.scss +9 -0
- data/app/packs/stylesheets/decidim/admin/application.scss +37 -21
- data/app/permissions/decidim/admin/permissions.rb +2 -2
- data/app/presenters/decidim/admin/aside_menu_presenter.rb +25 -0
- data/app/presenters/decidim/admin/dashboard_metric_charts_presenter.rb +0 -26
- data/app/presenters/decidim/admin/secondary_menu_presenter.rb +5 -9
- data/app/presenters/decidim/admin/simple_menu_presenter.rb +2 -2
- data/app/queries/decidim/admin/active_users_counter.rb +1 -1
- data/app/queries/decidim/admin/invites.rb +58 -0
- data/app/queries/decidim/admin/moderation_stats.rb +53 -0
- data/app/views/decidim/admin/admin_terms/show.html.erb +15 -10
- data/app/views/decidim/admin/area_types/_form.html.erb +11 -6
- data/app/views/decidim/admin/area_types/edit.html.erb +14 -12
- data/app/views/decidim/admin/area_types/index.html.erb +35 -33
- data/app/views/decidim/admin/area_types/new.html.erb +14 -12
- data/app/views/decidim/admin/areas/_form.html.erb +12 -8
- data/app/views/decidim/admin/areas/edit.html.erb +14 -12
- data/app/views/decidim/admin/areas/index.html.erb +40 -38
- data/app/views/decidim/admin/areas/new.html.erb +14 -12
- data/app/views/decidim/admin/attachment_collections/_form.html.erb +12 -14
- data/app/views/decidim/admin/attachment_collections/edit.html.erb +17 -5
- data/app/views/decidim/admin/attachment_collections/index.html.erb +35 -40
- data/app/views/decidim/admin/attachment_collections/new.html.erb +16 -5
- data/app/views/decidim/admin/attachments/_form.html.erb +18 -22
- data/app/views/decidim/admin/attachments/edit.html.erb +17 -5
- data/app/views/decidim/admin/attachments/index.html.erb +45 -48
- data/app/views/decidim/admin/attachments/new.html.erb +16 -5
- data/app/views/decidim/admin/authorization_workflows/index.html.erb +7 -0
- data/app/views/decidim/admin/block_user/new.html.erb +39 -18
- data/app/views/decidim/admin/categories/_form.html.erb +13 -15
- data/app/views/decidim/admin/categories/edit.html.erb +16 -5
- data/app/views/decidim/admin/categories/index.html.erb +44 -55
- data/app/views/decidim/admin/categories/new.html.erb +16 -5
- data/app/views/decidim/admin/components/_actions.html.erb +17 -16
- data/app/views/decidim/admin/components/_component.html.erb +5 -3
- data/app/views/decidim/admin/components/_form.html.erb +87 -47
- data/app/views/decidim/admin/components/_resource_action.html.erb +9 -0
- data/app/views/decidim/admin/components/_settings_fields.html.erb +11 -8
- data/app/views/decidim/admin/components/edit.html.erb +16 -5
- data/app/views/decidim/admin/components/index.html.erb +23 -18
- data/app/views/decidim/admin/components/new.html.erb +16 -5
- data/app/views/decidim/admin/conflicts/edit.html.erb +24 -26
- data/app/views/decidim/admin/conflicts/index.html.erb +23 -26
- data/app/views/decidim/admin/dashboard/_pending_moderations.html.erb +12 -0
- data/app/views/decidim/admin/dashboard/show.html.erb +26 -20
- data/app/views/decidim/admin/devise/mailers/password_change.html.erb +1 -1
- data/app/views/decidim/admin/devise/mailers/reset_password_instructions.html.erb +2 -2
- data/app/views/decidim/admin/exports/_dropdown.html.erb +11 -4
- data/app/views/decidim/admin/help_sections/_form.html.erb +34 -18
- data/app/views/decidim/admin/impersonatable_users/index.html.erb +46 -53
- data/app/views/decidim/admin/impersonations/_form.html.erb +53 -35
- data/app/views/decidim/admin/impersonations/new.html.erb +21 -19
- data/app/views/decidim/admin/imports/_dropdown.html.erb +5 -2
- data/app/views/decidim/admin/imports/new.html.erb +54 -43
- data/app/views/decidim/admin/logs/_filters.html.erb +37 -0
- data/app/views/decidim/admin/logs/_logs_list.html.erb +4 -3
- data/app/views/decidim/admin/logs/index.html.erb +3 -6
- data/app/views/decidim/admin/managed_users/impersonation_logs/index.html.erb +27 -28
- data/app/views/decidim/admin/managed_users/promotions/_form.html.erb +8 -2
- data/app/views/decidim/admin/managed_users/promotions/new.html.erb +17 -15
- data/app/views/decidim/admin/metrics/_metrics.html.erb +1 -6
- data/app/views/decidim/admin/metrics/index.html.erb +1 -1
- data/app/views/decidim/admin/moderated_users/_report.html.erb +1 -5
- data/app/views/decidim/admin/moderated_users/index.html.erb +58 -75
- data/app/views/decidim/admin/moderations/index.html.erb +91 -101
- data/app/views/decidim/admin/moderations/reports/index.html.erb +91 -92
- data/app/views/decidim/admin/moderations/reports/show.html.erb +51 -49
- data/app/views/decidim/admin/newsletter_templates/index.html.erb +12 -11
- data/app/views/decidim/admin/newsletter_templates/show.html.erb +8 -6
- data/app/views/decidim/admin/newsletters/_form.html.erb +10 -4
- data/app/views/decidim/admin/newsletters/edit.html.erb +21 -12
- data/app/views/decidim/admin/newsletters/index.html.erb +57 -57
- data/app/views/decidim/admin/newsletters/new.html.erb +20 -12
- data/app/views/decidim/admin/newsletters/select_recipients_to_deliver.html.erb +53 -55
- data/app/views/decidim/admin/newsletters/show.html.erb +24 -17
- data/app/views/decidim/admin/officializations/_show_email_modal.html.erb +20 -21
- data/app/views/decidim/admin/officializations/index.html.erb +55 -62
- data/app/views/decidim/admin/officializations/new.html.erb +24 -16
- data/app/views/decidim/admin/officializations/show_email.html.erb +0 -1
- data/app/views/decidim/admin/organization/_form.html.erb +76 -90
- data/app/views/decidim/admin/organization/edit.html.erb +19 -11
- data/app/views/decidim/admin/organization_appearance/_form.html.erb +72 -57
- data/app/views/decidim/admin/organization_appearance/edit.html.erb +17 -6
- data/app/views/decidim/admin/organization_appearance/form/_colors.html.erb +63 -24
- data/app/views/decidim/admin/organization_appearance/form/_header_snippets.html.erb +17 -0
- data/app/views/decidim/admin/organization_appearance/form/_images.html.erb +39 -40
- data/app/views/decidim/admin/organization_appearance/form/_minimap.html.erb +5 -14
- data/app/views/decidim/admin/organization_external_domain_whitelist/_external_domain.html.erb +18 -13
- data/app/views/decidim/admin/organization_external_domain_whitelist/_form.html.erb +8 -10
- data/app/views/decidim/admin/organization_external_domain_whitelist/edit.html.erb +17 -6
- data/app/views/decidim/admin/participatory_space_private_users/_form.html.erb +10 -14
- data/app/views/decidim/admin/participatory_space_private_users/index.html.erb +59 -60
- data/app/views/decidim/admin/participatory_space_private_users/new.html.erb +17 -5
- data/app/views/decidim/admin/participatory_space_private_users_csv_imports/new.html.erb +28 -11
- data/app/views/decidim/admin/reminders/new.html.erb +18 -16
- data/app/views/decidim/admin/resource_permissions/edit.html.erb +46 -47
- data/app/views/decidim/admin/scope_types/_form.html.erb +9 -6
- data/app/views/decidim/admin/scope_types/edit.html.erb +17 -11
- data/app/views/decidim/admin/scope_types/index.html.erb +40 -34
- data/app/views/decidim/admin/scope_types/new.html.erb +17 -11
- data/app/views/decidim/admin/scopes/_form.html.erb +11 -9
- data/app/views/decidim/admin/scopes/edit.html.erb +17 -11
- data/app/views/decidim/admin/scopes/index.html.erb +39 -41
- data/app/views/decidim/admin/scopes/new.html.erb +17 -11
- data/app/views/decidim/admin/share_tokens/_share_tokens.html.erb +3 -15
- data/app/views/decidim/admin/shared/_admin_confirm_modal.html.erb +18 -0
- data/app/views/decidim/admin/shared/_filters.html.erb +6 -10
- data/app/views/decidim/admin/shared/_gallery.html.erb +8 -19
- data/app/views/decidim/admin/shared/_js-callout.html.erb +4 -2
- data/app/views/decidim/admin/shared/landing_page/_content_blocks.html.erb +68 -0
- data/app/views/decidim/admin/shared/landing_page/edit.html.erb +1 -47
- data/app/views/decidim/admin/shared/landing_page_content_blocks/edit.html.erb +24 -14
- data/app/views/decidim/admin/static_page_topics/_form.html.erb +2 -2
- data/app/views/decidim/admin/static_page_topics/edit.html.erb +21 -11
- data/app/views/decidim/admin/static_page_topics/index.html.erb +41 -0
- data/app/views/decidim/admin/static_page_topics/new.html.erb +21 -11
- data/app/views/decidim/admin/static_pages/_form.html.erb +41 -26
- data/app/views/decidim/admin/static_pages/_form_notable_changes.html.erb +2 -3
- data/app/views/decidim/admin/static_pages/_topic.html.erb +40 -44
- data/app/views/decidim/admin/static_pages/edit.html.erb +22 -12
- data/app/views/decidim/admin/static_pages/index.html.erb +14 -2
- data/app/views/decidim/admin/static_pages/new.html.erb +15 -11
- data/app/views/decidim/admin/user_groups/index.html.erb +58 -58
- data/app/views/decidim/admin/user_groups_csv_verifications/new.html.erb +28 -17
- data/app/views/decidim/admin/users/_form.html.erb +14 -8
- data/app/views/decidim/admin/users/index.html.erb +52 -54
- data/app/views/decidim/admin/users/new.html.erb +15 -12
- data/app/views/layouts/decidim/admin/_admin_timeout_modal.html.erb +24 -0
- data/app/views/layouts/decidim/admin/_application.html.erb +50 -12
- data/app/views/layouts/decidim/admin/_breadcrumb.html.erb +26 -0
- data/app/views/layouts/decidim/admin/_callouts_full.html.erb +2 -13
- data/app/views/layouts/decidim/admin/_header.html.erb +2 -6
- data/app/views/layouts/decidim/admin/_js_configuration.html.erb +3 -6
- data/app/views/layouts/decidim/admin/_sidebar_menu.html.erb +24 -0
- data/app/views/layouts/decidim/admin/_title_bar.html.erb +36 -37
- data/app/views/layouts/decidim/admin/_title_bar_responsive.html.erb +46 -0
- data/app/views/layouts/decidim/admin/global_moderations.html.erb +1 -3
- data/app/views/layouts/decidim/admin/newsletters.erb +0 -11
- data/app/views/layouts/decidim/admin/settings.html.erb +2 -3
- data/app/views/layouts/decidim/admin/users.html.erb +1 -3
- data/config/locales/ar-SA.yml +0 -3
- data/config/locales/ar.yml +9 -83
- data/config/locales/bg.yml +3 -990
- data/config/locales/ca.yml +121 -89
- data/config/locales/cs-CZ.yml +0 -3
- data/config/locales/cs.yml +120 -86
- data/config/locales/de.yml +123 -91
- data/config/locales/el.yml +90 -78
- data/config/locales/en.yml +123 -91
- data/config/locales/eo.yml +0 -2
- data/config/locales/es-MX.yml +121 -89
- data/config/locales/es-PY.yml +121 -89
- data/config/locales/es.yml +124 -92
- data/config/locales/eu.yml +126 -94
- data/config/locales/fi-pl.yml +0 -3
- data/config/locales/fi-plain.yml +112 -80
- data/config/locales/fi.yml +115 -83
- data/config/locales/fr-CA.yml +119 -87
- data/config/locales/fr-LU.yml +0 -3
- data/config/locales/fr.yml +119 -87
- data/config/locales/ga-IE.yml +4 -12
- data/config/locales/gl.yml +7 -99
- data/config/locales/hu.yml +93 -98
- data/config/locales/id-ID.yml +0 -64
- data/config/locales/is-IS.yml +0 -53
- data/config/locales/it.yml +9 -103
- data/config/locales/ja.yml +117 -88
- data/config/locales/kaa.yml +6 -13
- data/config/locales/ko.yml +0 -720
- data/config/locales/lb-LU.yml +0 -3
- data/config/locales/lb.yml +9 -104
- data/config/locales/lt.yml +90 -72
- data/config/locales/lv.yml +0 -79
- data/config/locales/nl.yml +14 -109
- data/config/locales/no.yml +8 -115
- data/config/locales/pl.yml +7 -158
- data/config/locales/pt-BR.yml +87 -106
- data/config/locales/pt.yml +9 -104
- data/config/locales/ro-RO.yml +86 -85
- data/config/locales/ru.yml +0 -55
- data/config/locales/sk-SK.yml +3 -6
- data/config/locales/sk.yml +0 -76
- data/config/locales/sl.yml +0 -8
- data/config/locales/sq-AL.yml +4 -486
- data/config/locales/sr-CS.yml +0 -60
- data/config/locales/sv.yml +99 -192
- data/config/locales/th-TH.yml +0 -100
- data/config/locales/tr-TR.yml +1 -89
- data/config/locales/uk.yml +0 -48
- data/config/locales/zh-CN.yml +0 -79
- data/config/locales/zh-TW.yml +74 -72
- data/config/routes.rb +12 -4
- data/lib/decidim/admin/components.rb +1 -1
- data/lib/decidim/admin/custom_import.rb +29 -0
- data/lib/decidim/admin/engine.rb +54 -216
- data/lib/decidim/admin/import/importer.rb +3 -3
- data/lib/decidim/admin/import/importer_factory.rb +1 -1
- data/lib/decidim/admin/import/readers/base.rb +1 -1
- data/lib/decidim/admin/import/readers/csv.rb +2 -2
- data/lib/decidim/admin/import/verifier.rb +4 -4
- data/lib/decidim/admin/menu.rb +281 -0
- data/lib/decidim/admin/search_form_builder.rb +39 -0
- data/lib/decidim/admin/test/admin_participatory_space_access_examples.rb +3 -2
- data/lib/decidim/admin/test/commands/create_attachment_collection_examples.rb +3 -3
- data/lib/decidim/admin/test/commands/create_category_examples.rb +2 -2
- data/lib/decidim/admin/test/commands/destroy_category_examples.rb +4 -13
- data/lib/decidim/admin/test/commands/publish_participatory_space_examples.rb +102 -0
- data/lib/decidim/admin/test/commands/update_attachment_collection_examples.rb +4 -4
- data/lib/decidim/admin/test/commands/update_category_examples.rb +3 -3
- data/lib/decidim/admin/test/destroy_admin_examples.rb +39 -0
- data/lib/decidim/admin/test/filterable_examples.rb +8 -8
- data/lib/decidim/admin/test/filters_participatory_space_user_roles_examples.rb +12 -43
- data/lib/decidim/admin/test/filters_participatory_space_users_examples.rb +34 -43
- data/lib/decidim/admin/test/forms/attachment_collection_form_examples.rb +1 -1
- data/lib/decidim/admin/test/forms/attachment_form_examples.rb +1 -1
- data/lib/decidim/admin/test/forms/category_form_examples.rb +1 -1
- data/lib/decidim/admin/test/manage_attachment_collections_examples.rb +21 -22
- data/lib/decidim/admin/test/manage_attachments_examples.rb +12 -12
- data/lib/decidim/admin/test/manage_categories_examples.rb +16 -19
- data/lib/decidim/admin/test/manage_component_permissions_examples.rb +24 -24
- data/lib/decidim/admin/test/manage_hide_content_examples.rb +59 -0
- data/lib/decidim/admin/test/manage_moderations_examples.rb +39 -21
- data/lib/decidim/admin/test/manage_paginated_collection_examples.rb +2 -2
- data/lib/decidim/admin/test/manage_participatory_space_publications_examples.rb +54 -0
- data/lib/decidim/admin/test/needs_admin_tos_accepted_examples.rb +1 -1
- data/lib/decidim/admin/test.rb +4 -0
- data/lib/decidim/admin/version.rb +1 -1
- data/lib/decidim/admin.rb +2 -0
- metadata +92 -117
- data/app/commands/decidim/admin/create_participatory_space_admin_user_actions.rb +0 -94
- data/app/commands/decidim/admin/reorder_content_blocks.rb +0 -100
- data/app/commands/decidim/admin/update_content_block.rb +0 -79
- data/app/controllers/concerns/decidim/admin/landing_page.rb +0 -105
- data/app/controllers/concerns/decidim/admin/landing_page_content_blocks.rb +0 -118
- data/app/packs/images/decidim/admin/.keep +0 -0
- data/app/packs/stylesheets/decidim/admin/_decidim.scss +0 -23
- data/app/packs/stylesheets/decidim/admin/_variables.scss +0 -18
- data/app/packs/stylesheets/decidim/admin/bundle.scss +0 -2
- data/app/packs/stylesheets/decidim/admin/components/_accordion.scss +0 -41
- data/app/packs/stylesheets/decidim/admin/components/_dropdown-menu.scss +0 -3
- data/app/packs/stylesheets/decidim/admin/components/_sortable.scss +0 -5
- data/app/packs/stylesheets/decidim/admin/extra/_action-icon.scss +0 -32
- data/app/packs/stylesheets/decidim/admin/extra/_block_user.scss +0 -5
- data/app/packs/stylesheets/decidim/admin/extra/_cards.scss +0 -24
- data/app/packs/stylesheets/decidim/admin/extra/_categories.scss +0 -5
- data/app/packs/stylesheets/decidim/admin/extra/_dropdown_inverted.scss +0 -47
- data/app/packs/stylesheets/decidim/admin/extra/_editor.scss +0 -1
- data/app/packs/stylesheets/decidim/admin/extra/_email_preview.scss +0 -5
- data/app/packs/stylesheets/decidim/admin/extra/_label-required.scss +0 -3
- data/app/packs/stylesheets/decidim/admin/extra/_login.scss +0 -37
- data/app/packs/stylesheets/decidim/admin/extra/_logs.scss +0 -122
- data/app/packs/stylesheets/decidim/admin/extra/_newsletter-templates-gallery.scss +0 -3
- data/app/packs/stylesheets/decidim/admin/extra/_organization-appearance.scss +0 -141
- data/app/packs/stylesheets/decidim/admin/extra/_quill.scss +0 -12
- data/app/packs/stylesheets/decidim/admin/extra/_select_multiple.scss +0 -3
- data/app/packs/stylesheets/decidim/admin/extra/_show_email.scss +0 -31
- data/app/packs/stylesheets/decidim/admin/extra/_sort.scss +0 -13
- data/app/packs/stylesheets/decidim/admin/extra/_title_bar.scss +0 -80
- data/app/packs/stylesheets/decidim/admin/modules/_action-icon.scss +0 -30
- data/app/packs/stylesheets/decidim/admin/modules/_agenda.scss +0 -34
- data/app/packs/stylesheets/decidim/admin/modules/_autocomplete.scss +0 -5
- data/app/packs/stylesheets/decidim/admin/modules/_buttons.scss +0 -86
- data/app/packs/stylesheets/decidim/admin/modules/_callouts.scss +0 -45
- data/app/packs/stylesheets/decidim/admin/modules/_card-grid.scss +0 -25
- data/app/packs/stylesheets/decidim/admin/modules/_cards.scss +0 -126
- data/app/packs/stylesheets/decidim/admin/modules/_char-counter.scss +0 -22
- data/app/packs/stylesheets/decidim/admin/modules/_component-counter.scss +0 -26
- data/app/packs/stylesheets/decidim/admin/modules/_draggable-list.scss +0 -27
- data/app/packs/stylesheets/decidim/admin/modules/_dropdown.scss +0 -20
- data/app/packs/stylesheets/decidim/admin/modules/_filters.scss +0 -83
- data/app/packs/stylesheets/decidim/admin/modules/_forms.scss +0 -164
- data/app/packs/stylesheets/decidim/admin/modules/_icons.scss +0 -68
- data/app/packs/stylesheets/decidim/admin/modules/_layout.scss +0 -75
- data/app/packs/stylesheets/decidim/admin/modules/_loading-spinner.scss +0 -19
- data/app/packs/stylesheets/decidim/admin/modules/_main-nav.scss +0 -45
- data/app/packs/stylesheets/decidim/admin/modules/_moderations.scss +0 -39
- data/app/packs/stylesheets/decidim/admin/modules/_modules.scss +0 -44
- data/app/packs/stylesheets/decidim/admin/modules/_pics.scss +0 -5
- data/app/packs/stylesheets/decidim/admin/modules/_process-header.scss +0 -13
- data/app/packs/stylesheets/decidim/admin/modules/_reveal.scss +0 -5
- data/app/packs/stylesheets/decidim/admin/modules/_secondary-nav.scss +0 -114
- data/app/packs/stylesheets/decidim/admin/modules/_table-list.scss +0 -146
- data/app/packs/stylesheets/decidim/admin/modules/_tabs.scss +0 -63
- data/app/packs/stylesheets/decidim/admin/modules/_title-bar.scss +0 -35
- data/app/packs/stylesheets/decidim/admin/modules/_typography.scss +0 -27
- data/app/packs/stylesheets/decidim/admin/modules/_upload_modal.scss +0 -42
- data/app/packs/stylesheets/decidim/admin/modules/_user-login.scss +0 -25
- data/app/packs/stylesheets/decidim/admin/modules/_users_statistics.scss +0 -18
- data/app/packs/stylesheets/decidim/admin/plugins/_foundation-datepicker.scss +0 -224
- data/app/packs/stylesheets/decidim/admin/plugins/jquery.auto-complete.css +0 -9
- data/app/packs/stylesheets/decidim/admin/user_moderations.scss +0 -3
- data/app/packs/stylesheets/decidim/admin/utils/_flex.scss +0 -60
- data/app/packs/stylesheets/decidim/admin/utils/_helpers.scss +0 -53
- data/app/packs/stylesheets/decidim/admin/utils/_keyframes.scss +0 -21
- data/app/packs/stylesheets/decidim/admin/utils/_mixins.scss +0 -151
- data/app/packs/stylesheets/decidim/admin/utils/_settings.scss +0 -882
- data/app/packs/stylesheets/decidim/admin/utils/_toggle-expand.scss +0 -9
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/_constants.scss +0 -5
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/_math.scss +0 -45
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_acos.scss +0 -14
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_asin.scss +0 -16
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_atan.scss +0 -36
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_atan2.scss +0 -46
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_cos.scss +0 -17
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_cot.scss +0 -12
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_csc.scss +0 -12
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_exp.scss +0 -16
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_fact.scss +0 -21
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_frexp.scss +0 -25
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_ldexp.scss +0 -20
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_log.scss +0 -39
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_pow.scss +0 -34
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_sec.scss +0 -12
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_sin.scss +0 -10
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_sqrt.scss +0 -21
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/functions/_tan.scss +0 -12
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/helpers/_deg-to-rad.scss +0 -6
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/helpers/_rad-to-deg.scss +0 -6
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/helpers/_strip-unit.scss +0 -11
- data/app/packs/stylesheets/decidim/admin/vendor/mathsass/helpers/_unitless-rad.scss +0 -19
- data/app/views/decidim/admin/attachment_collections/show.html.erb +0 -13
- data/app/views/decidim/admin/attachments/show.html.erb +0 -24
- data/app/views/decidim/admin/categories/show.html.erb +0 -12
- data/app/views/decidim/admin/organization_homepage/edit.html.erb +0 -43
- data/app/views/decidim/admin/organization_homepage_content_blocks/edit.html.erb +0 -13
- data/app/views/decidim/admin/static_pages/show.html.erb +0 -21
- data/app/views/layouts/decidim/admin/_template_bottom.html.erb +0 -2
- data/app/views/layouts/decidim/admin/_template_top.html.erb +0 -4
- data/app/views/layouts/decidim/admin/pages.html.erb +0 -15
- data/config/locales/he-IL.yml +0 -53
- data/decidim-admin.gemspec +0 -36
@@ -1,882 +0,0 @@
|
|
1
|
-
// Foundation for Sites Settings
|
2
|
-
// -----------------------------
|
3
|
-
//
|
4
|
-
// Table of Contents:
|
5
|
-
//
|
6
|
-
// 1. Global
|
7
|
-
// 2. Breakpoints
|
8
|
-
// 3. The Grid
|
9
|
-
// 4. Base Typography
|
10
|
-
// 5. Typography Helpers
|
11
|
-
// 6. Abide
|
12
|
-
// 7. Accordion
|
13
|
-
// 8. Accordion Menu
|
14
|
-
// 9. Badge
|
15
|
-
// 10. Breadcrumbs
|
16
|
-
// 11. Button
|
17
|
-
// 12. Button Group
|
18
|
-
// 13. Callout
|
19
|
-
// 14. Card
|
20
|
-
// 15. Close Button
|
21
|
-
// 16. Drilldown
|
22
|
-
// 17. Dropdown
|
23
|
-
// 18. Dropdown Menu
|
24
|
-
// 19. Flexbox Utilities
|
25
|
-
// 20. Forms
|
26
|
-
// 21. Label
|
27
|
-
// 22. Media Object
|
28
|
-
// 23. Menu
|
29
|
-
// 24. Meter
|
30
|
-
// 25. Off-canvas
|
31
|
-
// 26. Orbit
|
32
|
-
// 27. Pagination
|
33
|
-
// 28. Progress Bar
|
34
|
-
// 29. Prototype Arrow
|
35
|
-
// 30. Prototype Border-Box
|
36
|
-
// 31. Prototype Border-None
|
37
|
-
// 32. Prototype Bordered
|
38
|
-
// 33. Prototype Display
|
39
|
-
// 34. Prototype Font-Styling
|
40
|
-
// 35. Prototype List-Style-Type
|
41
|
-
// 36. Prototype Overflow
|
42
|
-
// 37. Prototype Position
|
43
|
-
// 38. Prototype Rounded
|
44
|
-
// 39. Prototype Separator
|
45
|
-
// 40. Prototype Shadow
|
46
|
-
// 41. Prototype Sizing
|
47
|
-
// 42. Prototype Spacing
|
48
|
-
// 43. Prototype Text-Decoration
|
49
|
-
// 44. Prototype Text-Transformation
|
50
|
-
// 45. Prototype Text-Utilities
|
51
|
-
// 46. Responsive Embed
|
52
|
-
// 47. Reveal
|
53
|
-
// 48. Slider
|
54
|
-
// 49. Switch
|
55
|
-
// 50. Table
|
56
|
-
// 51. Tabs
|
57
|
-
// 52. Thumbnail
|
58
|
-
// 53. Title Bar
|
59
|
-
// 54. Tooltip
|
60
|
-
// 55. Top Bar
|
61
|
-
// 56. Xy Grid
|
62
|
-
|
63
|
-
@import "foundation-sites/scss/util/util";
|
64
|
-
|
65
|
-
// 1. Global
|
66
|
-
// ---------
|
67
|
-
|
68
|
-
$global-font-size: 100%;
|
69
|
-
$global-width: rem-calc(1200);
|
70
|
-
$global-lineheight: 1.5;
|
71
|
-
$foundation-palette: (
|
72
|
-
primary: #039be5,
|
73
|
-
secondary: #eee,
|
74
|
-
success: #5dc560,
|
75
|
-
warning: #ffb300,
|
76
|
-
alert: #e66a5d,
|
77
|
-
);
|
78
|
-
|
79
|
-
$lighter-gray: #f6f6f6;
|
80
|
-
$light-gray: #eee;
|
81
|
-
$medium-gray: #adadad;
|
82
|
-
$dark-gray: #3b4557;
|
83
|
-
$black: #1a181d;
|
84
|
-
$white: #fff;
|
85
|
-
$light-gray-dark: darken($light-gray, 2.5) !default;
|
86
|
-
$body-background: $lighter-gray;
|
87
|
-
$body-font-color: #202734;
|
88
|
-
$muted: #97a2b2 !default;
|
89
|
-
$body-font-family: 'Source Sans Pro', Helvetica, Roboto, Arial, sans-serif;
|
90
|
-
$body-antialiased: true;
|
91
|
-
$global-margin: 1rem;
|
92
|
-
$global-padding: 1rem;
|
93
|
-
$global-position: 1rem;
|
94
|
-
$global-weight-normal: normal;
|
95
|
-
$global-weight-bold: 600;
|
96
|
-
$global-radius: 4px;
|
97
|
-
$global-menu-padding: .7rem 1rem;
|
98
|
-
$global-menu-nested-margin: 1rem;
|
99
|
-
$global-text-direction: ltr;
|
100
|
-
$global-flexbox: false;
|
101
|
-
$global-prototype-breakpoints: false;
|
102
|
-
$global-button-cursor: auto;
|
103
|
-
$global-color-pick-contrast-tolerance: 0;
|
104
|
-
$print-transparent-backgrounds: true;
|
105
|
-
|
106
|
-
$border: 1px solid $medium-gray !default;
|
107
|
-
|
108
|
-
@include add-foundation-colors;
|
109
|
-
|
110
|
-
// 2. Breakpoints
|
111
|
-
// --------------
|
112
|
-
|
113
|
-
$breakpoints: (
|
114
|
-
small: 0,
|
115
|
-
smallmedium: 450px,
|
116
|
-
medium: 640px,
|
117
|
-
mediumlarge: 800px,
|
118
|
-
large: 1024px,
|
119
|
-
xlarge: 1200px,
|
120
|
-
xxlarge: 1440px,
|
121
|
-
);
|
122
|
-
$print-breakpoint: large;
|
123
|
-
$breakpoint-classes: (small smallmedium medium mediumlarge large xlarge);
|
124
|
-
|
125
|
-
// 3. The Grid
|
126
|
-
// -----------
|
127
|
-
|
128
|
-
$grid-row-width: $global-width;
|
129
|
-
$grid-column-count: 12;
|
130
|
-
$grid-column-gutter: (
|
131
|
-
small: 20px,
|
132
|
-
medium: 30px,
|
133
|
-
);
|
134
|
-
$grid-column-align-edge: true;
|
135
|
-
$grid-column-alias: 'columns';
|
136
|
-
$block-grid-max: 8;
|
137
|
-
|
138
|
-
// 4. Base Typography
|
139
|
-
// ------------------
|
140
|
-
|
141
|
-
$header-font-family: $body-font-family;
|
142
|
-
$header-font-weight: $global-weight-normal;
|
143
|
-
$header-font-style: normal;
|
144
|
-
$font-family-monospace: Consolas, 'Liberation Mono', Courier, monospace;
|
145
|
-
$header-color: inherit;
|
146
|
-
$header-lineheight: 1.4;
|
147
|
-
$header-margin-bottom: .5rem;
|
148
|
-
$header-styles: (
|
149
|
-
small: (
|
150
|
-
'h1': ('font-size': 26),
|
151
|
-
'h2': ('font-size': 22),
|
152
|
-
'h3': ('font-size': 20),
|
153
|
-
'h4': ('font-size': 18),
|
154
|
-
'h5': ('font-size': 16),
|
155
|
-
'h6': ('font-size': 14)
|
156
|
-
),
|
157
|
-
medium: (
|
158
|
-
'h1': ('font-size': 30),
|
159
|
-
'h2': ('font-size': 22),
|
160
|
-
'h3': ('font-size': 20),
|
161
|
-
'h4': ('font-size': 18),
|
162
|
-
'h5': ('font-size': 16),
|
163
|
-
'h6': ('font-size': 14)
|
164
|
-
)
|
165
|
-
);
|
166
|
-
$header-text-rendering: optimizeLegibility;
|
167
|
-
$small-font-size: 90%;
|
168
|
-
$header-small-font-color: lighten($body-font-color, 30);
|
169
|
-
$paragraph-lineheight: 1.6;
|
170
|
-
$paragraph-margin-bottom: 1rem;
|
171
|
-
$paragraph-text-rendering: optimizeLegibility;
|
172
|
-
$code-color: $black;
|
173
|
-
$code-font-family: $font-family-monospace;
|
174
|
-
$code-font-weight: $global-weight-normal;
|
175
|
-
$code-background: $light-gray;
|
176
|
-
$code-border: 1px solid $medium-gray;
|
177
|
-
$code-padding: rem-calc(2 5 1);
|
178
|
-
$anchor-color: $primary-color;
|
179
|
-
$anchor-color-hover: scale-color($anchor-color, $lightness: -14%);
|
180
|
-
$anchor-outline-focus: 1px dotted rgba(black, .5);
|
181
|
-
$anchor-outline-offset: 2px;
|
182
|
-
$anchor-text-decoration: none;
|
183
|
-
$anchor-text-decoration-hover: none;
|
184
|
-
$hr-width: $global-width;
|
185
|
-
$hr-border: 1px solid $medium-gray;
|
186
|
-
$hr-margin: 6rem auto 5rem;
|
187
|
-
$list-lineheight: $paragraph-lineheight;
|
188
|
-
$list-margin-bottom: $paragraph-margin-bottom;
|
189
|
-
$list-style-type: disc;
|
190
|
-
$list-style-position: outside;
|
191
|
-
$list-side-margin: 1.25rem;
|
192
|
-
$list-nested-side-margin: 1.25rem;
|
193
|
-
$defnlist-margin-bottom: 1rem;
|
194
|
-
$defnlist-term-weight: $global-weight-bold;
|
195
|
-
$defnlist-term-margin-bottom: .3rem;
|
196
|
-
$blockquote-color: $dark-gray;
|
197
|
-
$blockquote-padding: rem-calc(9 20 0 19);
|
198
|
-
$blockquote-border: 1px solid $medium-gray;
|
199
|
-
$cite-font-size: rem-calc(13);
|
200
|
-
$cite-color: $dark-gray;
|
201
|
-
$cite-pseudo-content: '\2014 \0020';
|
202
|
-
$keystroke-font: $font-family-monospace;
|
203
|
-
$keystroke-color: $black;
|
204
|
-
$keystroke-background: $light-gray;
|
205
|
-
$keystroke-padding: rem-calc(2 4 0);
|
206
|
-
$keystroke-radius: $global-radius;
|
207
|
-
$abbr-underline: 1px dotted $black;
|
208
|
-
|
209
|
-
// 5. Typography Helpers
|
210
|
-
// ---------------------
|
211
|
-
|
212
|
-
$lead-font-size: $global-font-size * 1.25;
|
213
|
-
$lead-lineheight: 1.45;
|
214
|
-
$subheader-lineheight: 1.4;
|
215
|
-
$subheader-color: $dark-gray;
|
216
|
-
$subheader-font-weight: $global-weight-normal;
|
217
|
-
$subheader-margin-top: .2rem;
|
218
|
-
$subheader-margin-bottom: .5rem;
|
219
|
-
$stat-font-size: 2.5rem;
|
220
|
-
|
221
|
-
// 6. Abide
|
222
|
-
// --------
|
223
|
-
|
224
|
-
$abide-inputs: true;
|
225
|
-
$abide-labels: true;
|
226
|
-
$input-background-invalid: map-get($foundation-palette, alert);
|
227
|
-
$form-label-color-invalid: map-get($foundation-palette, alert);
|
228
|
-
$input-error-color: map-get($foundation-palette, alert);
|
229
|
-
$input-error-font-size: rem-calc(12);
|
230
|
-
$input-error-font-weight: $global-weight-bold;
|
231
|
-
|
232
|
-
// 7. Accordion
|
233
|
-
// ------------
|
234
|
-
|
235
|
-
$accordion-background: $primary-color;
|
236
|
-
$accordion-plusminus: true;
|
237
|
-
$accordion-title-font-size: rem-calc(12);
|
238
|
-
$accordion-item-color: $white;
|
239
|
-
$accordion-item-background-hover: $light-gray;
|
240
|
-
$accordion-item-padding: 1.25rem 1rem;
|
241
|
-
$accordion-content-background: $white;
|
242
|
-
$accordion-content-border: 1px solid $light-gray;
|
243
|
-
$accordion-content-color: inherit;
|
244
|
-
$accordion-content-padding: 1rem;
|
245
|
-
|
246
|
-
// 8. Accordion Menu
|
247
|
-
// -----------------
|
248
|
-
|
249
|
-
$accordionmenu-padding: $global-menu-padding;
|
250
|
-
$accordionmenu-nested-margin: $global-menu-nested-margin;
|
251
|
-
$accordionmenu-submenu-padding: $accordionmenu-padding;
|
252
|
-
$accordionmenu-arrows: true;
|
253
|
-
$accordionmenu-arrow-color: $primary-color;
|
254
|
-
$accordionmenu-item-background: null;
|
255
|
-
$accordionmenu-border: null;
|
256
|
-
$accordionmenu-submenu-toggle-background: null;
|
257
|
-
$accordion-submenu-toggle-border: $accordionmenu-border;
|
258
|
-
$accordionmenu-submenu-toggle-width: 40px;
|
259
|
-
$accordionmenu-submenu-toggle-height: $accordionmenu-submenu-toggle-width;
|
260
|
-
$accordionmenu-arrow-size: 6px;
|
261
|
-
|
262
|
-
// 9. Badge
|
263
|
-
// --------
|
264
|
-
|
265
|
-
$badge-background: $primary-color;
|
266
|
-
$badge-color: $white;
|
267
|
-
$badge-color-alt: $black;
|
268
|
-
$badge-palette: $foundation-palette;
|
269
|
-
$badge-padding: .3em;
|
270
|
-
$badge-minwidth: 1.5em;
|
271
|
-
$badge-font-size: .6rem;
|
272
|
-
|
273
|
-
// 10. Breadcrumbs
|
274
|
-
// ---------------
|
275
|
-
|
276
|
-
$breadcrumbs-margin: 0 0 $global-margin 0;
|
277
|
-
$breadcrumbs-item-font-size: rem-calc(11);
|
278
|
-
$breadcrumbs-item-color: $primary-color;
|
279
|
-
$breadcrumbs-item-color-current: $black;
|
280
|
-
$breadcrumbs-item-color-disabled: $medium-gray;
|
281
|
-
$breadcrumbs-item-margin: .75rem;
|
282
|
-
$breadcrumbs-item-uppercase: false;
|
283
|
-
$breadcrumbs-item-separator: true;
|
284
|
-
$breadcrumbs-item-separator-color: $medium-gray;
|
285
|
-
|
286
|
-
// 11. Button
|
287
|
-
// ----------
|
288
|
-
|
289
|
-
$button-font-family: inherit;
|
290
|
-
$button-padding: .85em 1em;
|
291
|
-
$button-margin: 0 0 $global-margin 0;
|
292
|
-
$button-fill: solid;
|
293
|
-
$button-background: $primary-color;
|
294
|
-
$button-background-hover: scale-color($button-background, $lightness: -15%);
|
295
|
-
$button-color: $white;
|
296
|
-
$button-color-alt: $black;
|
297
|
-
$button-radius: $global-radius;
|
298
|
-
$button-hollow-border-width: 1px;
|
299
|
-
$button-sizes: (
|
300
|
-
tiny: .9rem,
|
301
|
-
small: .9rem,
|
302
|
-
default: 1rem,
|
303
|
-
large: 1.25rem,
|
304
|
-
);
|
305
|
-
$button-palette: $foundation-palette;
|
306
|
-
$button-opacity-disabled: .25;
|
307
|
-
$button-background-hover-lightness: -20%;
|
308
|
-
$button-hollow-hover-lightness: -50%;
|
309
|
-
$button-transition: background-color .25s ease-out, color .25s ease-out;
|
310
|
-
$button-outline-focus: $anchor-outline-focus;
|
311
|
-
$button-outline-offset: 2px;
|
312
|
-
|
313
|
-
// 12. Button Group
|
314
|
-
// ----------------
|
315
|
-
|
316
|
-
$buttongroup-margin: 1rem;
|
317
|
-
$buttongroup-spacing: 1px;
|
318
|
-
$buttongroup-child-selector: '.button';
|
319
|
-
$buttongroup-expand-max: 6;
|
320
|
-
$buttongroup-radius-on-each: true;
|
321
|
-
|
322
|
-
// 13. Callout
|
323
|
-
// -----------
|
324
|
-
|
325
|
-
$callout-background: $white;
|
326
|
-
$callout-background-fade: 90%;
|
327
|
-
$callout-border: 1px solid rgba(black, .2);
|
328
|
-
$callout-margin: 0 0 1rem 0;
|
329
|
-
$callout-padding: 1rem;
|
330
|
-
$callout-font-color: $body-font-color;
|
331
|
-
$callout-font-color-alt: $body-background;
|
332
|
-
$callout-radius: 0;
|
333
|
-
$callout-link-tint: 30%;
|
334
|
-
|
335
|
-
// 14. Card
|
336
|
-
// --------
|
337
|
-
|
338
|
-
$card-background: $white;
|
339
|
-
$card-font-color: $body-font-color;
|
340
|
-
$card-divider-background: $light-gray;
|
341
|
-
$card-border: 1px solid $light-gray;
|
342
|
-
$card-shadow: none;
|
343
|
-
$card-border-radius: $global-radius;
|
344
|
-
$card-padding: $global-padding;
|
345
|
-
$card-margin-bottom: $global-margin;
|
346
|
-
|
347
|
-
// 15. Close Button
|
348
|
-
// ----------------
|
349
|
-
|
350
|
-
$closebutton-position: right top;
|
351
|
-
$closebutton-offset-horizontal: (
|
352
|
-
small: .66rem,
|
353
|
-
medium: 1rem,
|
354
|
-
);
|
355
|
-
$closebutton-offset-vertical: (
|
356
|
-
small: .33em,
|
357
|
-
medium: .5rem,
|
358
|
-
);
|
359
|
-
$closebutton-size: (
|
360
|
-
small: 1.5em,
|
361
|
-
medium: 2em,
|
362
|
-
);
|
363
|
-
$closebutton-lineheight: 1;
|
364
|
-
$closebutton-color: $dark-gray;
|
365
|
-
$closebutton-color-hover: map-get($foundation-palette, primary);
|
366
|
-
|
367
|
-
// 16. Drilldown
|
368
|
-
// -------------
|
369
|
-
|
370
|
-
$drilldown-transition: transform .15s linear;
|
371
|
-
$drilldown-arrows: true;
|
372
|
-
$drilldown-padding: $global-menu-padding;
|
373
|
-
$drilldown-nested-margin: 0;
|
374
|
-
$drilldown-background: $white;
|
375
|
-
$drilldown-submenu-padding: $drilldown-padding;
|
376
|
-
$drilldown-submenu-background: $white;
|
377
|
-
$drilldown-arrow-color: $primary-color;
|
378
|
-
$drilldown-arrow-size: 6px;
|
379
|
-
|
380
|
-
// 17. Dropdown
|
381
|
-
// ------------
|
382
|
-
|
383
|
-
$dropdown-padding: 1rem;
|
384
|
-
$dropdown-background: $body-background;
|
385
|
-
$dropdown-border: 1px solid $medium-gray;
|
386
|
-
$dropdown-font-size: 1rem;
|
387
|
-
$dropdown-width: 300px;
|
388
|
-
$dropdown-radius: $global-radius;
|
389
|
-
$dropdown-sizes: (
|
390
|
-
tiny: 100px,
|
391
|
-
small: 200px,
|
392
|
-
large: 400px,
|
393
|
-
);
|
394
|
-
|
395
|
-
// 18. Dropdown Menu
|
396
|
-
// -----------------
|
397
|
-
|
398
|
-
$dropdownmenu-arrows: true;
|
399
|
-
$dropdownmenu-arrow-color: $anchor-color;
|
400
|
-
$dropdownmenu-arrow-size: 6px;
|
401
|
-
$dropdownmenu-arrow-padding: 1.5rem;
|
402
|
-
$dropdownmenu-min-width: 200px;
|
403
|
-
$dropdownmenu-background: $white;
|
404
|
-
$dropdownmenu-submenu-background: $dropdownmenu-background;
|
405
|
-
$dropdownmenu-padding: $global-menu-padding;
|
406
|
-
$dropdownmenu-nested-margin: 0;
|
407
|
-
$dropdownmenu-submenu-padding: $dropdownmenu-padding;
|
408
|
-
$dropdownmenu-border: 1px solid $medium-gray;
|
409
|
-
$dropdown-menu-item-color-active: get-color(secondary);
|
410
|
-
$dropdown-menu-item-background-active: transparent;
|
411
|
-
|
412
|
-
// 19. Flexbox Utilities
|
413
|
-
// ---------------------
|
414
|
-
|
415
|
-
$flex-source-ordering-count: 6;
|
416
|
-
$flexbox-responsive-breakpoints: true;
|
417
|
-
|
418
|
-
// 20. Forms
|
419
|
-
// ---------
|
420
|
-
|
421
|
-
$fieldset-border: 1px solid $light-gray;
|
422
|
-
$fieldset-padding: rem-calc(20);
|
423
|
-
$fieldset-margin: rem-calc(18 0);
|
424
|
-
$legend-padding: rem-calc(0 3);
|
425
|
-
$form-spacing: rem-calc(16);
|
426
|
-
$helptext-color: $body-font-color;
|
427
|
-
$helptext-font-size: rem-calc(13);
|
428
|
-
$helptext-font-style: italic;
|
429
|
-
$input-prefix-color: $black;
|
430
|
-
$input-prefix-background: $light-gray;
|
431
|
-
$input-prefix-border: 1px solid $light-gray;
|
432
|
-
$input-prefix-padding: 1rem;
|
433
|
-
$form-label-color: $body-font-color;
|
434
|
-
$form-label-font-size: rem-calc(16);
|
435
|
-
$form-label-font-weight: $global-weight-normal;
|
436
|
-
$form-label-line-height: 1.8;
|
437
|
-
$select-background: $white;
|
438
|
-
$select-triangle-color: $dark-gray;
|
439
|
-
$select-radius: $global-radius;
|
440
|
-
$input-color: $black;
|
441
|
-
$input-placeholder-color: darken($medium-gray, 30);
|
442
|
-
$input-font-family: inherit;
|
443
|
-
$input-font-size: rem-calc(16);
|
444
|
-
$input-font-weight: $global-weight-normal;
|
445
|
-
$input-line-height: $global-lineheight;
|
446
|
-
$input-background: $white;
|
447
|
-
$input-background-focus: $white;
|
448
|
-
$input-background-disabled: $light-gray;
|
449
|
-
$input-border: 1px solid $light-gray;
|
450
|
-
$input-border-focus: 1px solid map-get($foundation-palette, primary);
|
451
|
-
$input-outline: 0;
|
452
|
-
$input-outline-focus: 2px solid $primary-color;
|
453
|
-
$input-outline-offset: 2px;
|
454
|
-
$input-padding: $form-spacing * .5;
|
455
|
-
$input-shadow: inset 0 1px 2px rgba($black, .1);
|
456
|
-
$input-shadow-focus: 0 0 5px $medium-gray;
|
457
|
-
$input-cursor-disabled: not-allowed;
|
458
|
-
$input-transition: box-shadow .5s, border-color .25s ease-in-out;
|
459
|
-
$input-number-spinners: true;
|
460
|
-
$input-radius: $global-radius;
|
461
|
-
$form-button-radius: $global-radius;
|
462
|
-
|
463
|
-
// 21. Label
|
464
|
-
// ---------
|
465
|
-
|
466
|
-
$label-background: $primary-color;
|
467
|
-
$label-color: $white;
|
468
|
-
$label-color-alt: $body-font-color;
|
469
|
-
$label-font-size: .8rem;
|
470
|
-
$label-padding: .33333rem .5rem;
|
471
|
-
$label-palette: $foundation-palette;
|
472
|
-
$label-radius: $global-radius;
|
473
|
-
|
474
|
-
// 22. Media Object
|
475
|
-
// ----------------
|
476
|
-
|
477
|
-
$mediaobject-margin-bottom: $global-margin;
|
478
|
-
$mediaobject-section-padding: $global-padding;
|
479
|
-
$mediaobject-image-width-stacked: 100%;
|
480
|
-
|
481
|
-
// 23. Menu
|
482
|
-
// --------
|
483
|
-
|
484
|
-
$menu-margin: 0;
|
485
|
-
$menu-nested-margin: 1rem;
|
486
|
-
$menu-items-padding: .7rem 1rem;
|
487
|
-
$menu-simple-margin: 1rem;
|
488
|
-
$menu-item-color-active: $white;
|
489
|
-
$menu-item-background-active: map-get($foundation-palette, primary);
|
490
|
-
$menu-icon-spacing: .25rem;
|
491
|
-
$menu-item-background-hover: $light-gray;
|
492
|
-
$menu-state-back-compat: true;
|
493
|
-
$menu-centered-back-compat: true;
|
494
|
-
$menu-icons-back-compat: true;
|
495
|
-
|
496
|
-
// 24. Meter
|
497
|
-
// ---------
|
498
|
-
|
499
|
-
$meter-height: 1rem;
|
500
|
-
$meter-radius: $global-radius;
|
501
|
-
$meter-background: $medium-gray;
|
502
|
-
$meter-fill-good: $success-color;
|
503
|
-
$meter-fill-medium: $warning-color;
|
504
|
-
$meter-fill-bad: $alert-color;
|
505
|
-
|
506
|
-
// 25. Off-canvas
|
507
|
-
// --------------
|
508
|
-
|
509
|
-
$offcanvas-sizes: (
|
510
|
-
small: 250px
|
511
|
-
);
|
512
|
-
|
513
|
-
$offcanvas-background: $light-gray;
|
514
|
-
$offcanvas-shadow: 0 0 10px rgba($black, .7);
|
515
|
-
$offcanvas-inner-shadow-size: 20px;
|
516
|
-
$offcanvas-inner-shadow-color: rgba($black, .25);
|
517
|
-
$offcanvas-overlay-zindex: 11;
|
518
|
-
$offcanvas-push-zindex: 12;
|
519
|
-
$offcanvas-overlap-zindex: 13;
|
520
|
-
$offcanvas-reveal-zindex: 12;
|
521
|
-
$offcanvas-transition-length: .5s;
|
522
|
-
$offcanvas-transition-timing: ease;
|
523
|
-
$offcanvas-fixed-reveal: true;
|
524
|
-
$offcanvas-exit-background: rgba($white, .25);
|
525
|
-
$maincontent-class: 'off-canvas-content';
|
526
|
-
|
527
|
-
// 26. Orbit
|
528
|
-
// ---------
|
529
|
-
|
530
|
-
$orbit-bullet-background: $medium-gray;
|
531
|
-
$orbit-bullet-background-active: $dark-gray;
|
532
|
-
$orbit-bullet-diameter: 1.2rem;
|
533
|
-
$orbit-bullet-margin: .1rem;
|
534
|
-
$orbit-bullet-margin-top: .8rem;
|
535
|
-
$orbit-bullet-margin-bottom: .8rem;
|
536
|
-
$orbit-caption-background: rgba($black, .5);
|
537
|
-
$orbit-caption-padding: 1rem;
|
538
|
-
$orbit-control-background-hover: rgba($black, .5);
|
539
|
-
$orbit-control-padding: 1rem;
|
540
|
-
$orbit-control-zindex: 10;
|
541
|
-
|
542
|
-
// 27. Pagination
|
543
|
-
// --------------
|
544
|
-
|
545
|
-
$pagination-font-size: rem-calc(16);
|
546
|
-
$pagination-margin-bottom: $global-margin;
|
547
|
-
$pagination-item-color: $body-font-color;
|
548
|
-
$pagination-item-padding: rem-calc(3 10);
|
549
|
-
$pagination-item-spacing: rem-calc(1);
|
550
|
-
$pagination-radius: $global-radius;
|
551
|
-
$pagination-item-background-hover: $light-gray;
|
552
|
-
$pagination-item-background-current: $medium-gray;
|
553
|
-
$pagination-item-color-current: $white;
|
554
|
-
$pagination-item-color-disabled: $muted;
|
555
|
-
$pagination-ellipsis-color: $body-font-color;
|
556
|
-
$pagination-mobile-items: false;
|
557
|
-
$pagination-mobile-current-item: false;
|
558
|
-
$pagination-arrows: false;
|
559
|
-
|
560
|
-
// 28. Progress Bar
|
561
|
-
// ----------------
|
562
|
-
|
563
|
-
$progress-height: 1rem;
|
564
|
-
$progress-background: $medium-gray;
|
565
|
-
$progress-margin-bottom: $global-margin;
|
566
|
-
$progress-meter-background: $primary-color;
|
567
|
-
$progress-radius: $global-radius;
|
568
|
-
|
569
|
-
// 29. Prototype Arrow
|
570
|
-
// -------------------
|
571
|
-
|
572
|
-
$prototype-arrow-directions: (
|
573
|
-
down,
|
574
|
-
up,
|
575
|
-
right,
|
576
|
-
left
|
577
|
-
);
|
578
|
-
$prototype-arrow-size: .4375rem;
|
579
|
-
$prototype-arrow-color: $black;
|
580
|
-
|
581
|
-
// 30. Prototype Border-Box
|
582
|
-
// ------------------------
|
583
|
-
|
584
|
-
$prototype-border-box-breakpoints: $global-prototype-breakpoints;
|
585
|
-
|
586
|
-
// 31. Prototype Border-None
|
587
|
-
// -------------------------
|
588
|
-
|
589
|
-
$prototype-border-none-breakpoints: $global-prototype-breakpoints;
|
590
|
-
|
591
|
-
// 32. Prototype Bordered
|
592
|
-
// ----------------------
|
593
|
-
|
594
|
-
$prototype-bordered-breakpoints: $global-prototype-breakpoints;
|
595
|
-
$prototype-border-width: rem-calc(1);
|
596
|
-
$prototype-border-type: solid;
|
597
|
-
$prototype-border-color: $medium-gray;
|
598
|
-
|
599
|
-
// 33. Prototype Display
|
600
|
-
// ---------------------
|
601
|
-
|
602
|
-
$prototype-display-breakpoints: $global-prototype-breakpoints;
|
603
|
-
$prototype-display: (
|
604
|
-
inline,
|
605
|
-
inline-block,
|
606
|
-
block,
|
607
|
-
table,
|
608
|
-
table-cell
|
609
|
-
);
|
610
|
-
|
611
|
-
// 34. Prototype Font-Styling
|
612
|
-
// --------------------------
|
613
|
-
|
614
|
-
$prototype-font-breakpoints: $global-prototype-breakpoints;
|
615
|
-
$prototype-wide-letter-spacing: rem-calc(4);
|
616
|
-
$prototype-font-normal: $global-weight-normal;
|
617
|
-
$prototype-font-bold: $global-weight-bold;
|
618
|
-
|
619
|
-
// 35. Prototype List-Style-Type
|
620
|
-
// -----------------------------
|
621
|
-
|
622
|
-
$prototype-list-breakpoints: $global-prototype-breakpoints;
|
623
|
-
$prototype-style-type-unordered: (
|
624
|
-
disc,
|
625
|
-
circle,
|
626
|
-
square
|
627
|
-
);
|
628
|
-
$prototype-style-type-ordered: (
|
629
|
-
decimal,
|
630
|
-
lower-alpha,
|
631
|
-
lower-latin,
|
632
|
-
lower-roman,
|
633
|
-
upper-alpha,
|
634
|
-
upper-latin,
|
635
|
-
upper-roman
|
636
|
-
);
|
637
|
-
|
638
|
-
// 36. Prototype Overflow
|
639
|
-
// ----------------------
|
640
|
-
|
641
|
-
$prototype-overflow-breakpoints: $global-prototype-breakpoints;
|
642
|
-
$prototype-overflow: (
|
643
|
-
visible,
|
644
|
-
hidden,
|
645
|
-
scroll
|
646
|
-
);
|
647
|
-
|
648
|
-
// 37. Prototype Position
|
649
|
-
// ----------------------
|
650
|
-
|
651
|
-
$prototype-position-breakpoints: $global-prototype-breakpoints;
|
652
|
-
$prototype-position: (
|
653
|
-
static,
|
654
|
-
relative,
|
655
|
-
absolute,
|
656
|
-
fixed
|
657
|
-
);
|
658
|
-
$prototype-position-z-index: 975;
|
659
|
-
|
660
|
-
// 38. Prototype Rounded
|
661
|
-
// ---------------------
|
662
|
-
|
663
|
-
$prototype-rounded-breakpoints: $global-prototype-breakpoints;
|
664
|
-
$prototype-border-radius: rem-calc(3);
|
665
|
-
|
666
|
-
// 39. Prototype Separator
|
667
|
-
// -----------------------
|
668
|
-
|
669
|
-
$prototype-separator-breakpoints: $global-prototype-breakpoints;
|
670
|
-
$prototype-separator-align: center;
|
671
|
-
$prototype-separator-height: rem-calc(2);
|
672
|
-
$prototype-separator-width: 3rem;
|
673
|
-
$prototype-separator-background: $primary-color;
|
674
|
-
$prototype-separator-margin-top: $global-margin;
|
675
|
-
|
676
|
-
// 40. Prototype Shadow
|
677
|
-
// --------------------
|
678
|
-
|
679
|
-
$prototype-shadow-breakpoints: $global-prototype-breakpoints;
|
680
|
-
$prototype-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .16),
|
681
|
-
0 2px 10px 0 rgba(0, 0, 0, .12);
|
682
|
-
|
683
|
-
// 41. Prototype Sizing
|
684
|
-
// --------------------
|
685
|
-
|
686
|
-
$prototype-sizing-breakpoints: $global-prototype-breakpoints;
|
687
|
-
$prototype-sizing: (
|
688
|
-
width,
|
689
|
-
height
|
690
|
-
);
|
691
|
-
$prototype-sizes: (
|
692
|
-
25: 25%,
|
693
|
-
50: 50%,
|
694
|
-
75: 75%,
|
695
|
-
100: 100%
|
696
|
-
);
|
697
|
-
|
698
|
-
// 42. Prototype Spacing
|
699
|
-
// ---------------------
|
700
|
-
|
701
|
-
$prototype-spacing-breakpoints: $global-prototype-breakpoints;
|
702
|
-
$prototype-spacers-count: 3;
|
703
|
-
|
704
|
-
// 43. Prototype Text-Decoration
|
705
|
-
// -----------------------------
|
706
|
-
|
707
|
-
$prototype-decoration-breakpoints: $global-prototype-breakpoints;
|
708
|
-
$prototype-text-decoration: (
|
709
|
-
overline,
|
710
|
-
underline,
|
711
|
-
line-through,
|
712
|
-
);
|
713
|
-
|
714
|
-
// 44. Prototype Text-Transformation
|
715
|
-
// ---------------------------------
|
716
|
-
|
717
|
-
$prototype-transformation-breakpoints: $global-prototype-breakpoints;
|
718
|
-
$prototype-text-transformation: (
|
719
|
-
lowercase,
|
720
|
-
uppercase,
|
721
|
-
capitalize
|
722
|
-
);
|
723
|
-
|
724
|
-
// 45. Prototype Text-Utilities
|
725
|
-
// ----------------------------
|
726
|
-
|
727
|
-
$prototype-utilities-breakpoints: $global-prototype-breakpoints;
|
728
|
-
$prototype-text-overflow: ellipsis;
|
729
|
-
|
730
|
-
// 46. Responsive Embed
|
731
|
-
// --------------------
|
732
|
-
|
733
|
-
$responsive-embed-margin-bottom: rem-calc(16);
|
734
|
-
$responsive-embed-ratios: (
|
735
|
-
default: 4 by 3,
|
736
|
-
widescreen: 16 by 9,
|
737
|
-
);
|
738
|
-
|
739
|
-
// 47. Reveal
|
740
|
-
// ----------
|
741
|
-
|
742
|
-
$reveal-background: $light-gray;
|
743
|
-
$reveal-width: 600px;
|
744
|
-
$reveal-max-width: $global-width;
|
745
|
-
$reveal-padding: $global-padding;
|
746
|
-
$reveal-border: 1px solid $medium-gray;
|
747
|
-
$reveal-radius: $global-radius;
|
748
|
-
$reveal-zindex: 1005;
|
749
|
-
$reveal-overlay-background: rgba($black, .45);
|
750
|
-
|
751
|
-
// 48. Slider
|
752
|
-
// ----------
|
753
|
-
|
754
|
-
$slider-width-vertical: .5rem;
|
755
|
-
$slider-transition: all .2s ease-in-out;
|
756
|
-
$slider-height: .5rem;
|
757
|
-
$slider-background: $light-gray;
|
758
|
-
$slider-fill-background: $medium-gray;
|
759
|
-
$slider-handle-height: 1.4rem;
|
760
|
-
$slider-handle-width: 1.4rem;
|
761
|
-
$slider-handle-background: $primary-color;
|
762
|
-
$slider-opacity-disabled: .25;
|
763
|
-
$slider-radius: $global-radius;
|
764
|
-
|
765
|
-
// 30. Switch
|
766
|
-
// ----------
|
767
|
-
|
768
|
-
$switch-background: $medium-gray;
|
769
|
-
$switch-background-active: $success-color;
|
770
|
-
$switch-height: 2rem;
|
771
|
-
$switch-height-tiny: 1.5rem;
|
772
|
-
$switch-height-small: 1.75rem;
|
773
|
-
$switch-height-large: 2.5rem;
|
774
|
-
$switch-radius: $global-radius;
|
775
|
-
$switch-margin: $global-margin;
|
776
|
-
$switch-paddle-background: $white;
|
777
|
-
$switch-paddle-offset: .25rem;
|
778
|
-
$switch-paddle-radius: $global-radius;
|
779
|
-
$switch-paddle-transition: all .25s ease-out;
|
780
|
-
|
781
|
-
// 50. Table
|
782
|
-
// ---------
|
783
|
-
|
784
|
-
$table-background: transparent;
|
785
|
-
$table-color-scale: 5%;
|
786
|
-
$table-border: 0;
|
787
|
-
$table-padding: rem-calc(8 10 10);
|
788
|
-
$table-hover-scale: 2%;
|
789
|
-
$table-row-hover: darken($table-background, $table-hover-scale);
|
790
|
-
$table-row-stripe-hover: darken($table-background, $table-color-scale + $table-hover-scale);
|
791
|
-
$table-is-striped: true;
|
792
|
-
$table-striped-background: smart-scale($table-background, $table-color-scale);
|
793
|
-
$table-stripe: even;
|
794
|
-
$table-head-background: smart-scale($table-background, $table-color-scale * .5);
|
795
|
-
$table-head-row-hover: darken($table-head-background, $table-hover-scale);
|
796
|
-
$table-foot-background: smart-scale($table-background, $table-color-scale);
|
797
|
-
$table-foot-row-hover: darken($table-foot-background, $table-hover-scale);
|
798
|
-
$table-head-font-color: $medium-gray;
|
799
|
-
$show-header-for-stacked: false;
|
800
|
-
$table-stack-breakpoint: medium;
|
801
|
-
|
802
|
-
// 51. Tabs
|
803
|
-
// --------
|
804
|
-
|
805
|
-
$tab-margin: 0;
|
806
|
-
$tab-background: darken($light-gray, 2.5);
|
807
|
-
$tab-background-active: $white;
|
808
|
-
$tab-item-font-size: rem-calc(16);
|
809
|
-
$tab-color: $primary-color;
|
810
|
-
$tab-active-color: $primary-color;
|
811
|
-
$tab-item-background-hover: $white;
|
812
|
-
$tab-item-padding: 1.25rem 1.5rem;
|
813
|
-
$tab-expand-max: 6;
|
814
|
-
$tab-content-background: $white;
|
815
|
-
$tab-content-border: transparent;
|
816
|
-
$tab-content-color: inherit;
|
817
|
-
$tab-content-padding: 0;
|
818
|
-
|
819
|
-
// 52. Thumbnail
|
820
|
-
// -------------
|
821
|
-
|
822
|
-
$thumbnail-border: solid 4px $white;
|
823
|
-
$thumbnail-margin-bottom: $global-margin;
|
824
|
-
$thumbnail-shadow: 0 0 0 1px $medium-gray;
|
825
|
-
$thumbnail-shadow-hover: 0 0 0 1px $primary-color;
|
826
|
-
$thumbnail-transition: box-shadow 200ms ease-out;
|
827
|
-
$thumbnail-radius: $global-radius;
|
828
|
-
|
829
|
-
// 53. Title Bar
|
830
|
-
// -------------
|
831
|
-
|
832
|
-
$titlebar-background: $dark-gray;
|
833
|
-
$titlebar-color: $body-font-color;
|
834
|
-
$titlebar-padding: .5rem;
|
835
|
-
$titlebar-text-font-weight: bold;
|
836
|
-
$titlebar-icon-color: $white;
|
837
|
-
$titlebar-icon-color-hover: $medium-gray;
|
838
|
-
$titlebar-icon-spacing: .25rem;
|
839
|
-
|
840
|
-
// 54. Tooltip
|
841
|
-
// -----------
|
842
|
-
|
843
|
-
$has-tip-cursor: pointer;
|
844
|
-
$has-tip-font-weight: $global-weight-bold;
|
845
|
-
$has-tip-border-bottom: 0;
|
846
|
-
$tooltip-background-color: $black;
|
847
|
-
$tooltip-color: $white;
|
848
|
-
$tooltip-padding: .3rem 1rem;
|
849
|
-
$tooltip-max-width: 10rem;
|
850
|
-
$tooltip-font-size: $small-font-size;
|
851
|
-
$tooltip-pip-width: .75rem;
|
852
|
-
$tooltip-pip-height: $tooltip-pip-width * .866;
|
853
|
-
$tooltip-radius: $global-radius;
|
854
|
-
|
855
|
-
// 55. Top Bar
|
856
|
-
// -----------
|
857
|
-
|
858
|
-
$topbar-padding: .5rem;
|
859
|
-
$topbar-background: $medium-gray;
|
860
|
-
$topbar-submenu-background: $topbar-background;
|
861
|
-
$topbar-title-spacing: 1rem;
|
862
|
-
$topbar-input-width: 200px;
|
863
|
-
$topbar-unstack-breakpoint: medium;
|
864
|
-
|
865
|
-
// 56. Xy Grid
|
866
|
-
// -----------
|
867
|
-
|
868
|
-
$xy-grid: true;
|
869
|
-
$grid-container: $global-width;
|
870
|
-
$grid-columns: 12;
|
871
|
-
$grid-margin-gutters: (
|
872
|
-
small: 20px,
|
873
|
-
medium: 30px
|
874
|
-
);
|
875
|
-
$grid-padding-gutters: $grid-margin-gutters;
|
876
|
-
$grid-container-padding: $grid-padding-gutters;
|
877
|
-
$grid-container-max: $global-width;
|
878
|
-
$xy-block-grid-max: 8;
|
879
|
-
|
880
|
-
// This imports all the Decidim module stylesheet configs registered at
|
881
|
-
// `config/assets.rb` of the module for the "admin" group.
|
882
|
-
@import "!decidim-style-settings[admin]";
|