alchemy_cms 7.1.12 → 7.2.0.b
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +132 -29
- data/Gemfile +2 -4
- data/LICENSE +1 -1
- data/README.md +5 -6
- data/SECURITY.md +1 -1
- data/alchemy_cms.gemspec +3 -4
- data/app/assets/javascripts/alchemy/admin.js +0 -9
- data/app/assets/javascripts/alchemy/alchemy.dialog.js.coffee +5 -15
- data/app/assets/javascripts/alchemy/alchemy.image_overlay.coffee +5 -4
- data/app/assets/javascripts/alchemy/templates/index.js +0 -1
- data/app/assets/javascripts/alchemy/templates/node_folder.hbs +1 -1
- data/app/assets/javascripts/alchemy/templates/page_folder.hbs +1 -1
- data/app/assets/javascripts/tinymce/plugins/alchemy_link/plugin.min.js +20 -7
- data/app/assets/stylesheets/alchemy/_custom-properties.scss +12 -0
- data/app/assets/stylesheets/alchemy/_mixins.scss +10 -6
- data/app/assets/stylesheets/alchemy/_variables.scss +3 -0
- data/app/assets/stylesheets/alchemy/admin.scss +2 -2
- data/app/assets/stylesheets/alchemy/archive.scss +4 -3
- data/app/assets/stylesheets/alchemy/attachment-select.scss +19 -0
- data/app/assets/stylesheets/alchemy/base.scss +31 -18
- data/app/assets/stylesheets/alchemy/buttons.scss +3 -4
- data/app/assets/stylesheets/alchemy/dashboard.scss +1 -1
- data/app/assets/stylesheets/alchemy/dialogs.scss +2 -5
- data/app/assets/stylesheets/alchemy/elements.scss +73 -41
- data/app/assets/stylesheets/alchemy/flash.scss +20 -70
- data/app/assets/stylesheets/alchemy/forms.scss +41 -36
- data/app/assets/stylesheets/alchemy/frame.scss +12 -3
- data/app/assets/stylesheets/alchemy/icons.scss +34 -2
- data/app/assets/stylesheets/alchemy/image_library.scss +18 -9
- data/app/assets/stylesheets/alchemy/{filter_field.scss → list_filter.scss} +8 -7
- data/app/assets/stylesheets/alchemy/lists.scss +1 -1
- data/app/assets/stylesheets/alchemy/navigation.scss +9 -12
- data/app/assets/stylesheets/alchemy/node-select.scss +1 -1
- data/app/assets/stylesheets/alchemy/nodes.scss +15 -13
- data/app/assets/stylesheets/alchemy/notices.scss +56 -39
- data/app/assets/stylesheets/alchemy/page-select.scss +1 -4
- data/app/assets/stylesheets/alchemy/pagination.scss +11 -1
- data/app/assets/stylesheets/alchemy/preview_window.scss +3 -3
- data/app/assets/stylesheets/alchemy/search.scss +4 -4
- data/app/assets/stylesheets/alchemy/selects.scss +13 -7
- data/app/assets/stylesheets/alchemy/shoelace.scss +33 -2
- data/app/assets/stylesheets/alchemy/sitemap.scss +155 -159
- data/app/assets/stylesheets/alchemy/tables.scss +49 -12
- data/app/assets/stylesheets/alchemy/tags.scss +17 -11
- data/app/assets/stylesheets/alchemy/toolbar.scss +2 -2
- data/app/assets/stylesheets/alchemy/typography.scss +41 -22
- data/app/assets/stylesheets/alchemy/upload.scss +5 -4
- data/app/components/alchemy/admin/attachment_select.rb +39 -0
- data/app/components/alchemy/admin/icon.rb +72 -0
- data/app/components/alchemy/admin/link_dialog/anchor_tab.rb +41 -0
- data/app/components/alchemy/admin/link_dialog/base_tab.rb +75 -0
- data/app/components/alchemy/admin/link_dialog/external_tab.rb +42 -0
- data/app/components/alchemy/admin/link_dialog/file_tab.rb +45 -0
- data/app/components/alchemy/admin/link_dialog/internal_tab.rb +66 -0
- data/app/components/alchemy/admin/link_dialog/tabs.rb +33 -0
- data/app/components/alchemy/admin/list_filter.rb +42 -0
- data/app/components/alchemy/admin/message.rb +19 -0
- data/app/components/alchemy/admin/tags_autocomplete.rb +25 -0
- data/app/components/alchemy/admin/toolbar_button.rb +111 -0
- data/app/components/alchemy/ingredients/datetime_view.rb +2 -3
- data/app/components/alchemy/ingredients/link_view.rb +1 -7
- data/app/components/alchemy/ingredients/picture_view.rb +2 -2
- data/app/components/alchemy/ingredients/text_view.rb +1 -2
- data/app/controllers/alchemy/admin/base_controller.rb +1 -1
- data/app/controllers/alchemy/admin/elements_controller.rb +4 -2
- data/app/controllers/alchemy/admin/ingredients_controller.rb +2 -0
- data/app/controllers/alchemy/admin/languages_controller.rb +1 -1
- data/app/controllers/alchemy/admin/layoutpages_controller.rb +0 -19
- data/app/controllers/alchemy/admin/legacy_page_urls_controller.rb +12 -4
- data/app/controllers/alchemy/admin/nodes_controller.rb +26 -0
- data/app/controllers/alchemy/admin/pages_controller.rb +11 -78
- data/app/controllers/alchemy/admin/picture_descriptions_controller.rb +15 -0
- data/app/controllers/alchemy/admin/pictures_controller.rb +18 -1
- data/app/controllers/alchemy/admin/resources_controller.rb +15 -10
- data/app/controllers/alchemy/api/attachments_controller.rb +44 -0
- data/app/controllers/alchemy/api/pages_controller.rb +10 -6
- data/app/controllers/alchemy/base_controller.rb +2 -2
- data/app/controllers/alchemy/messages_controller.rb +3 -3
- data/app/controllers/alchemy/pages_controller.rb +8 -6
- data/app/controllers/concerns/alchemy/admin/current_language.rb +1 -11
- data/app/controllers/concerns/alchemy/legacy_page_redirects.rb +1 -1
- data/app/decorators/alchemy/element_editor.rb +2 -2
- data/app/helpers/alchemy/admin/base_helper.rb +8 -60
- data/app/helpers/alchemy/admin/elements_helper.rb +1 -1
- data/app/helpers/alchemy/admin/ingredients_helper.rb +1 -1
- data/app/helpers/alchemy/base_helper.rb +9 -91
- data/app/helpers/alchemy/elements_helper.rb +3 -3
- data/app/helpers/alchemy/pages_helper.rb +16 -9
- data/app/javascript/alchemy_admin/components/attachment_select.js +24 -0
- data/app/javascript/alchemy_admin/components/button.js +3 -0
- data/app/javascript/alchemy_admin/components/clipboard_button.js +3 -2
- data/app/javascript/alchemy_admin/components/dialog_link.js +10 -7
- data/app/javascript/alchemy_admin/components/dom_id_select.js +69 -0
- data/app/javascript/alchemy_admin/components/element_editor/delete_element_button.js +42 -0
- data/app/javascript/alchemy_admin/components/element_editor/publish_element_button.js +4 -2
- data/app/javascript/alchemy_admin/components/element_editor.js +21 -13
- data/app/javascript/alchemy_admin/components/elements_window.js +87 -0
- data/app/javascript/alchemy_admin/components/growl.js +13 -0
- data/app/javascript/alchemy_admin/components/icon.js +51 -0
- data/app/javascript/alchemy_admin/components/index.js +24 -0
- data/app/javascript/alchemy_admin/components/ingredient_group.js +6 -0
- data/app/javascript/alchemy_admin/components/link_buttons/link_button.js +21 -11
- data/app/javascript/alchemy_admin/components/link_buttons/unlink_button.js +2 -1
- data/app/javascript/alchemy_admin/components/link_buttons.js +1 -0
- data/app/javascript/alchemy_admin/components/list_filter.js +68 -0
- data/app/javascript/alchemy_admin/components/message.js +69 -0
- data/app/javascript/alchemy_admin/components/node_select.js +1 -1
- data/app/javascript/alchemy_admin/components/overlay.js +6 -6
- data/app/javascript/alchemy_admin/components/page_select.js +3 -7
- data/app/javascript/alchemy_admin/components/preview_window.js +121 -0
- data/app/javascript/alchemy_admin/components/remote_select.js +4 -1
- data/app/javascript/alchemy_admin/components/select.js +37 -1
- data/app/javascript/alchemy_admin/components/tags_autocomplete.js +57 -0
- data/app/javascript/alchemy_admin/components/uploader/file_upload.js +4 -3
- data/app/javascript/alchemy_admin/components/uploader/progress.js +1 -1
- data/app/javascript/alchemy_admin/confirm_dialog.js +133 -0
- data/app/javascript/alchemy_admin/dirty.js +19 -14
- data/app/javascript/alchemy_admin/fixed_elements.js +24 -0
- data/app/javascript/alchemy_admin/growler.js +15 -0
- data/app/javascript/alchemy_admin/gui.js +2 -4
- data/app/javascript/alchemy_admin/hotkeys.js +60 -0
- data/app/javascript/alchemy_admin/image_loader.js +2 -2
- data/app/javascript/alchemy_admin/ingredient_anchor_link.js +2 -3
- data/app/javascript/alchemy_admin/initializer.js +1 -8
- data/app/javascript/alchemy_admin/link_dialog.js +131 -0
- data/app/javascript/alchemy_admin/locales/en.js +3 -0
- data/app/javascript/alchemy_admin/node_tree.js +4 -3
- data/app/javascript/alchemy_admin/page_sorter.js +23 -14
- data/app/javascript/alchemy_admin/picture_editors.js +6 -5
- data/app/javascript/alchemy_admin/shoelace_theme.js +60 -0
- data/app/javascript/alchemy_admin/sitemap.js +9 -3
- data/app/javascript/alchemy_admin/sortable_elements.js +4 -6
- data/app/javascript/alchemy_admin.js +18 -42
- data/app/models/alchemy/current.rb +26 -0
- data/app/models/alchemy/element.rb +1 -1
- data/app/models/alchemy/ingredients/audio.rb +0 -11
- data/app/models/alchemy/ingredients/datetime.rb +1 -1
- data/app/models/alchemy/ingredients/headline.rb +8 -1
- data/app/models/alchemy/ingredients/picture.rb +6 -0
- data/app/models/alchemy/ingredients/video.rb +0 -12
- data/app/models/alchemy/language.rb +8 -6
- data/app/models/alchemy/node.rb +2 -2
- data/app/models/alchemy/page/page_elements.rb +8 -8
- data/app/models/alchemy/page/page_layouts.rb +3 -3
- data/app/models/alchemy/page/page_natures.rb +13 -9
- data/app/models/alchemy/page/page_scopes.rb +2 -2
- data/app/models/alchemy/page/publisher.rb +1 -0
- data/app/models/alchemy/page.rb +13 -28
- data/app/models/alchemy/picture.rb +8 -0
- data/app/models/alchemy/picture_description.rb +8 -0
- data/app/models/alchemy/picture_variant.rb +1 -1
- data/app/models/alchemy/site.rb +10 -7
- data/app/serializers/alchemy/attachment_serializer.rb +8 -0
- data/app/serializers/alchemy/page_node_serializer.rb +9 -0
- data/app/views/alchemy/_menubar.html.erb +1 -1
- data/app/views/alchemy/_preview_mode_code.html.erb +1 -1
- data/app/views/alchemy/admin/attachments/_tag_list.html.erb +2 -2
- data/app/views/alchemy/admin/attachments/archive_overlay.js.erb +0 -1
- data/app/views/alchemy/admin/attachments/edit.html.erb +3 -4
- data/app/views/alchemy/admin/clipboard/clear.js.erb +1 -1
- data/app/views/alchemy/admin/clipboard/index.html.erb +1 -1
- data/app/views/alchemy/admin/clipboard/insert.js.erb +1 -1
- data/app/views/alchemy/admin/clipboard/remove.js.erb +1 -1
- data/app/views/alchemy/admin/dashboard/_locked_pages.html.erb +1 -1
- data/app/views/alchemy/admin/dashboard/_sites.html.erb +1 -1
- data/app/views/alchemy/admin/dashboard/help.html.erb +48 -12
- data/app/views/alchemy/admin/dashboard/index.html.erb +1 -1
- data/app/views/alchemy/admin/dashboard/info.html.erb +5 -8
- data/app/views/alchemy/admin/elements/_add_nested_element_form.html.erb +1 -1
- data/app/views/alchemy/admin/elements/_element.html.erb +5 -5
- data/app/views/alchemy/admin/elements/_footer.html.erb +1 -1
- data/app/views/alchemy/admin/elements/_header.html.erb +6 -2
- data/app/views/alchemy/admin/elements/_toolbar.html.erb +8 -6
- data/app/views/alchemy/admin/elements/create.js.erb +0 -5
- data/app/views/alchemy/admin/elements/index.html.erb +70 -34
- data/app/views/alchemy/admin/ingredients/_file_fields.html.erb +1 -2
- data/app/views/alchemy/admin/ingredients/_picture_fields.html.erb +3 -5
- data/app/views/alchemy/admin/languages/_language.html.erb +1 -1
- data/app/views/alchemy/admin/languages/index.html.erb +2 -2
- data/app/views/alchemy/admin/layoutpages/_layoutpage.html.erb +18 -18
- data/app/views/alchemy/admin/layoutpages/edit.html.erb +4 -5
- data/app/views/alchemy/admin/layoutpages/index.html.erb +2 -2
- data/app/views/alchemy/admin/legacy_page_urls/_legacy_page_url.html.erb +10 -11
- data/app/views/alchemy/admin/legacy_page_urls/_new.html.erb +15 -17
- data/app/views/alchemy/admin/legacy_page_urls/_table.html.erb +16 -0
- data/app/views/alchemy/admin/legacy_page_urls/_update.turbo_stream.erb +12 -0
- data/app/views/alchemy/admin/legacy_page_urls/create.turbo_stream.erb +8 -0
- data/app/views/alchemy/admin/legacy_page_urls/destroy.turbo_stream.erb +1 -0
- data/app/views/alchemy/admin/legacy_page_urls/edit.html.erb +27 -0
- data/app/views/alchemy/admin/legacy_page_urls/show.html.erb +1 -0
- data/app/views/alchemy/admin/legacy_page_urls/update.turbo_stream.erb +1 -0
- data/app/views/alchemy/admin/nodes/_form.html.erb +12 -11
- data/app/views/alchemy/admin/nodes/_label.html.erb +1 -0
- data/app/views/alchemy/admin/nodes/_node.html.erb +19 -19
- data/app/views/alchemy/admin/nodes/_page_nodes.html.erb +48 -0
- data/app/views/alchemy/admin/nodes/_update.turbo_stream.erb +9 -0
- data/app/views/alchemy/admin/nodes/create.turbo_stream.erb +1 -0
- data/app/views/alchemy/admin/nodes/destroy.turbo_stream.erb +1 -0
- data/app/views/alchemy/admin/nodes/index.html.erb +3 -3
- data/app/views/alchemy/admin/pages/_form.html.erb +3 -4
- data/app/views/alchemy/admin/pages/_legacy_urls.html.erb +4 -15
- data/app/views/alchemy/admin/pages/_page.html.erb +39 -39
- data/app/views/alchemy/admin/pages/_table_row.html.erb +3 -3
- data/app/views/alchemy/admin/pages/_toolbar.html.erb +2 -2
- data/app/views/alchemy/admin/pages/configure.html.erb +6 -0
- data/app/views/alchemy/admin/pages/edit.html.erb +15 -62
- data/app/views/alchemy/admin/pages/unlock.js.erb +3 -3
- data/app/views/alchemy/admin/partials/_autocomplete_tag_list.html.erb +3 -1
- data/app/views/alchemy/admin/partials/_flash_notices.html.erb +4 -2
- data/app/views/alchemy/admin/partials/_language_tree_select.html.erb +1 -1
- data/app/views/alchemy/admin/partials/_main_navigation_entry.html.erb +5 -2
- data/app/views/alchemy/admin/partials/_remote_search_form.html.erb +2 -2
- data/app/views/alchemy/admin/partials/_search_form.html.erb +2 -2
- data/app/views/alchemy/admin/partials/_site_select.html.erb +1 -1
- data/app/views/alchemy/admin/picture_descriptions/_form.html.erb +11 -0
- data/app/views/alchemy/admin/picture_descriptions/edit.html.erb +6 -0
- data/app/views/alchemy/admin/pictures/_form.html.erb +4 -3
- data/app/views/alchemy/admin/pictures/_infos.html.erb +1 -1
- data/app/views/alchemy/admin/pictures/_picture_description_field.html.erb +29 -0
- data/app/views/alchemy/admin/pictures/_tag_list.html.erb +2 -2
- data/app/views/alchemy/admin/pictures/archive_overlay.js.erb +0 -2
- data/app/views/alchemy/admin/pictures/edit_multiple.html.erb +3 -3
- data/app/views/alchemy/admin/pictures/show.html.erb +3 -3
- data/app/views/alchemy/admin/resources/_form.html.erb +3 -4
- data/app/views/alchemy/admin/resources/_per_page_select.html.erb +1 -1
- data/app/views/alchemy/admin/resources/_tag_list.html.erb +2 -2
- data/app/views/alchemy/admin/resources/index.html.erb +2 -2
- data/app/views/alchemy/admin/sites/index.html.erb +1 -1
- data/app/views/alchemy/admin/styleguide/index.html.erb +29 -24
- data/app/views/alchemy/admin/tags/_tag.html.erb +1 -1
- data/app/views/alchemy/admin/tags/edit.html.erb +1 -1
- data/app/views/alchemy/admin/tags/index.html.erb +1 -1
- data/app/views/alchemy/base/500.html.erb +7 -18
- data/app/views/alchemy/base/error_notice.html.erb +3 -1
- data/app/views/alchemy/ingredients/_boolean_editor.html.erb +1 -1
- data/app/views/alchemy/ingredients/_datetime_editor.html.erb +2 -3
- data/app/views/alchemy/ingredients/_headline_editor.html.erb +13 -8
- data/app/views/alchemy/ingredients/_picture_editor.html.erb +1 -1
- data/app/views/alchemy/ingredients/shared/_picture_tools.html.erb +1 -1
- data/app/views/alchemy/language_links/_language.html.erb +1 -1
- data/app/views/kaminari/alchemy/_first_page.html.erb +2 -2
- data/app/views/kaminari/alchemy/_gap.html.erb +1 -1
- data/app/views/kaminari/alchemy/_last_page.html.erb +2 -2
- data/app/views/kaminari/alchemy/_next_page.html.erb +2 -2
- data/app/views/kaminari/alchemy/_prev_page.html.erb +2 -2
- data/app/views/layouts/alchemy/admin.html.erb +2 -1
- data/bundles/shoelace.js +3 -1
- data/config/locales/alchemy.en.yml +16 -3
- data/config/routes.rb +4 -2
- data/db/migrate/20240314105244_create_alchemy_picture_descriptions.rb +11 -0
- data/lib/alchemy/configuration_methods.rb +1 -1
- data/lib/alchemy/controller_actions.rb +3 -3
- data/lib/alchemy/element_definition.rb +10 -6
- data/lib/alchemy/engine.rb +19 -2
- data/lib/alchemy/page_layout.rb +10 -6
- data/lib/alchemy/permissions.rb +4 -3
- data/lib/alchemy/routing_constraints.rb +1 -1
- data/lib/alchemy/seeder.rb +2 -2
- data/lib/alchemy/test_support/capybara_helpers.rb +4 -0
- data/lib/alchemy/test_support/factories/language_factory.rb +1 -1
- data/lib/alchemy/test_support/shared_contexts.rb +8 -0
- data/lib/alchemy/tinymce.rb +2 -1
- data/lib/alchemy/version.rb +1 -1
- data/lib/alchemy.rb +36 -0
- data/lib/alchemy_cms.rb +0 -1
- data/lib/generators/alchemy/menus/templates/node.html.erb +2 -2
- data/lib/generators/alchemy/menus/templates/node.html.haml +2 -2
- data/lib/generators/alchemy/menus/templates/node.html.slim +2 -2
- data/lib/generators/alchemy/menus/templates/wrapper.html.erb +1 -1
- data/lib/generators/alchemy/menus/templates/wrapper.html.haml +1 -1
- data/lib/generators/alchemy/menus/templates/wrapper.html.slim +1 -1
- data/lib/tasks/alchemy/sitemap.rake +97 -0
- data/lib/tasks/alchemy/tidy.rake +1 -0
- data/package.json +8 -8
- data/vendor/assets/fonts/remixicon.symbol.svg +11 -0
- data/vendor/javascript/shoelace.min.js +333 -118
- data/vendor/javascript/sortable.min.js +1 -1
- data/vendor/javascript/tinymce.min.js +1 -1
- data/vendor/javascript/ungap-custom-elements.min.js +1 -1
- metadata +61 -55
- data/app/assets/javascripts/alchemy/alchemy.confirm_dialog.js.coffee +0 -85
- data/app/assets/javascripts/alchemy/alchemy.elements_window.js.coffee +0 -107
- data/app/assets/javascripts/alchemy/alchemy.file_progress.js.coffee +0 -66
- data/app/assets/javascripts/alchemy/alchemy.fixed_elements.js +0 -45
- data/app/assets/javascripts/alchemy/alchemy.growler.js.coffee +0 -24
- data/app/assets/javascripts/alchemy/alchemy.hotkeys.js.coffee +0 -49
- data/app/assets/javascripts/alchemy/alchemy.initializer.js.coffee +0 -0
- data/app/assets/javascripts/alchemy/alchemy.link_dialog.js.coffee +0 -230
- data/app/assets/javascripts/alchemy/alchemy.list_filter.js.coffee +0 -49
- data/app/assets/javascripts/alchemy/alchemy.preview_window.js.coffee +0 -82
- data/app/assets/javascripts/alchemy/alchemy.string_extension.js.coffee +0 -11
- data/app/assets/javascripts/alchemy/templates/page.hbs +0 -19
- data/app/javascript/alchemy_admin/tags_autocomplete.js +0 -46
- data/app/models/alchemy/tree_node.rb +0 -7
- data/app/views/alchemy/admin/elements/destroy.js.erb +0 -8
- data/app/views/alchemy/admin/legacy_page_urls/_form.html.erb +0 -5
- data/app/views/alchemy/admin/legacy_page_urls/create.js.erb +0 -9
- data/app/views/alchemy/admin/legacy_page_urls/destroy.js.erb +0 -6
- data/app/views/alchemy/admin/legacy_page_urls/update.js.erb +0 -2
- data/app/views/alchemy/admin/pages/_anchor_link.html.erb +0 -22
- data/app/views/alchemy/admin/pages/_external_link.html.erb +0 -31
- data/app/views/alchemy/admin/pages/_file_link.html.erb +0 -31
- data/app/views/alchemy/admin/pages/_internal_link.html.erb +0 -35
- data/app/views/alchemy/admin/pages/link.html.erb +0 -26
- data/app/views/alchemy/admin/partials/_flash.html.erb +0 -4
- data/app/views/alchemy/admin/partials/_toolbar_button.html.erb +0 -29
- data/lib/alchemy/test_support/current_language_shared_examples.rb +0 -33
- data/vendor/assets/fonts/remixicon.eot +0 -0
- data/vendor/assets/fonts/remixicon.svg +0 -7816
- data/vendor/assets/fonts/remixicon.ttf +0 -0
- data/vendor/assets/fonts/remixicon.woff +0 -0
- data/vendor/assets/fonts/remixicon.woff2 +0 -0
- data/vendor/assets/stylesheets/remixicon.scss +0 -10480
@@ -28,7 +28,8 @@ noscript {
|
|
28
28
|
color: $warning_text_color;
|
29
29
|
background-color: $warning_background_color;
|
30
30
|
|
31
|
-
h1,
|
31
|
+
h1,
|
32
|
+
p {
|
32
33
|
margin: 16px 0;
|
33
34
|
}
|
34
35
|
}
|
@@ -43,7 +44,9 @@ body {
|
|
43
44
|
cursor: default;
|
44
45
|
|
45
46
|
// Fix for strange element window offset
|
46
|
-
&.pages.edit {
|
47
|
+
&.pages.edit {
|
48
|
+
overflow: hidden;
|
49
|
+
}
|
47
50
|
|
48
51
|
&.prevent-scrolling {
|
49
52
|
overflow: hidden;
|
@@ -57,6 +60,7 @@ a {
|
|
57
60
|
|
58
61
|
&:hover {
|
59
62
|
text-decoration: underline;
|
63
|
+
text-decoration-thickness: 1px;
|
60
64
|
}
|
61
65
|
|
62
66
|
img {
|
@@ -64,7 +68,8 @@ a {
|
|
64
68
|
}
|
65
69
|
}
|
66
70
|
|
67
|
-
a:focus,
|
71
|
+
a:focus,
|
72
|
+
[tabindex]:focus {
|
68
73
|
@include default-focus-style;
|
69
74
|
}
|
70
75
|
|
@@ -82,14 +87,18 @@ hr {
|
|
82
87
|
width: 80%;
|
83
88
|
max-width: 500px;
|
84
89
|
margin: 2em auto;
|
85
|
-
padding: 4
|
90
|
+
padding: 4 * $default-padding;
|
86
91
|
background: $medium-gray;
|
87
92
|
border-radius: $default-border-radius;
|
88
93
|
}
|
89
94
|
|
90
|
-
.float_right {
|
95
|
+
.float_right {
|
96
|
+
float: right;
|
97
|
+
}
|
91
98
|
|
92
|
-
.float_left {
|
99
|
+
.float_left {
|
100
|
+
float: left;
|
101
|
+
}
|
93
102
|
|
94
103
|
.center {
|
95
104
|
text-align: center;
|
@@ -124,11 +133,11 @@ hr {
|
|
124
133
|
}
|
125
134
|
|
126
135
|
.with_padding {
|
127
|
-
padding: 2
|
136
|
+
padding: 2 * $default-padding;
|
128
137
|
}
|
129
138
|
|
130
139
|
.with_margin {
|
131
|
-
margin: 2
|
140
|
+
margin: 2 * $default-margin;
|
132
141
|
}
|
133
142
|
|
134
143
|
a img {
|
@@ -140,20 +149,24 @@ a img {
|
|
140
149
|
}
|
141
150
|
|
142
151
|
.hidden {
|
143
|
-
display: none;
|
152
|
+
display: none !important;
|
144
153
|
}
|
145
154
|
|
146
|
-
|
147
|
-
|
148
|
-
|
155
|
+
.mx-1 {
|
156
|
+
margin-left: var(--spacing-1);
|
157
|
+
margin-right: var(--spacing-1);
|
149
158
|
}
|
150
159
|
|
151
|
-
|
152
|
-
|
153
|
-
|
160
|
+
.mx-2 {
|
161
|
+
margin-left: var(--spacing-2);
|
162
|
+
margin-right: var(--spacing-2);
|
163
|
+
}
|
164
|
+
|
165
|
+
.my-0 {
|
166
|
+
margin-top: 0;
|
167
|
+
margin-bottom: 0;
|
154
168
|
}
|
155
169
|
|
156
|
-
|
157
|
-
|
158
|
-
to {transform:rotate(360deg);}
|
170
|
+
.p-0 {
|
171
|
+
padding: 0 !important;
|
159
172
|
}
|
@@ -38,7 +38,7 @@ input.button {
|
|
38
38
|
.icon {
|
39
39
|
font-weight: normal;
|
40
40
|
margin-right: $default-margin;
|
41
|
-
|
41
|
+
fill: currentColor;
|
42
42
|
}
|
43
43
|
}
|
44
44
|
|
@@ -76,15 +76,14 @@ input.button {
|
|
76
76
|
}
|
77
77
|
|
78
78
|
.icon {
|
79
|
-
|
80
|
-
transition: color 250ms;
|
79
|
+
transition: fill 250ms;
|
81
80
|
}
|
82
81
|
|
83
82
|
&.disabled,
|
84
83
|
&[disabled] {
|
85
84
|
pointer-events: none;
|
86
85
|
|
87
|
-
|
86
|
+
svg {
|
88
87
|
opacity: 0.3;
|
89
88
|
}
|
90
89
|
|
@@ -147,13 +147,10 @@ $dialog-transition-duration: 150ms;
|
|
147
147
|
.alchemy-image-overlay-close,
|
148
148
|
.alchemy-dialog-close {
|
149
149
|
cursor: pointer;
|
150
|
-
|
151
|
-
|
152
|
-
.alchemy-dialog-close {
|
153
|
-
color: inherit;
|
150
|
+
height: 16px;
|
154
151
|
|
155
152
|
.icon {
|
156
|
-
|
153
|
+
fill: currentColor;
|
157
154
|
}
|
158
155
|
}
|
159
156
|
|
@@ -3,6 +3,7 @@
|
|
3
3
|
right: 0;
|
4
4
|
top: $top-menu-height;
|
5
5
|
z-index: 20;
|
6
|
+
display: block;
|
6
7
|
width: calc(100vw - #{$collapsed-main-menu-width});
|
7
8
|
height: calc(100vh - #{$top-menu-height});
|
8
9
|
border-left: $default-border;
|
@@ -45,10 +46,6 @@
|
|
45
46
|
textarea {
|
46
47
|
width: 100%;
|
47
48
|
}
|
48
|
-
|
49
|
-
> .message {
|
50
|
-
margin: 2 * $default-margin;
|
51
|
-
}
|
52
49
|
}
|
53
50
|
|
54
51
|
alchemy-tinymce {
|
@@ -78,10 +75,16 @@ alchemy-tinymce {
|
|
78
75
|
white-space: nowrap;
|
79
76
|
text-overflow: ellipsis;
|
80
77
|
transition: color $transition-duration;
|
78
|
+
line-height: 1;
|
79
|
+
max-width: 85%;
|
80
|
+
|
81
|
+
.element-hidden & {
|
82
|
+
max-width: 65%;
|
83
|
+
}
|
81
84
|
|
82
85
|
.preview_text_quote {
|
83
86
|
font-size: $small-font-size;
|
84
|
-
|
87
|
+
margin-left: $default-margin / 2;
|
85
88
|
}
|
86
89
|
}
|
87
90
|
|
@@ -109,7 +112,11 @@ alchemy-tinymce {
|
|
109
112
|
color: inherit;
|
110
113
|
box-shadow: none;
|
111
114
|
padding: 0;
|
112
|
-
margin: 0;
|
115
|
+
margin: 0 0 0 auto;
|
116
|
+
|
117
|
+
.element-hidden & {
|
118
|
+
margin-left: unset;
|
119
|
+
}
|
113
120
|
|
114
121
|
&:hover {
|
115
122
|
&:not(:focus):not(:active) {
|
@@ -121,10 +128,6 @@ alchemy-tinymce {
|
|
121
128
|
|
122
129
|
.icon {
|
123
130
|
pointer-events: none;
|
124
|
-
|
125
|
-
&.hidden {
|
126
|
-
display: none;
|
127
|
-
}
|
128
131
|
}
|
129
132
|
}
|
130
133
|
|
@@ -141,7 +144,7 @@ alchemy-tinymce {
|
|
141
144
|
margin-top: 0;
|
142
145
|
}
|
143
146
|
|
144
|
-
&.hidden {
|
147
|
+
&.element-hidden {
|
145
148
|
display: block;
|
146
149
|
border-style: dashed;
|
147
150
|
opacity: 0.7;
|
@@ -155,7 +158,15 @@ alchemy-tinymce {
|
|
155
158
|
background-color: transparent;
|
156
159
|
|
157
160
|
.element-hidden-icon {
|
158
|
-
display: inline;
|
161
|
+
display: inline-flex;
|
162
|
+
align-items: center;
|
163
|
+
gap: $default-padding;
|
164
|
+
margin-left: auto;
|
165
|
+
}
|
166
|
+
|
167
|
+
.element-hidden-label {
|
168
|
+
line-height: 1;
|
169
|
+
font-size: $small-font-size;
|
159
170
|
}
|
160
171
|
}
|
161
172
|
}
|
@@ -202,12 +213,12 @@ alchemy-tinymce {
|
|
202
213
|
|
203
214
|
&.selected:not(.is-fixed),
|
204
215
|
&:hover:not(.is-fixed) {
|
205
|
-
&:not(.hidden) {
|
216
|
+
&:not(.element-hidden) {
|
206
217
|
box-shadow: 0 2px 8px rgba(#9b9b9b, 0.75);
|
207
218
|
}
|
208
219
|
}
|
209
220
|
|
210
|
-
&.selected:not(.is-fixed):not(.folded):not(.dirty):not(.hidden):not(
|
221
|
+
&.selected:not(.is-fixed):not(.folded):not(.dirty):not(.element-hidden):not(
|
211
222
|
.deprecated
|
212
223
|
) {
|
213
224
|
> .element-header {
|
@@ -221,7 +232,7 @@ alchemy-tinymce {
|
|
221
232
|
.element-body,
|
222
233
|
.element-footer,
|
223
234
|
.nestable-elements,
|
224
|
-
|
235
|
+
alchemy-message,
|
225
236
|
.nested-elements {
|
226
237
|
display: none;
|
227
238
|
}
|
@@ -290,10 +301,6 @@ alchemy-tinymce {
|
|
290
301
|
|
291
302
|
&:not(.folded) .element-toggle {
|
292
303
|
pointer-events: none;
|
293
|
-
|
294
|
-
i:before {
|
295
|
-
content: $ri-more-2-line;
|
296
|
-
}
|
297
304
|
}
|
298
305
|
|
299
306
|
.element-body {
|
@@ -332,6 +339,15 @@ alchemy-tinymce {
|
|
332
339
|
}
|
333
340
|
}
|
334
341
|
|
342
|
+
&.dismiss {
|
343
|
+
opacity: 0;
|
344
|
+
transform: scale(0);
|
345
|
+
transform-origin: top center;
|
346
|
+
transition:
|
347
|
+
opacity $transition-duration ease-out,
|
348
|
+
transform 1s ease-in;
|
349
|
+
}
|
350
|
+
|
335
351
|
.element-body {
|
336
352
|
margin: 2 * $default-padding;
|
337
353
|
}
|
@@ -344,7 +360,7 @@ alchemy-tinymce {
|
|
344
360
|
text-align: left;
|
345
361
|
}
|
346
362
|
|
347
|
-
|
363
|
+
alchemy-message {
|
348
364
|
margin: 2 * $default-margin;
|
349
365
|
}
|
350
366
|
|
@@ -353,6 +369,8 @@ alchemy-tinymce {
|
|
353
369
|
}
|
354
370
|
|
355
371
|
.autocomplete_tag_list {
|
372
|
+
display: block;
|
373
|
+
margin-top: $default-padding;
|
356
374
|
padding: $default-padding 0;
|
357
375
|
|
358
376
|
label {
|
@@ -397,8 +415,8 @@ alchemy-tinymce {
|
|
397
415
|
}
|
398
416
|
|
399
417
|
.icon {
|
400
|
-
|
401
|
-
transition:
|
418
|
+
fill: currentColor;
|
419
|
+
transition: fill $transition-duration;
|
402
420
|
}
|
403
421
|
}
|
404
422
|
|
@@ -414,12 +432,16 @@ alchemy-tinymce {
|
|
414
432
|
gap: $default-padding;
|
415
433
|
height: $element-toolbar-height;
|
416
434
|
border-top: 1px solid $medium-gray;
|
435
|
+
border-bottom: 1px solid $medium-gray;
|
417
436
|
|
418
437
|
.is-fixed & {
|
419
438
|
border-top-width: 0;
|
420
439
|
}
|
421
440
|
|
422
|
-
|
441
|
+
.icon_button {
|
442
|
+
width: $icon-button-medium-width;
|
443
|
+
height: $icon-button-medium-height;
|
444
|
+
}
|
423
445
|
}
|
424
446
|
|
425
447
|
alchemy-publish-element-button {
|
@@ -427,6 +449,7 @@ alchemy-publish-element-button {
|
|
427
449
|
align-items: center;
|
428
450
|
margin-left: auto;
|
429
451
|
margin-right: $default-margin;
|
452
|
+
line-height: 1;
|
430
453
|
|
431
454
|
sl-switch {
|
432
455
|
--thumb-size: 10px;
|
@@ -465,10 +488,6 @@ alchemy-publish-element-button {
|
|
465
488
|
}
|
466
489
|
|
467
490
|
&[open] {
|
468
|
-
.ingredient-group-expand::before {
|
469
|
-
content: $ri-arrow-down-s-line;
|
470
|
-
}
|
471
|
-
|
472
491
|
> :not(summary) {
|
473
492
|
box-sizing: border-box;
|
474
493
|
}
|
@@ -558,6 +577,12 @@ alchemy-publish-element-button {
|
|
558
577
|
width: $icon-button-medium-width;
|
559
578
|
height: $icon-button-medium-height;
|
560
579
|
}
|
580
|
+
|
581
|
+
alchemy-link-buttons {
|
582
|
+
display: flex;
|
583
|
+
justify-content: space-between;
|
584
|
+
width: 38%;
|
585
|
+
}
|
561
586
|
}
|
562
587
|
|
563
588
|
.ingredient-editor.picture {
|
@@ -603,12 +628,12 @@ alchemy-publish-element-button {
|
|
603
628
|
--picture-thumbnail-border-radius: 0;
|
604
629
|
height: 120px;
|
605
630
|
|
606
|
-
|
607
|
-
|
631
|
+
alchemy-icon {
|
632
|
+
--icon-size: 3em;
|
608
633
|
color: var(--color-grey_dark);
|
609
634
|
|
610
635
|
&.error {
|
611
|
-
|
636
|
+
--icon-size: var(--icon-size-md);
|
612
637
|
}
|
613
638
|
}
|
614
639
|
}
|
@@ -710,7 +735,10 @@ alchemy-publish-element-button {
|
|
710
735
|
border-radius: 0 $default-border-radius $default-border-radius 0;
|
711
736
|
|
712
737
|
a {
|
713
|
-
|
738
|
+
display: inline-flex;
|
739
|
+
padding: $default-padding;
|
740
|
+
justify-content: center;
|
741
|
+
align-items: center;
|
714
742
|
text-decoration: none;
|
715
743
|
width: 24px;
|
716
744
|
}
|
@@ -765,7 +793,7 @@ select.long {
|
|
765
793
|
}
|
766
794
|
|
767
795
|
&.missing {
|
768
|
-
|
796
|
+
alchemy-message {
|
769
797
|
margin: 0;
|
770
798
|
@include clearfix;
|
771
799
|
}
|
@@ -827,7 +855,7 @@ select.long {
|
|
827
855
|
}
|
828
856
|
|
829
857
|
label {
|
830
|
-
display:
|
858
|
+
display: flex;
|
831
859
|
margin: $default-margin 0;
|
832
860
|
font-size: $small-font-size;
|
833
861
|
line-height: 15px;
|
@@ -897,10 +925,6 @@ textarea.has_tinymce {
|
|
897
925
|
color: $error_text_color;
|
898
926
|
border: 1px solid $error_border_color;
|
899
927
|
|
900
|
-
&.hidden {
|
901
|
-
display: none;
|
902
|
-
}
|
903
|
-
|
904
928
|
p {
|
905
929
|
margin: 0;
|
906
930
|
line-height: 24px;
|
@@ -961,18 +985,26 @@ textarea.has_tinymce {
|
|
961
985
|
background-color: var(--color-yellow_light);
|
962
986
|
}
|
963
987
|
|
964
|
-
.ingredient-date--label,
|
988
|
+
label.ingredient-date--label,
|
965
989
|
.edit-ingredient-anchor-link {
|
990
|
+
display: inline-flex;
|
991
|
+
align-items: center;
|
966
992
|
position: absolute;
|
967
|
-
|
968
|
-
bottom: 15px;
|
993
|
+
bottom: 3 * $default-padding;
|
969
994
|
margin: 0 !important;
|
970
995
|
}
|
971
996
|
|
997
|
+
label.ingredient-date--label {
|
998
|
+
padding: $default-padding;
|
999
|
+
right: 5px;
|
1000
|
+
}
|
1001
|
+
|
972
1002
|
.edit-ingredient-anchor-link {
|
973
1003
|
right: $default-padding;
|
974
1004
|
|
975
|
-
|
1005
|
+
a {
|
1006
|
+
display: inline-flex;
|
1007
|
+
align-items: center;
|
976
1008
|
padding: $default-padding;
|
977
1009
|
}
|
978
1010
|
|
@@ -5,78 +5,28 @@ div#flash_notices {
|
|
5
5
|
width: 400px;
|
6
6
|
top: 0;
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
font-family: "remixicon";
|
20
|
-
content: $ri-close-line;
|
21
|
-
align-items: center;
|
22
|
-
justify-content: center;
|
8
|
+
alchemy-message {
|
9
|
+
font-weight: bold;
|
10
|
+
margin: $default-margin $default-margin 2 * $default-margin;
|
11
|
+
opacity: 0.95;
|
12
|
+
transition-property: opacity, transform;
|
13
|
+
transition-duration: 0.4s;
|
14
|
+
|
15
|
+
&.dismissed {
|
16
|
+
display: block;
|
17
|
+
opacity: 0;
|
18
|
+
transform: translate3d(0, -100%, 0);
|
23
19
|
}
|
24
|
-
}
|
25
|
-
}
|
26
|
-
|
27
|
-
div.flash {
|
28
|
-
border-radius: $default-border-radius;
|
29
|
-
opacity: 0.95;
|
30
|
-
padding: 8px 16px 8px 32px;
|
31
|
-
font-weight: bold;
|
32
|
-
border-width: 1px;
|
33
|
-
border-style: solid;
|
34
|
-
z-index: 1000;
|
35
|
-
margin: $default-margin $default-margin 2 * $default-margin;
|
36
|
-
position: relative;
|
37
|
-
min-height: 2.6em;
|
38
|
-
word-break: break-word;
|
39
|
-
transition-property: opacity, transform;
|
40
|
-
transition-duration: 0.4s;
|
41
|
-
line-height: 1.5;
|
42
|
-
|
43
|
-
.icon {
|
44
|
-
position: absolute;
|
45
|
-
top: 5px;
|
46
|
-
left: 2 * $default-padding;
|
47
|
-
vertical-align: bottom;
|
48
|
-
color: inherit;
|
49
|
-
}
|
50
|
-
|
51
|
-
&.dismissed {
|
52
|
-
display: block;
|
53
|
-
opacity: 0;
|
54
|
-
transform: translate3d(0, -100%, 0);
|
55
|
-
}
|
56
|
-
|
57
|
-
&.notice {
|
58
|
-
border-color: $success_border_color;
|
59
|
-
color: $success_text_color;
|
60
|
-
background-color: $success_background_color;
|
61
|
-
}
|
62
20
|
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
background-color: $error_background_color;
|
67
|
-
}
|
21
|
+
&[type="error"] {
|
22
|
+
cursor: pointer;
|
23
|
+
padding-right: 32px;
|
68
24
|
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
&.warn,
|
76
|
-
&.warning,
|
77
|
-
&.alert {
|
78
|
-
border-color: $warning_border_color;
|
79
|
-
color: $warning_text_color;
|
80
|
-
background-color: $warning_background_color;
|
25
|
+
alchemy-icon[name="close"] {
|
26
|
+
position: absolute;
|
27
|
+
left: initial;
|
28
|
+
right: 2 * $default-padding;
|
29
|
+
}
|
30
|
+
}
|
81
31
|
}
|
82
32
|
}
|
@@ -19,6 +19,12 @@ form {
|
|
19
19
|
@include form-label;
|
20
20
|
}
|
21
21
|
|
22
|
+
.inline-label {
|
23
|
+
display: inline-flex;
|
24
|
+
align-items: center;
|
25
|
+
gap: var(--spacing-1);
|
26
|
+
}
|
27
|
+
|
22
28
|
.input {
|
23
29
|
padding: $default-padding 0;
|
24
30
|
@include clearfix;
|
@@ -81,48 +87,48 @@ form {
|
|
81
87
|
}
|
82
88
|
}
|
83
89
|
|
84
|
-
&.
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
90
|
+
&.language_locale small.error {
|
91
|
+
@include form-hint(
|
92
|
+
$background-color: $error_background_color,
|
93
|
+
$border-color: $error_border_color
|
94
|
+
);
|
95
|
+
text-align: left;
|
96
|
+
}
|
97
|
+
}
|
92
98
|
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
99
|
+
.field_with_errors {
|
100
|
+
input[type="text"],
|
101
|
+
input[type="email"],
|
102
|
+
input[type="password"],
|
103
|
+
textarea,
|
104
|
+
.select2-choices {
|
105
|
+
@extend %field-with-error;
|
106
|
+
}
|
98
107
|
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
108
|
+
.select2-choice,
|
109
|
+
.select2-choices {
|
110
|
+
border-color: $error_border_color;
|
111
|
+
color: $error_text_color;
|
112
|
+
margin-bottom: 4px;
|
103
113
|
|
104
|
-
|
105
|
-
|
114
|
+
input[type="text"] {
|
115
|
+
box-shadow: none;
|
106
116
|
}
|
107
117
|
}
|
108
118
|
|
109
|
-
|
119
|
+
label {
|
110
120
|
color: $error_text_color;
|
111
|
-
display: block;
|
112
|
-
margin-left: $form-left-width;
|
113
|
-
line-height: 1.5em;
|
114
|
-
clear: both;
|
115
|
-
text-align: right;
|
116
|
-
margin-bottom: 0.25em;
|
117
121
|
}
|
122
|
+
}
|
118
123
|
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
124
|
+
small.error {
|
125
|
+
color: $error_text_color;
|
126
|
+
display: block;
|
127
|
+
margin-left: $form-left-width;
|
128
|
+
line-height: 1.5em;
|
129
|
+
clear: both;
|
130
|
+
text-align: right;
|
131
|
+
margin-bottom: 0.25em;
|
126
132
|
}
|
127
133
|
|
128
134
|
.input-addon {
|
@@ -169,7 +175,8 @@ form {
|
|
169
175
|
}
|
170
176
|
|
171
177
|
.inline-input {
|
172
|
-
|
178
|
+
align-items: center;
|
179
|
+
display: flex;
|
173
180
|
margin: 0 -1 * $default-margin;
|
174
181
|
|
175
182
|
.left-column,
|
@@ -179,12 +186,10 @@ form {
|
|
179
186
|
|
180
187
|
.left-column {
|
181
188
|
width: $form-right-width;
|
182
|
-
float: left;
|
183
189
|
}
|
184
190
|
|
185
191
|
.right-column {
|
186
192
|
width: $form-left-width;
|
187
|
-
float: right;
|
188
193
|
}
|
189
194
|
|
190
195
|
button,
|
@@ -1,12 +1,21 @@
|
|
1
1
|
alchemy-overlay {
|
2
|
-
|
2
|
+
visibility: hidden;
|
3
3
|
position: fixed;
|
4
4
|
left: 0;
|
5
5
|
top: 0;
|
6
6
|
width: 100%;
|
7
7
|
height: 100%;
|
8
8
|
z-index: 400000;
|
9
|
-
background-color:
|
9
|
+
background-color: transparent;
|
10
|
+
transition: all $transition-duration $transition-easing;
|
11
|
+
transition-delay: 0;
|
12
|
+
|
13
|
+
&.visible {
|
14
|
+
visibility: visible;
|
15
|
+
transition-delay: 300ms;
|
16
|
+
transition-property: background-color;
|
17
|
+
background-color: rgba(229, 229, 229, 0.2);
|
18
|
+
}
|
10
19
|
}
|
11
20
|
|
12
21
|
div#overlay_text_box {
|
@@ -52,7 +61,7 @@ div#overlay_text_box {
|
|
52
61
|
}
|
53
62
|
|
54
63
|
.page_status_and_name {
|
55
|
-
align-items:
|
64
|
+
align-items: center;
|
56
65
|
padding: $default-padding 2 * $default-padding;
|
57
66
|
background-color: $medium-gray;
|
58
67
|
text-shadow: $text-shadow-light;
|