alchemy_cms 7.1.7 → 7.2.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +148 -0
- 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/config/alchemy_manifest.js +0 -1
- 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 +72 -46
- 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 +10 -2
- 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 +8 -4
- 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 +84 -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/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/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/nodes_controller.rb +1 -1
- 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 +2 -2
- data/app/controllers/alchemy/pages_controller.rb +8 -6
- data/app/controllers/concerns/alchemy/admin/current_language.rb +1 -1
- 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/action.js +41 -0
- 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 +25 -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 +4 -2
- 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 +3 -2
- 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 -44
- data/app/models/alchemy/current.rb +26 -0
- data/app/models/alchemy/element.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/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 +127 -14
- 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 +2 -2
- data/app/views/alchemy/admin/ingredients/_picture_fields.html.erb +4 -5
- data/app/views/alchemy/admin/ingredients/update.turbo_stream.erb +5 -0
- 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 +3 -4
- 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 +49 -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 +2 -2
- 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/_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 +1 -1
- 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 +4 -5
- data/bundles/shoelace.js +3 -1
- data/config/locales/alchemy.en.yml +16 -3
- data/config/routes.rb +3 -1
- 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 +29 -7
- data/lib/alchemy/page_layout.rb +10 -6
- data/lib/alchemy/permissions.rb +3 -2
- 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/test_support/shared_link_tab_examples.rb +57 -0
- data/lib/alchemy/tinymce.rb +2 -1
- data/lib/alchemy/version.rb +1 -1
- data/lib/alchemy.rb +72 -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/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 +64 -57
- 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/assets/stylesheets/alchemy/menubar.scss +0 -81
- data/app/javascript/alchemy_admin/tags_autocomplete.js +0 -46
- data/app/javascript/menubar.js +0 -10
- 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/ingredients/update.js.erb +0 -7
- 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/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
@@ -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;
|
@@ -1,5 +1,7 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
alchemy-icon {
|
2
|
+
display: inline-flex;
|
3
|
+
align-items: center;
|
4
|
+
justify-content: center;
|
3
5
|
|
4
6
|
&.disabled {
|
5
7
|
opacity: 0.3;
|
@@ -8,4 +10,34 @@
|
|
8
10
|
&.blank {
|
9
11
|
background: transparent;
|
10
12
|
}
|
13
|
+
|
14
|
+
&.error {
|
15
|
+
padding: 2rem;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
|
19
|
+
.icon {
|
20
|
+
fill: var(--color-icon, currentColor);
|
21
|
+
width: var(--icon-size, var(--icon-size-md));
|
22
|
+
height: var(--icon-size, var(--icon-size-md));
|
23
|
+
|
24
|
+
&--xs {
|
25
|
+
width: var(--icon-size-xs);
|
26
|
+
height: var(--icon-size-xs);
|
27
|
+
}
|
28
|
+
|
29
|
+
&--sm {
|
30
|
+
width: var(--icon-size-sm);
|
31
|
+
height: var(--icon-size-sm);
|
32
|
+
}
|
33
|
+
|
34
|
+
&--1x {
|
35
|
+
width: var(--icon-size-1x);
|
36
|
+
height: var(--icon-size-1x);
|
37
|
+
}
|
38
|
+
|
39
|
+
&--xl {
|
40
|
+
width: var(--icon-size-xl);
|
41
|
+
height: var(--icon-size-xl);
|
42
|
+
}
|
11
43
|
}
|
@@ -57,6 +57,9 @@ $image-overlay-transition-easing: ease-in;
|
|
57
57
|
|
58
58
|
.alchemy-image-overlay-close {
|
59
59
|
position: absolute;
|
60
|
+
display: flex;
|
61
|
+
justify-content: center;
|
62
|
+
align-items: center;
|
60
63
|
width: 32px;
|
61
64
|
height: 32px;
|
62
65
|
top: 2 * $default-padding;
|
@@ -107,6 +110,7 @@ $image-overlay-transition-easing: ease-in;
|
|
107
110
|
|
108
111
|
form .input .select2-container,
|
109
112
|
form .input input[type="text"],
|
113
|
+
form .input textarea,
|
110
114
|
.resource_info .value p {
|
111
115
|
width: 100%;
|
112
116
|
}
|
@@ -218,31 +222,38 @@ $image-overlay-transition-easing: ease-in;
|
|
218
222
|
|
219
223
|
.previous-picture,
|
220
224
|
.next-picture {
|
225
|
+
display: flex;
|
221
226
|
position: absolute;
|
222
227
|
top: 0;
|
223
228
|
width: 64px;
|
224
229
|
height: 128px;
|
225
|
-
line-height: 120px;
|
226
230
|
margin-top: -64px;
|
227
231
|
cursor: pointer;
|
228
|
-
|
232
|
+
justify-content: center;
|
233
|
+
align-items: center;
|
229
234
|
text-decoration: none;
|
230
235
|
transition: background-color $image-overlay-transition-duration linear;
|
231
236
|
|
237
|
+
.icon {
|
238
|
+
width: 32px;
|
239
|
+
height: 32px;
|
240
|
+
fill: $white;
|
241
|
+
filter: drop-shadow(0 0 1px $very-dark-gray);
|
242
|
+
}
|
243
|
+
|
232
244
|
&:hover {
|
233
245
|
background-color: rgba(0, 0, 0, 0.3);
|
234
246
|
|
235
247
|
.icon {
|
236
|
-
|
237
|
-
text-shadow: none;
|
248
|
+
transition: fill $image-overlay-transition-duration linear;
|
238
249
|
}
|
239
250
|
}
|
240
251
|
}
|
241
252
|
|
242
253
|
.icon {
|
243
|
-
|
244
|
-
|
245
|
-
|
254
|
+
--icon-size: 4em;
|
255
|
+
fill: $medium-gray;
|
256
|
+
filter: drop-shadow(0 0 $default-padding $text-color);
|
246
257
|
transition: all $image-overlay-transition-duration linear;
|
247
258
|
vertical-align: middle;
|
248
259
|
}
|
@@ -255,7 +266,5 @@ $image-overlay-transition-easing: ease-in;
|
|
255
266
|
.next-picture {
|
256
267
|
right: $image-overlay-form-width + $picture-overlay-handle-width;
|
257
268
|
@include border-left-radius($default-border-radius);
|
258
|
-
transition: right $image-overlay-transition-duration
|
259
|
-
$image-overlay-transition-easing;
|
260
269
|
}
|
261
270
|
}
|
@@ -1,8 +1,8 @@
|
|
1
|
-
|
1
|
+
alchemy-list-filter {
|
2
|
+
display: flex;
|
2
3
|
position: relative;
|
3
|
-
margin: $form-field-margin;
|
4
4
|
|
5
|
-
>
|
5
|
+
> alchemy-icon {
|
6
6
|
position: absolute;
|
7
7
|
left: 8px;
|
8
8
|
top: 50%;
|
@@ -15,21 +15,22 @@
|
|
15
15
|
padding-right: 24px;
|
16
16
|
margin: 0;
|
17
17
|
|
18
|
-
.input & {
|
18
|
+
form .input & {
|
19
19
|
float: none;
|
20
20
|
width: 100%;
|
21
21
|
}
|
22
22
|
}
|
23
23
|
|
24
24
|
.js_filter_field_clear {
|
25
|
-
display:
|
25
|
+
display: flex;
|
26
|
+
visibility: hidden;
|
26
27
|
position: absolute;
|
27
28
|
right: 4px;
|
28
29
|
top: 50%;
|
29
30
|
transform: translateY(-50%);
|
30
31
|
width: 16px;
|
31
32
|
height: 16px;
|
32
|
-
|
33
|
-
|
33
|
+
align-items: center;
|
34
|
+
justify-content: center;
|
34
35
|
}
|
35
36
|
}
|
@@ -124,34 +124,31 @@
|
|
124
124
|
opacity: 1;
|
125
125
|
}
|
126
126
|
|
127
|
+
svg {
|
128
|
+
fill: currentColor;
|
129
|
+
transition: fill $transition-duration $transition-easing;
|
130
|
+
}
|
131
|
+
|
127
132
|
img,
|
128
133
|
svg,
|
129
134
|
.icon {
|
130
135
|
display: inline-flex;
|
131
|
-
width:
|
132
|
-
height:
|
136
|
+
width: var(--icon-size-xxl);
|
137
|
+
height: var(--icon-size-xxl);
|
133
138
|
align-items: center;
|
134
139
|
justify-content: center;
|
135
140
|
}
|
136
141
|
|
137
142
|
img {
|
138
143
|
border-style: none;
|
139
|
-
height: 24px;
|
140
144
|
vertical-align: -0.6em;
|
141
145
|
}
|
142
146
|
|
143
|
-
.icon {
|
144
|
-
vertical-align: -0.15em;
|
145
|
-
font-size: 20px;
|
146
|
-
font-weight: 400;
|
147
|
-
color: inherit;
|
148
|
-
}
|
149
|
-
|
150
147
|
a {
|
151
148
|
display: flex;
|
152
149
|
align-items: center;
|
153
150
|
height: 46px;
|
154
|
-
padding-left:
|
151
|
+
padding-left: 14px;
|
155
152
|
font-weight: bold;
|
156
153
|
color: $main-menu-text-color;
|
157
154
|
transition: color $transition-duration $transition-easing;
|
@@ -214,7 +211,7 @@
|
|
214
211
|
line-height: 24px;
|
215
212
|
|
216
213
|
a {
|
217
|
-
padding: 8px 4px 8px
|
214
|
+
padding: 8px 4px 8px 42px;
|
218
215
|
}
|
219
216
|
}
|
220
217
|
}
|
@@ -10,15 +10,23 @@
|
|
10
10
|
align-items: center;
|
11
11
|
height: 21px;
|
12
12
|
|
13
|
-
|
13
|
+
> alchemy-icon {
|
14
14
|
margin: 0 8px 0 4px;
|
15
|
+
}
|
15
16
|
|
17
|
+
.icon {
|
16
18
|
.select2-highlighted & {
|
17
|
-
|
19
|
+
fill: $white;
|
18
20
|
}
|
19
21
|
}
|
20
22
|
}
|
21
23
|
|
24
|
+
.node-select--node-display_name,
|
25
|
+
.node-select--node-ancestors {
|
26
|
+
display: inline-flex;
|
27
|
+
align-items: center;
|
28
|
+
}
|
29
|
+
|
22
30
|
.node-select--node-name {
|
23
31
|
font-weight: bold;
|
24
32
|
}
|
@@ -27,6 +27,7 @@
|
|
27
27
|
overflow: hidden;
|
28
28
|
text-overflow: ellipsis;
|
29
29
|
max-width: 100%;
|
30
|
+
line-height: 2;
|
30
31
|
|
31
32
|
.external & {
|
32
33
|
max-width: 90%;
|
@@ -35,6 +36,9 @@
|
|
35
36
|
}
|
36
37
|
|
37
38
|
.node_page {
|
39
|
+
display: inline-flex;
|
40
|
+
gap: $default-padding;
|
41
|
+
align-items: center;
|
38
42
|
padding: 0 8px;
|
39
43
|
margin-left: auto;
|
40
44
|
}
|
@@ -48,14 +52,10 @@
|
|
48
52
|
line-height: $sitemap-line-height;
|
49
53
|
font-size: $small-font-size;
|
50
54
|
@include border-right-radius($default-border-radius);
|
51
|
-
|
52
|
-
> i {
|
53
|
-
margin-left: auto;
|
54
|
-
padding-left: $default-padding;
|
55
|
-
}
|
56
55
|
}
|
57
56
|
|
58
57
|
.node_folder {
|
58
|
+
display: inline-flex;
|
59
59
|
cursor: pointer;
|
60
60
|
}
|
61
61
|
|
@@ -84,6 +84,8 @@
|
|
84
84
|
}
|
85
85
|
|
86
86
|
.sitemap_node {
|
87
|
+
display: flex;
|
88
|
+
align-items: center;
|
87
89
|
height: $sitemap-line-height;
|
88
90
|
margin: 3 * $default-margin 0;
|
89
91
|
transition: background-color $transition-duration;
|
@@ -102,8 +104,9 @@
|
|
102
104
|
}
|
103
105
|
|
104
106
|
.node_name {
|
105
|
-
height: $sitemap-line-height;
|
106
107
|
display: flex;
|
108
|
+
height: $sitemap-line-height;
|
109
|
+
flex: 1;
|
107
110
|
justify-content: space-between;
|
108
111
|
@include border-left-radius($default-border-radius);
|
109
112
|
padding: 0 0 0 10px;
|
@@ -124,27 +127,26 @@
|
|
124
127
|
}
|
125
128
|
|
126
129
|
.nodes_tree-left_images {
|
130
|
+
justify-content: center;
|
131
|
+
display: flex;
|
132
|
+
align-items: center;
|
127
133
|
position: relative;
|
128
134
|
width: 32px;
|
129
|
-
|
130
|
-
float: left;
|
135
|
+
height: $sitemap-line-height;
|
131
136
|
padding: 0 2 * $default-padding;
|
132
|
-
text-align: center;
|
133
137
|
}
|
134
138
|
|
135
139
|
.nodes_tree-right_tools {
|
136
140
|
display: flex;
|
137
141
|
height: $sitemap-line-height;
|
138
142
|
padding: 0 2 * $default-padding;
|
139
|
-
float: right;
|
140
143
|
align-items: center;
|
141
144
|
|
142
145
|
> a {
|
143
|
-
|
146
|
+
display: inline-flex;
|
144
147
|
width: $sitemap-line-height;
|
145
148
|
height: $sitemap-line-height;
|
146
|
-
|
147
|
-
text-align: center;
|
149
|
+
align-items: center;
|
148
150
|
text-decoration: none;
|
149
151
|
margin: 0;
|
150
152
|
|
@@ -1,30 +1,73 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
padding: 8px 8px 8px 32px;
|
4
|
-
line-height: 17px;
|
1
|
+
alchemy-message {
|
2
|
+
display: block;
|
5
3
|
border-width: $default-border-width;
|
6
4
|
border-style: $default-border-style;
|
7
5
|
border-radius: $default-border-radius;
|
8
6
|
position: relative;
|
7
|
+
padding: 8px 16px 8px 32px;
|
9
8
|
margin-bottom: 8px;
|
10
9
|
text-align: left;
|
10
|
+
min-height: 2.6em;
|
11
|
+
word-break: break-word;
|
12
|
+
line-height: 1.5;
|
11
13
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
14
|
+
&[type="footnote"] {
|
15
|
+
font-size: $small-font-size;
|
16
|
+
margin: 16px;
|
17
|
+
}
|
18
|
+
|
19
|
+
&[type="notice"] {
|
20
|
+
border-color: $success_border_color;
|
21
|
+
color: $success_text_color;
|
22
|
+
background-color: $success_background_color;
|
16
23
|
}
|
17
24
|
|
18
|
-
|
25
|
+
&[type="hint"] {
|
26
|
+
background-color: $hint-background-color;
|
27
|
+
border-color: $hint-background-color;
|
28
|
+
color: $hint-text-color;
|
29
|
+
}
|
30
|
+
|
31
|
+
&[type="info"] {
|
32
|
+
background-color: $info_background_color;
|
33
|
+
border-color: $info_border_color;
|
34
|
+
color: $info_text_color;
|
35
|
+
}
|
36
|
+
|
37
|
+
&[type="error"] {
|
38
|
+
background-color: $error_background_color;
|
39
|
+
border-color: $error_border_color;
|
40
|
+
color: $error_text_color;
|
41
|
+
}
|
42
|
+
|
43
|
+
&[type="warning"],
|
44
|
+
&[type="warn"],
|
45
|
+
&[type="alert"] {
|
46
|
+
background-color: $warning_background_color;
|
47
|
+
border-color: $warning_border_color;
|
48
|
+
color: $warning_text_color;
|
49
|
+
}
|
50
|
+
|
51
|
+
alchemy-icon {
|
19
52
|
position: absolute;
|
20
53
|
left: 2 * $default-margin;
|
21
|
-
top:
|
54
|
+
top: 9px;
|
22
55
|
color: inherit;
|
56
|
+
|
57
|
+
.icon {
|
58
|
+
fill: currentColor;
|
59
|
+
}
|
23
60
|
}
|
24
61
|
|
25
|
-
|
26
|
-
font-size:
|
27
|
-
|
62
|
+
h1 {
|
63
|
+
font-size: 1.3rem;
|
64
|
+
line-height: 1.1;
|
65
|
+
}
|
66
|
+
|
67
|
+
h1,
|
68
|
+
h2,
|
69
|
+
h3 {
|
70
|
+
margin-top: 0;
|
28
71
|
}
|
29
72
|
|
30
73
|
a {
|
@@ -45,30 +88,4 @@ div.message {
|
|
45
88
|
margin-bottom: 4px;
|
46
89
|
}
|
47
90
|
}
|
48
|
-
|
49
|
-
&.hint {
|
50
|
-
background-color: $hint-background-color;
|
51
|
-
border-color: $hint-background-color;
|
52
|
-
color: $hint-text-color;
|
53
|
-
}
|
54
|
-
|
55
|
-
&.info {
|
56
|
-
background-color: $info_background_color;
|
57
|
-
border-color: $info_border_color;
|
58
|
-
color: $info_text_color;
|
59
|
-
}
|
60
|
-
|
61
|
-
&.error {
|
62
|
-
background-color: $error_background_color;
|
63
|
-
border-color: $error_border_color;
|
64
|
-
color: $error_text_color;
|
65
|
-
}
|
66
|
-
|
67
|
-
&.warning,
|
68
|
-
&.warn,
|
69
|
-
&.alert {
|
70
|
-
background-color: $warning_background_color;
|
71
|
-
border-color: $warning_border_color;
|
72
|
-
color: $warning_text_color;
|
73
|
-
}
|
74
91
|
}
|
@@ -65,8 +65,18 @@
|
|
65
65
|
margin: 0;
|
66
66
|
}
|
67
67
|
|
68
|
+
.next_page,
|
69
|
+
.previous_page,
|
70
|
+
.first-page,
|
71
|
+
.last-page,
|
72
|
+
.gap {
|
73
|
+
display: inline-flex;
|
74
|
+
align-items: center;
|
75
|
+
justify-content: center;
|
76
|
+
}
|
77
|
+
|
68
78
|
.icon {
|
69
|
-
|
79
|
+
fill: currentColor;
|
70
80
|
}
|
71
81
|
}
|
72
82
|
|
@@ -7,7 +7,7 @@
|
|
7
7
|
border: 0 none;
|
8
8
|
background: #fff;
|
9
9
|
border-right: $default-border;
|
10
|
-
transition: $transition-duration ease-in-out;
|
10
|
+
transition: width $transition-duration ease-in-out;
|
11
11
|
|
12
12
|
.collapsed-menu & {
|
13
13
|
left: $collapsed-main-menu-width;
|
@@ -15,10 +15,14 @@
|
|
15
15
|
}
|
16
16
|
|
17
17
|
.collapsed-menu.elements-window-visible & {
|
18
|
-
width: calc(
|
18
|
+
width: calc(
|
19
|
+
100vw - #{$collapsed-main-menu-width - $default-border-width} - #{$elements-window-min-width}
|
20
|
+
);
|
19
21
|
|
20
|
-
@media screen and (min-width:
|
21
|
-
|
22
|
+
@media screen and (min-width: 1777px) {
|
23
|
+
width: calc(
|
24
|
+
100vw - #{$collapsed-main-menu-width - $default-border-width} - #{$elements-window-width}
|
25
|
+
);
|
22
26
|
}
|
23
27
|
}
|
24
28
|
}
|
@@ -28,19 +28,19 @@
|
|
28
28
|
}
|
29
29
|
|
30
30
|
.search_field_clear {
|
31
|
-
display:
|
31
|
+
display: flex;
|
32
|
+
visibility: hidden;
|
32
33
|
position: absolute;
|
33
34
|
top: 7px;
|
34
35
|
right: 8px;
|
35
36
|
width: 16px;
|
36
37
|
height: 16px;
|
37
|
-
|
38
|
-
|
38
|
+
align-items: center;
|
39
|
+
justify-content: center;
|
39
40
|
}
|
40
41
|
|
41
42
|
#toolbar,
|
42
43
|
#overlay_toolbar {
|
43
|
-
|
44
44
|
.search_form {
|
45
45
|
position: absolute;
|
46
46
|
top: 0;
|
@@ -74,13 +74,16 @@ select {
|
|
74
74
|
display: flex;
|
75
75
|
align-items: center;
|
76
76
|
justify-content: center;
|
77
|
-
font-family: "remixicon";
|
78
77
|
background-image: none;
|
79
|
-
font-weight: normal;
|
80
78
|
color: $icon-color;
|
81
79
|
|
82
80
|
&:before {
|
83
|
-
|
81
|
+
display: inline-block;
|
82
|
+
content: "";
|
83
|
+
width: 1rem;
|
84
|
+
height: 1rem;
|
85
|
+
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#{$icon-color}"><path d="M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z"></path></svg>')
|
86
|
+
no-repeat;
|
84
87
|
}
|
85
88
|
}
|
86
89
|
}
|
@@ -131,16 +134,19 @@ select {
|
|
131
134
|
&.select2-container-multi,
|
132
135
|
&.select2-allowclear {
|
133
136
|
.select2-search-choice-close {
|
134
|
-
font-family: "remixicon";
|
135
137
|
left: auto;
|
136
138
|
right: $default-padding;
|
137
|
-
top:
|
139
|
+
top: 5px;
|
138
140
|
background: none;
|
139
|
-
font-size: 12px;
|
140
141
|
text-decoration: none;
|
141
142
|
|
142
143
|
&:before {
|
143
|
-
content:
|
144
|
+
content: "";
|
145
|
+
display: inline-flex;
|
146
|
+
width: 12px;
|
147
|
+
height: 12px;
|
148
|
+
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#{$icon-color}"><path d="M11.9997 10.5865L16.9495 5.63672L18.3637 7.05093L13.4139 12.0007L18.3637 16.9504L16.9495 18.3646L11.9997 13.4149L7.04996 18.3646L5.63574 16.9504L10.5855 12.0007L5.63574 7.05093L7.04996 5.63672L11.9997 10.5865Z"></path></svg>')
|
149
|
+
no-repeat;
|
144
150
|
}
|
145
151
|
|
146
152
|
&:hover {
|
@@ -96,7 +96,7 @@
|
|
96
96
|
--sl-shadow-small: 0 1px 2px hsl(240 3.8% 46.1% / 12%);
|
97
97
|
--sl-shadow-medium: 0 2px 4px hsl(240 3.8% 46.1% / 12%);
|
98
98
|
--sl-shadow-large: 0 2px 8px hsl(240 3.8% 46.1% / 12%);
|
99
|
-
--sl-shadow-x-large: 0
|
99
|
+
--sl-shadow-x-large: 0 8px 16px rgba(35, 35, 35, 0.5);
|
100
100
|
|
101
101
|
/*
|
102
102
|
* Spacings
|
@@ -255,7 +255,7 @@
|
|
255
255
|
* Overlays
|
256
256
|
*/
|
257
257
|
|
258
|
-
--sl-overlay-background-color: hsl(
|
258
|
+
--sl-overlay-background-color: hsl(0 0% 39.2% / 40%);
|
259
259
|
|
260
260
|
/*
|
261
261
|
* Panels
|
@@ -343,3 +343,34 @@ sl-tooltip {
|
|
343
343
|
box-shadow: 0 0 var(--spacing-1) var(--color-grey_medium);
|
344
344
|
}
|
345
345
|
}
|
346
|
+
|
347
|
+
sl-dialog {
|
348
|
+
&::part(panel) {
|
349
|
+
background-color: var(--color-grey_light);
|
350
|
+
--body-spacing: var(--spacing-4) var(--spacing-3);
|
351
|
+
--footer-spacing: var(--spacing-4) var(--spacing-3);
|
352
|
+
}
|
353
|
+
|
354
|
+
&::part(header) {
|
355
|
+
--header-spacing: var(--spacing-3);
|
356
|
+
background-color: var(--color-blue_dark);
|
357
|
+
border-top-left-radius: var(--border-radius_medium);
|
358
|
+
border-top-right-radius: var(--border-radius_medium);
|
359
|
+
}
|
360
|
+
|
361
|
+
&::part(header-actions) {
|
362
|
+
--header-spacing: var(--spacing-1);
|
363
|
+
}
|
364
|
+
|
365
|
+
&::part(title) {
|
366
|
+
--sl-font-size-large: var(--font-size_small);
|
367
|
+
color: var(--color-white);
|
368
|
+
}
|
369
|
+
|
370
|
+
&::part(close-button) {
|
371
|
+
--sl-color-primary-600: var(--color-white);
|
372
|
+
--sl-color-primary-700: var(--color-white);
|
373
|
+
color: var(--color-white);
|
374
|
+
fill: currentColor;
|
375
|
+
}
|
376
|
+
}
|