pageflow 15.6.1 → 15.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +253 -11
- data/README.md +1 -2
- data/admins/pageflow/entry.rb +28 -57
- data/admins/pageflow/membership.rb +5 -1
- data/admins/pageflow/user.rb +1 -3
- data/app/assets/images/pageflow/admin/icons/buttons/editor.svg +2 -0
- data/app/assets/images/pageflow/admin/icons/buttons/preview.svg +2 -0
- data/app/assets/images/pageflow/admin/icons/buttons/show_public.svg +2 -0
- data/app/assets/images/pageflow/admin/icons/delete.svg +9 -0
- data/app/assets/images/pageflow/admin/icons/done.svg +6 -0
- data/app/assets/images/pageflow/admin/icons/edit.svg +7 -0
- data/app/assets/images/pageflow/admin/icons/editor.svg +2 -0
- data/app/assets/images/pageflow/admin/icons/folder.svg +8 -0
- data/app/assets/images/pageflow/admin/icons/folder_active.svg +8 -0
- data/app/assets/images/pageflow/admin/icons/info.svg +3 -0
- data/app/assets/images/pageflow/admin/icons/new.svg +5 -0
- data/app/assets/images/pageflow/admin/icons/preview.svg +2 -0
- data/app/assets/images/pageflow/admin/icons/published.svg +2 -0
- data/app/assets/images/pageflow/admin/icons/published_with_password.svg +2 -0
- data/app/assets/images/pageflow/admin/icons/show_public.svg +2 -0
- data/app/assets/images/pageflow/editor/blank_entry/logo.png +0 -0
- data/app/assets/images/pageflow/themes/default/embed_opt_in.svg +3 -0
- data/app/assets/images/pageflow/themes/default/embed_opt_out_info.svg +16 -0
- data/app/assets/javascripts/pageflow/admin/entries.js +9 -57
- data/app/assets/javascripts/pageflow/dist/editor.js +11890 -0
- data/app/assets/javascripts/pageflow/dist/frontend.js +5800 -0
- data/app/assets/javascripts/pageflow/dist/react-client.js +22 -0
- data/app/assets/javascripts/pageflow/dist/react-server.js +19 -0
- data/app/assets/javascripts/pageflow/dist/ui.js +127 -10
- data/app/assets/stylesheets/pageflow/admin/active_admin_patches.scss +18 -16
- data/app/assets/stylesheets/pageflow/admin/badge_list.scss +25 -35
- data/app/assets/stylesheets/pageflow/admin/columns.scss +13 -11
- data/app/assets/stylesheets/pageflow/admin/embed_code.scss +1 -4
- data/app/assets/stylesheets/pageflow/admin/entries/folders.scss +44 -19
- data/app/assets/stylesheets/pageflow/admin/entries.scss +15 -31
- data/app/assets/stylesheets/pageflow/admin/features.scss +3 -1
- data/app/assets/stylesheets/pageflow/admin/forms.scss +14 -12
- data/app/assets/stylesheets/pageflow/admin/hint.scss +8 -14
- data/app/assets/stylesheets/pageflow/admin/icon_button.scss +25 -14
- data/app/assets/stylesheets/pageflow/admin/icon_link.scss +31 -15
- data/app/assets/stylesheets/pageflow/admin/publication_state_indicator.scss +14 -7
- data/app/assets/stylesheets/pageflow/admin/status_tags.scss +5 -4
- data/app/assets/stylesheets/pageflow/admin/tabs_view.scss +36 -34
- data/app/assets/stylesheets/pageflow/admin/tooltip_bubble.scss +15 -11
- data/app/assets/stylesheets/pageflow/admin.scss +12 -0
- data/app/assets/stylesheets/pageflow/editor/background_positioning.scss +15 -61
- data/app/assets/stylesheets/pageflow/editor/base.scss +28 -13
- data/app/assets/stylesheets/pageflow/editor/blank_entry.scss +6 -6
- data/app/assets/stylesheets/pageflow/editor/change_theme.scss +28 -71
- data/app/assets/stylesheets/pageflow/editor/composables.scss +2 -2
- data/app/assets/stylesheets/pageflow/editor/confirm_encoding.scss +18 -36
- data/app/assets/stylesheets/pageflow/editor/confirm_upload.scss +12 -39
- data/app/assets/stylesheets/pageflow/editor/dialogs.scss +39 -12
- data/app/assets/stylesheets/pageflow/editor/disabled_atmo_indicator.scss +3 -3
- data/app/assets/stylesheets/pageflow/editor/drop_down_button.scss +7 -10
- data/app/assets/stylesheets/pageflow/editor/emulation_mode_button.scss +3 -8
- data/app/assets/stylesheets/pageflow/editor/failures.scss +3 -3
- data/app/assets/stylesheets/pageflow/editor/file_import.scss +22 -38
- data/app/assets/stylesheets/pageflow/editor/file_meta_data.scss +3 -7
- data/app/assets/stylesheets/pageflow/editor/file_settings_dialog.scss +4 -24
- data/app/assets/stylesheets/pageflow/editor/file_stages.scss +10 -11
- data/app/assets/stylesheets/pageflow/editor/file_thumbnails.scss +4 -8
- data/app/assets/stylesheets/pageflow/editor/files.scss +7 -6
- data/app/assets/stylesheets/pageflow/editor/files_explorer.scss +13 -30
- data/app/assets/stylesheets/pageflow/editor/files_gallery.scss +15 -11
- data/app/assets/stylesheets/pageflow/editor/filtered_files.scss +6 -7
- data/app/assets/stylesheets/pageflow/editor/help.scss +19 -14
- data/app/assets/stylesheets/pageflow/editor/help_image.scss +1 -1
- data/app/assets/stylesheets/pageflow/editor/info_box.scss +19 -0
- data/app/assets/stylesheets/pageflow/editor/inputs/file_input.scss +7 -11
- data/app/assets/stylesheets/pageflow/editor/inputs/file_processing_state_display.scss +0 -2
- data/app/assets/stylesheets/pageflow/editor/inputs/reference.scss +7 -11
- data/app/assets/stylesheets/pageflow/editor/list.scss +13 -10
- data/app/assets/stylesheets/pageflow/editor/loading.scss +1 -1
- data/app/assets/stylesheets/pageflow/editor/locked.scss +9 -5
- data/app/assets/stylesheets/pageflow/editor/menu.scss +5 -5
- data/app/assets/stylesheets/pageflow/editor/notifications.scss +15 -14
- data/app/assets/stylesheets/pageflow/editor/other_entry_item.scss +7 -3
- data/app/assets/stylesheets/pageflow/editor/outline.scss +57 -19
- data/app/assets/stylesheets/pageflow/editor/page_links.scss +10 -8
- data/app/assets/stylesheets/pageflow/editor/page_selection.scss +2 -29
- data/app/assets/stylesheets/pageflow/editor/publish_entry.scss +5 -6
- data/app/assets/stylesheets/pageflow/editor/quotas.scss +2 -3
- data/app/assets/stylesheets/pageflow/editor/select_button.scss +12 -6
- data/app/assets/stylesheets/pageflow/editor/sidebar_footer.scss +1 -5
- data/app/assets/stylesheets/pageflow/editor/storyline_picker.scss +6 -2
- data/app/assets/stylesheets/pageflow/editor/text_tracks.scss +6 -22
- data/app/assets/stylesheets/pageflow/editor/widgets.scss +2 -2
- data/app/assets/stylesheets/pageflow/editor/wysihtml5.scss +35 -29
- data/app/assets/stylesheets/pageflow/mixins/background_icons.scss +3 -3
- data/app/assets/stylesheets/pageflow/mixins/buttons.scss +50 -68
- data/app/assets/stylesheets/pageflow/themes/default/base.scss +2 -0
- data/app/assets/stylesheets/pageflow/themes/default/consent/bar.scss +156 -0
- data/app/assets/stylesheets/pageflow/themes/default/consent/vendor_list.scss +62 -0
- data/app/assets/stylesheets/pageflow/themes/default/consent.scss +2 -0
- data/app/assets/stylesheets/pageflow/themes/default/logo/alignment.scss +7 -0
- data/app/assets/stylesheets/pageflow/themes/default/page/shadow.scss +44 -0
- data/app/assets/stylesheets/pageflow/themes/default/third_party_embed_consent.scss +103 -0
- data/app/assets/stylesheets/pageflow/ui/forms.scss +79 -84
- data/app/assets/stylesheets/pageflow/ui/functions.scss +56 -0
- data/app/assets/stylesheets/pageflow/ui/input/check_box_group_input.scss +2 -3
- data/app/assets/stylesheets/pageflow/ui/input/color_input.scss +6 -6
- data/app/assets/stylesheets/pageflow/ui/input/extended_select_input.scss +63 -50
- data/app/assets/stylesheets/pageflow/ui/normalize/forms.scss +153 -0
- data/app/assets/stylesheets/pageflow/ui/normalize.scss +278 -0
- data/app/assets/stylesheets/pageflow/ui/properties.scss +44 -0
- data/app/assets/stylesheets/pageflow/ui/table_cells/delete_row_table_cell.scss +1 -1
- data/app/assets/stylesheets/pageflow/ui/table_view.scss +14 -18
- data/app/assets/stylesheets/pageflow/ui/tabs_view.scss +8 -11
- data/app/assets/stylesheets/pageflow/ui/tooltip.scss +6 -8
- data/app/assets/stylesheets/pageflow/ui/validation_error_messages.scss +6 -0
- data/app/assets/stylesheets/pageflow/ui.scss +4 -0
- data/app/controllers/pageflow/edit_locks_controller.rb +3 -1
- data/app/helpers/pageflow/admin/entries_helper.rb +2 -12
- data/app/helpers/pageflow/embed_code_helper.rb +1 -1
- data/app/helpers/pageflow/entries_helper.rb +41 -2
- data/app/helpers/pageflow/file_background_images_helper.rb +1 -1
- data/app/helpers/pageflow/page_types_helper.rb +1 -1
- data/app/helpers/pageflow/themes_helper.rb +1 -1
- data/app/jobs/pageflow/poll_meta_data_from_zencoder_job.rb +1 -1
- data/app/jobs/pageflow/poll_zencoder_job.rb +1 -9
- data/app/models/pageflow/audio_file.rb +17 -0
- data/app/models/pageflow/audio_file_url_templates.rb +4 -1
- data/app/models/pageflow/customized_theme.rb +37 -0
- data/app/models/pageflow/draft_entry.rb +6 -59
- data/app/models/pageflow/entry.rb +8 -0
- data/app/models/pageflow/entry_at_revision.rb +68 -0
- data/app/models/pageflow/entry_role_query.rb +44 -24
- data/app/models/pageflow/image_file_css_background_image_urls.rb +8 -2
- data/app/models/pageflow/published_entry.rb +9 -56
- data/app/models/pageflow/theme_customization.rb +46 -0
- data/app/models/pageflow/theme_customization_file.rb +58 -0
- data/app/models/pageflow/video_file.rb +11 -1
- data/app/models/pageflow/video_file_url_templates.rb +1 -0
- data/app/policies/pageflow/entry_policy.rb +4 -0
- data/app/state_machines/pageflow/media_encoding_state_machine.rb +23 -4
- data/app/views/admin/entries/_form.html.erb +50 -0
- data/app/views/admin/entries/entry_type_name_input.html.erb +5 -0
- data/app/views/admin/features/_form.html.erb +1 -1
- data/app/views/admin/memberships/_form.html.erb +2 -3
- data/app/views/admin/users/_form.html.erb +1 -1
- data/app/views/admin/users/invitation.html.erb +2 -2
- data/app/views/components/pageflow/admin/entry_user_badge_list.rb +10 -9
- data/app/views/components/pageflow/admin/members_tab.rb +5 -1
- data/app/views/components/pageflow/admin/revisions_tab.rb +13 -3
- data/app/views/components/pageflow/admin/timestamp.rb +20 -0
- data/app/views/components/pageflow/admin/user_account_badge_list.rb +5 -6
- data/app/views/pageflow/admin/entries/_cannot_add_user.html.erb +9 -5
- data/app/views/pageflow/admin/entries/_entry_type_name_input.html.erb +7 -0
- data/app/views/pageflow/audio_files/_audio_file.json.jbuilder +13 -0
- data/app/views/pageflow/editor/encoding_confirmations/_intro.html.erb +0 -0
- data/app/views/pageflow/editor/encoding_confirmations/check.json.jbuilder +14 -2
- data/config/initializers/paperclip.rb +16 -1
- data/config/locales/de.yml +24 -28
- data/config/locales/en.yml +19 -10
- data/db/migrate/20210528073122_create_pageflow_theme_customizations.rb +11 -0
- data/db/migrate/20210531090654_create_pageflow_theme_customization_files.rb +15 -0
- data/db/migrate/20210531102228_add_selected_file_ids_to_theme_customizations.rb +5 -0
- data/db/migrate/20211020085902_add_canonical_entry_url_prefix_to_themings.rb +5 -0
- data/db/migrate/20220503150010_add_peak_data_to_audio_files.rb +5 -0
- data/db/migrate/20220705084830_add_trailing_slash_in_canonical_urls_to_themings.rb +5 -0
- data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/editor.js +256 -124
- data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/frontend.js +566 -167
- data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/react-client.js +5 -5
- data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/react-server.js +4 -4
- data/entry_types/paged/app/helpers/pageflow_paged/third_party_embed_consent_helper.rb +38 -0
- data/entry_types/paged/app/views/pageflow_paged/third_party_embed_consent/_opt_in.html.erb +12 -0
- data/entry_types/paged/app/views/pageflow_paged/third_party_embed_consent/_opt_out_info.html.erb +10 -0
- data/entry_types/paged/config/initializers/features.rb +2 -0
- data/entry_types/paged/config/locales/new/video_contain.de.yml +7 -0
- data/entry_types/paged/config/locales/new/video_contain.en.yml +7 -0
- data/entry_types/scrolled/app/helpers/pageflow_scrolled/editor/seed_html_helper.rb +3 -0
- data/entry_types/scrolled/app/helpers/pageflow_scrolled/entry_json_seed_helper.rb +1 -0
- data/entry_types/scrolled/app/helpers/pageflow_scrolled/packs_helper.rb +58 -0
- data/entry_types/scrolled/app/helpers/pageflow_scrolled/react_server_side_rendering_helper.rb +37 -3
- data/entry_types/scrolled/app/helpers/pageflow_scrolled/themes_helper.rb +92 -6
- data/entry_types/scrolled/app/helpers/pageflow_scrolled/webpack_public_path_helper.rb +20 -0
- data/entry_types/scrolled/app/models/pageflow_scrolled/content_element.rb +7 -0
- data/entry_types/scrolled/app/views/pageflow_scrolled/editor/entries/_head.html.erb +5 -2
- data/entry_types/scrolled/app/views/pageflow_scrolled/editor/entries/_seed.json.jbuilder +5 -1
- data/entry_types/scrolled/app/views/pageflow_scrolled/entries/show.html.erb +5 -4
- data/entry_types/scrolled/app/views/pageflow_scrolled/entry_json_seed/_entry.json.jbuilder +16 -0
- data/entry_types/scrolled/app/views/pageflow_scrolled/entry_json_seed/_theme.json.jbuilder +13 -2
- data/entry_types/scrolled/app/views/pageflow_scrolled/entry_json_seed/_widget.json.jbuilder +2 -0
- data/entry_types/scrolled/config/locales/de.yml +1 -8
- data/entry_types/scrolled/config/locales/en.yml +1 -9
- data/entry_types/scrolled/config/locales/new/before_after_slider.de.yml +8 -0
- data/entry_types/scrolled/config/locales/new/before_after_slider.en.yml +8 -0
- data/entry_types/scrolled/config/locales/new/center_ragged.de.yml +8 -0
- data/entry_types/scrolled/config/locales/new/center_ragged.en.yml +9 -0
- data/entry_types/scrolled/config/locales/new/consent.de.yml +25 -0
- data/entry_types/scrolled/config/locales/new/consent.en.yml +24 -0
- data/entry_types/scrolled/config/locales/new/content_element_categories.de.yml +39 -0
- data/entry_types/scrolled/config/locales/new/content_element_categories.en.yml +39 -0
- data/entry_types/scrolled/config/locales/new/default_transition.de.yml +14 -0
- data/entry_types/scrolled/config/locales/new/default_transition.en.yml +14 -0
- data/entry_types/scrolled/config/locales/new/header_line_breaks.de.yml +28 -0
- data/entry_types/scrolled/config/locales/new/header_line_breaks.en.yml +27 -0
- data/entry_types/scrolled/config/locales/new/header_size.de.yml +17 -0
- data/entry_types/scrolled/config/locales/new/header_size.en.yml +17 -0
- data/entry_types/scrolled/config/locales/new/iframe_embed.de.yml +39 -0
- data/entry_types/scrolled/config/locales/new/iframe_embed.en.yml +39 -0
- data/entry_types/scrolled/config/locales/new/inline_loops.de.yml +26 -0
- data/entry_types/scrolled/config/locales/new/inline_loops.en.yml +26 -0
- data/entry_types/scrolled/config/locales/new/portrait_inline_image.de.yml +9 -0
- data/entry_types/scrolled/config/locales/new/portrait_inline_image.en.yml +9 -0
- data/entry_types/scrolled/config/locales/new/section_width.de.yml +10 -0
- data/entry_types/scrolled/config/locales/new/section_width.en.yml +10 -0
- data/entry_types/scrolled/config/locales/new/typography_variants.de.yml +7 -0
- data/entry_types/scrolled/config/locales/new/typography_variants.en.yml +7 -0
- data/entry_types/scrolled/config/locales/new/video_embed_poster.de.yml +8 -0
- data/entry_types/scrolled/config/locales/new/video_embed_poster.en.yml +8 -0
- data/entry_types/scrolled/config/locales/new/waveform_styles.de.yml +11 -0
- data/entry_types/scrolled/config/locales/new/waveform_styles.en.yml +12 -0
- data/entry_types/scrolled/config/locales/new/widgets.de.yml +6 -0
- data/entry_types/scrolled/config/locales/new/widgets.en.yml +6 -0
- data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/install_generator.rb +29 -5
- data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/themes_plugin.rb.tt +8 -6
- data/entry_types/scrolled/lib/pageflow_scrolled/additional_packs.rb +37 -0
- data/entry_types/scrolled/lib/pageflow_scrolled/additional_seed_data.rb +57 -0
- data/entry_types/scrolled/lib/pageflow_scrolled/configuration.rb +49 -0
- data/entry_types/scrolled/lib/pageflow_scrolled/plugin.rb +8 -0
- data/entry_types/scrolled/lib/pageflow_scrolled/react_widget_type.rb +42 -0
- data/entry_types/scrolled/lib/pageflow_scrolled.rb +17 -1
- data/entry_types/scrolled/package/contentElements-editor.js +323 -89
- data/entry_types/scrolled/package/contentElements-frontend.css +1 -1
- data/entry_types/scrolled/package/contentElements-frontend.js +719 -529
- data/entry_types/scrolled/package/editor.js +459 -261
- data/entry_types/scrolled/package/frontend/{EditableText-7093fd0e.js → EditableInlineText.module-b9923660.js} +284 -362
- data/entry_types/scrolled/package/frontend/{i18n-4dc6c377.js → PhonePlatformContext-9fb97827.js} +199 -106
- data/entry_types/scrolled/package/frontend/{Viewer-e49e7807.js → Viewer-e2290ea0.js} +196 -79
- data/entry_types/scrolled/package/frontend/{Wavesurfer-0adf5667.js → Wavesurfer-7d9cf1b7.js} +16 -58
- data/entry_types/scrolled/package/frontend/{components-6a6793ca.js → components-6ab26015.js} +664 -671
- data/entry_types/scrolled/package/frontend/{getPrototypeOf-63c7c8e8.js → createSuper-d0f30da3.js} +34 -5
- data/entry_types/scrolled/package/frontend/index.css +1 -9
- data/entry_types/scrolled/package/frontend/index.js +1919 -2386
- data/entry_types/scrolled/package/frontend/{useBrowserFeature-91a4c29d.js → usePhonePlatform-2857c22b.js} +9 -8
- data/entry_types/scrolled/package/frontend-server.js +3 -6
- data/entry_types/scrolled/package/package.json +16 -8
- data/entry_types/scrolled/package/testHelpers.js +456 -0
- data/entry_types/scrolled/package/values/breakpoints.module.css +9 -0
- data/entry_types/scrolled/package/values/colors.module.css +5 -0
- data/entry_types/scrolled/package/widgets/defaultNavigation.css +9 -0
- data/entry_types/scrolled/package/widgets/defaultNavigation.js +612 -0
- data/entry_types/scrolled/spec/fixtures/image.svg +1 -0
- data/lib/pageflow/ability_mixin.rb +4 -0
- data/lib/pageflow/built_in_widget_type.rb +4 -0
- data/lib/pageflow/built_in_widget_types_plugin.rb +7 -0
- data/lib/pageflow/configuration.rb +34 -1
- data/lib/pageflow/entry_type.rb +11 -2
- data/lib/pageflow/entry_type_configuration.rb +2 -0
- data/lib/pageflow/file_type.rb +24 -0
- data/lib/pageflow/paperclip_processors/audio_waveform.rb +42 -0
- data/lib/pageflow/paperclip_processors/noop.rb +10 -0
- data/lib/pageflow/theme_customizations.rb +61 -0
- data/lib/pageflow/user_mixin.rb +6 -0
- data/lib/pageflow/version.rb +1 -1
- data/lib/pageflow.rb +9 -0
- data/package/config/jest/index.js +2 -1
- data/package/config/postcss/scaleFunctions.js +71 -0
- data/package/editor.js +95 -85
- data/package/frontend.js +521 -161
- data/package/package.json +5 -3
- data/package/testHelpers.js +26 -5
- data/package/ui.js +124 -11
- data/spec/factories/draft_entries.rb +19 -1
- data/spec/factories/entries.rb +4 -0
- data/spec/factories/published_entries.rb +6 -0
- data/spec/fixtures/audio.ogg +0 -0
- metadata +123 -15
- data/app/views/admin/entries/_not_allowed_to_see_entry_types.json.jbuilder +0 -2
- data/app/views/admin/entries/entry_types.json.jbuilder +0 -4
- data/package/config/jest/transformers/upwardBabel.js +0 -5
@@ -1,58 +1,29 @@
|
|
1
1
|
&.change_theme {
|
2
2
|
.box {
|
3
|
-
position: absolute;
|
4
|
-
top: 20px;
|
5
|
-
left: 20px;
|
6
|
-
bottom: 20px;
|
7
|
-
right: 20px;
|
8
3
|
max-width: 1100px;
|
9
|
-
max-height:
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
.content {
|
14
|
-
position: absolute;
|
15
|
-
top: 20px;
|
16
|
-
right: 20px;
|
17
|
-
bottom: 50px;
|
18
|
-
left: 20px;
|
19
|
-
overflow: auto;
|
20
|
-
overflow-y: scroll;
|
21
|
-
background-color: #fff;
|
22
|
-
|
23
|
-
>div {
|
24
|
-
padding: 10px;
|
25
|
-
}
|
26
|
-
}
|
27
|
-
|
28
|
-
.footer {
|
29
|
-
position: absolute;
|
30
|
-
right: 20px;
|
31
|
-
bottom: 10px;
|
32
|
-
left: 20px;
|
4
|
+
max-height: 670px;
|
5
|
+
min-width: 600px;
|
6
|
+
min-height: 300px;
|
33
7
|
}
|
34
8
|
|
35
9
|
.themes_panel {
|
36
|
-
position: absolute;
|
37
|
-
top: 60px;
|
38
|
-
left: 20px;
|
39
10
|
width: 330px;
|
11
|
+
overflow: auto;
|
40
12
|
}
|
41
13
|
|
42
14
|
.preview_panel {
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
15
|
+
flex: 1;
|
16
|
+
height: 100%;
|
17
|
+
display: flex;
|
18
|
+
flex-direction: column;
|
19
|
+
margin-left: 0.25rem;
|
20
|
+
border-left: solid 1px var(--ui-on-surface-color-lightest);
|
21
|
+
padding-left: 1rem;
|
22
|
+
position: relative;
|
48
23
|
}
|
49
24
|
|
50
25
|
.use_theme {
|
51
|
-
@include button
|
52
|
-
}
|
53
|
-
|
54
|
-
.theme_name {
|
55
|
-
margin: 10px;
|
26
|
+
@include simple-button;
|
56
27
|
}
|
57
28
|
|
58
29
|
.button_or_checkmark {
|
@@ -63,52 +34,38 @@
|
|
63
34
|
|
64
35
|
.theme_in_use {
|
65
36
|
font-size: 35px;
|
37
|
+
line-height: space(4);
|
66
38
|
}
|
67
39
|
|
68
40
|
li {
|
69
41
|
position: relative;
|
70
|
-
|
71
|
-
|
72
|
-
margin: 10px;
|
42
|
+
margin: 0 space(1) space(1) 0;
|
43
|
+
padding: space(4);
|
73
44
|
|
74
|
-
|
75
|
-
background-color:
|
45
|
+
&.active {
|
46
|
+
background-color: var(--ui-selection-color-lighter);
|
76
47
|
}
|
77
48
|
}
|
78
49
|
|
79
|
-
h2.themes_header {
|
80
|
-
display: block;
|
81
|
-
font-size: 1.5em;
|
82
|
-
font-weight: bold;
|
83
|
-
text-transform: none;
|
84
|
-
position: absolute;
|
85
|
-
top: 25px;
|
86
|
-
left: 30px;
|
87
|
-
}
|
88
|
-
|
89
|
-
h2.preview_header {
|
90
|
-
font-size: 14px;
|
91
|
-
text-transform: none;
|
92
|
-
}
|
93
|
-
|
94
50
|
.preview_image_region {
|
95
|
-
margin-bottom: 30px;
|
96
|
-
border: 1px solid #eee;
|
97
|
-
padding-top: 71%;
|
98
51
|
position: relative;
|
52
|
+
min-height: 0;
|
53
|
+
flex: 1;
|
54
|
+
margin-top: 1rem;
|
99
55
|
}
|
100
56
|
|
101
57
|
.preview_image {
|
102
|
-
position:
|
103
|
-
top: 0;
|
104
|
-
max-width: 100%;
|
58
|
+
position: relative;
|
105
59
|
z-index: 2;
|
60
|
+
height: 100%;
|
61
|
+
width: 100%;
|
62
|
+
object-fit: contain;
|
106
63
|
}
|
107
64
|
|
108
65
|
.loading {
|
109
66
|
position: absolute;
|
110
|
-
top:
|
111
|
-
|
112
|
-
|
67
|
+
top: 50%;
|
68
|
+
left: 50%;
|
69
|
+
transform: translate(-50%, -50%);
|
113
70
|
}
|
114
71
|
}
|
@@ -1,6 +1,5 @@
|
|
1
1
|
.confirm_encoding {
|
2
2
|
.blank_slate {
|
3
|
-
background-color: #fff;
|
4
3
|
margin: 10px 0;
|
5
4
|
padding: 20px 0;
|
6
5
|
|
@@ -14,66 +13,49 @@
|
|
14
13
|
}
|
15
14
|
}
|
16
15
|
|
16
|
+
.intro {
|
17
|
+
p {
|
18
|
+
margin-top: space(3);
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
17
22
|
ul.confirmable_files {
|
18
23
|
margin-bottom: 15px;
|
19
24
|
|
20
25
|
li {
|
21
|
-
background-color:
|
22
|
-
margin-bottom:
|
23
|
-
|
24
|
-
padding:
|
25
|
-
|
26
|
-
|
27
|
-
height: 23px;
|
26
|
+
background-color: var(--ui-primary-color-lightest);
|
27
|
+
margin-bottom: space(1);
|
28
|
+
display: flex;
|
29
|
+
padding: space(2);
|
30
|
+
border-radius: rounded();
|
31
|
+
align-items: center;
|
28
32
|
}
|
29
33
|
|
30
34
|
input[type=checkbox] {
|
31
35
|
display: block;
|
32
|
-
position: absolute;
|
33
|
-
top: 10px;
|
34
|
-
left: 10px;
|
35
|
-
width: auto;
|
36
|
-
height: auto;
|
37
36
|
}
|
38
37
|
|
39
38
|
.file_name {
|
40
|
-
position: absolute;
|
41
|
-
left: 30px;
|
42
|
-
top: 9px;
|
43
|
-
right: 100px;
|
44
|
-
overflow: hidden;
|
45
|
-
text-overflow: ellipsis;
|
46
|
-
|
47
39
|
font-weight: normal;
|
48
|
-
|
40
|
+
margin: 0 space(2);
|
49
41
|
}
|
50
42
|
|
51
43
|
.duration {
|
52
|
-
|
53
|
-
right: 50px;
|
54
|
-
top: 9px;
|
44
|
+
color: var(--ui-on-surface-color-light);
|
55
45
|
}
|
56
46
|
|
57
47
|
.actions {
|
58
|
-
|
59
|
-
right: 10px;
|
60
|
-
top: 3px;
|
61
|
-
text-align: right;
|
62
|
-
|
63
|
-
a {
|
64
|
-
float: left;
|
65
|
-
margin-left: 5px;
|
66
|
-
}
|
48
|
+
margin-left: space(2);
|
67
49
|
}
|
68
50
|
|
69
51
|
a.remove {
|
70
|
-
@include icon-only-button(
|
52
|
+
@include icon-only-button("destructive");
|
71
53
|
@include trash-icon;
|
72
54
|
}
|
73
55
|
}
|
74
56
|
|
75
57
|
button.confirm {
|
76
|
-
@include icon-button;
|
58
|
+
@include icon-button("primary");
|
77
59
|
@include check-icon;
|
78
60
|
|
79
61
|
&.checking {
|
@@ -81,4 +63,4 @@
|
|
81
63
|
@include background-icon-animation(blink);
|
82
64
|
}
|
83
65
|
}
|
84
|
-
}
|
66
|
+
}
|
@@ -1,66 +1,39 @@
|
|
1
1
|
&.confirm_upload {
|
2
2
|
.box {
|
3
|
-
|
4
|
-
|
5
|
-
left: 20px;
|
6
|
-
bottom: 20px;
|
7
|
-
right: 20px;
|
3
|
+
min-width: 500px;
|
4
|
+
min-height: 400px;
|
8
5
|
max-width: 1100px;
|
9
|
-
background-color: #eee;
|
10
|
-
}
|
11
|
-
|
12
|
-
.uploadable_files {
|
13
|
-
margin-right: 10px;
|
14
|
-
|
15
|
-
&.is_empty {
|
16
|
-
display: none;
|
17
|
-
}
|
18
|
-
}
|
19
|
-
|
20
|
-
.files_panel,
|
21
|
-
.selected_file_panel {
|
22
|
-
position: absolute;
|
23
|
-
top: 80px;
|
24
6
|
}
|
25
7
|
|
26
8
|
.files_panel {
|
27
|
-
right: 370px;
|
28
|
-
bottom: 50px;
|
29
|
-
left: 20px;
|
30
9
|
overflow: auto;
|
10
|
+
flex: 1;
|
31
11
|
}
|
32
12
|
|
33
13
|
.selected_file_panel {
|
34
|
-
|
35
|
-
right: 20px;
|
14
|
+
margin-left: space(6);
|
36
15
|
width: 330px;
|
37
16
|
}
|
38
17
|
|
39
|
-
.
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
18
|
+
.uploadable_files {
|
19
|
+
margin: 0 space(2) space(4) 0;
|
20
|
+
|
21
|
+
&.is_empty {
|
22
|
+
display: none;
|
23
|
+
}
|
44
24
|
}
|
45
25
|
|
46
26
|
.table_view {
|
47
27
|
width: 100%;
|
48
28
|
}
|
49
29
|
|
50
|
-
.footer {
|
51
|
-
position: absolute;
|
52
|
-
right: 20px;
|
53
|
-
bottom: 10px;
|
54
|
-
left: 20px;
|
55
|
-
}
|
56
|
-
|
57
30
|
.upload {
|
58
|
-
@include icon-button;
|
31
|
+
@include icon-button("primary");
|
59
32
|
@include up-icon;
|
60
33
|
}
|
61
34
|
|
62
35
|
.close {
|
63
|
-
@include icon-button
|
36
|
+
@include icon-button;
|
64
37
|
@include cancel-icon;
|
65
38
|
}
|
66
39
|
}
|
@@ -14,35 +14,62 @@
|
|
14
14
|
left: 0;
|
15
15
|
width: 100%;
|
16
16
|
height: 100%;
|
17
|
-
background-color:
|
18
|
-
opacity: 0.5;
|
17
|
+
background-color: var(--ui-backdrop-color);
|
19
18
|
}
|
20
19
|
|
21
20
|
.box {
|
22
|
-
|
23
|
-
|
21
|
+
display: flex;
|
22
|
+
flex-direction: column;
|
23
|
+
position: absolute;
|
24
|
+
top: space(10);
|
25
|
+
right: space(10);
|
26
|
+
bottom: space(10);
|
27
|
+
left: space(10);
|
24
28
|
margin: auto;
|
25
|
-
padding:
|
26
|
-
background-color:
|
29
|
+
padding: space(4) space(6);
|
30
|
+
background-color: var(--ui-surface-color);
|
31
|
+
border-radius: rounded();
|
32
|
+
box-shadow: var(--ui-box-shadow-md);
|
33
|
+
}
|
34
|
+
|
35
|
+
.content,
|
36
|
+
.panels {
|
37
|
+
flex: 1;
|
38
|
+
min-height: 0;
|
39
|
+
margin-bottom: space(4);
|
40
|
+
}
|
41
|
+
|
42
|
+
.panels {
|
43
|
+
display: flex;
|
27
44
|
}
|
28
45
|
|
29
|
-
|
30
|
-
|
31
|
-
margin:
|
46
|
+
.content {
|
47
|
+
padding: 0 space(2) 0 space(2);
|
48
|
+
margin-left: space(-2);
|
49
|
+
overflow: auto;
|
32
50
|
}
|
33
51
|
|
34
52
|
.dialog-header {
|
35
53
|
font-size: 17px;
|
36
54
|
font-weight: bold;
|
37
|
-
margin: 0 0
|
55
|
+
margin: 0 0 space(4) 0;
|
56
|
+
}
|
57
|
+
|
58
|
+
.dialog-sub_header {
|
59
|
+
border-bottom: solid 1px var(--ui-on-surface-color-lighter);
|
60
|
+
margin: 0;
|
61
|
+
padding: space(1) 0;
|
62
|
+
}
|
63
|
+
|
64
|
+
.dialog-hint {
|
65
|
+
margin-bottom: space(4);
|
38
66
|
}
|
39
67
|
|
40
68
|
.footer {
|
41
|
-
clear: left;
|
42
69
|
text-align: right;
|
43
70
|
}
|
44
71
|
|
45
|
-
|
72
|
+
.close {
|
46
73
|
@include cancel-icon;
|
47
74
|
@include icon-button;
|
48
75
|
}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
.disabled_atmo_indicator {
|
2
|
-
@include background-icon-center($color:
|
2
|
+
@include background-icon-center($color: var(--ui-on-primary-color), $font-size: 30px);
|
3
3
|
@include mute-icon;
|
4
4
|
|
5
|
-
background-color:
|
5
|
+
background-color: var(--ui-on-surface-color-light);
|
6
6
|
border-radius: 5px;
|
7
7
|
width: 50px;
|
8
8
|
height: 50px;
|
@@ -10,4 +10,4 @@
|
|
10
10
|
&:hover {
|
11
11
|
opacity: 0.5;
|
12
12
|
}
|
13
|
-
}
|
13
|
+
}
|
@@ -1,8 +1,3 @@
|
|
1
|
-
$drop-down-button-menu-background-color: #eee !default;
|
2
|
-
$drop-down-button-menu-active-item-background-color: #ddd !default;
|
3
|
-
$drop-down-button-menu-disabled-item-text-color: #ddd !default;
|
4
|
-
$drop-down-button-menu-border-color: #aaa !default;
|
5
|
-
|
6
1
|
.drop_down_button {
|
7
2
|
display: inline-block;
|
8
3
|
position: relative;
|
@@ -25,8 +20,10 @@ $drop-down-button-menu-border-color: #aaa !default;
|
|
25
20
|
position: absolute;
|
26
21
|
z-index: 1;
|
27
22
|
padding: 1px;
|
28
|
-
border: solid 1px
|
29
|
-
|
23
|
+
border: solid 1px var(--ui-on-surface-color-lighter);
|
24
|
+
border-radius: rounded(sm);
|
25
|
+
box-shadow: var(--ui-box-shadow);
|
26
|
+
background-color: var(--ui-surface-color);
|
30
27
|
|
31
28
|
&.is_visible {
|
32
29
|
@include transition(visibility 0ms, opacity 100ms);
|
@@ -47,7 +44,7 @@ $drop-down-button-menu-border-color: #aaa !default;
|
|
47
44
|
cursor: pointer;
|
48
45
|
|
49
46
|
&:hover {
|
50
|
-
background-color:
|
47
|
+
background-color: var(--ui-selection-color-light);
|
51
48
|
}
|
52
49
|
}
|
53
50
|
|
@@ -66,7 +63,7 @@ $drop-down-button-menu-border-color: #aaa !default;
|
|
66
63
|
}
|
67
64
|
|
68
65
|
&.is_disabled a {
|
69
|
-
|
66
|
+
opacity: 0.5;
|
70
67
|
|
71
68
|
&:hover {
|
72
69
|
background-color: inherit;
|
@@ -83,7 +80,7 @@ $drop-down-button-menu-border-color: #aaa !default;
|
|
83
80
|
}
|
84
81
|
|
85
82
|
ul {
|
86
|
-
border-bottom: solid 1px
|
83
|
+
border-bottom: solid 1px var(--ui-on-surface-color-lighter);
|
87
84
|
padding-bottom: 1px;
|
88
85
|
margin-bottom: 1px;
|
89
86
|
}
|
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
&-desktop_icon,
|
12
12
|
&-phone_icon {
|
13
|
-
@include background-icon-center($color:
|
13
|
+
@include background-icon-center($color: var(--ui-on-surface-color), $font-size: 16px);
|
14
14
|
width: 40px;
|
15
15
|
height: 100%;
|
16
16
|
}
|
@@ -28,19 +28,19 @@
|
|
28
28
|
&-track,
|
29
29
|
&-thumb {
|
30
30
|
position: absolute;
|
31
|
-
background-color: #1976d2;
|
32
31
|
}
|
33
32
|
|
34
33
|
&-track {
|
34
|
+
background-color: var(--ui-on-surface-color-lighter);
|
35
35
|
top: 8px;
|
36
36
|
left: 40px;
|
37
37
|
border-radius: 7px;
|
38
|
-
opacity: 0.5;
|
39
38
|
width: 34px;
|
40
39
|
height: 14px;
|
41
40
|
}
|
42
41
|
|
43
42
|
&-thumb {
|
43
|
+
background-color: var(--ui-primary-color);
|
44
44
|
top: 5px;
|
45
45
|
left: 37px;
|
46
46
|
width: 20px;
|
@@ -58,10 +58,5 @@
|
|
58
58
|
.emulation_mode_button-wrapper {
|
59
59
|
opacity: 0.4;
|
60
60
|
}
|
61
|
-
|
62
|
-
.emulation_mode_button-track,
|
63
|
-
.emulation_mode_button-thumb {
|
64
|
-
background-color: #000;
|
65
|
-
}
|
66
61
|
}
|
67
62
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
.failure {
|
2
|
-
@include background-icon-left($color:
|
2
|
+
@include background-icon-left($color: var(--ui-error-color), $top: 25px);
|
3
3
|
@include attention-icon;
|
4
4
|
|
5
5
|
padding: 10px 0 0 40px;
|
@@ -20,7 +20,7 @@
|
|
20
20
|
|
21
21
|
.failure_icon {
|
22
22
|
@include attention-icon;
|
23
|
-
@include background-icon-center($color:
|
23
|
+
@include background-icon-center($color: var(--ui-error-color));
|
24
24
|
|
25
25
|
display: none;
|
26
26
|
position: absolute;
|
@@ -33,4 +33,4 @@
|
|
33
33
|
.failed > ul.menu > li > .failure_icon,
|
34
34
|
.failed > a > .failure_icon {
|
35
35
|
display: block;
|
36
|
-
}
|
36
|
+
}
|
@@ -1,12 +1,7 @@
|
|
1
|
-
|
2
1
|
.choose_importer_box {
|
3
|
-
|
4
|
-
|
5
|
-
left: 10px;
|
6
|
-
bottom: 20px;
|
7
|
-
right: 20px;
|
2
|
+
min-width: 500px;
|
3
|
+
min-height: 400px;
|
8
4
|
max-width: 1100px;
|
9
|
-
height: 75vh;
|
10
5
|
|
11
6
|
.content {
|
12
7
|
display: table;
|
@@ -17,12 +12,8 @@
|
|
17
12
|
}
|
18
13
|
|
19
14
|
.footer {
|
20
|
-
position: absolute;
|
21
|
-
bottom: 10px;
|
22
|
-
right: 10px;
|
23
|
-
|
24
15
|
.close {
|
25
|
-
@include icon-button
|
16
|
+
@include icon-button;
|
26
17
|
}
|
27
18
|
}
|
28
19
|
}
|
@@ -35,9 +26,16 @@
|
|
35
26
|
vertical-align: middle;
|
36
27
|
|
37
28
|
button.importer {
|
38
|
-
|
29
|
+
border: 0;
|
30
|
+
border-radius: rounded();
|
31
|
+
padding: space(4);
|
39
32
|
font-size: 16px;
|
40
33
|
cursor: pointer;
|
34
|
+
background-color: var(--ui-surface-color);
|
35
|
+
|
36
|
+
&:hover {
|
37
|
+
background-color: var(--ui-selection-color-lighter);
|
38
|
+
}
|
41
39
|
}
|
42
40
|
}
|
43
41
|
}
|
@@ -63,48 +61,34 @@
|
|
63
61
|
left: 10px;
|
64
62
|
bottom: 20px;
|
65
63
|
right: 20px;
|
64
|
+
min-width: 880px;
|
66
65
|
max-width: 1100px;
|
67
66
|
height: 75vh;
|
68
67
|
|
69
68
|
.content_panel {
|
69
|
+
min-height: 0;
|
70
|
+
flex: 1;
|
70
71
|
width: 100%;
|
71
72
|
}
|
72
73
|
|
73
74
|
.footer {
|
74
|
-
width: 100%;
|
75
|
-
position: absolute;
|
76
|
-
bottom: 20px;
|
77
|
-
right: 23px;
|
78
|
-
margin-bottom: -15px;
|
79
75
|
.import {
|
80
|
-
@include icon-button();
|
76
|
+
@include icon-button("primary");
|
77
|
+
@include down-icon;
|
81
78
|
}
|
82
79
|
|
83
80
|
.close {
|
84
|
-
@include icon-button
|
81
|
+
@include icon-button;
|
85
82
|
}
|
86
83
|
}
|
87
84
|
|
88
85
|
.disclaimer {
|
86
|
+
@include background-icon-left($color: var(--ui-on-surface-color));
|
89
87
|
@include info-circled-icon;
|
90
|
-
text-align: left;
|
91
|
-
font-size: 25px;
|
92
88
|
position: absolute;
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
background-color: #a9a9a959;
|
98
|
-
|
99
|
-
&:hover {
|
100
|
-
width: 75%;
|
101
|
-
}
|
102
|
-
|
103
|
-
p {
|
104
|
-
position: absolute;
|
105
|
-
top: 5px;
|
106
|
-
left: 30px;
|
107
|
-
font-size: 0.4em;
|
108
|
-
}
|
89
|
+
text-align: left;
|
90
|
+
font-size: 10px;
|
91
|
+
width: 60%;
|
92
|
+
padding-left: space(10);
|
109
93
|
}
|
110
94
|
}
|
@@ -1,7 +1,3 @@
|
|
1
|
-
$file-meta-data-label-color: #888 !default;
|
2
|
-
$file-meta-data-icon-link-color: #555 !default;
|
3
|
-
$file-meta-data-active-icon-link-color: #000 !default;
|
4
|
-
|
5
1
|
.file_meta_data {
|
6
2
|
margin-left: -65px;
|
7
3
|
white-space: normal;
|
@@ -22,7 +18,7 @@ $file-meta-data-active-icon-link-color: #000 !default;
|
|
22
18
|
font-weight: normal;
|
23
19
|
text-align: right;
|
24
20
|
font-size: 11px;
|
25
|
-
color:
|
21
|
+
color: var(--ui-on-surface-color-light);
|
26
22
|
}
|
27
23
|
|
28
24
|
td {
|
@@ -35,7 +31,7 @@ $file-meta-data-active-icon-link-color: #000 !default;
|
|
35
31
|
|
36
32
|
.edit {
|
37
33
|
@include background-icon-center($font-size: 15px,
|
38
|
-
$color:
|
34
|
+
$color: var(--ui-primary-color-light));
|
39
35
|
@include pencil-icon;
|
40
36
|
|
41
37
|
display: inline-block;
|
@@ -45,7 +41,7 @@ $file-meta-data-active-icon-link-color: #000 !default;
|
|
45
41
|
margin-top: -2px;
|
46
42
|
|
47
43
|
&:hover {
|
48
|
-
@include background-icon-color(
|
44
|
+
@include background-icon-color(var(--ui-primary-color));
|
49
45
|
}
|
50
46
|
}
|
51
47
|
}
|
@@ -1,29 +1,9 @@
|
|
1
1
|
&.file_settings_dialog {
|
2
2
|
.box {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
right: 20px;
|
8
|
-
max-width: 1100px;
|
9
|
-
max-height: 800px;
|
10
|
-
background-color: #eee;
|
11
|
-
}
|
12
|
-
|
13
|
-
.content {
|
14
|
-
position: absolute;
|
15
|
-
top: 20px;
|
16
|
-
right: 20px;
|
17
|
-
bottom: 50px;
|
18
|
-
left: 20px;
|
19
|
-
overflow: auto;
|
20
|
-
}
|
21
|
-
|
22
|
-
.footer {
|
23
|
-
position: absolute;
|
24
|
-
right: 20px;
|
25
|
-
bottom: 10px;
|
26
|
-
left: 20px;
|
3
|
+
min-width: 500px;
|
4
|
+
min-height: 400px;
|
5
|
+
max-width: 800px;
|
6
|
+
max-height: 600px;
|
27
7
|
}
|
28
8
|
|
29
9
|
.edit_file {
|