alchemy_cms 7.4.10 → 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 +87 -28
- 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/datetime_view.rb +2 -4
- 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 -17
- 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 +2 -2
- 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 -3
- 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 +49 -37
- 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 +11 -44
- 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_naming.rb +0 -1
- 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 +71 -88
- 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 -6
- 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 +33 -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 +1 -10
- 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/pages/info.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 -10
- 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/ingredients/_number_editor.html.erb +24 -0
- data/app/views/alchemy/ingredients/_page_editor.html.erb +1 -0
- data/app/views/alchemy/ingredients/_richtext_editor.html.erb +1 -0
- data/app/views/alchemy/ingredients/_select_editor.html.erb +2 -1
- 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/name_conversions.rb +0 -6
- 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/lib/tasks/alchemy/usage.rake +0 -2
- data/vendor/javascript/tinymce.min.js +1 -1
- data/vitest.config.js +21 -0
- metadata +184 -183
- 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 -123
- 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,21 +1,10 @@
|
|
|
1
|
+
@use "../extends";
|
|
2
|
+
@use "../mixins";
|
|
3
|
+
|
|
1
4
|
.resources-header {
|
|
2
5
|
padding: 0 var(--spacing-2);
|
|
3
6
|
}
|
|
4
7
|
|
|
5
|
-
.applied-filter {
|
|
6
|
-
display: inline-block;
|
|
7
|
-
padding: 2px 6px;
|
|
8
|
-
border-radius: $default-border-radius;
|
|
9
|
-
border: 1px solid $default-border-color;
|
|
10
|
-
white-space: nowrap;
|
|
11
|
-
font-weight: normal;
|
|
12
|
-
|
|
13
|
-
.dismiss-filter {
|
|
14
|
-
position: relative;
|
|
15
|
-
top: -1px;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
8
|
.resources-table-wrapper {
|
|
20
9
|
padding-bottom: 60px;
|
|
21
10
|
|
|
@@ -27,7 +16,7 @@
|
|
|
27
16
|
|
|
28
17
|
.selected_item_tools {
|
|
29
18
|
margin: calc(-1 * var(--spacing-2));
|
|
30
|
-
border-bottom: 1px solid
|
|
19
|
+
border-bottom: 1px solid var(--border-color);
|
|
31
20
|
margin-bottom: var(--spacing-4);
|
|
32
21
|
padding: var(--spacing-4);
|
|
33
22
|
|
|
@@ -41,7 +30,7 @@
|
|
|
41
30
|
display: flex;
|
|
42
31
|
align-items: center;
|
|
43
32
|
justify-content: center;
|
|
44
|
-
box-shadow: 0 0 1px 1px
|
|
33
|
+
box-shadow: 0 0 1px 1px var(--border-color);
|
|
45
34
|
|
|
46
35
|
&:hover {
|
|
47
36
|
text-decoration: none;
|
|
@@ -59,7 +48,7 @@
|
|
|
59
48
|
border-radius: var(--picture-thumbnail-border-radius);
|
|
60
49
|
padding: var(--spacing-2);
|
|
61
50
|
padding-bottom: 2.5em;
|
|
62
|
-
transition: all
|
|
51
|
+
transition: all var(--transition-duration);
|
|
63
52
|
|
|
64
53
|
img,
|
|
65
54
|
.thumbnail_background {
|
|
@@ -71,7 +60,7 @@
|
|
|
71
60
|
max-height: 100%;
|
|
72
61
|
|
|
73
62
|
&:not([src*="alchemy/missing-image"]) {
|
|
74
|
-
background:
|
|
63
|
+
background: var(--thumbnail-background);
|
|
75
64
|
}
|
|
76
65
|
|
|
77
66
|
&[src*=".svg"]:not([src*="alchemy/missing-image"]) {
|
|
@@ -105,7 +94,7 @@
|
|
|
105
94
|
&:hover,
|
|
106
95
|
&:focus-within,
|
|
107
96
|
&.active {
|
|
108
|
-
box-shadow: 0 0 4px 2px
|
|
97
|
+
box-shadow: 0 0 4px 2px var(--border-color);
|
|
109
98
|
|
|
110
99
|
.picture_tool.select {
|
|
111
100
|
visibility: visible;
|
|
@@ -149,7 +138,7 @@
|
|
|
149
138
|
|
|
150
139
|
#pictures {
|
|
151
140
|
.thumbnail_background {
|
|
152
|
-
@include zoom-in;
|
|
141
|
+
@include mixins.zoom-in;
|
|
153
142
|
}
|
|
154
143
|
}
|
|
155
144
|
|
|
@@ -174,7 +163,7 @@ div.assign_image_list_image {
|
|
|
174
163
|
top: var(--spacing-1);
|
|
175
164
|
padding: var(--spacing-0);
|
|
176
165
|
z-index: 10;
|
|
177
|
-
border-radius:
|
|
166
|
+
border-radius: var(--border-radius_medium);
|
|
178
167
|
box-shadow: 0 0 1px var(--color-grey_dark);
|
|
179
168
|
|
|
180
169
|
&:hover {
|
|
@@ -230,7 +219,7 @@ div.assign_image_list_image {
|
|
|
230
219
|
pointer-events: none;
|
|
231
220
|
|
|
232
221
|
.tag {
|
|
233
|
-
box-shadow: 0 0 2px 2px
|
|
222
|
+
box-shadow: 0 0 2px 2px var(--border-color);
|
|
234
223
|
}
|
|
235
224
|
}
|
|
236
225
|
|
|
@@ -238,20 +227,20 @@ div.assign_image_list_image {
|
|
|
238
227
|
.picture_tool {
|
|
239
228
|
visibility: hidden;
|
|
240
229
|
opacity: 0;
|
|
241
|
-
transition: opacity
|
|
230
|
+
transition: opacity var(--transition-duration);
|
|
242
231
|
}
|
|
243
232
|
|
|
244
233
|
div#library_sidebar {
|
|
245
234
|
display: flex;
|
|
246
235
|
flex-direction: column;
|
|
247
236
|
position: fixed;
|
|
248
|
-
border-left: 1px solid
|
|
237
|
+
border-left: 1px solid var(--border-color);
|
|
249
238
|
top: 0;
|
|
250
239
|
right: 0;
|
|
251
|
-
width:
|
|
240
|
+
width: var(--sidebar-width);
|
|
252
241
|
|
|
253
|
-
padding: calc(
|
|
254
|
-
calc(
|
|
242
|
+
padding: calc(var(--top-menu-height) + var(--spacing-2)) var(--spacing-4)
|
|
243
|
+
calc(var(--pagination-height) + var(--spacing-2)) var(--spacing-4);
|
|
255
244
|
height: 100%;
|
|
256
245
|
z-index: 3;
|
|
257
246
|
background-color: var(--color-grey_very_light);
|
|
@@ -261,7 +250,7 @@ div#library_sidebar {
|
|
|
261
250
|
}
|
|
262
251
|
|
|
263
252
|
h3 {
|
|
264
|
-
margin:
|
|
253
|
+
margin: 1.5em 0 1em;
|
|
265
254
|
}
|
|
266
255
|
}
|
|
267
256
|
|
|
@@ -269,12 +258,6 @@ div#library_sidebar {
|
|
|
269
258
|
position: absolute;
|
|
270
259
|
}
|
|
271
260
|
|
|
272
|
-
div#filter_bar {
|
|
273
|
-
.selectboxit {
|
|
274
|
-
width: 194px;
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
|
|
278
261
|
.alchemy-dialog-body {
|
|
279
262
|
#library_sidebar {
|
|
280
263
|
padding: 0 var(--spacing-4);
|
|
@@ -300,7 +283,7 @@ div#filter_bar {
|
|
|
300
283
|
box-shadow: none;
|
|
301
284
|
|
|
302
285
|
.thumbnail_background {
|
|
303
|
-
box-shadow: 0 0 4px 4px
|
|
286
|
+
box-shadow: 0 0 4px 4px var(--border-color);
|
|
304
287
|
}
|
|
305
288
|
}
|
|
306
289
|
}
|
|
@@ -308,7 +291,7 @@ div#filter_bar {
|
|
|
308
291
|
#overlay_file_list {
|
|
309
292
|
max-height: 100%;
|
|
310
293
|
overflow-y: auto;
|
|
311
|
-
padding-bottom:
|
|
294
|
+
padding-bottom: var(--pagination-height);
|
|
312
295
|
|
|
313
296
|
.assign_file_file {
|
|
314
297
|
display: block;
|
|
@@ -341,5 +324,5 @@ div#filter_bar {
|
|
|
341
324
|
}
|
|
342
325
|
|
|
343
326
|
#all_files td.name a {
|
|
344
|
-
@include zoom-in;
|
|
327
|
+
@include mixins.zoom-in;
|
|
345
328
|
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
@use "../mixins";
|
|
2
|
+
|
|
1
3
|
html {
|
|
2
4
|
box-sizing: border-box;
|
|
3
5
|
height: 100%;
|
|
4
|
-
font-size:
|
|
6
|
+
font-size: var(--font-size_medium);
|
|
5
7
|
|
|
6
8
|
&.turbo-progress-bar::before,
|
|
7
9
|
.turbo-progress-bar {
|
|
@@ -28,9 +30,9 @@ noscript {
|
|
|
28
30
|
width: 100%;
|
|
29
31
|
text-align: center;
|
|
30
32
|
line-height: 1em;
|
|
31
|
-
border-bottom: 1px solid
|
|
32
|
-
color:
|
|
33
|
-
background-color:
|
|
33
|
+
border-bottom: 1px solid var(--notice-warning-border-color);
|
|
34
|
+
color: var(--notice-warning-text-color);
|
|
35
|
+
background-color: var(--notice-warning-background-color);
|
|
34
36
|
|
|
35
37
|
h1,
|
|
36
38
|
p {
|
|
@@ -41,13 +43,13 @@ noscript {
|
|
|
41
43
|
body {
|
|
42
44
|
margin: 0;
|
|
43
45
|
padding: 0;
|
|
44
|
-
color: var(--color
|
|
45
|
-
font:
|
|
46
|
-
background-color:
|
|
46
|
+
color: var(--text-color);
|
|
47
|
+
font: var(--font-default);
|
|
48
|
+
background-color: var(--body-background-color);
|
|
47
49
|
height: 100%;
|
|
48
50
|
cursor: default;
|
|
49
51
|
opacity: 1;
|
|
50
|
-
transition: opacity
|
|
52
|
+
transition: opacity var(--transition-duration);
|
|
51
53
|
|
|
52
54
|
// Fix for strange element window offset
|
|
53
55
|
&.pages.edit {
|
|
@@ -62,7 +64,7 @@ body {
|
|
|
62
64
|
a {
|
|
63
65
|
color: inherit;
|
|
64
66
|
text-decoration: none;
|
|
65
|
-
transition:
|
|
67
|
+
transition: var(--transition-duration);
|
|
66
68
|
|
|
67
69
|
&:hover {
|
|
68
70
|
text-decoration: underline;
|
|
@@ -76,7 +78,7 @@ a {
|
|
|
76
78
|
|
|
77
79
|
a:focus,
|
|
78
80
|
[tabindex]:focus {
|
|
79
|
-
@include default-focus-style;
|
|
81
|
+
@include mixins.default-focus-style;
|
|
80
82
|
}
|
|
81
83
|
|
|
82
84
|
form {
|
|
@@ -111,19 +113,19 @@ hr {
|
|
|
111
113
|
}
|
|
112
114
|
|
|
113
115
|
.top-rounded-border {
|
|
114
|
-
@include border-top-radius(
|
|
116
|
+
@include mixins.border-top-radius(var(--border-radius_medium));
|
|
115
117
|
}
|
|
116
118
|
|
|
117
119
|
.left-rounded-border {
|
|
118
|
-
@include border-left-radius(
|
|
120
|
+
@include mixins.border-left-radius(var(--border-radius_medium));
|
|
119
121
|
}
|
|
120
122
|
|
|
121
123
|
.right-rounded-border {
|
|
122
|
-
@include border-right-radius(
|
|
124
|
+
@include mixins.border-right-radius(var(--border-radius_medium));
|
|
123
125
|
}
|
|
124
126
|
|
|
125
127
|
.bottom-rounded-border {
|
|
126
|
-
@include border-bottom-radius(
|
|
128
|
+
@include mixins.border-bottom-radius(var(--border-radius_medium));
|
|
127
129
|
}
|
|
128
130
|
|
|
129
131
|
.bottom-left-rounded-border {
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
@use "sass:color";
|
|
2
|
+
@use "../mixins";
|
|
3
|
+
|
|
4
|
+
:root {
|
|
5
|
+
--button-border-radius: var(--border-radius_medium);
|
|
6
|
+
--button-border-style: var(--border-style);
|
|
7
|
+
--button-border-width: var(--border-width_small);
|
|
8
|
+
--button-border: var(--button-border-width) var(--button-border-style)
|
|
9
|
+
var(--button-border-color);
|
|
10
|
+
--button-font-size: var(--font-size_medium);
|
|
11
|
+
--button-font-weight: var(--font-weight_bold);
|
|
12
|
+
--button-height: 30px;
|
|
13
|
+
--button-line-height: var(--form-field-line-height);
|
|
14
|
+
--button-margin: var(--form-field-margin);
|
|
15
|
+
--button-padding: var(--spacing-1) var(--spacing-5);
|
|
16
|
+
--button-small-padding: 0.4em 0.8em;
|
|
17
|
+
--icon-button-height: 30px;
|
|
18
|
+
--icon-button-width: 30px;
|
|
19
|
+
--icon-button-medium-height: 26px;
|
|
20
|
+
--icon-button-medium-width: 26px;
|
|
21
|
+
--icon-button-small-height: 15px;
|
|
22
|
+
--icon-button-small-width: 15px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
button,
|
|
26
|
+
input[type="submit"],
|
|
27
|
+
a.button,
|
|
28
|
+
input.button {
|
|
29
|
+
position: relative;
|
|
30
|
+
@include mixins.button-defaults;
|
|
31
|
+
|
|
32
|
+
&.secondary {
|
|
33
|
+
background-color: var(--button-secondary-bg-color);
|
|
34
|
+
color: var(--button-secondary-text-color);
|
|
35
|
+
border-color: var(--button-secondary-border-color);
|
|
36
|
+
|
|
37
|
+
&:focus {
|
|
38
|
+
@include mixins.default-focus-style(
|
|
39
|
+
$border-color: var(--button-focus-border-color),
|
|
40
|
+
$box-shadow: var(--button-focus-box-shadow)
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&:hover {
|
|
45
|
+
background-color: var(--button-hover-bg-color);
|
|
46
|
+
border-color: var(--button-hover-border-color);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&:active,
|
|
50
|
+
&:active:focus {
|
|
51
|
+
border-color: var(--button-hover-border-color);
|
|
52
|
+
box-shadow: none;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&.small {
|
|
57
|
+
padding: var(--button-small-padding);
|
|
58
|
+
line-height: var(--spacing-4);
|
|
59
|
+
font-size: var(--font-size_small);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&.with_icon {
|
|
63
|
+
display: inline-flex;
|
|
64
|
+
align-items: center;
|
|
65
|
+
justify-content: center;
|
|
66
|
+
gap: var(--spacing-1);
|
|
67
|
+
|
|
68
|
+
alchemy-icon {
|
|
69
|
+
fill: currentColor;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&[disabled] {
|
|
74
|
+
cursor: not-allowed;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.icon_button {
|
|
79
|
+
position: relative;
|
|
80
|
+
display: inline-flex;
|
|
81
|
+
align-items: center;
|
|
82
|
+
justify-content: center;
|
|
83
|
+
width: var(--icon-button-width);
|
|
84
|
+
height: var(--icon-button-height);
|
|
85
|
+
margin: 0;
|
|
86
|
+
padding: 0;
|
|
87
|
+
text-shadow: none;
|
|
88
|
+
border-radius: var(--border-radius_medium);
|
|
89
|
+
|
|
90
|
+
&.small {
|
|
91
|
+
width: var(--icon-button-small-width);
|
|
92
|
+
height: var(--icon-button-small-height);
|
|
93
|
+
background: none;
|
|
94
|
+
border: none;
|
|
95
|
+
padding: 0; // button.small has padding
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&.active,
|
|
99
|
+
&:active,
|
|
100
|
+
&:hover:not([disabled]):not(.disabled):not(.linked) {
|
|
101
|
+
text-decoration: none;
|
|
102
|
+
background-color: var(--border-color);
|
|
103
|
+
cursor: pointer;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.icon {
|
|
107
|
+
transition: fill 250ms;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&.disabled,
|
|
111
|
+
&[disabled] {
|
|
112
|
+
pointer-events: none;
|
|
113
|
+
|
|
114
|
+
svg {
|
|
115
|
+
opacity: 0.3;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&:hover {
|
|
119
|
+
text-decoration: none;
|
|
120
|
+
cursor: default;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&.linked {
|
|
125
|
+
@include mixins.button-defaults(
|
|
126
|
+
$background-color: var(--icon-button-linked-color),
|
|
127
|
+
$hover-color: var(--icon-button-linked-hover-color),
|
|
128
|
+
$border: 1px solid var(--icon-button-linked-border-color),
|
|
129
|
+
$hover-border-color: var(--icon-button-linked-hover-border-color),
|
|
130
|
+
$box-shadow: none,
|
|
131
|
+
$padding: 3px,
|
|
132
|
+
$margin: 0
|
|
133
|
+
);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
&:focus:not(.disabled):not([disabled]) {
|
|
137
|
+
@include mixins.default-focus-style;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.spinner {
|
|
141
|
+
position: static;
|
|
142
|
+
transform: none;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
button.icon_button {
|
|
147
|
+
background: transparent;
|
|
148
|
+
border: 0 none;
|
|
149
|
+
box-shadow: none;
|
|
150
|
+
font-weight: normal;
|
|
151
|
+
|
|
152
|
+
&:disabled,
|
|
153
|
+
&.disabled {
|
|
154
|
+
background: transparent;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
#new_element button.button {
|
|
159
|
+
float: right;
|
|
160
|
+
}
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
align-items: center;
|
|
13
13
|
gap: var(--spacing-2);
|
|
14
14
|
padding: var(--spacing-2);
|
|
15
|
-
border:
|
|
15
|
+
border: var(--border-default);
|
|
16
16
|
background-color: white;
|
|
17
|
-
border-radius:
|
|
17
|
+
border-radius: var(--border-radius_medium);
|
|
18
18
|
|
|
19
19
|
&.elements {
|
|
20
20
|
background-color: var(--color-grey_light);
|
|
@@ -47,16 +47,13 @@
|
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
|
|
50
|
+
alchemy-update-check {
|
|
51
|
+
display: flex;
|
|
51
52
|
position: relative;
|
|
52
53
|
height: 16px;
|
|
53
54
|
margin-bottom: 2em;
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
width: 16px;
|
|
57
|
-
height: 16px;
|
|
58
|
-
display: none;
|
|
59
|
-
}
|
|
55
|
+
text-align: center;
|
|
56
|
+
justify-content: center;
|
|
60
57
|
|
|
61
58
|
> span {
|
|
62
59
|
display: inline-flex;
|
|
@@ -70,18 +67,18 @@
|
|
|
70
67
|
.icon {
|
|
71
68
|
fill: currentColor;
|
|
72
69
|
}
|
|
73
|
-
}
|
|
74
70
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
71
|
+
&.up_to_date {
|
|
72
|
+
color: var(--notice-success-text-color);
|
|
73
|
+
}
|
|
78
74
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
75
|
+
&.error {
|
|
76
|
+
color: var(--notice-error-text-color);
|
|
77
|
+
}
|
|
82
78
|
|
|
83
|
-
|
|
84
|
-
|
|
79
|
+
&.update_available {
|
|
80
|
+
color: var(--notice-warning-text-color);
|
|
81
|
+
}
|
|
85
82
|
}
|
|
86
83
|
}
|
|
87
84
|
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
@use "../mixins";
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--dialog-header-height: 36px;
|
|
5
|
+
--dialog-header-font-size: var(--font-size_medium);
|
|
6
|
+
--dialog-header-padding: 0 var(--spacing-2);
|
|
7
|
+
--dialog-transition-duration: 150ms;
|
|
8
|
+
}
|
|
2
9
|
|
|
3
10
|
.alchemy-image-overlay-container,
|
|
4
11
|
.alchemy-dialog-container {
|
|
@@ -14,7 +21,7 @@ $dialog-transition-duration: 150ms;
|
|
|
14
21
|
opacity: 0;
|
|
15
22
|
transform: scale(0.98);
|
|
16
23
|
transition-property: transform, opacity;
|
|
17
|
-
transition-duration:
|
|
24
|
+
transition-duration: var(--dialog-transition-duration);
|
|
18
25
|
transition-timing-function: ease-in;
|
|
19
26
|
|
|
20
27
|
// vertical aligment
|
|
@@ -42,7 +49,7 @@ $dialog-transition-duration: 150ms;
|
|
|
42
49
|
width: 100%;
|
|
43
50
|
height: 100%;
|
|
44
51
|
background-color: rgba(0, 0, 0, 0);
|
|
45
|
-
transition: background-color
|
|
52
|
+
transition: background-color var(--dialog-transition-duration) linear;
|
|
46
53
|
|
|
47
54
|
&.closable {
|
|
48
55
|
cursor: pointer;
|
|
@@ -51,7 +58,7 @@ $dialog-transition-duration: 150ms;
|
|
|
51
58
|
|
|
52
59
|
.alchemy-dialog-overlay {
|
|
53
60
|
&.open {
|
|
54
|
-
background-color:
|
|
61
|
+
background-color: var(--dialog-overlay-color);
|
|
55
62
|
}
|
|
56
63
|
}
|
|
57
64
|
|
|
@@ -67,10 +74,10 @@ $dialog-transition-duration: 150ms;
|
|
|
67
74
|
.alchemy-dialog {
|
|
68
75
|
white-space: normal;
|
|
69
76
|
margin: var(--spacing-2);
|
|
70
|
-
@include border-top-radius(
|
|
71
|
-
box-shadow:
|
|
72
|
-
background-color:
|
|
73
|
-
transition: min-height
|
|
77
|
+
@include mixins.border-top-radius(var(--border-radius_medium));
|
|
78
|
+
box-shadow: var(--dialog-box-shadow);
|
|
79
|
+
background-color: var(--dialog-background-color);
|
|
80
|
+
transition: min-height var(--dialog-transition-duration) ease-in-out;
|
|
74
81
|
|
|
75
82
|
div#jscropper {
|
|
76
83
|
padding: var(--spacing-2);
|
|
@@ -127,13 +134,13 @@ $dialog-transition-duration: 150ms;
|
|
|
127
134
|
align-items: center;
|
|
128
135
|
gap: var(--spacing-1);
|
|
129
136
|
position: relative;
|
|
130
|
-
height:
|
|
131
|
-
padding:
|
|
132
|
-
background:
|
|
133
|
-
color:
|
|
137
|
+
height: var(--dialog-header-height);
|
|
138
|
+
padding: var(--dialog-header-padding);
|
|
139
|
+
background: var(--dialog-header-color);
|
|
140
|
+
color: var(--dialog-header-text-color);
|
|
134
141
|
font-weight: normal;
|
|
135
|
-
font-size:
|
|
136
|
-
@include border-top-radius(
|
|
142
|
+
font-size: var(--dialog-header-font-size);
|
|
143
|
+
@include mixins.border-top-radius(var(--border-radius_medium));
|
|
137
144
|
}
|
|
138
145
|
|
|
139
146
|
.alchemy-dialog-title {
|
|
@@ -143,7 +150,7 @@ $dialog-transition-duration: 150ms;
|
|
|
143
150
|
white-space: nowrap;
|
|
144
151
|
overflow: hidden;
|
|
145
152
|
text-overflow: ellipsis;
|
|
146
|
-
@include antialiased-font-smoothing;
|
|
153
|
+
@include mixins.antialiased-font-smoothing;
|
|
147
154
|
}
|
|
148
155
|
|
|
149
156
|
.alchemy-image-overlay-close,
|
|
@@ -158,7 +165,7 @@ $dialog-transition-duration: 150ms;
|
|
|
158
165
|
|
|
159
166
|
.alchemy-dialog-body {
|
|
160
167
|
position: relative;
|
|
161
|
-
color: var(--color
|
|
168
|
+
color: var(--text-color);
|
|
162
169
|
|
|
163
170
|
.message,
|
|
164
171
|
alchemy-message {
|