decidim-core 0.10.1 → 0.11.0.pre1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -11
- data/app/assets/images/decidim/icons.svg +25 -6
- data/app/assets/javascripts/decidim/account_form.js.es6 +8 -8
- data/app/assets/javascripts/decidim/append_elements.js.es6 +1 -1
- data/app/assets/javascripts/decidim/append_redirect_url_to_modals.js.es6 +5 -5
- data/app/assets/javascripts/decidim/data_picker.js.es6 +10 -10
- data/app/assets/javascripts/decidim/editor.js.es6 +37 -22
- data/app/assets/javascripts/decidim/filters.js.es6 +1 -1
- data/app/assets/javascripts/decidim/form_filter.component.js.es6 +15 -15
- data/app/assets/javascripts/decidim/form_filter.component.test.js +29 -29
- data/app/assets/javascripts/decidim/impersonation.js.es6 +3 -3
- data/app/assets/javascripts/decidim/input_mentions.js.es6 +100 -0
- data/app/assets/javascripts/decidim/input_tags.js.es6 +12 -0
- data/app/assets/javascripts/decidim/{map.js.es6.erb → map.js.es6} +9 -9
- data/app/assets/javascripts/decidim/notifications.js.es6 +10 -10
- data/app/assets/javascripts/decidim/orders.js.es6 +5 -5
- data/app/assets/javascripts/decidim/user_registrations.js.es6 +4 -4
- data/app/assets/javascripts/decidim/widget.js.es6 +1 -1
- data/app/assets/javascripts/decidim.js.es6 +10 -0
- data/app/assets/stylesheets/decidim/application.scss.erb +1 -1
- data/app/assets/stylesheets/decidim/modules/_author-avatar.scss +39 -0
- data/app/assets/stylesheets/decidim/modules/_cards.scss +158 -3
- data/app/assets/stylesheets/decidim/modules/_definition-data.scss +6 -0
- data/app/assets/stylesheets/decidim/modules/_extra.scss +1 -3
- data/app/assets/stylesheets/decidim/modules/_icons.scss +14 -6
- data/app/assets/stylesheets/decidim/modules/_inline-filters.scss +61 -0
- data/app/assets/stylesheets/decidim/modules/_input-mentions.scss +124 -0
- data/app/assets/stylesheets/decidim/modules/_input-tags.scss +55 -0
- data/app/assets/stylesheets/decidim/modules/_modules.scss +3 -0
- data/app/assets/stylesheets/decidim/modules/_status-labels.scss +4 -0
- data/app/assets/stylesheets/decidim/modules/_typography.scss +16 -0
- data/app/assets/stylesheets/decidim/utils/_helpers.scss +29 -0
- data/app/assets/stylesheets/decidim/utils/_mixins.scss +6 -0
- data/app/cells/decidim/author_box/show.erb +10 -0
- data/app/cells/decidim/author_box_cell.rb +21 -0
- data/app/cells/decidim/card/show.erb +17 -0
- data/app/cells/decidim/card_cell.rb +29 -0
- data/app/cells/decidim/profile/profile_inline.erb +21 -0
- data/app/cells/decidim/profile/show.erb +13 -0
- data/app/cells/decidim/profile_cell.rb +17 -0
- data/app/commands/decidim/create_omniauth_registration.rb +3 -2
- data/app/commands/decidim/create_report.rb +1 -1
- data/app/commands/decidim/invite_user.rb +2 -0
- data/app/constraints/decidim/current_component.rb +41 -0
- data/app/controllers/concerns/decidim/action_authorization.rb +3 -3
- data/app/controllers/concerns/decidim/devise_controllers.rb +2 -1
- data/app/controllers/concerns/decidim/filter_resource.rb +1 -1
- data/app/controllers/concerns/decidim/form_factory.rb +1 -1
- data/app/controllers/concerns/decidim/impersonate_users.rb +6 -2
- data/app/controllers/concerns/decidim/needs_authorization.rb +2 -2
- data/app/controllers/concerns/decidim/participatory_space_context.rb +15 -0
- data/app/controllers/concerns/decidim/settings.rb +5 -5
- data/app/controllers/decidim/application_controller.rb +2 -1
- data/app/controllers/decidim/{features → components}/base_controller.rb +16 -8
- data/app/controllers/decidim/devise/omniauth_registrations_controller.rb +3 -1
- data/app/controllers/decidim/devise/registrations_controller.rb +1 -3
- data/app/controllers/decidim/doorkeeper/authorizations_controller.rb +16 -0
- data/app/controllers/decidim/doorkeeper/credentials_controller.rb +46 -0
- data/app/controllers/decidim/doorkeeper/token_info_controller.rb +9 -0
- data/app/controllers/decidim/doorkeeper/tokens_controller.rb +9 -0
- data/app/controllers/decidim/widgets_controller.rb +1 -1
- data/app/forms/decidim/follow_form.rb +1 -1
- data/app/forms/decidim/form.rb +1 -1
- data/app/forms/decidim/omniauth_registration_form.rb +1 -0
- data/app/forms/decidim/registration_form.rb +5 -5
- data/app/helpers/decidim/card_helper.rb +16 -0
- data/app/helpers/decidim/component_path_helper.rb +36 -0
- data/app/helpers/decidim/icon_helper.rb +7 -7
- data/app/helpers/decidim/messaging/conversation_helper.rb +4 -3
- data/app/helpers/decidim/paginate_helper.rb +1 -1
- data/app/helpers/decidim/resource_helper.rb +2 -2
- data/app/jobs/decidim/export_job.rb +3 -3
- data/app/mailers/decidim/messaging/conversation_mailer.rb +0 -2
- data/app/middleware/decidim/current_organization.rb +2 -2
- data/app/models/decidim/abilities/admin_ability.rb +1 -1
- data/app/models/decidim/abilities/everyone_ability.rb +1 -1
- data/app/models/decidim/abilities/participatory_process_admin_ability.rb +2 -2
- data/app/models/decidim/abilities/participatory_process_collaborator_ability.rb +2 -2
- data/app/models/decidim/action_log.rb +7 -5
- data/app/models/decidim/area.rb +7 -0
- data/app/models/decidim/authorization.rb +14 -0
- data/app/models/decidim/{feature.rb → component.rb} +15 -15
- data/app/models/decidim/moderation.rb +1 -1
- data/app/models/decidim/oauth_application.rb +24 -0
- data/app/models/decidim/organization.rb +5 -0
- data/app/models/decidim/participatory_space_link.rb +20 -0
- data/app/models/decidim/participatory_space_private_user.rb +19 -0
- data/app/models/decidim/user.rb +7 -0
- data/app/presenters/decidim/admin_log/area_presenter.rb +38 -0
- data/app/presenters/decidim/admin_log/{feature_presenter.rb → component_presenter.rb} +5 -5
- data/app/presenters/decidim/admin_log/newsletter_resource_presenter.rb +1 -1
- data/app/presenters/decidim/admin_log/oauth_application_presenter.rb +50 -0
- data/app/presenters/decidim/admin_log/oauth_application_resource_presenter.rb +18 -0
- data/app/presenters/decidim/home_stats_presenter.rb +7 -7
- data/app/presenters/decidim/log/value_types/area_presenter.rb +1 -1
- data/app/presenters/decidim/log/value_types/area_type_presenter.rb +28 -0
- data/app/presenters/decidim/log/value_types/currency_presenter.rb +20 -0
- data/app/presenters/decidim/log/value_types/scope_presenter.rb +1 -1
- data/app/presenters/decidim/log/value_types/scope_type_presenter.rb +1 -1
- data/app/presenters/decidim/resource_locator_presenter.rb +3 -3
- data/app/services/decidim/action_authorizer.rb +9 -9
- data/app/services/decidim/action_logger.rb +9 -7
- data/app/services/decidim/email_notification_generator.rb +1 -1
- data/app/services/decidim/notification_generator_for_recipient.rb +1 -1
- data/app/services/decidim/resource_search.rb +8 -8
- data/app/services/decidim/settings_change.rb +5 -5
- data/app/services/decidim/static_map_generator.rb +1 -1
- data/app/types/decidim/core/attachment_type.rb +14 -0
- data/app/types/decidim/core/category_type.rb +16 -0
- data/app/types/decidim/core/coordinates_type.rb +19 -0
- data/app/types/decidim/core/scope_api_type.rb +16 -0
- data/app/uploaders/decidim/oauth_application_logo_uploader.rb +9 -0
- data/app/validators/geocoding_validator.rb +2 -2
- data/app/views/decidim/account/delete.html.erb +7 -7
- data/app/views/decidim/application/_collection.html.erb +1 -1
- data/app/views/decidim/application/_document.html.erb +1 -1
- data/app/views/decidim/application/_photos.html.erb +1 -1
- data/app/views/decidim/devise/invitations/edit.html.erb +1 -1
- data/app/views/decidim/devise/omniauth_registrations/new.html.erb +1 -1
- data/app/views/decidim/devise/registrations/new.html.erb +1 -1
- data/app/views/decidim/devise/sessions/new.html.erb +2 -2
- data/app/views/decidim/devise/shared/_omniauth_buttons.html.erb +1 -1
- data/app/views/decidim/devise/shared/_omniauth_buttons_mini.html.erb +1 -1
- data/app/views/decidim/doorkeeper/authorizations/new.html.erb +58 -0
- data/app/views/decidim/messaging/conversations/_show.html.erb +1 -1
- data/app/views/decidim/messaging/conversations/index.html.erb +1 -1
- data/app/views/decidim/notifications/index.html.erb +1 -1
- data/app/views/decidim/notifications_settings/show.html.erb +2 -2
- data/app/views/decidim/own_user_groups/index.html.erb +3 -3
- data/app/views/decidim/scopes/_scopes_picker_input.html.erb +4 -4
- data/app/views/decidim/scopes/picker.html.erb +3 -3
- data/app/views/decidim/shared/_action_authorization_modal.html.erb +1 -1
- data/app/views/decidim/shared/_author.html.erb +1 -1
- data/app/views/decidim/shared/_author_reference.html.erb +1 -12
- data/app/views/decidim/shared/{_feature_announcement.html.erb → _component_announcement.html.erb} +2 -2
- data/app/views/decidim/shared/_embed_modal.html.erb +1 -1
- data/app/views/decidim/shared/_flag_modal.html.erb +5 -5
- data/app/views/decidim/shared/_login_modal.html.erb +3 -3
- data/app/views/decidim/shared/_private_participatory_space.html.erb +5 -0
- data/app/views/decidim/shared/_share_modal.html.erb +1 -1
- data/app/views/decidim/shared/_tags.html.erb +1 -1
- data/app/views/decidim/shared/_version_author.html.erb +1 -1
- data/app/views/decidim/widgets/_data_picker.html.erb +4 -4
- data/app/views/devise/mailer/confirmation_instructions.html.erb +3 -3
- data/app/views/devise/mailer/invite_private_user.html.erb +17 -0
- data/app/views/devise/mailer/invite_private_user.text.erb +15 -0
- data/app/views/devise/mailer/password_change.html.erb +2 -2
- data/app/views/devise/mailer/reset_password_instructions.html.erb +5 -5
- data/app/views/kaminari/decidim/_first_page.html.erb +2 -3
- data/app/views/kaminari/decidim/_gap.html.erb +2 -3
- data/app/views/kaminari/decidim/_last_page.html.erb +2 -3
- data/app/views/kaminari/decidim/_next_page.html.erb +2 -3
- data/app/views/kaminari/decidim/_page.html.erb +2 -3
- data/app/views/kaminari/decidim/_paginator.html.erb +1 -2
- data/app/views/kaminari/decidim/_prev_page.html.erb +2 -3
- data/app/views/layouts/decidim/_application.html.erb +4 -4
- data/app/views/layouts/decidim/_component_authorization_modals.html.erb +5 -0
- data/app/views/layouts/decidim/_cookie_warning.html.erb +2 -2
- data/app/views/layouts/decidim/_head.html.erb +4 -4
- data/app/views/layouts/decidim/_impersonation_warning.html.erb +4 -4
- data/app/views/layouts/decidim/_language_chooser.html.erb +1 -1
- data/app/views/layouts/decidim/_social_media_links.html.erb +5 -5
- data/app/views/layouts/decidim/_wrapper.html.erb +5 -5
- data/app/views/layouts/decidim/mailer.html.erb +1 -1
- data/app/views/layouts/decidim/widget.html.erb +5 -5
- data/app/views/pages/home/_hero.html.erb +1 -1
- data/app/views/pages/home.html.erb +6 -6
- data/config/locales/ca.yml +66 -27
- data/config/locales/en.yml +69 -30
- data/config/locales/es.yml +66 -27
- data/config/locales/eu.yml +69 -30
- data/config/locales/fi.yml +69 -30
- data/config/locales/fr.yml +85 -46
- data/config/locales/gl.yml +69 -30
- data/config/locales/it.yml +69 -30
- data/config/locales/nl.yml +122 -83
- data/config/locales/pl.yml +69 -30
- data/config/locales/pt-BR.yml +69 -30
- data/config/locales/pt.yml +69 -30
- data/config/locales/ru.yml +0 -7
- data/config/locales/sv.yml +69 -30
- data/config/locales/uk.yml +0 -13
- data/config/routes.rb +8 -0
- data/db/migrate/20180206183235_create_participatory_space_private_users.rb +15 -0
- data/db/migrate/20180221101934_fix_nickname_index.rb +5 -6
- data/db/migrate/20180226140756_add_version_to_action_logs.rb +5 -1
- data/db/migrate/20180227131727_create_participatory_space_links.rb +12 -0
- data/db/migrate/20180305132906_rename_features_to_components.rb +13 -0
- data/db/migrate/20180308113207_doorkeeper_models.rb +85 -0
- data/db/migrate/20180314085339_rename_maximum_votes_per_proposal_to_threshold_per_proposal.rb +2 -2
- data/db/migrate/{20180326075746_change_event_name_and_class_to_rename_to_publish_proposal_event.rb → 20180323102631_change_event_name_and_class_to_rename_to_publish_proposal_event.rb} +0 -0
- data/db/seeds.rb +12 -2
- data/lib/decidim/api/attachable_interface.rb +13 -0
- data/lib/decidim/api/authorable_interface.rb +13 -0
- data/lib/decidim/api/categorizable_interface.rb +13 -0
- data/lib/decidim/api/participatory_space_interface.rb +4 -4
- data/lib/decidim/api/scopable_interface.rb +13 -0
- data/lib/decidim/authorable.rb +8 -0
- data/lib/decidim/{feature_manifest.rb → component_manifest.rb} +24 -21
- data/lib/decidim/{feature_validator.rb → component_validator.rb} +6 -6
- data/lib/decidim/{features → components}/export_manifest.rb +4 -4
- data/lib/decidim/components/namer.rb +35 -0
- data/lib/decidim/components.rb +9 -0
- data/lib/decidim/content_parsers/user_parser.rb +1 -1
- data/lib/decidim/core/api.rb +13 -0
- data/lib/decidim/core/engine.rb +76 -3
- data/lib/decidim/core/test/factories.rb +43 -10
- data/lib/decidim/core/test/shared_examples/announcements_examples.rb +9 -9
- data/lib/decidim/core/test/shared_examples/attachable_interface_examples.rb +16 -0
- data/lib/decidim/core/test/shared_examples/authorable_interface_examples.rb +33 -0
- data/lib/decidim/core/test/shared_examples/categorizable_interface_examples.rb +19 -0
- data/lib/decidim/core/test/shared_examples/comments_examples.rb +3 -3
- data/lib/decidim/core/test/shared_examples/follows_examples.rb +1 -1
- data/lib/decidim/core/test/shared_examples/has_component.rb +21 -0
- data/lib/decidim/core/test/shared_examples/has_reference.rb +2 -2
- data/lib/decidim/core/test/shared_examples/localised_email.rb +1 -1
- data/lib/decidim/core/test/shared_examples/paginated_resource_examples.rb +1 -1
- data/lib/decidim/core/test/shared_examples/reportable.rb +8 -6
- data/lib/decidim/core/test/shared_examples/reports_examples.rb +1 -1
- data/lib/decidim/core/test/shared_examples/scopable_interface_examples.rb +19 -0
- data/lib/decidim/core/test/shared_examples/scope_helper_examples.rb +8 -3
- data/lib/decidim/core/test/shared_examples/simple_event.rb +1 -1
- data/lib/decidim/core/test/shared_examples/user_localised_email_examples.rb +1 -1
- data/lib/decidim/core/test.rb +1 -1
- data/lib/decidim/core/version.rb +1 -1
- data/lib/decidim/core.rb +35 -37
- data/lib/decidim/events/base_event.rb +5 -5
- data/lib/decidim/events/simple_event.rb +8 -8
- data/lib/decidim/form_builder.rb +48 -3
- data/lib/decidim/has_attachment_collections.rb +1 -1
- data/lib/decidim/has_attachments.rb +1 -1
- data/lib/decidim/has_category.rb +2 -2
- data/lib/decidim/has_component.rb +23 -0
- data/lib/decidim/has_private_users.rb +26 -0
- data/lib/decidim/has_reference.rb +3 -3
- data/lib/decidim/page_finder.rb +1 -1
- data/lib/decidim/participatory_space_manifest.rb +3 -3
- data/lib/decidim/participatory_space_resourceable.rb +80 -0
- data/lib/decidim/publicable.rb +2 -2
- data/lib/decidim/query_extensions.rb +2 -2
- data/lib/decidim/rectify_ext.rb +32 -0
- data/lib/decidim/reportable.rb +1 -1
- data/lib/decidim/resource_manifest.rb +13 -13
- data/lib/decidim/resourceable.rb +8 -8
- data/lib/decidim/scopable.rb +1 -1
- data/lib/decidim/{scopable_feature.rb → scopable_component.rb} +1 -1
- data/lib/decidim/settings_manifest.rb +1 -1
- data/lib/decidim/stats_registry.rb +1 -1
- data/lib/decidim/view_model.rb +9 -0
- data/vendor/assets/javascripts/datepicker-locales/foundation-datepicker.fr.js +4 -1
- data/vendor/assets/javascripts/form_datepicker.js.es6 +10 -10
- data/vendor/assets/javascripts/quill.min.js +2 -2
- data/vendor/assets/javascripts/quill.min.js.map +1 -1
- data/vendor/assets/javascripts/tagsinput.js +683 -0
- data/vendor/assets/javascripts/tribute.js +1607 -0
- data/vendor/assets/stylesheets/quill.bubble.css +30 -16
- data/vendor/assets/stylesheets/quill.core.css +19 -9
- data/vendor/assets/stylesheets/quill.snow.css +30 -16
- data/vendor/assets/stylesheets/tagsinput.css +55 -0
- data/vendor/assets/stylesheets/tribute.css +27 -0
- metadata +164 -27
- data/app/constraints/decidim/current_feature.rb +0 -41
- data/app/helpers/decidim/feature_path_helper.rb +0 -36
- data/app/views/layouts/decidim/_feature_authorization_modals.html.erb +0 -5
- data/lib/decidim/core/test/shared_examples/has_feature.rb +0 -21
- data/lib/decidim/features/namer.rb +0 -35
- data/lib/decidim/features.rb +0 -9
- data/lib/decidim/has_feature.rb +0 -23
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Quill Editor v1.
|
2
|
+
* Quill Editor v1.3.6
|
3
3
|
* https://quilljs.com/
|
4
4
|
* Copyright (c) 2014, Jason Chen
|
5
5
|
* Copyright (c) 2013, salesforce.com
|
@@ -31,7 +31,6 @@
|
|
31
31
|
}
|
32
32
|
.ql-editor {
|
33
33
|
box-sizing: border-box;
|
34
|
-
cursor: text;
|
35
34
|
line-height: 1.42;
|
36
35
|
height: 100%;
|
37
36
|
outline: none;
|
@@ -43,6 +42,9 @@
|
|
43
42
|
white-space: pre-wrap;
|
44
43
|
word-wrap: break-word;
|
45
44
|
}
|
45
|
+
.ql-editor > * {
|
46
|
+
cursor: text;
|
47
|
+
}
|
46
48
|
.ql-editor p,
|
47
49
|
.ql-editor ol,
|
48
50
|
.ql-editor ul,
|
@@ -93,24 +95,30 @@
|
|
93
95
|
display: inline-block;
|
94
96
|
white-space: nowrap;
|
95
97
|
width: 1.2em;
|
96
|
-
|
97
|
-
|
98
|
+
}
|
99
|
+
.ql-editor li:not(.ql-direction-rtl)::before {
|
98
100
|
margin-left: -1.5em;
|
101
|
+
margin-right: 0.3em;
|
102
|
+
text-align: right;
|
99
103
|
}
|
100
104
|
.ql-editor li.ql-direction-rtl::before {
|
101
|
-
text-align: left;
|
102
105
|
margin-left: 0.3em;
|
106
|
+
margin-right: -1.5em;
|
103
107
|
}
|
104
|
-
.ql-editor ol li,
|
105
|
-
.ql-editor ul li {
|
108
|
+
.ql-editor ol li:not(.ql-direction-rtl),
|
109
|
+
.ql-editor ul li:not(.ql-direction-rtl) {
|
106
110
|
padding-left: 1.5em;
|
107
111
|
}
|
112
|
+
.ql-editor ol li.ql-direction-rtl,
|
113
|
+
.ql-editor ul li.ql-direction-rtl {
|
114
|
+
padding-right: 1.5em;
|
115
|
+
}
|
108
116
|
.ql-editor ol li {
|
109
117
|
counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
|
110
|
-
counter-increment: list-
|
118
|
+
counter-increment: list-0;
|
111
119
|
}
|
112
120
|
.ql-editor ol li:before {
|
113
|
-
content: counter(list-
|
121
|
+
content: counter(list-0, decimal) '. ';
|
114
122
|
}
|
115
123
|
.ql-editor ol li.ql-indent-1 {
|
116
124
|
counter-increment: list-1;
|
@@ -382,8 +390,10 @@
|
|
382
390
|
color: rgba(0,0,0,0.6);
|
383
391
|
content: attr(data-placeholder);
|
384
392
|
font-style: italic;
|
393
|
+
left: 15px;
|
385
394
|
pointer-events: none;
|
386
395
|
position: absolute;
|
396
|
+
right: 15px;
|
387
397
|
}
|
388
398
|
.ql-bubble.ql-toolbar:after,
|
389
399
|
.ql-bubble .ql-toolbar:after {
|
@@ -417,6 +427,8 @@
|
|
417
427
|
}
|
418
428
|
.ql-bubble.ql-toolbar button:hover,
|
419
429
|
.ql-bubble .ql-toolbar button:hover,
|
430
|
+
.ql-bubble.ql-toolbar button:focus,
|
431
|
+
.ql-bubble .ql-toolbar button:focus,
|
420
432
|
.ql-bubble.ql-toolbar button.ql-active,
|
421
433
|
.ql-bubble .ql-toolbar button.ql-active,
|
422
434
|
.ql-bubble.ql-toolbar .ql-picker-label:hover,
|
@@ -431,6 +443,8 @@
|
|
431
443
|
}
|
432
444
|
.ql-bubble.ql-toolbar button:hover .ql-fill,
|
433
445
|
.ql-bubble .ql-toolbar button:hover .ql-fill,
|
446
|
+
.ql-bubble.ql-toolbar button:focus .ql-fill,
|
447
|
+
.ql-bubble .ql-toolbar button:focus .ql-fill,
|
434
448
|
.ql-bubble.ql-toolbar button.ql-active .ql-fill,
|
435
449
|
.ql-bubble .ql-toolbar button.ql-active .ql-fill,
|
436
450
|
.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-fill,
|
@@ -443,6 +457,8 @@
|
|
443
457
|
.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-fill,
|
444
458
|
.ql-bubble.ql-toolbar button:hover .ql-stroke.ql-fill,
|
445
459
|
.ql-bubble .ql-toolbar button:hover .ql-stroke.ql-fill,
|
460
|
+
.ql-bubble.ql-toolbar button:focus .ql-stroke.ql-fill,
|
461
|
+
.ql-bubble .ql-toolbar button:focus .ql-stroke.ql-fill,
|
446
462
|
.ql-bubble.ql-toolbar button.ql-active .ql-stroke.ql-fill,
|
447
463
|
.ql-bubble .ql-toolbar button.ql-active .ql-stroke.ql-fill,
|
448
464
|
.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,
|
@@ -457,6 +473,8 @@
|
|
457
473
|
}
|
458
474
|
.ql-bubble.ql-toolbar button:hover .ql-stroke,
|
459
475
|
.ql-bubble .ql-toolbar button:hover .ql-stroke,
|
476
|
+
.ql-bubble.ql-toolbar button:focus .ql-stroke,
|
477
|
+
.ql-bubble .ql-toolbar button:focus .ql-stroke,
|
460
478
|
.ql-bubble.ql-toolbar button.ql-active .ql-stroke,
|
461
479
|
.ql-bubble .ql-toolbar button.ql-active .ql-stroke,
|
462
480
|
.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke,
|
@@ -469,6 +487,8 @@
|
|
469
487
|
.ql-bubble .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,
|
470
488
|
.ql-bubble.ql-toolbar button:hover .ql-stroke-miter,
|
471
489
|
.ql-bubble .ql-toolbar button:hover .ql-stroke-miter,
|
490
|
+
.ql-bubble.ql-toolbar button:focus .ql-stroke-miter,
|
491
|
+
.ql-bubble .ql-toolbar button:focus .ql-stroke-miter,
|
472
492
|
.ql-bubble.ql-toolbar button.ql-active .ql-stroke-miter,
|
473
493
|
.ql-bubble .ql-toolbar button.ql-active .ql-stroke-miter,
|
474
494
|
.ql-bubble.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,
|
@@ -611,13 +631,7 @@
|
|
611
631
|
}
|
612
632
|
.ql-bubble .ql-editor code {
|
613
633
|
font-size: 85%;
|
614
|
-
padding
|
615
|
-
padding-top: 2px;
|
616
|
-
}
|
617
|
-
.ql-bubble .ql-editor code:before,
|
618
|
-
.ql-bubble .ql-editor code:after {
|
619
|
-
content: "\A0";
|
620
|
-
letter-spacing: -2px;
|
634
|
+
padding: 2px 4px;
|
621
635
|
}
|
622
636
|
.ql-bubble .ql-editor pre.ql-syntax {
|
623
637
|
background-color: #23241f;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Quill Editor v1.
|
2
|
+
* Quill Editor v1.3.6
|
3
3
|
* https://quilljs.com/
|
4
4
|
* Copyright (c) 2014, Jason Chen
|
5
5
|
* Copyright (c) 2013, salesforce.com
|
@@ -31,7 +31,6 @@
|
|
31
31
|
}
|
32
32
|
.ql-editor {
|
33
33
|
box-sizing: border-box;
|
34
|
-
cursor: text;
|
35
34
|
line-height: 1.42;
|
36
35
|
height: 100%;
|
37
36
|
outline: none;
|
@@ -43,6 +42,9 @@
|
|
43
42
|
white-space: pre-wrap;
|
44
43
|
word-wrap: break-word;
|
45
44
|
}
|
45
|
+
.ql-editor > * {
|
46
|
+
cursor: text;
|
47
|
+
}
|
46
48
|
.ql-editor p,
|
47
49
|
.ql-editor ol,
|
48
50
|
.ql-editor ul,
|
@@ -93,24 +95,30 @@
|
|
93
95
|
display: inline-block;
|
94
96
|
white-space: nowrap;
|
95
97
|
width: 1.2em;
|
96
|
-
|
97
|
-
|
98
|
+
}
|
99
|
+
.ql-editor li:not(.ql-direction-rtl)::before {
|
98
100
|
margin-left: -1.5em;
|
101
|
+
margin-right: 0.3em;
|
102
|
+
text-align: right;
|
99
103
|
}
|
100
104
|
.ql-editor li.ql-direction-rtl::before {
|
101
|
-
text-align: left;
|
102
105
|
margin-left: 0.3em;
|
106
|
+
margin-right: -1.5em;
|
103
107
|
}
|
104
|
-
.ql-editor ol li,
|
105
|
-
.ql-editor ul li {
|
108
|
+
.ql-editor ol li:not(.ql-direction-rtl),
|
109
|
+
.ql-editor ul li:not(.ql-direction-rtl) {
|
106
110
|
padding-left: 1.5em;
|
107
111
|
}
|
112
|
+
.ql-editor ol li.ql-direction-rtl,
|
113
|
+
.ql-editor ul li.ql-direction-rtl {
|
114
|
+
padding-right: 1.5em;
|
115
|
+
}
|
108
116
|
.ql-editor ol li {
|
109
117
|
counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
|
110
|
-
counter-increment: list-
|
118
|
+
counter-increment: list-0;
|
111
119
|
}
|
112
120
|
.ql-editor ol li:before {
|
113
|
-
content: counter(list-
|
121
|
+
content: counter(list-0, decimal) '. ';
|
114
122
|
}
|
115
123
|
.ql-editor ol li.ql-indent-1 {
|
116
124
|
counter-increment: list-1;
|
@@ -382,6 +390,8 @@
|
|
382
390
|
color: rgba(0,0,0,0.6);
|
383
391
|
content: attr(data-placeholder);
|
384
392
|
font-style: italic;
|
393
|
+
left: 15px;
|
385
394
|
pointer-events: none;
|
386
395
|
position: absolute;
|
396
|
+
right: 15px;
|
387
397
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Quill Editor v1.
|
2
|
+
* Quill Editor v1.3.6
|
3
3
|
* https://quilljs.com/
|
4
4
|
* Copyright (c) 2014, Jason Chen
|
5
5
|
* Copyright (c) 2013, salesforce.com
|
@@ -31,7 +31,6 @@
|
|
31
31
|
}
|
32
32
|
.ql-editor {
|
33
33
|
box-sizing: border-box;
|
34
|
-
cursor: text;
|
35
34
|
line-height: 1.42;
|
36
35
|
height: 100%;
|
37
36
|
outline: none;
|
@@ -43,6 +42,9 @@
|
|
43
42
|
white-space: pre-wrap;
|
44
43
|
word-wrap: break-word;
|
45
44
|
}
|
45
|
+
.ql-editor > * {
|
46
|
+
cursor: text;
|
47
|
+
}
|
46
48
|
.ql-editor p,
|
47
49
|
.ql-editor ol,
|
48
50
|
.ql-editor ul,
|
@@ -93,24 +95,30 @@
|
|
93
95
|
display: inline-block;
|
94
96
|
white-space: nowrap;
|
95
97
|
width: 1.2em;
|
96
|
-
|
97
|
-
|
98
|
+
}
|
99
|
+
.ql-editor li:not(.ql-direction-rtl)::before {
|
98
100
|
margin-left: -1.5em;
|
101
|
+
margin-right: 0.3em;
|
102
|
+
text-align: right;
|
99
103
|
}
|
100
104
|
.ql-editor li.ql-direction-rtl::before {
|
101
|
-
text-align: left;
|
102
105
|
margin-left: 0.3em;
|
106
|
+
margin-right: -1.5em;
|
103
107
|
}
|
104
|
-
.ql-editor ol li,
|
105
|
-
.ql-editor ul li {
|
108
|
+
.ql-editor ol li:not(.ql-direction-rtl),
|
109
|
+
.ql-editor ul li:not(.ql-direction-rtl) {
|
106
110
|
padding-left: 1.5em;
|
107
111
|
}
|
112
|
+
.ql-editor ol li.ql-direction-rtl,
|
113
|
+
.ql-editor ul li.ql-direction-rtl {
|
114
|
+
padding-right: 1.5em;
|
115
|
+
}
|
108
116
|
.ql-editor ol li {
|
109
117
|
counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;
|
110
|
-
counter-increment: list-
|
118
|
+
counter-increment: list-0;
|
111
119
|
}
|
112
120
|
.ql-editor ol li:before {
|
113
|
-
content: counter(list-
|
121
|
+
content: counter(list-0, decimal) '. ';
|
114
122
|
}
|
115
123
|
.ql-editor ol li.ql-indent-1 {
|
116
124
|
counter-increment: list-1;
|
@@ -382,8 +390,10 @@
|
|
382
390
|
color: rgba(0,0,0,0.6);
|
383
391
|
content: attr(data-placeholder);
|
384
392
|
font-style: italic;
|
393
|
+
left: 15px;
|
385
394
|
pointer-events: none;
|
386
395
|
position: absolute;
|
396
|
+
right: 15px;
|
387
397
|
}
|
388
398
|
.ql-snow.ql-toolbar:after,
|
389
399
|
.ql-snow .ql-toolbar:after {
|
@@ -417,6 +427,8 @@
|
|
417
427
|
}
|
418
428
|
.ql-snow.ql-toolbar button:hover,
|
419
429
|
.ql-snow .ql-toolbar button:hover,
|
430
|
+
.ql-snow.ql-toolbar button:focus,
|
431
|
+
.ql-snow .ql-toolbar button:focus,
|
420
432
|
.ql-snow.ql-toolbar button.ql-active,
|
421
433
|
.ql-snow .ql-toolbar button.ql-active,
|
422
434
|
.ql-snow.ql-toolbar .ql-picker-label:hover,
|
@@ -431,6 +443,8 @@
|
|
431
443
|
}
|
432
444
|
.ql-snow.ql-toolbar button:hover .ql-fill,
|
433
445
|
.ql-snow .ql-toolbar button:hover .ql-fill,
|
446
|
+
.ql-snow.ql-toolbar button:focus .ql-fill,
|
447
|
+
.ql-snow .ql-toolbar button:focus .ql-fill,
|
434
448
|
.ql-snow.ql-toolbar button.ql-active .ql-fill,
|
435
449
|
.ql-snow .ql-toolbar button.ql-active .ql-fill,
|
436
450
|
.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,
|
@@ -443,6 +457,8 @@
|
|
443
457
|
.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,
|
444
458
|
.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,
|
445
459
|
.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,
|
460
|
+
.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,
|
461
|
+
.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,
|
446
462
|
.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,
|
447
463
|
.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,
|
448
464
|
.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,
|
@@ -457,6 +473,8 @@
|
|
457
473
|
}
|
458
474
|
.ql-snow.ql-toolbar button:hover .ql-stroke,
|
459
475
|
.ql-snow .ql-toolbar button:hover .ql-stroke,
|
476
|
+
.ql-snow.ql-toolbar button:focus .ql-stroke,
|
477
|
+
.ql-snow .ql-toolbar button:focus .ql-stroke,
|
460
478
|
.ql-snow.ql-toolbar button.ql-active .ql-stroke,
|
461
479
|
.ql-snow .ql-toolbar button.ql-active .ql-stroke,
|
462
480
|
.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,
|
@@ -469,6 +487,8 @@
|
|
469
487
|
.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,
|
470
488
|
.ql-snow.ql-toolbar button:hover .ql-stroke-miter,
|
471
489
|
.ql-snow .ql-toolbar button:hover .ql-stroke-miter,
|
490
|
+
.ql-snow.ql-toolbar button:focus .ql-stroke-miter,
|
491
|
+
.ql-snow .ql-toolbar button:focus .ql-stroke-miter,
|
472
492
|
.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,
|
473
493
|
.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,
|
474
494
|
.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,
|
@@ -611,13 +631,7 @@
|
|
611
631
|
}
|
612
632
|
.ql-snow .ql-editor code {
|
613
633
|
font-size: 85%;
|
614
|
-
padding
|
615
|
-
padding-top: 2px;
|
616
|
-
}
|
617
|
-
.ql-snow .ql-editor code:before,
|
618
|
-
.ql-snow .ql-editor code:after {
|
619
|
-
content: "\A0";
|
620
|
-
letter-spacing: -2px;
|
634
|
+
padding: 2px 4px;
|
621
635
|
}
|
622
636
|
.ql-snow .ql-editor pre.ql-syntax {
|
623
637
|
background-color: #23241f;
|
@@ -0,0 +1,55 @@
|
|
1
|
+
.bootstrap-tagsinput {
|
2
|
+
background-color: #fff;
|
3
|
+
border: 1px solid #ccc;
|
4
|
+
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
5
|
+
display: inline-block;
|
6
|
+
padding: 4px 6px;
|
7
|
+
color: #555;
|
8
|
+
vertical-align: middle;
|
9
|
+
border-radius: 4px;
|
10
|
+
max-width: 100%;
|
11
|
+
line-height: 22px;
|
12
|
+
cursor: text;
|
13
|
+
}
|
14
|
+
.bootstrap-tagsinput input {
|
15
|
+
border: none;
|
16
|
+
box-shadow: none;
|
17
|
+
outline: none;
|
18
|
+
background-color: transparent;
|
19
|
+
padding: 0 6px;
|
20
|
+
margin: 0;
|
21
|
+
width: auto;
|
22
|
+
max-width: inherit;
|
23
|
+
}
|
24
|
+
.bootstrap-tagsinput.form-control input::-moz-placeholder {
|
25
|
+
color: #777;
|
26
|
+
opacity: 1;
|
27
|
+
}
|
28
|
+
.bootstrap-tagsinput.form-control input:-ms-input-placeholder {
|
29
|
+
color: #777;
|
30
|
+
}
|
31
|
+
.bootstrap-tagsinput.form-control input::-webkit-input-placeholder {
|
32
|
+
color: #777;
|
33
|
+
}
|
34
|
+
.bootstrap-tagsinput input:focus {
|
35
|
+
border: none;
|
36
|
+
box-shadow: none;
|
37
|
+
}
|
38
|
+
.bootstrap-tagsinput .tag {
|
39
|
+
margin-right: 2px;
|
40
|
+
color: white;
|
41
|
+
}
|
42
|
+
.bootstrap-tagsinput .tag [data-role="remove"] {
|
43
|
+
margin-left: 8px;
|
44
|
+
cursor: pointer;
|
45
|
+
}
|
46
|
+
.bootstrap-tagsinput .tag [data-role="remove"]:after {
|
47
|
+
content: "x";
|
48
|
+
padding: 0px 2px;
|
49
|
+
}
|
50
|
+
.bootstrap-tagsinput .tag [data-role="remove"]:hover {
|
51
|
+
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
|
52
|
+
}
|
53
|
+
.bootstrap-tagsinput .tag [data-role="remove"]:hover:active {
|
54
|
+
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
|
55
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
.tribute-container {
|
2
|
+
position: absolute;
|
3
|
+
top: 0;
|
4
|
+
left: 0;
|
5
|
+
height: auto;
|
6
|
+
max-height: 300px;
|
7
|
+
max-width: 500px;
|
8
|
+
overflow: auto;
|
9
|
+
display: block;
|
10
|
+
z-index: 999999; }
|
11
|
+
.tribute-container ul {
|
12
|
+
margin: 0;
|
13
|
+
margin-top: 2px;
|
14
|
+
padding: 0;
|
15
|
+
list-style: none;
|
16
|
+
background: #efefef; }
|
17
|
+
.tribute-container li {
|
18
|
+
padding: 5px 5px;
|
19
|
+
cursor: pointer; }
|
20
|
+
.tribute-container li.highlight, .tribute-container li:hover {
|
21
|
+
background: #ddd; }
|
22
|
+
.tribute-container li span {
|
23
|
+
font-weight: bold; }
|
24
|
+
.tribute-container li.no-match {
|
25
|
+
cursor: default; }
|
26
|
+
.tribute-container .menu-highlighted {
|
27
|
+
font-weight: bold; }
|