alchemy_cms 7.4.6 → 8.0.0.a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of alchemy_cms might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +86 -0
- data/Gemfile +13 -6
- data/README.md +13 -5
- data/alchemy_cms.gemspec +14 -5
- data/app/assets/builds/alchemy/admin/page-select.css +1 -1
- data/app/assets/builds/alchemy/admin/print.css +1 -1
- data/app/assets/builds/alchemy/admin.css +2 -2
- data/app/assets/builds/alchemy/custom-properties.css +1 -1
- data/app/assets/builds/alchemy/welcome.css +1 -1
- data/app/assets/builds/tinymce/skins/content/alchemy/content.min.css +1 -1
- data/app/assets/builds/tinymce/skins/ui/alchemy/content.min.css +1 -0
- data/app/assets/builds/tinymce/skins/ui/alchemy/skin.min.css +1 -1
- data/app/assets/config/alchemy_manifest.js +0 -2
- data/app/assets/images/alchemy/icons-sprite.svg +1 -0
- data/app/components/alchemy/admin/resource/applied_filter.rb +29 -0
- data/app/components/alchemy/admin/resource/checkbox_filter.rb +36 -0
- data/app/components/alchemy/admin/resource/datepicker_filter.rb +42 -0
- data/app/components/alchemy/admin/resource/select_filter.rb +43 -0
- data/app/components/alchemy/admin/toolbar_button.rb +5 -2
- data/app/components/alchemy/ingredients/number_view.rb +18 -0
- data/app/controllers/alchemy/admin/attachments_controller.rb +8 -15
- data/app/controllers/alchemy/admin/clipboard_controller.rb +2 -6
- data/app/controllers/alchemy/admin/elements_controller.rb +1 -1
- data/app/controllers/alchemy/admin/languages_controller.rb +1 -1
- data/app/controllers/alchemy/admin/pages_controller.rb +15 -15
- data/app/controllers/alchemy/admin/pictures_controller.rb +9 -5
- data/app/controllers/alchemy/admin/resources_controller.rb +16 -106
- data/app/controllers/alchemy/attachments_controller.rb +43 -14
- data/app/controllers/alchemy/messages_controller.rb +1 -1
- data/app/controllers/alchemy/pages_controller.rb +7 -2
- data/app/controllers/concerns/alchemy/admin/resource_filter.rb +92 -0
- data/app/decorators/alchemy/element_editor.rb +5 -48
- data/app/decorators/alchemy/ingredient_editor.rb +3 -53
- data/app/helpers/alchemy/admin/base_helper.rb +14 -84
- data/app/helpers/alchemy/admin/elements_helper.rb +4 -4
- data/app/helpers/alchemy/admin/pages_helper.rb +1 -1
- data/app/helpers/alchemy/base_helper.rb +0 -30
- data/app/helpers/alchemy/elements_block_helper.rb +0 -14
- data/app/helpers/alchemy/pages_helper.rb +1 -1
- data/{lib → app/helpers}/alchemy/resources_helper.rb +5 -45
- data/app/javascript/alchemy_admin/components/action.js +2 -0
- data/app/javascript/alchemy_admin/components/alchemy_html_element.js +3 -3
- data/app/javascript/alchemy_admin/components/datepicker.js +10 -2
- data/app/javascript/alchemy_admin/components/element_editor/delete_element_button.js +7 -7
- data/app/javascript/alchemy_admin/components/element_editor.js +1 -1
- data/app/javascript/alchemy_admin/components/index.js +1 -0
- data/app/javascript/alchemy_admin/components/remote_select.js +4 -1
- data/app/javascript/alchemy_admin/components/tags_autocomplete.js +5 -1
- data/app/javascript/alchemy_admin/components/tinymce.js +4 -2
- data/app/javascript/alchemy_admin/components/update_check.js +42 -0
- data/app/javascript/alchemy_admin/components/uploader/file_upload.js +15 -8
- data/app/javascript/alchemy_admin/components/uploader/progress.js +12 -6
- data/app/javascript/alchemy_admin/components/uploader.js +4 -2
- data/app/javascript/alchemy_admin/confirm_dialog.js +27 -57
- data/app/javascript/alchemy_admin/dirty.js +3 -2
- data/app/javascript/alchemy_admin/i18n.js +15 -16
- data/app/javascript/alchemy_admin/initializer.js +1 -49
- data/app/javascript/alchemy_admin/utils/ajax.js +51 -44
- data/app/javascript/alchemy_admin.js +3 -8
- data/app/models/alchemy/admin/filters/base.rb +38 -0
- data/app/models/alchemy/admin/filters/checkbox.rb +24 -0
- data/app/models/alchemy/admin/filters/datepicker.rb +53 -0
- data/app/models/alchemy/admin/filters/select.rb +70 -0
- data/app/models/alchemy/admin/resource_name.rb +27 -0
- data/app/models/alchemy/attachment.rb +51 -34
- data/app/models/alchemy/base_record.rb +2 -0
- data/app/models/alchemy/element/definitions.rb +1 -1
- data/app/models/alchemy/element/element_ingredients.rb +6 -6
- data/app/models/alchemy/element/presenters.rb +3 -12
- data/app/models/alchemy/element.rb +9 -27
- data/app/models/alchemy/element_definition.rb +160 -0
- data/app/models/alchemy/ingredient.rb +10 -43
- data/app/models/alchemy/ingredient_definition.rb +134 -0
- data/app/models/alchemy/ingredient_validator.rb +7 -3
- data/app/models/alchemy/ingredients/number.rb +19 -0
- data/app/models/alchemy/language.rb +0 -14
- data/app/models/alchemy/message.rb +3 -7
- data/app/models/alchemy/node.rb +1 -1
- data/app/models/alchemy/page/{page_layouts.rb → definitions.rb} +12 -19
- data/app/models/alchemy/page/fixed_attributes.rb +1 -1
- data/app/models/alchemy/page/page_elements.rb +13 -14
- data/app/models/alchemy/page/page_natures.rb +7 -7
- data/app/models/alchemy/page/page_scopes.rb +1 -1
- data/app/models/alchemy/page.rb +11 -33
- data/app/models/alchemy/page_definition.rb +115 -0
- data/app/models/alchemy/picture.rb +69 -79
- data/app/models/alchemy/picture_variant.rb +115 -5
- data/{lib → app/models}/alchemy/resource.rb +4 -18
- data/{lib → app/models}/alchemy/searchable_resource.rb +15 -0
- data/app/models/alchemy/site/layout.rb +5 -5
- data/app/models/alchemy/site.rb +0 -15
- data/app/models/alchemy/storage_adapter/active_storage/attachment_url.rb +41 -0
- data/app/models/alchemy/storage_adapter/active_storage/picture_url.rb +55 -0
- data/app/models/alchemy/storage_adapter/active_storage/preprocessor.rb +40 -0
- data/app/models/alchemy/storage_adapter/active_storage.rb +173 -0
- data/app/models/alchemy/{attachment/url.rb → storage_adapter/dragonfly/attachment_url.rb} +12 -12
- data/app/models/alchemy/{picture/url.rb → storage_adapter/dragonfly/picture_url.rb} +28 -12
- data/app/models/alchemy/{picture → storage_adapter/dragonfly}/preprocessor.rb +4 -4
- data/app/models/alchemy/storage_adapter/dragonfly.rb +183 -0
- data/app/models/alchemy/storage_adapter.rb +74 -0
- data/app/models/concerns/alchemy/picture_thumbnails.rb +19 -6
- data/app/serializers/alchemy/element_serializer.rb +0 -1
- data/app/services/alchemy/dragonfly_to_image_processing.rb +100 -0
- data/app/stylesheets/alchemy/_defaults.scss +3 -0
- data/app/stylesheets/alchemy/_extends.scss +69 -0
- data/app/{assets/stylesheets → stylesheets}/alchemy/_mixins.scss +36 -49
- data/app/stylesheets/alchemy/_variables.scss +5 -0
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/archive.scss +20 -37
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/base.scss +16 -14
- data/app/stylesheets/alchemy/admin/buttons.scss +160 -0
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/clipboard.scss +2 -2
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/dashboard.scss +13 -16
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/dialogs.scss +23 -16
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/elements.scss +150 -105
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/errors.scss +5 -5
- data/app/stylesheets/alchemy/admin/filters.scss +58 -0
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/flatpickr.scss +53 -60
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/form_fields.scss +21 -7
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/forms.scss +31 -19
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/frame.scss +20 -16
- data/app/stylesheets/alchemy/admin/hints.scss +5 -0
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/icons.scss +10 -1
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/image_library.scss +10 -8
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/images.scss +1 -1
- data/app/stylesheets/alchemy/admin/labels.scss +5 -0
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/lists.scss +3 -3
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/navigation.scss +61 -55
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/nodes.scss +21 -18
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/notices.scss +18 -18
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/page-select.scss +2 -2
- data/app/stylesheets/alchemy/admin/pagination.scss +144 -0
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/preview_window.scss +8 -6
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/print.scss +1 -1
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/resource_info.scss +8 -5
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/search.scss +9 -6
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/selects.scss +49 -37
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/shoelace.scss +5 -6
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/sitemap.scss +38 -33
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/tables.scss +6 -4
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/tags.scss +6 -4
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/toolbar.scss +12 -6
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/typography.scss +2 -2
- data/app/{assets/stylesheets → stylesheets}/alchemy/admin/upload.scss +7 -5
- data/app/stylesheets/alchemy/admin.scss +44 -0
- data/app/stylesheets/alchemy/custom-properties.css +244 -0
- data/app/stylesheets/alchemy/welcome.scss +75 -0
- data/app/{assets/stylesheets → stylesheets}/tinymce/skins/content/alchemy/content.scss +8 -9
- data/app/stylesheets/tinymce/skins/ui/alchemy/content.scss +1 -0
- data/app/{assets/stylesheets → stylesheets}/tinymce/skins/ui/alchemy/skin.scss +133 -136
- data/app/views/alchemy/admin/attachments/_files_list.html.erb +2 -2
- data/app/views/alchemy/admin/attachments/_overlay_file_list.html.erb +1 -1
- data/app/views/alchemy/admin/{elements/_clipboard_button.html.erb → clipboard/_button.html.erb} +3 -5
- data/app/views/alchemy/admin/clipboard/_update_nested_element_button.turbo_stream.erb +11 -0
- data/app/views/alchemy/admin/clipboard/clear.turbo_stream.erb +4 -0
- data/app/views/alchemy/admin/clipboard/index.html.erb +15 -13
- data/app/views/alchemy/admin/clipboard/insert.turbo_stream.erb +18 -0
- data/app/views/alchemy/admin/clipboard/remove.turbo_stream.erb +9 -0
- data/app/views/alchemy/admin/dashboard/info.html.erb +17 -31
- data/app/views/alchemy/admin/elements/_element.html.erb +4 -8
- data/app/views/alchemy/admin/elements/_form.html.erb +1 -1
- data/app/views/alchemy/admin/elements/_header.html.erb +1 -0
- data/app/views/alchemy/admin/elements/_toolbar.html.erb +4 -6
- data/app/views/alchemy/admin/elements/create.turbo_stream.erb +2 -1
- data/app/views/alchemy/admin/elements/index.html.erb +2 -2
- data/app/views/alchemy/admin/ingredients/_file_fields.html.erb +3 -16
- data/app/views/alchemy/admin/ingredients/_picture_fields.html.erb +0 -9
- data/app/views/alchemy/admin/languages/_form.html.erb +1 -1
- data/app/views/alchemy/admin/languages/_table.html.erb +1 -1
- data/app/views/alchemy/admin/languages/index.html.erb +5 -2
- data/app/views/alchemy/admin/layoutpages/index.html.erb +1 -12
- data/app/views/alchemy/admin/pages/_form.html.erb +2 -2
- data/app/views/alchemy/admin/pages/_page.html.erb +2 -3
- data/app/views/alchemy/admin/pages/_toolbar.html.erb +1 -15
- data/app/views/alchemy/admin/pages/index.html.erb +1 -1
- data/app/views/alchemy/admin/partials/_remote_search_form.html.erb +9 -12
- data/app/views/alchemy/admin/partials/_search_form.html.erb +4 -9
- data/app/views/alchemy/admin/pictures/_archive.html.erb +4 -7
- data/app/views/alchemy/admin/pictures/_archive_overlay.html.erb +2 -1
- data/app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb +1 -1
- data/app/views/alchemy/admin/pictures/index.html.erb +2 -7
- data/app/views/alchemy/admin/resources/_applied_filters.html.erb +8 -0
- data/app/views/alchemy/admin/resources/_filter_bar.html.erb +11 -21
- data/app/views/alchemy/admin/resources/_pagination.html.erb +6 -0
- data/app/views/alchemy/admin/resources/_per_page_select.html.erb +4 -2
- data/app/views/alchemy/admin/resources/_resource_table.html.erb +1 -1
- data/app/views/alchemy/admin/resources/_table_header.html.erb +1 -15
- data/app/views/alchemy/admin/sites/index.html.erb +5 -1
- data/app/views/alchemy/admin/styleguide/index.html.erb +8 -0
- data/app/views/alchemy/admin/tags/index.html.erb +1 -1
- data/app/views/alchemy/admin/tinymce/_setup.html.erb +7 -7
- data/app/{javascript/alchemy_admin/locales/en.js → views/alchemy/admin/translations/_en.js} +5 -2
- data/app/views/alchemy/admin/uploader/_button.html.erb +1 -1
- data/app/views/alchemy/admin/uploader/_setup.html.erb +4 -4
- data/app/views/alchemy/base/redirect.js.erb +1 -1
- data/app/views/alchemy/ingredients/_number_editor.html.erb +24 -0
- data/app/views/alchemy/no_index.html.erb +31 -0
- data/app/views/alchemy/welcome.html.erb +12 -10
- data/app/views/kaminari/alchemy/_first_page.html.erb +5 -3
- data/app/views/kaminari/alchemy/_last_page.html.erb +5 -3
- data/app/views/kaminari/alchemy/_next_page.html.erb +5 -3
- data/app/views/kaminari/alchemy/_paginator.html.erb +18 -13
- data/app/views/kaminari/alchemy/_prev_page.html.erb +5 -3
- data/app/views/layouts/alchemy/admin.html.erb +5 -9
- data/bun.lockb +0 -0
- data/bundles/remixicon.mjs +153 -0
- data/config/alchemy/config.yml +3 -2
- data/config/initializers/dragonfly.rb +0 -1
- data/config/initializers/mime_types.rb +1 -0
- data/config/locales/alchemy.en.yml +32 -14
- data/config/routes.rb +0 -2
- data/eslint.config.js +2 -1
- data/lib/alchemy/admin/preview_url.rb +4 -5
- data/lib/alchemy/cache_digests/template_tracker.rb +6 -9
- data/lib/alchemy/config_missing.rb +14 -0
- data/lib/alchemy/configuration/base_option.rb +24 -0
- data/lib/alchemy/configuration/boolean_option.rb +16 -0
- data/lib/alchemy/configuration/class_option.rb +15 -0
- data/lib/alchemy/configuration/class_set_option.rb +46 -0
- data/lib/alchemy/configuration/integer_list_option.rb +13 -0
- data/lib/alchemy/configuration/integer_option.rb +12 -0
- data/lib/alchemy/configuration/list_option.rb +22 -0
- data/lib/alchemy/configuration/regexp_option.rb +11 -0
- data/lib/alchemy/configuration/string_list_option.rb +13 -0
- data/lib/alchemy/configuration/string_option.rb +11 -0
- data/lib/alchemy/configuration.rb +115 -0
- data/lib/alchemy/configuration_methods.rb +3 -1
- data/lib/alchemy/configurations/default_language.rb +12 -0
- data/lib/alchemy/configurations/default_site.rb +10 -0
- data/lib/alchemy/configurations/format_matchers.rb +11 -0
- data/lib/alchemy/configurations/mailer.rb +16 -0
- data/lib/alchemy/configurations/main.rb +216 -0
- data/lib/alchemy/configurations/preview.rb +32 -0
- data/lib/alchemy/configurations/sitemap.rb +10 -0
- data/lib/alchemy/configurations/uploader.rb +34 -0
- data/lib/alchemy/engine.rb +65 -17
- data/lib/alchemy/hints.rb +3 -7
- data/lib/alchemy/on_page_layout.rb +2 -2
- data/lib/alchemy/propshaft/tinymce_asset.rb +15 -0
- data/lib/alchemy/seeder.rb +2 -2
- data/lib/alchemy/tasks/usage.rb +4 -4
- data/lib/alchemy/test_support/config_stubbing.rb +1 -7
- data/lib/alchemy/test_support/factories/attachment_factory.rb +13 -2
- data/lib/alchemy/test_support/factories/language_factory.rb +1 -1
- data/lib/alchemy/test_support/factories/page_factory.rb +2 -3
- data/lib/alchemy/test_support/factories/picture_factory.rb +30 -2
- data/lib/alchemy/test_support/factories/site_factory.rb +2 -2
- data/lib/alchemy/test_support/having_crop_action_examples.rb +2 -2
- data/lib/alchemy/test_support/having_picture_thumbnails_examples.rb +80 -26
- data/lib/alchemy/test_support/shared_ingredient_examples.rb +5 -5
- data/lib/alchemy/upgrader/.keep +0 -0
- data/lib/alchemy/upgrader/eight_zero.rb +14 -0
- data/lib/alchemy/upgrader.rb +33 -20
- data/lib/alchemy/version.rb +1 -1
- data/lib/alchemy.rb +192 -170
- data/lib/alchemy_cms.rb +1 -7
- data/lib/generators/alchemy/ingredient/ingredient_generator.rb +0 -3
- data/lib/generators/alchemy/install/files/_article.html.erb +6 -4
- data/lib/generators/alchemy/install/files/alchemy.en.yml +22 -3
- data/lib/generators/alchemy/install/files/application.html.erb +5 -0
- data/lib/generators/alchemy/install/install_generator.rb +5 -14
- data/lib/generators/alchemy/install/templates/alchemy.rb.tt +196 -0
- data/lib/generators/alchemy/install/templates/dragonfly.rb.tt +0 -1
- data/lib/generators/alchemy/install/templates/elements.yml.tt +3 -1
- data/lib/generators/alchemy/install/templates/menus.yml.tt +1 -1
- data/lib/generators/alchemy/install/templates/page_layouts.yml.tt +2 -2
- data/lib/generators/alchemy/page_layouts/page_layouts_generator.rb +2 -2
- data/lib/tasks/alchemy/assets.rake +14 -0
- data/lib/tasks/alchemy/upgrade.rake +12 -47
- data/vendor/javascript/tinymce.min.js +1 -1
- data/vitest.config.js +21 -0
- metadata +181 -180
- data/app/assets/builds/alchemy/admin/page-select.css.map +0 -1
- data/app/assets/builds/alchemy/admin/print.css.map +0 -1
- data/app/assets/builds/alchemy/admin.css.map +0 -1
- data/app/assets/builds/alchemy/custom-properties.css.map +0 -1
- data/app/assets/builds/alchemy/welcome.css.map +0 -1
- data/app/assets/builds/tinymce/skins/content/alchemy/content.min.css.map +0 -1
- data/app/assets/builds/tinymce/skins/ui/alchemy/skin.min.css.map +0 -1
- data/app/assets/javascripts/alchemy/admin.js +0 -10
- data/app/assets/stylesheets/alchemy/_defaults.scss +0 -3
- data/app/assets/stylesheets/alchemy/_deprecated_variables.scss +0 -45
- data/app/assets/stylesheets/alchemy/_deprecation.scss +0 -17
- data/app/assets/stylesheets/alchemy/_extends.scss +0 -62
- data/app/assets/stylesheets/alchemy/_variables.scss +0 -201
- data/app/assets/stylesheets/alchemy/admin/buttons.scss +0 -124
- data/app/assets/stylesheets/alchemy/admin/hints.scss +0 -5
- data/app/assets/stylesheets/alchemy/admin/labels.scss +0 -3
- data/app/assets/stylesheets/alchemy/admin/pagination.scss +0 -92
- data/app/assets/stylesheets/alchemy/admin.scss +0 -42
- data/app/assets/stylesheets/alchemy/custom-properties.css +0 -98
- data/app/assets/stylesheets/alchemy/welcome.scss +0 -57
- data/app/assets/stylesheets/tinymce/skins/ui/alchemy/content.css +0 -711
- data/app/assets/stylesheets/tinymce/skins/ui/alchemy/content.inline.css +0 -705
- data/app/assets/stylesheets/tinymce/skins/ui/alchemy/content.inline.min.css +0 -7
- data/app/assets/stylesheets/tinymce/skins/ui/alchemy/content.min.css +0 -7
- data/app/assets/stylesheets/tinymce/skins/ui/alchemy/content.mobile.css +0 -29
- data/app/assets/stylesheets/tinymce/skins/ui/alchemy/content.mobile.min.css +0 -7
- data/app/assets/stylesheets/tinymce/skins/ui/alchemy/skin.mobile.css +0 -677
- data/app/assets/stylesheets/tinymce/skins/ui/alchemy/skin.mobile.min.css +0 -7
- data/app/controllers/alchemy/elements_controller.rb +0 -32
- data/app/models/alchemy/element/dom_id.rb +0 -31
- data/app/models/alchemy/picture/calculations.rb +0 -49
- data/app/models/alchemy/picture/transformations.rb +0 -115
- data/app/views/alchemy/admin/attachments/destroy.js.erb +0 -1
- data/app/views/alchemy/admin/clipboard/clear.js.erb +0 -3
- data/app/views/alchemy/admin/clipboard/insert.js.erb +0 -29
- data/app/views/alchemy/admin/clipboard/remove.js.erb +0 -10
- data/app/views/alchemy/admin/resources/_filter.html.erb +0 -12
- data/app/views/alchemy/admin/resources/_resource.html.erb +0 -34
- data/app/views/alchemy/admin/resources/_table.html.erb +0 -29
- data/app/views/alchemy/elements/show.html.erb +0 -1
- data/app/views/alchemy/elements/show.js.erb +0 -1
- data/app/views/alchemy/ingredients/_audio_view.html.erb +0 -1
- data/app/views/alchemy/ingredients/_boolean_view.html.erb +0 -1
- data/app/views/alchemy/ingredients/_datetime_view.html.erb +0 -3
- data/app/views/alchemy/ingredients/_file_view.html.erb +0 -4
- data/app/views/alchemy/ingredients/_headline_view.html.erb +0 -4
- data/app/views/alchemy/ingredients/_html_view.html.erb +0 -1
- data/app/views/alchemy/ingredients/_link_view.html.erb +0 -4
- data/app/views/alchemy/ingredients/_node_view.html.erb +0 -1
- data/app/views/alchemy/ingredients/_page_view.html.erb +0 -1
- data/app/views/alchemy/ingredients/_picture_view.html.erb +0 -4
- data/app/views/alchemy/ingredients/_richtext_view.html.erb +0 -3
- data/app/views/alchemy/ingredients/_select_view.html.erb +0 -1
- data/app/views/alchemy/ingredients/_text_view.html.erb +0 -4
- data/app/views/alchemy/ingredients/_video_view.html.erb +0 -3
- data/babel.config.js +0 -12
- data/config/initializers/assets.rb +0 -4
- data/lib/alchemy/config.rb +0 -114
- data/lib/alchemy/element_definition.rb +0 -73
- data/lib/alchemy/page_layout.rb +0 -73
- data/lib/alchemy/resource_filter.rb +0 -40
- data/lib/alchemy/upgrader/seven_point_four.rb +0 -26
- data/lib/alchemy/upgrader/seven_point_three.rb +0 -52
- data/lib/generators/alchemy/ingredient/templates/view.html.erb +0 -1
- data/lib/generators/alchemy/install/files/alchemy_admin.js +0 -1
- data/lib/generators/alchemy/install/files/all.js +0 -11
- data/lib/generators/alchemy/install/files/article.css +0 -25
- data/vendor/assets/images/remixicon.symbol.svg +0 -11
- /data/app/{assets/stylesheets → stylesheets}/alchemy/_fonts.scss +0 -0
- /data/app/{assets/stylesheets → stylesheets}/alchemy/admin/attachment-select.scss +0 -0
- /data/app/{assets/stylesheets → stylesheets}/alchemy/admin/attachments.scss +0 -0
- /data/app/{assets/stylesheets → stylesheets}/alchemy/admin/flash.scss +0 -0
- /data/app/{assets/stylesheets → stylesheets}/alchemy/admin/list_filter.scss +0 -0
- /data/app/{assets/stylesheets → stylesheets}/alchemy/admin/node-select.scss +0 -0
- /data/app/{assets/stylesheets → stylesheets}/alchemy/admin/spinner.scss +0 -0
- /data/app/{assets/stylesheets → stylesheets}/tinymce/skins/skintool.json +0 -0
- /data/app/{assets/stylesheets → stylesheets}/tinymce/skins/ui/alchemy/fonts/tinymce-mobile.woff +0 -0
@@ -1,92 +0,0 @@
|
|
1
|
-
.pagination {
|
2
|
-
position: fixed;
|
3
|
-
display: flex;
|
4
|
-
align-items: center;
|
5
|
-
background: $light_gray;
|
6
|
-
bottom: 0;
|
7
|
-
right: 0;
|
8
|
-
width: 100%;
|
9
|
-
left: 0px;
|
10
|
-
height: $pagination-height;
|
11
|
-
padding: var(--spacing-2);
|
12
|
-
padding-left: $main-menu-width + 10px;
|
13
|
-
text-align: left;
|
14
|
-
border-top: $default-border;
|
15
|
-
z-index: 10;
|
16
|
-
|
17
|
-
a,
|
18
|
-
span,
|
19
|
-
em {
|
20
|
-
font-size: $default-font-size;
|
21
|
-
font-weight: bold;
|
22
|
-
color: var(--color-icon);
|
23
|
-
padding: var(--spacing-1);
|
24
|
-
margin: 0 var(--spacing-0);
|
25
|
-
border-radius: $default-border-radius;
|
26
|
-
}
|
27
|
-
|
28
|
-
a:hover {
|
29
|
-
color: var(--color-text);
|
30
|
-
background-color: $default-border-color;
|
31
|
-
text-decoration: none;
|
32
|
-
}
|
33
|
-
|
34
|
-
span a {
|
35
|
-
padding: 0;
|
36
|
-
}
|
37
|
-
|
38
|
-
.page {
|
39
|
-
padding: var(--spacing-1) var(--spacing-2);
|
40
|
-
}
|
41
|
-
|
42
|
-
.current {
|
43
|
-
color: var(--color-text);
|
44
|
-
background-color: $default-border-color;
|
45
|
-
cursor: default;
|
46
|
-
}
|
47
|
-
|
48
|
-
.previous_page {
|
49
|
-
margin-right: var(--spacing-2);
|
50
|
-
}
|
51
|
-
|
52
|
-
.next_page {
|
53
|
-
margin-left: var(--spacing-2);
|
54
|
-
}
|
55
|
-
|
56
|
-
.disabled,
|
57
|
-
span {
|
58
|
-
color: #c0c0c0;
|
59
|
-
}
|
60
|
-
|
61
|
-
.gap {
|
62
|
-
border: none;
|
63
|
-
background: transparent;
|
64
|
-
cursor: default;
|
65
|
-
margin: 0;
|
66
|
-
}
|
67
|
-
|
68
|
-
.next_page,
|
69
|
-
.previous_page,
|
70
|
-
.first-page,
|
71
|
-
.last-page,
|
72
|
-
.gap {
|
73
|
-
display: inline-flex;
|
74
|
-
align-items: center;
|
75
|
-
justify-content: center;
|
76
|
-
}
|
77
|
-
|
78
|
-
.icon {
|
79
|
-
fill: currentColor;
|
80
|
-
}
|
81
|
-
}
|
82
|
-
|
83
|
-
.per-page-select-form {
|
84
|
-
margin-left: auto;
|
85
|
-
display: inline;
|
86
|
-
}
|
87
|
-
|
88
|
-
#assign_image_list .pagination,
|
89
|
-
#assign_file_list .pagination {
|
90
|
-
position: absolute;
|
91
|
-
padding-left: var(--spacing-2);
|
92
|
-
}
|
@@ -1,42 +0,0 @@
|
|
1
|
-
@import "alchemy/defaults";
|
2
|
-
@import "alchemy/fonts";
|
3
|
-
@import "alchemy/admin/archive";
|
4
|
-
@import "alchemy/admin/attachment-select";
|
5
|
-
@import "alchemy/admin/attachments";
|
6
|
-
@import "alchemy/admin/base";
|
7
|
-
@import "alchemy/admin/buttons";
|
8
|
-
@import "alchemy/admin/clipboard";
|
9
|
-
@import "alchemy/admin/dashboard";
|
10
|
-
@import "alchemy/admin/dialogs";
|
11
|
-
@import "alchemy/admin/elements";
|
12
|
-
@import "alchemy/admin/errors";
|
13
|
-
@import "alchemy/admin/flash";
|
14
|
-
@import "alchemy/admin/flatpickr";
|
15
|
-
@import "alchemy/admin/form_fields";
|
16
|
-
@import "alchemy/admin/forms";
|
17
|
-
@import "alchemy/admin/frame";
|
18
|
-
@import "alchemy/admin/hints";
|
19
|
-
@import "alchemy/admin/icons";
|
20
|
-
@import "alchemy/admin/image_library";
|
21
|
-
@import "alchemy/admin/images";
|
22
|
-
@import "alchemy/admin/labels";
|
23
|
-
@import "alchemy/admin/list_filter";
|
24
|
-
@import "alchemy/admin/lists";
|
25
|
-
@import "alchemy/admin/navigation";
|
26
|
-
@import "alchemy/admin/node-select";
|
27
|
-
@import "alchemy/admin/nodes";
|
28
|
-
@import "alchemy/admin/notices";
|
29
|
-
@import "alchemy/admin/pagination";
|
30
|
-
@import "alchemy/admin/preview_window";
|
31
|
-
@import "alchemy/admin/resource_info";
|
32
|
-
@import "alchemy/admin/search";
|
33
|
-
@import "alchemy/admin/selects";
|
34
|
-
@import "alchemy/admin/shoelace";
|
35
|
-
@import "alchemy/admin/sitemap";
|
36
|
-
@import "alchemy/admin/spinner";
|
37
|
-
@import "alchemy/admin/tables";
|
38
|
-
@import "alchemy/admin/tags";
|
39
|
-
@import "alchemy/admin/toolbar";
|
40
|
-
@import "alchemy/admin/typography";
|
41
|
-
@import "alchemy/admin/upload";
|
42
|
-
@import "cropper.min";
|
@@ -1,98 +0,0 @@
|
|
1
|
-
:root {
|
2
|
-
/* Sizes */
|
3
|
-
--spacing-0: 2px;
|
4
|
-
--spacing-1: 4px;
|
5
|
-
--spacing-2: 8px;
|
6
|
-
--spacing-3: 12px;
|
7
|
-
--spacing-4: 16px;
|
8
|
-
--spacing-5: 20px;
|
9
|
-
--spacing-6: 24px;
|
10
|
-
--spacing-7: 28px;
|
11
|
-
--spacing-8: 32px;
|
12
|
-
|
13
|
-
/* Icons */
|
14
|
-
--icon-size-xs: 0.75rem;
|
15
|
-
--icon-size-sm: 0.875rem;
|
16
|
-
--icon-size-1x: 1rem;
|
17
|
-
--icon-size-md: 1.3rem;
|
18
|
-
--icon-size-xl: 1.5rem;
|
19
|
-
--icon-size-xxl: 1.6rem;
|
20
|
-
|
21
|
-
/* Font Families */
|
22
|
-
--font-mono: Menlo, Monaco, "Bitstream Vera Sans Mono", "Lucida Console",
|
23
|
-
Terminal, monospace;
|
24
|
-
--font-sans: "Open Sans", "Lucida Grande", "Lucida Sans Unicode",
|
25
|
-
"Lucida Sans", Verdana, Tahoma, sans-serif;
|
26
|
-
|
27
|
-
/* Font Size - at the moment only in Pixel, because the base font size is 12px */
|
28
|
-
--font-size_small: 10px; /* 0.875rem */
|
29
|
-
--font-size_medium: 12px; /* 1rem */
|
30
|
-
--font-size_large: 16px; /* 1.25 rem */
|
31
|
-
|
32
|
-
--font-weigth_normal: 500;
|
33
|
-
--font-weigth_bold: 700;
|
34
|
-
|
35
|
-
/* Borders */
|
36
|
-
--border-radius_medium: 3px;
|
37
|
-
--border-width_small: 1px;
|
38
|
-
|
39
|
-
/* Colors */
|
40
|
-
--color-blue_very_light: hsl(203deg, 32%, 97%);
|
41
|
-
--color-blue_light: hsl(203deg, 32%, 85%);
|
42
|
-
--color-blue_medium: hsl(212deg, 52%, 36%);
|
43
|
-
--color-blue_dark: hsl(212deg, 52%, 26%);
|
44
|
-
|
45
|
-
--color-green_very_light: hsl(88deg, 47%, 88%);
|
46
|
-
--color-green_light: hsl(127deg, 25%, 69%);
|
47
|
-
--color-green_medium: hsl(127deg, 25%, 48%);
|
48
|
-
--color-green_dark: hsl(128deg, 32%, 26%);
|
49
|
-
|
50
|
-
--color-yellow_light: hsl(60deg, 81%, 92%);
|
51
|
-
--color-yellow_medium: hsl(56deg, 68%, 85%);
|
52
|
-
--color-yellow_dark: hsl(56deg, 53%, 29%);
|
53
|
-
|
54
|
-
--color-orange_medium: hsl(42deg, 100%, 74%);
|
55
|
-
--color-orange_dark: hsl(28deg, 77%, 68%);
|
56
|
-
--color-orange_very_dark: hsl(28deg, 77%, 48%);
|
57
|
-
|
58
|
-
--color-red_very_light: hsl(0deg, 47%, 88%);
|
59
|
-
--color-red_light: hsl(0deg, 25%, 69%);
|
60
|
-
--color-red_medium: hsl(0deg, 51%, 42%);
|
61
|
-
--color-red_dark: hsl(0deg, 51%, 25%);
|
62
|
-
|
63
|
-
--color-grey_very_light: hsl(0deg, 0%, 97%);
|
64
|
-
--color-grey_light: hsl(0deg, 0%, 94%);
|
65
|
-
--color-grey_medium: hsl(0deg, 0%, 78%);
|
66
|
-
--color-grey_dark: hsl(0deg, 0%, 40%);
|
67
|
-
--color-grey_very_dark: hsl(0deg, 0%, 20%);
|
68
|
-
|
69
|
-
--color-white: hsl(0deg, 0%, 100%);
|
70
|
-
|
71
|
-
--color-text: hsla(224deg, 23%, 26%, 0.8);
|
72
|
-
--color-text_muted: hsla(224deg, 23%, 26%, 0.5);
|
73
|
-
--color-icon: hsla(224deg, 23%, 26%, 0.75);
|
74
|
-
}
|
75
|
-
|
76
|
-
.alchemy-light {
|
77
|
-
--outline-color: var(--color-orange_dark);
|
78
|
-
|
79
|
-
--font-color_failed: var(--color-red_medium);
|
80
|
-
--font-color_default: var(--color-text);
|
81
|
-
|
82
|
-
--tabs_indicator-color: var(--color-orange_dark);
|
83
|
-
--tabs_track-color: var(--color-grey_light);
|
84
|
-
--sl-input-label-color: var(--color-text);
|
85
|
-
|
86
|
-
--file-upload_background-color: hsla(0deg, 0%, 80%, 0.8);
|
87
|
-
--file-upload_single-upload-background-color: var(--color-grey_light);
|
88
|
-
--file-upload_progress-track-color: var(--color-blue_very_light);
|
89
|
-
--file-upload_progress-indicator-color: var(--color-blue_dark);
|
90
|
-
|
91
|
-
--file-upload_progress-indicator-color-canceled: hsla(0deg, 0%, 60%, 0.8);
|
92
|
-
--file-upload_progress-indicator-color-failed: var(--color-red_medium);
|
93
|
-
--file-upload_progress-indicator-color-invalid: var(--color-red_medium);
|
94
|
-
--file-upload_progress-indicator-color-successful: var(--color-green_medium);
|
95
|
-
--file-upload_progress-indicator-color-upload-finished: var(
|
96
|
-
--color-blue_dark
|
97
|
-
);
|
98
|
-
}
|
@@ -1,57 +0,0 @@
|
|
1
|
-
@import "alchemy/custom-properties";
|
2
|
-
@import "alchemy/variables";
|
3
|
-
@import "alchemy/fonts";
|
4
|
-
|
5
|
-
body {
|
6
|
-
background-color: $main-menu-bg-color;
|
7
|
-
color: var(--color-white);
|
8
|
-
font-family: $default-font-family;
|
9
|
-
font-weight: normal;
|
10
|
-
font-size: 15px;
|
11
|
-
line-height: 22px;
|
12
|
-
}
|
13
|
-
|
14
|
-
h3 {
|
15
|
-
font-weight: bold;
|
16
|
-
font-size: 25px;
|
17
|
-
line-height: 1.2;
|
18
|
-
margin-bottom: 20px;
|
19
|
-
padding-top: 20px;
|
20
|
-
}
|
21
|
-
|
22
|
-
.container {
|
23
|
-
position: absolute;
|
24
|
-
top: 50%;
|
25
|
-
left: 50%;
|
26
|
-
width: 600px;
|
27
|
-
margin-top: -50px;
|
28
|
-
transform: translateY(-50%) translateX(-300px);
|
29
|
-
}
|
30
|
-
|
31
|
-
ul {
|
32
|
-
line-height: 1.6;
|
33
|
-
margin-bottom: 17px;
|
34
|
-
padding: 0;
|
35
|
-
padding-left: 20px;
|
36
|
-
margin: 0px;
|
37
|
-
list-style-position: outside;
|
38
|
-
|
39
|
-
li {
|
40
|
-
color: var(--color-white);
|
41
|
-
margin-bottom: 12px;
|
42
|
-
background-color: none;
|
43
|
-
border-bottom: 0 none;
|
44
|
-
line-height: 22px;
|
45
|
-
}
|
46
|
-
}
|
47
|
-
|
48
|
-
a {
|
49
|
-
color: var(--color-white);
|
50
|
-
text-decoration: underline;
|
51
|
-
transition: all 0.1s ease-in-out;
|
52
|
-
|
53
|
-
&:hover {
|
54
|
-
color: var(--color-white);
|
55
|
-
text-decoration: none;
|
56
|
-
}
|
57
|
-
}
|