alchemy_cms 7.4.5 → 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 +92 -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/picture_descriptions_controller.rb +5 -1
- data/app/controllers/alchemy/admin/pictures_controller.rb +10 -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/picture_descriptions_form_helper.rb +16 -0
- 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 +4 -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/growl.js +1 -0
- 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/picture_descriptions/_form.html.erb +5 -7
- data/app/views/alchemy/admin/picture_descriptions/edit.html.erb +2 -2
- 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/_form.html.erb +2 -2
- data/app/views/alchemy/admin/pictures/_picture_description_field.html.erb +21 -13
- 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/500.turbo_stream.erb +3 -0
- 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/db/migrate/20250626160259_add_unique_index_to_picture_descriptions.rb +7 -0
- 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 +184 -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,15 +1,18 @@
|
|
1
|
+
@use "base";
|
2
|
+
@use "../mixins";
|
3
|
+
|
1
4
|
.resource_info {
|
2
5
|
.value {
|
3
6
|
position: relative;
|
4
|
-
@include clearfix;
|
7
|
+
@include mixins.clearfix;
|
5
8
|
|
6
9
|
> label {
|
7
|
-
@include form-label;
|
10
|
+
@include mixins.form-label;
|
8
11
|
}
|
9
12
|
|
10
13
|
> p {
|
11
|
-
@include form-value-display;
|
12
|
-
@include truncate(
|
14
|
+
@include mixins.form-value-display;
|
15
|
+
@include mixins.truncate(var(--form-right-column-width));
|
13
16
|
}
|
14
17
|
|
15
18
|
&.with-icon {
|
@@ -27,7 +30,7 @@
|
|
27
30
|
position: absolute;
|
28
31
|
right: 0;
|
29
32
|
top: var(--spacing-1);
|
30
|
-
height:
|
33
|
+
height: var(--form-field-height);
|
31
34
|
background-color: var(--color-grey_light);
|
32
35
|
padding: 0 var(--spacing-2);
|
33
36
|
transition: background-color 0.3s;
|
@@ -1,3 +1,6 @@
|
|
1
|
+
@use "../mixins";
|
2
|
+
@use "../variables" as vars;
|
3
|
+
|
1
4
|
.search_field {
|
2
5
|
position: relative;
|
3
6
|
margin-bottom: var(--spacing-1);
|
@@ -58,8 +61,8 @@
|
|
58
61
|
border: none;
|
59
62
|
background-color: hsla(0deg, 0%, 100%, 0.75);
|
60
63
|
transition:
|
61
|
-
width
|
62
|
-
background-color
|
64
|
+
width var(--transition-duration) ease-in-out,
|
65
|
+
background-color var(--transition-duration) linear;
|
63
66
|
border-radius: 0;
|
64
67
|
padding: var(--spacing-2) var(--spacing-4) var(--spacing-2) var(--spacing-8);
|
65
68
|
margin: 0;
|
@@ -67,16 +70,16 @@
|
|
67
70
|
box-shadow: none;
|
68
71
|
-webkit-appearance: none;
|
69
72
|
|
70
|
-
@media screen and (min-width:
|
73
|
+
@media screen and (min-width: vars.$medium-screen-break-point) {
|
71
74
|
width: 150px;
|
72
75
|
}
|
73
76
|
|
74
77
|
&:focus {
|
75
78
|
width: 250px;
|
76
|
-
background-color:
|
79
|
+
background-color: var(--form-field-background-color);
|
77
80
|
|
78
|
-
@include default-focus-style(
|
79
|
-
$box-shadow: inset 0 0 0 2px
|
81
|
+
@include mixins.default-focus-style(
|
82
|
+
$box-shadow: inset 0 0 0 2px var(--focus-color),
|
80
83
|
$border-radius: 0
|
81
84
|
);
|
82
85
|
}
|
@@ -1,19 +1,27 @@
|
|
1
|
-
@
|
1
|
+
@use "sass:color";
|
2
|
+
@use "alchemy_admin/select2";
|
3
|
+
@use "../extends";
|
4
|
+
@use "../mixins";
|
5
|
+
|
6
|
+
:root {
|
7
|
+
--select-medium-width: 90px;
|
8
|
+
--select-large-width: 120px;
|
9
|
+
}
|
2
10
|
|
3
11
|
select {
|
4
|
-
@include button-defaults(
|
5
|
-
$background-color:
|
6
|
-
$hover-color:
|
7
|
-
$hover-border-color:
|
12
|
+
@include mixins.button-defaults(
|
13
|
+
$background-color: var(--form-field-background-color),
|
14
|
+
$hover-color: var(--form-field-background-color),
|
15
|
+
$hover-border-color: var(--button-hover-border-color),
|
8
16
|
$padding: var(--spacing-1) 26px var(--spacing-1) var(--spacing-2),
|
9
|
-
$border: 1px solid
|
17
|
+
$border: 1px solid var(--button-border-color),
|
10
18
|
$box-shadow: none,
|
11
|
-
$color:
|
19
|
+
$color: var(--form-field-text-color),
|
12
20
|
$margin: 0
|
13
21
|
);
|
14
22
|
|
15
23
|
& {
|
16
|
-
height:
|
24
|
+
height: var(--form-field-height);
|
17
25
|
max-width: 100%;
|
18
26
|
width: auto;
|
19
27
|
font-weight: normal;
|
@@ -32,11 +40,11 @@ select {
|
|
32
40
|
}
|
33
41
|
|
34
42
|
&.medium {
|
35
|
-
width:
|
43
|
+
width: var(--select-medium-width);
|
36
44
|
}
|
37
45
|
|
38
46
|
&.large {
|
39
|
-
width:
|
47
|
+
width: var(--select-large-width);
|
40
48
|
}
|
41
49
|
}
|
42
50
|
|
@@ -44,15 +52,15 @@ select {
|
|
44
52
|
&.alchemy_selectbox {
|
45
53
|
.select2-choice {
|
46
54
|
width: 100%;
|
47
|
-
height:
|
48
|
-
@include button-defaults(
|
49
|
-
$background-color:
|
50
|
-
$hover-color:
|
51
|
-
$hover-border-color:
|
52
|
-
$padding:
|
53
|
-
$border: 1px solid
|
55
|
+
height: var(--form-field-height);
|
56
|
+
@include mixins.button-defaults(
|
57
|
+
$background-color: var(--form-field-background-color),
|
58
|
+
$hover-color: var(--form-field-background-color),
|
59
|
+
$hover-border-color: var(--button-hover-border-color),
|
60
|
+
$padding: var(--form-field-padding),
|
61
|
+
$border: 1px solid var(--button-border-color),
|
54
62
|
$box-shadow: none,
|
55
|
-
$color:
|
63
|
+
$color: var(--form-field-text-color),
|
56
64
|
$margin: 0
|
57
65
|
);
|
58
66
|
|
@@ -80,7 +88,7 @@ select {
|
|
80
88
|
align-items: center;
|
81
89
|
justify-content: center;
|
82
90
|
background-image: none;
|
83
|
-
color: var(--color
|
91
|
+
color: var(--icon-color);
|
84
92
|
|
85
93
|
&:before {
|
86
94
|
display: inline-block;
|
@@ -102,17 +110,19 @@ select {
|
|
102
110
|
}
|
103
111
|
|
104
112
|
&.medium {
|
105
|
-
width:
|
113
|
+
width: var(--select-medium-width);
|
106
114
|
}
|
107
115
|
|
108
116
|
&.large {
|
109
|
-
width:
|
117
|
+
width: var(--select-large-width);
|
110
118
|
}
|
111
119
|
|
112
120
|
&.select2-container-active {
|
113
121
|
.select2-choice,
|
114
122
|
.select2-choices {
|
115
|
-
@include default-focus-style(
|
123
|
+
@include mixins.default-focus-style(
|
124
|
+
$box-shadow: 0 0 0 1px var(--focus-color)
|
125
|
+
);
|
116
126
|
}
|
117
127
|
}
|
118
128
|
|
@@ -122,14 +132,14 @@ select {
|
|
122
132
|
background-image: none;
|
123
133
|
background-color: var(--color-grey_very_light);
|
124
134
|
box-shadow: none;
|
125
|
-
border-color:
|
135
|
+
border-color: var(border-inset-color);
|
126
136
|
cursor: not-allowed;
|
127
137
|
|
128
138
|
.select2-arrow {
|
129
|
-
border-color:
|
139
|
+
border-color: var(border-inset-color);
|
130
140
|
|
131
141
|
b {
|
132
|
-
color:
|
142
|
+
color: var(border-inset-color);
|
133
143
|
}
|
134
144
|
}
|
135
145
|
}
|
@@ -155,7 +165,7 @@ select {
|
|
155
165
|
}
|
156
166
|
|
157
167
|
&:hover {
|
158
|
-
color: var(--color
|
168
|
+
color: var(--icon-color);
|
159
169
|
}
|
160
170
|
}
|
161
171
|
}
|
@@ -165,7 +175,9 @@ select {
|
|
165
175
|
|
166
176
|
&.select2-container-active {
|
167
177
|
.select2-choices {
|
168
|
-
@include default-focus-style(
|
178
|
+
@include mixins.default-focus-style(
|
179
|
+
$box-shadow: 0 0 0 1px var(--focus-color)
|
180
|
+
);
|
169
181
|
}
|
170
182
|
}
|
171
183
|
|
@@ -181,14 +193,14 @@ select {
|
|
181
193
|
background-image: none;
|
182
194
|
border: 0 none;
|
183
195
|
box-shadow: none;
|
184
|
-
color: var(--color
|
196
|
+
color: var(--text-color);
|
185
197
|
}
|
186
198
|
|
187
199
|
.select2-search-field {
|
188
200
|
height: 29px;
|
189
201
|
|
190
202
|
input {
|
191
|
-
color:
|
203
|
+
color: var(--form-field-text-color);
|
192
204
|
padding: 3px 6px;
|
193
205
|
margin: 0;
|
194
206
|
}
|
@@ -207,7 +219,7 @@ select {
|
|
207
219
|
}
|
208
220
|
|
209
221
|
&.select2-with-searchbox .select2-results > .select2-result:first-child {
|
210
|
-
@include border-top-radius(0);
|
222
|
+
@include mixins.border-top-radius(0);
|
211
223
|
}
|
212
224
|
|
213
225
|
.select2-results {
|
@@ -215,11 +227,11 @@ select {
|
|
215
227
|
margin: 0;
|
216
228
|
|
217
229
|
> .select2-result:first-child {
|
218
|
-
@include border-top-radius(
|
230
|
+
@include mixins.border-top-radius(var(--border-radius_medium));
|
219
231
|
}
|
220
232
|
|
221
|
-
|
222
|
-
@include border-bottom-radius(
|
233
|
+
> .select2-result:last-child {
|
234
|
+
@include mixins.border-bottom-radius(var(--border-radius_medium));
|
223
235
|
}
|
224
236
|
|
225
237
|
.select2-result {
|
@@ -227,8 +239,8 @@ select {
|
|
227
239
|
padding: var(--spacing-1) 0;
|
228
240
|
|
229
241
|
&.select2-highlighted {
|
230
|
-
background:
|
231
|
-
color:
|
242
|
+
background: var(--select-hover-bg-color);
|
243
|
+
color: var(--select-hover-text-color);
|
232
244
|
}
|
233
245
|
|
234
246
|
&.select2-result-with-children {
|
@@ -252,8 +264,8 @@ select {
|
|
252
264
|
}
|
253
265
|
|
254
266
|
&.select2-drop-active {
|
255
|
-
border-radius:
|
256
|
-
border:
|
267
|
+
border-radius: var(--border-radius_medium);
|
268
|
+
border: var(--border-default);
|
257
269
|
}
|
258
270
|
|
259
271
|
.select2-more-results,
|
@@ -1,8 +1,4 @@
|
|
1
|
-
:root,
|
2
|
-
:host,
|
3
1
|
.alchemy-light {
|
4
|
-
color-scheme: light;
|
5
|
-
|
6
2
|
/*
|
7
3
|
* Theme Tokens
|
8
4
|
*/
|
@@ -352,7 +348,7 @@ sl-dialog {
|
|
352
348
|
}
|
353
349
|
|
354
350
|
&::part(header) {
|
355
|
-
--header-spacing: var(--spacing-3);
|
351
|
+
--header-spacing: 9.5px var(--spacing-3);
|
356
352
|
background-color: var(--color-blue_dark);
|
357
353
|
border-top-left-radius: var(--border-radius_medium);
|
358
354
|
border-top-right-radius: var(--border-radius_medium);
|
@@ -363,8 +359,11 @@ sl-dialog {
|
|
363
359
|
}
|
364
360
|
|
365
361
|
&::part(title) {
|
366
|
-
--sl-font-size-large: var(--font-
|
362
|
+
--sl-font-size-large: var(--font-size_medium);
|
367
363
|
color: var(--color-white);
|
364
|
+
font-weight: var(--font-weight_bold);
|
365
|
+
-webkit-font-smoothing: antialiased;
|
366
|
+
-moz-osx-font-smoothing: grayscale;
|
368
367
|
}
|
369
368
|
|
370
369
|
&::part(close-button) {
|
@@ -1,18 +1,23 @@
|
|
1
|
+
@use "base";
|
2
|
+
@use "../mixins";
|
3
|
+
@use "../variables" as vars;
|
4
|
+
|
1
5
|
:root {
|
6
|
+
--sitemap-line-height: 32px;
|
2
7
|
--sitemap-url-width: 420px;
|
3
8
|
--sitemap-url-header-offset: 0;
|
4
9
|
--sitemap-status-width-base: 90px;
|
5
10
|
--sitemap-status-length: 2;
|
6
11
|
|
7
|
-
@media screen and (min-width:
|
12
|
+
@media screen and (min-width: vars.$large-screen-break-point) {
|
8
13
|
--sitemap-url-width: 520px;
|
9
14
|
}
|
10
15
|
|
11
|
-
@media screen and (min-width:
|
16
|
+
@media screen and (min-width: vars.$xlarge-screen-break-point) {
|
12
17
|
--sitemap-url-width: 620px;
|
13
18
|
}
|
14
19
|
|
15
|
-
@media screen and (min-width:
|
20
|
+
@media screen and (min-width: vars.$xxlarge-screen-break-point) {
|
16
21
|
--sitemap-url-width: 820px;
|
17
22
|
}
|
18
23
|
}
|
@@ -32,7 +37,7 @@
|
|
32
37
|
padding-left: var(--spacing-1);
|
33
38
|
width: calc(var(--sitemap-url-width) - 60px);
|
34
39
|
|
35
|
-
@media screen and (min-width:
|
40
|
+
@media screen and (min-width: vars.$large-screen-break-point) {
|
36
41
|
display: block;
|
37
42
|
}
|
38
43
|
}
|
@@ -43,11 +48,11 @@
|
|
43
48
|
margin-right: 190px;
|
44
49
|
margin-left: auto;
|
45
50
|
|
46
|
-
@media screen and (min-width:
|
51
|
+
@media screen and (min-width: vars.$medium-screen-break-point) {
|
47
52
|
display: block;
|
48
53
|
}
|
49
54
|
|
50
|
-
@media screen and (min-width:
|
55
|
+
@media screen and (min-width: vars.$large-screen-break-point) {
|
51
56
|
margin-left: initial;
|
52
57
|
}
|
53
58
|
}
|
@@ -71,10 +76,10 @@
|
|
71
76
|
|
72
77
|
.page_folder {
|
73
78
|
position: absolute;
|
74
|
-
left:
|
79
|
+
left: calc(-1 * var(--spacing-8));
|
75
80
|
top: 0;
|
76
|
-
width:
|
77
|
-
height:
|
81
|
+
width: var(--sitemap-line-height);
|
82
|
+
height: var(--sitemap-line-height);
|
78
83
|
}
|
79
84
|
|
80
85
|
.placeholder {
|
@@ -92,7 +97,7 @@
|
|
92
97
|
padding-left: 0;
|
93
98
|
|
94
99
|
li {
|
95
|
-
padding-left:
|
100
|
+
padding-left: var(--sitemap-line-height);
|
96
101
|
padding-right: 0;
|
97
102
|
}
|
98
103
|
}
|
@@ -101,16 +106,16 @@
|
|
101
106
|
.sitemap_page {
|
102
107
|
display: flex;
|
103
108
|
align-items: center;
|
104
|
-
height:
|
109
|
+
height: var(--sitemap-line-height);
|
105
110
|
margin: var(--spacing-3) 0;
|
106
111
|
position: relative;
|
107
|
-
transition: background-color
|
112
|
+
transition: background-color var(--transition-duration);
|
108
113
|
--sitemap-status-width: calc(
|
109
114
|
var(--sitemap-status-width-base) * var(--sitemap-status-length)
|
110
115
|
);
|
111
116
|
|
112
117
|
&.highlight {
|
113
|
-
background-color:
|
118
|
+
background-color: var(--sitemap-highlight-color);
|
114
119
|
}
|
115
120
|
|
116
121
|
&.no-match .sitemap_pagename_link {
|
@@ -118,8 +123,8 @@
|
|
118
123
|
}
|
119
124
|
|
120
125
|
&:hover {
|
121
|
-
background-color:
|
122
|
-
border-radius:
|
126
|
+
background-color: var(--sitemap-page-hover-color);
|
127
|
+
border-radius: var(--border-radius_medium);
|
123
128
|
}
|
124
129
|
|
125
130
|
&:has(.page_infos :nth-child(3)) {
|
@@ -134,18 +139,18 @@
|
|
134
139
|
align-items: center;
|
135
140
|
flex-shrink: 0;
|
136
141
|
width: 32px;
|
137
|
-
height:
|
142
|
+
height: var(--sitemap-line-height);
|
138
143
|
}
|
139
144
|
|
140
145
|
.sitemap_sitename {
|
141
146
|
flex-grow: 1;
|
142
|
-
@include border-left-radius(
|
143
|
-
line-height:
|
147
|
+
@include mixins.border-left-radius(var(--border-radius_medium));
|
148
|
+
line-height: calc(var(--sitemap-line-height) - 4px);
|
144
149
|
overflow: hidden;
|
145
|
-
background-color:
|
150
|
+
background-color: var(--sitemap-page-background-color);
|
146
151
|
|
147
152
|
&.without-status {
|
148
|
-
@include border-right-radius(
|
153
|
+
@include mixins.border-right-radius(var(--border-radius_medium));
|
149
154
|
}
|
150
155
|
|
151
156
|
.sitemap_pagename_link {
|
@@ -164,30 +169,30 @@
|
|
164
169
|
|
165
170
|
.sitemap_url {
|
166
171
|
display: none;
|
167
|
-
background-color:
|
168
|
-
line-height:
|
172
|
+
background-color: var(--sitemap-info-background-color);
|
173
|
+
line-height: calc(var(--sitemap-line-height) - 2px);
|
169
174
|
font-size: var(--font-size_small);
|
170
175
|
padding: 0 var(--spacing-2);
|
171
176
|
white-space: nowrap;
|
172
177
|
overflow: hidden;
|
173
178
|
text-overflow: ellipsis;
|
174
|
-
border: 1px solid
|
179
|
+
border: 1px solid var(--sitemap-page-background-color);
|
175
180
|
width: calc(var(--sitemap-url-width) - var(--sitemap-status-width));
|
176
181
|
|
177
|
-
@media screen and (min-width:
|
182
|
+
@media screen and (min-width: vars.$large-screen-break-point) {
|
178
183
|
display: block;
|
179
184
|
}
|
180
185
|
}
|
181
186
|
|
182
187
|
.page_infos {
|
183
188
|
@extend .right-rounded-border;
|
184
|
-
background-color:
|
189
|
+
background-color: var(--sitemap-page-background-color);
|
185
190
|
border-left: 1px solid var(--color-grey_very_light);
|
186
191
|
display: none;
|
187
192
|
justify-content: end;
|
188
193
|
width: var(--sitemap-status-width);
|
189
|
-
height:
|
190
|
-
line-height:
|
194
|
+
height: var(--sitemap-line-height);
|
195
|
+
line-height: var(--sitemap-line-height);
|
191
196
|
|
192
197
|
.page_status {
|
193
198
|
margin: 0 var(--spacing-1);
|
@@ -195,7 +200,7 @@
|
|
195
200
|
white-space: nowrap;
|
196
201
|
}
|
197
202
|
|
198
|
-
@media screen and (min-width:
|
203
|
+
@media screen and (min-width: vars.$medium-screen-break-point) {
|
199
204
|
display: flex;
|
200
205
|
}
|
201
206
|
}
|
@@ -204,17 +209,17 @@
|
|
204
209
|
display: none;
|
205
210
|
align-items: center;
|
206
211
|
gap: var(--spacing-1);
|
207
|
-
height:
|
212
|
+
height: var(--sitemap-line-height);
|
208
213
|
padding: 0 var(--spacing-2);
|
209
214
|
|
210
|
-
@media screen and (min-width:
|
215
|
+
@media screen and (min-width: vars.$small-screen-break-point) {
|
211
216
|
display: flex;
|
212
217
|
}
|
213
218
|
|
214
219
|
.sitemap_tool {
|
215
|
-
width:
|
216
|
-
height:
|
217
|
-
line-height:
|
220
|
+
width: var(--spacing-8);
|
221
|
+
height: var(--spacing-8);
|
222
|
+
line-height: var(--sitemap-line-height);
|
218
223
|
text-align: center;
|
219
224
|
margin: 0;
|
220
225
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use "base";
|
2
|
+
|
1
3
|
table {
|
2
4
|
border-style: none;
|
3
5
|
border-spacing: 0 var(--spacing-1);
|
@@ -38,7 +40,7 @@ table {
|
|
38
40
|
vertical-align: top;
|
39
41
|
line-height: 22px;
|
40
42
|
border-right: 1px solid var(--color-grey_light);
|
41
|
-
transition: background-color
|
43
|
+
transition: background-color var(--transition-duration);
|
42
44
|
|
43
45
|
&:last-child {
|
44
46
|
border-right: 0 none;
|
@@ -74,12 +76,12 @@ th,
|
|
74
76
|
|
75
77
|
tr.even td,
|
76
78
|
.table .row.even .col {
|
77
|
-
background-color:
|
79
|
+
background-color: var(--table-row-even-background-color);
|
78
80
|
}
|
79
81
|
|
80
82
|
tr.odd td,
|
81
83
|
.table .row.odd .col {
|
82
|
-
background-color:
|
84
|
+
background-color: var(--table-row-odd-background-color);
|
83
85
|
}
|
84
86
|
|
85
87
|
.list tr .tools,
|
@@ -112,7 +114,7 @@ td.heading {
|
|
112
114
|
|
113
115
|
.list tr:hover td,
|
114
116
|
.table .row:hover .col {
|
115
|
-
background-color:
|
117
|
+
background-color: var(--table-row-hover-color);
|
116
118
|
}
|
117
119
|
|
118
120
|
td,
|
@@ -1,10 +1,12 @@
|
|
1
|
+
@use "../mixins";
|
2
|
+
|
1
3
|
.tag-list {
|
2
4
|
display: flex;
|
3
5
|
flex-direction: column;
|
4
6
|
height: 100%;
|
5
7
|
|
6
8
|
.alchemy-dialog-body & {
|
7
|
-
max-height:
|
9
|
+
max-height: 292px;
|
8
10
|
}
|
9
11
|
|
10
12
|
alchemy-list-filter {
|
@@ -35,7 +37,7 @@
|
|
35
37
|
}
|
36
38
|
|
37
39
|
a {
|
38
|
-
@include tag-base;
|
40
|
+
@include mixins.tag-base;
|
39
41
|
|
40
42
|
& {
|
41
43
|
display: flex;
|
@@ -64,7 +66,7 @@
|
|
64
66
|
.tag {
|
65
67
|
pointer-events: none;
|
66
68
|
font-size: var(--font-size_small);
|
67
|
-
@include tag-base(
|
69
|
+
@include mixins.tag-base(
|
68
70
|
$margin: var(--spacing-0) 0,
|
69
71
|
$padding: var(--spacing-1) var(--spacing-2) var(--spacing-1)
|
70
72
|
);
|
@@ -117,7 +119,7 @@
|
|
117
119
|
padding: var(--spacing-1);
|
118
120
|
margin: 0 0 var(--spacing-1) 0;
|
119
121
|
position: relative;
|
120
|
-
border-radius:
|
122
|
+
border-radius: var(--border-radius_medium);
|
121
123
|
|
122
124
|
&.odd {
|
123
125
|
background-color: #eaf3f9;
|
@@ -1,11 +1,18 @@
|
|
1
|
+
@use "../extends";
|
2
|
+
@use "../variables" as vars;
|
3
|
+
|
4
|
+
:root {
|
5
|
+
--toolbar-height: 46px;
|
6
|
+
--toolbar-padding: var(--spacing-2) var(--spacing-1);
|
7
|
+
--toolbar-border-bottom: var(--border-default);
|
8
|
+
}
|
9
|
+
|
1
10
|
#toolbar {
|
2
|
-
|
11
|
+
@extend %gradiated-toolbar;
|
3
12
|
align-items: center;
|
4
13
|
gap: var(--spacing-2);
|
5
14
|
z-index: 10;
|
6
|
-
@extend %gradiated-toolbar;
|
7
15
|
margin-right: 0px;
|
8
|
-
border-bottom: $default-border;
|
9
16
|
position: relative;
|
10
17
|
|
11
18
|
.toolbar_button {
|
@@ -31,7 +38,7 @@
|
|
31
38
|
overflow-y: visible;
|
32
39
|
-webkit-overflow-scrolling: touch;
|
33
40
|
|
34
|
-
@media screen and (min-width:
|
41
|
+
@media screen and (min-width: vars.$medium-screen-break-point) {
|
35
42
|
overflow: visible;
|
36
43
|
}
|
37
44
|
|
@@ -74,14 +81,13 @@
|
|
74
81
|
height: 29px;
|
75
82
|
border-right-style: solid;
|
76
83
|
border-right-width: 1px;
|
77
|
-
border-right-color:
|
84
|
+
border-right-color: var(--border-color);
|
78
85
|
margin-right: var(--spacing-1);
|
79
86
|
margin-left: var(--spacing-1);
|
80
87
|
}
|
81
88
|
|
82
89
|
#overlay_toolbar {
|
83
90
|
@extend %gradiated-toolbar;
|
84
|
-
border-bottom: $default-border;
|
85
91
|
}
|
86
92
|
|
87
93
|
.button_group {
|
@@ -55,13 +55,13 @@ p {
|
|
55
55
|
white-space: normal;
|
56
56
|
|
57
57
|
a {
|
58
|
-
color:
|
58
|
+
color: var(--text-link-color);
|
59
59
|
}
|
60
60
|
}
|
61
61
|
|
62
62
|
kbd,
|
63
63
|
code {
|
64
|
-
border:
|
64
|
+
border: var(--border-default);
|
65
65
|
border-radius: var(--border-radius_medium);
|
66
66
|
font-family: Courier, monospaced;
|
67
67
|
margin: 0 0.25ex;
|
@@ -1,3 +1,5 @@
|
|
1
|
+
@use "../extends";
|
2
|
+
|
1
3
|
.upload-button {
|
2
4
|
display: inline-block;
|
3
5
|
|
@@ -56,7 +58,7 @@ alchemy-upload-progress {
|
|
56
58
|
opacity: 0;
|
57
59
|
padding: var(--spacing-4);
|
58
60
|
position: fixed;
|
59
|
-
transition:
|
61
|
+
transition: var(--transition-duration) ease-in-out;
|
60
62
|
width: 100%;
|
61
63
|
z-index: 150;
|
62
64
|
|
@@ -72,9 +74,9 @@ alchemy-upload-progress {
|
|
72
74
|
}
|
73
75
|
|
74
76
|
.value-text {
|
75
|
-
color: var(--
|
77
|
+
color: var(--file-upload-text-color);
|
76
78
|
font-size: var(--font-size_large);
|
77
|
-
font-weight: var(--font-
|
79
|
+
font-weight: var(--font-weight_bold);
|
78
80
|
min-width: 100px;
|
79
81
|
}
|
80
82
|
|
@@ -124,14 +126,14 @@ alchemy-upload-progress {
|
|
124
126
|
}
|
125
127
|
|
126
128
|
.error-message {
|
127
|
-
color: var(--
|
129
|
+
color: var(--file-upload-failed-text-color);
|
128
130
|
}
|
129
131
|
|
130
132
|
button {
|
131
133
|
margin-left: auto; // right align button
|
132
134
|
&:hover,
|
133
135
|
&:active {
|
134
|
-
background-color:
|
136
|
+
background-color: var(--border-color);
|
135
137
|
}
|
136
138
|
}
|
137
139
|
|