pages_core 3.14.0 → 3.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/app/assets/builds/fonts/6569749d.ttf +0 -0
- data/app/assets/builds/fonts/7b7db107.woff2 +0 -0
- data/app/assets/builds/fonts/921961e9.woff2 +0 -0
- data/app/assets/builds/fonts/ee32bc60.ttf +0 -0
- data/app/assets/builds/pages_core/admin-dist.js +19 -8
- data/app/assets/builds/pages_core/admin-dist.js.map +4 -4
- data/app/assets/builds/pages_core/admin.css +699 -394
- data/app/assets/builds/pages_core/mailer.css +99 -0
- data/app/assets/fonts/Inter-Black.woff2 +0 -0
- data/app/assets/fonts/Inter-BlackItalic.woff2 +0 -0
- data/app/assets/fonts/Inter-Bold.woff2 +0 -0
- data/app/assets/fonts/Inter-BoldItalic.woff2 +0 -0
- data/app/assets/fonts/Inter-ExtraBold.woff2 +0 -0
- data/app/assets/fonts/Inter-ExtraBoldItalic.woff2 +0 -0
- data/app/assets/fonts/Inter-ExtraLight.woff2 +0 -0
- data/app/assets/fonts/Inter-ExtraLightItalic.woff2 +0 -0
- data/app/assets/fonts/Inter-Italic.woff2 +0 -0
- data/app/assets/fonts/Inter-Light.woff2 +0 -0
- data/app/assets/fonts/Inter-LightItalic.woff2 +0 -0
- data/app/assets/fonts/Inter-Medium.woff2 +0 -0
- data/app/assets/fonts/Inter-MediumItalic.woff2 +0 -0
- data/app/assets/fonts/Inter-Regular.woff2 +0 -0
- data/app/assets/fonts/Inter-SemiBold.woff2 +0 -0
- data/app/assets/fonts/Inter-SemiBoldItalic.woff2 +0 -0
- data/app/assets/fonts/Inter-Thin.woff2 +0 -0
- data/app/assets/fonts/Inter-ThinItalic.woff2 +0 -0
- data/app/assets/fonts/InterDisplay-Black.woff2 +0 -0
- data/app/assets/fonts/InterDisplay-BlackItalic.woff2 +0 -0
- data/app/assets/fonts/InterDisplay-Bold.woff2 +0 -0
- data/app/assets/fonts/InterDisplay-BoldItalic.woff2 +0 -0
- data/app/assets/fonts/InterDisplay-ExtraBold.woff2 +0 -0
- data/app/assets/fonts/InterDisplay-ExtraBoldItalic.woff2 +0 -0
- data/app/assets/fonts/InterDisplay-ExtraLight.woff2 +0 -0
- data/app/assets/fonts/InterDisplay-ExtraLightItalic.woff2 +0 -0
- data/app/assets/fonts/InterDisplay-Italic.woff2 +0 -0
- data/app/assets/fonts/InterDisplay-Light.woff2 +0 -0
- data/app/assets/fonts/InterDisplay-LightItalic.woff2 +0 -0
- data/app/assets/fonts/InterDisplay-Medium.woff2 +0 -0
- data/app/assets/fonts/InterDisplay-MediumItalic.woff2 +0 -0
- data/app/assets/fonts/InterDisplay-Regular.woff2 +0 -0
- data/app/assets/fonts/InterDisplay-SemiBold.woff2 +0 -0
- data/app/assets/fonts/InterDisplay-SemiBoldItalic.woff2 +0 -0
- data/app/assets/fonts/InterDisplay-Thin.woff2 +0 -0
- data/app/assets/fonts/InterDisplay-ThinItalic.woff2 +0 -0
- data/app/assets/fonts/InterVariable-Italic.woff2 +0 -0
- data/app/assets/fonts/InterVariable.woff2 +0 -0
- data/app/assets/stylesheets/pages_core/admin/components/archive.css +1 -1
- data/app/assets/stylesheets/pages_core/admin/components/attachments.css +22 -34
- data/app/assets/stylesheets/pages_core/admin/components/base.css +1 -68
- data/app/assets/stylesheets/pages_core/admin/components/forms.css +109 -48
- data/app/assets/stylesheets/pages_core/admin/components/header.css +56 -58
- data/app/assets/stylesheets/pages_core/admin/components/image_editor.css +35 -24
- data/app/assets/stylesheets/pages_core/admin/components/image_grid.css +28 -27
- data/app/assets/stylesheets/pages_core/admin/components/image_uploader.css +5 -5
- data/app/assets/stylesheets/pages_core/admin/components/layout.css +7 -1
- data/app/assets/stylesheets/pages_core/admin/components/list_table.css +24 -15
- data/app/assets/stylesheets/pages_core/admin/components/page_tree.css +63 -104
- data/app/assets/stylesheets/pages_core/admin/components/pagination.css +12 -13
- data/app/assets/stylesheets/pages_core/admin/components/search.css +1 -16
- data/app/assets/stylesheets/pages_core/admin/components/sidebar.css +5 -11
- data/app/assets/stylesheets/pages_core/admin/components/tag_editor.css +22 -36
- data/app/assets/stylesheets/pages_core/admin/components/toast.css +1 -2
- data/app/assets/stylesheets/pages_core/admin/components/toolbar.css +10 -10
- data/app/assets/stylesheets/pages_core/admin/components/totp.css +1 -1
- data/app/assets/stylesheets/pages_core/admin/controllers/pages.css +37 -51
- data/app/assets/stylesheets/pages_core/admin/global/fonts.css +271 -0
- data/app/assets/stylesheets/pages_core/admin/global/typography.css +109 -0
- data/app/assets/stylesheets/pages_core/admin/vars.css +1 -3
- data/app/assets/stylesheets/pages_core/{admin.postcss.css → admin.css} +1 -0
- data/app/assets/stylesheets/pages_core/mailer.css +90 -0
- data/app/controllers/admin/account_recoveries_controller.rb +2 -2
- data/app/controllers/admin/pages_controller.rb +22 -42
- data/app/controllers/concerns/pages_core/error_reporting.rb +1 -1
- data/app/controllers/concerns/pages_core/page_parameters.rb +29 -0
- data/app/controllers/concerns/pages_core/policies_helper.rb +1 -1
- data/app/controllers/concerns/pages_core/preview_pages_controller.rb +20 -20
- data/app/controllers/pages_core/admin_controller.rb +0 -2
- data/app/controllers/pages_core/frontend/pages_controller.rb +2 -6
- data/app/formatters/pages_core/html_formatter.rb +2 -4
- data/app/helpers/admin/menu_helper.rb +5 -4
- data/app/helpers/admin/pages_helper.rb +1 -21
- data/app/helpers/pages_core/admin/admin_helper.rb +2 -3
- data/app/helpers/pages_core/admin/content_tabs_helper.rb +1 -2
- data/app/helpers/pages_core/admin/labelled_field_helper.rb +1 -1
- data/app/helpers/pages_core/attachments_helper.rb +1 -1
- data/app/helpers/pages_core/frontend_helper.rb +1 -1
- data/app/helpers/pages_core/images_helper.rb +10 -8
- data/app/helpers/pages_core/labelled_form_builder.rb +2 -7
- data/app/helpers/pages_core/page_path_helper.rb +1 -1
- data/app/javascript/components/Attachments/Attachment.tsx +20 -18
- data/app/javascript/components/Attachments/AttachmentEditor.tsx +11 -9
- data/app/javascript/components/{Attachments.jsx → Attachments/List.tsx} +58 -63
- data/app/javascript/components/Attachments/useAttachments.ts +15 -0
- data/app/javascript/components/Attachments.tsx +14 -0
- data/app/javascript/components/DateRangeSelect.tsx +105 -0
- data/app/javascript/components/DateTimeSelect.tsx +136 -0
- data/app/javascript/components/EditableImage.tsx +11 -9
- data/app/javascript/components/FileUploadButton.tsx +7 -7
- data/app/javascript/components/ImageCropper/FocalPoint.tsx +9 -12
- data/app/javascript/components/ImageCropper/Image.tsx +10 -8
- data/app/javascript/components/ImageCropper/Toolbar.tsx +11 -12
- data/app/javascript/components/ImageCropper/useCrop.ts +24 -53
- data/app/javascript/components/ImageCropper.tsx +10 -15
- data/app/javascript/components/ImageEditor/Form.tsx +12 -8
- data/app/javascript/components/ImageEditor.tsx +12 -7
- data/app/javascript/components/ImageGrid/DragElement.tsx +9 -12
- data/app/javascript/components/{ImageGrid.jsx → ImageGrid/Grid.tsx} +62 -71
- data/app/javascript/components/ImageGrid/GridImage.tsx +22 -23
- data/app/javascript/components/ImageGrid/Placeholder.tsx +2 -2
- data/app/javascript/components/ImageGrid/useImageGrid.ts +26 -0
- data/app/javascript/components/ImageGrid.tsx +15 -0
- data/app/javascript/components/ImageUploader.tsx +35 -22
- data/app/javascript/components/LabelledField.tsx +34 -0
- data/app/javascript/components/Modal.tsx +2 -2
- data/app/javascript/components/PageForm/Block.tsx +81 -0
- data/app/javascript/components/PageForm/Content.tsx +54 -0
- data/app/javascript/components/PageForm/Dates.tsx +66 -0
- data/app/javascript/components/PageForm/Files.tsx +28 -0
- data/app/javascript/components/PageForm/Form.tsx +41 -0
- data/app/javascript/components/PageForm/Images.tsx +28 -0
- data/app/javascript/components/PageForm/LocaleLinks.tsx +36 -0
- data/app/javascript/components/PageForm/Metadata.tsx +67 -0
- data/app/javascript/components/PageForm/Options.tsx +180 -0
- data/app/javascript/components/PageForm/PageDescription.tsx +48 -0
- data/app/javascript/components/PageForm/PathSegment.tsx +65 -0
- data/app/javascript/components/PageForm/TabPanel.tsx +21 -0
- data/app/javascript/components/PageForm/Tabs.tsx +33 -0
- data/app/javascript/components/PageForm/UnconfiguredContent.tsx +42 -0
- data/app/javascript/components/PageForm/pageParams.ts +95 -0
- data/app/javascript/components/PageForm/preview.ts +23 -0
- data/app/javascript/components/PageForm/usePage.ts +169 -0
- data/app/javascript/components/PageForm/useTabs.ts +46 -0
- data/app/javascript/components/PageForm.tsx +169 -0
- data/app/javascript/components/PageImages.tsx +7 -9
- data/app/javascript/components/PageTree/Draggable.tsx +40 -39
- data/app/javascript/components/PageTree/Node.tsx +62 -56
- data/app/javascript/components/PageTree/PageName.tsx +28 -0
- data/app/javascript/components/PageTree.tsx +65 -53
- data/app/javascript/components/{RichTextArea.jsx → RichTextArea.tsx} +98 -79
- data/app/javascript/components/RichTextToolbarButton.tsx +4 -6
- data/app/javascript/components/TagEditor/AddTagForm.tsx +19 -12
- data/app/javascript/components/TagEditor/Editor.tsx +32 -0
- data/app/javascript/components/TagEditor/Tag.tsx +6 -4
- data/app/javascript/components/TagEditor/useTags.ts +58 -0
- data/app/javascript/components/TagEditor.tsx +8 -58
- data/app/javascript/components/Toast.tsx +3 -3
- data/app/javascript/components/drag/draggedOrder.ts +22 -14
- data/app/javascript/components/drag/useDragCollection.ts +35 -30
- data/app/javascript/components/drag/useDragUploader.ts +32 -21
- data/app/javascript/components/drag/useDraggable.ts +7 -6
- data/app/javascript/components/drag.ts +0 -1
- data/app/javascript/components.ts +1 -3
- data/app/javascript/features/RichText.tsx +2 -3
- data/app/javascript/features/contentTabs.ts +79 -0
- data/app/javascript/index.ts +5 -12
- data/app/javascript/lib/Tree.ts +31 -45
- data/app/javascript/lib/request.ts +11 -11
- data/app/javascript/stores/useToastStore.ts +1 -1
- data/app/javascript/types/Attachments.ts +29 -0
- data/app/javascript/types/Crop.ts +36 -0
- data/app/javascript/types/Drag.ts +34 -0
- data/app/javascript/types/Images.ts +47 -0
- data/app/javascript/types/PageEditor.ts +26 -0
- data/app/javascript/types/Pages.ts +75 -0
- data/app/javascript/types/Tags.ts +9 -0
- data/app/javascript/types/Template.ts +24 -0
- data/app/javascript/types/Trees.ts +19 -0
- data/app/javascript/types.ts +2 -25
- data/app/mailers/admin_mailer.rb +5 -9
- data/app/models/attachment.rb +1 -1
- data/app/models/autopublisher.rb +1 -1
- data/app/models/concerns/pages_core/authenticable_user.rb +63 -0
- data/app/models/concerns/pages_core/emailable.rb +16 -0
- data/app/models/concerns/pages_core/page_model/dated_page.rb +3 -3
- data/app/models/concerns/pages_core/page_model/templateable.rb +2 -16
- data/app/models/concerns/pages_core/taggable.rb +2 -19
- data/app/models/invite.rb +2 -6
- data/app/models/otp_secret.rb +4 -4
- data/app/models/page.rb +0 -3
- data/app/models/user.rb +2 -46
- data/app/policies/page_policy.rb +6 -2
- data/app/resources/admin/page_resource.rb +95 -0
- data/app/resources/admin/page_tree_resource.rb +27 -0
- data/app/resources/admin/template_configuration_resource.rb +50 -0
- data/app/views/admin/news/_sidebar.html.erb +2 -4
- data/app/views/admin/news/index.html.erb +0 -1
- data/app/views/admin/pages/_form.html.erb +10 -30
- data/app/views/admin/pages/_search_bar.html.erb +1 -1
- data/app/views/admin/pages/edit.html.erb +1 -57
- data/app/views/admin/pages/index.html.erb +1 -1
- data/app/views/admin/pages/new.html.erb +1 -44
- data/app/views/admin/sessions/new.html.erb +9 -11
- data/app/views/admin/users/_access_control.html.erb +5 -1
- data/app/views/admin/users/_list.html.erb +12 -7
- data/app/views/admin_mailer/account_recovery.html.erb +20 -0
- data/app/views/admin_mailer/invite.html.erb +11 -0
- data/app/views/layouts/admin/_header.html.erb +2 -4
- data/app/views/layouts/admin/_page_header.html.erb +1 -2
- data/app/views/layouts/admin.html.erb +1 -1
- data/app/views/layouts/pages_core/mailer.html.erb +11 -0
- data/config/locales/en.yml +0 -4
- data/config/routes.rb +3 -7
- data/db/migrate/20240126160700_add_2fa_fields.rb +5 -1
- data/db/migrate/20240131140700_change_email_to_citext.rb +18 -0
- data/db/migrate/20240201160700_remove_persistent_data.rb +7 -0
- data/db/migrate/20240508145300_remove_categories.rb +21 -0
- data/lib/pages_core/configuration/base.rb +2 -2
- data/lib/pages_core/engine.rb +1 -0
- data/lib/pages_core/templates/configuration.rb +1 -1
- data/lib/pages_core/templates/configuration_proxy.rb +2 -2
- data/lib/pages_core/templates/template_configuration.rb +11 -1
- data/lib/pages_core/templates.rb +6 -4
- data/lib/pages_core/version.rb +1 -1
- data/lib/pages_core.rb +1 -0
- data/lib/rails/generators/pages_core/frontend/templates/javascript/lib/gridOverlay.ts +6 -7
- data/lib/rails/generators/pages_core/frontend/templates/javascript/lib/responsiveEmbeds.ts +17 -12
- data/lib/rails/generators/pages_core/rspec/rspec_generator.rb +0 -2
- data/lib/rails/generators/pages_core/rspec/templates/rails_helper.rb +3 -4
- metadata +119 -36
- data/app/assets/builds/fonts/2a3059ad.ttf +0 -0
- data/app/assets/builds/fonts/47262711.woff2 +0 -0
- data/app/assets/builds/fonts/500ddeb0.woff2 +0 -0
- data/app/assets/builds/fonts/81221036.ttf +0 -0
- data/app/assets/stylesheets/pages_core/admin/components/login.css +0 -27
- data/app/controllers/admin/categories_controller.rb +0 -56
- data/app/controllers/concerns/pages_core/admin/persistent_params.rb +0 -75
- data/app/helpers/pages_core/admin/page_blocks_helper.rb +0 -66
- data/app/helpers/pages_core/admin/page_json_helper.rb +0 -23
- data/app/javascript/components/DateRangeSelect.jsx +0 -225
- data/app/javascript/components/PageDates.jsx +0 -73
- data/app/javascript/components/PageFiles.jsx +0 -25
- data/app/javascript/components/PageTree/types.ts +0 -15
- data/app/javascript/components/drag/types.ts +0 -28
- data/app/javascript/controllers/EditPageController.ts +0 -22
- data/app/javascript/controllers/MainController.ts +0 -74
- data/app/javascript/controllers/PageOptionsController.js +0 -67
- data/app/models/category.rb +0 -22
- data/app/models/concerns/pages_core/has_otp.rb +0 -27
- data/app/models/page_category.rb +0 -6
- data/app/views/admin/pages/_edit_content.html.erb +0 -19
- data/app/views/admin/pages/_edit_files.html.erb +0 -4
- data/app/views/admin/pages/_edit_images.html.erb +0 -4
- data/app/views/admin/pages/_edit_metadata.html.erb +0 -35
- data/app/views/admin/pages/_edit_options.html.erb +0 -91
- data/app/views/admin_mailer/account_recovery.text.erb +0 -10
- data/app/views/admin_mailer/invite.text.erb +0 -7
- data/lib/rails/generators/pages_core/rspec/templates/mailer_macros.rb +0 -11
@@ -1,39 +1,41 @@
|
|
1
1
|
.tag-editor {
|
2
|
-
margin-top:
|
3
|
-
margin-bottom: 1.
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
font-size: 13px;
|
2
|
+
margin-top: 0.5rem;
|
3
|
+
margin-bottom: 1.5rem;
|
4
|
+
display: flex;
|
5
|
+
flex-wrap: wrap;
|
6
|
+
gap: 0.5rem;
|
7
|
+
|
8
|
+
.tag {
|
9
|
+
font-size: 1rem;
|
11
10
|
cursor: pointer;
|
12
|
-
display: block;
|
13
|
-
float: left;
|
14
|
-
margin: 0 5px 5px 0;
|
15
11
|
padding: 0px;
|
16
12
|
background: var(--background-disabled-color);
|
17
13
|
border-radius: 5px;
|
18
|
-
line-height: 26px;
|
19
|
-
line-height: 36px;
|
20
14
|
min-width: 40px;
|
15
|
+
height: 2rem;
|
21
16
|
transition: all 200ms ease-out;
|
22
17
|
user-select: none;
|
18
|
+
display: flex;
|
23
19
|
|
24
|
-
|
20
|
+
label {
|
21
|
+
display: flex;
|
25
22
|
margin: 0px;
|
26
23
|
padding: 0px 10px;
|
27
24
|
color: inherit;
|
25
|
+
align-items: center;
|
26
|
+
gap: 0.5rem;
|
28
27
|
}
|
29
28
|
|
30
|
-
|
31
|
-
margin: 2px 3px 0 0
|
29
|
+
input {
|
30
|
+
/*margin: 2px 3px 0 0;*/
|
32
31
|
}
|
33
32
|
|
34
|
-
|
35
|
-
|
36
|
-
|
33
|
+
.name {
|
34
|
+
}
|
35
|
+
|
36
|
+
&:hover,
|
37
|
+
&:focus {
|
38
|
+
background: var(--background-highlight-color);
|
37
39
|
}
|
38
40
|
|
39
41
|
&.enabled {
|
@@ -41,20 +43,4 @@
|
|
41
43
|
background: var(--blue-dark);
|
42
44
|
}
|
43
45
|
}
|
44
|
-
|
45
|
-
& .add-tag-form {
|
46
|
-
float: left;
|
47
|
-
width: 178px;
|
48
|
-
white-space: nowrap;
|
49
|
-
}
|
50
|
-
|
51
|
-
& input.add-tag {
|
52
|
-
margin-top: 0px;
|
53
|
-
border-radius: 5px;
|
54
|
-
margin: 0 4px 0 0;
|
55
|
-
|
56
|
-
&.example {
|
57
|
-
color: var(--text-light-color);
|
58
|
-
}
|
59
|
-
}
|
60
46
|
}
|
@@ -15,27 +15,27 @@
|
|
15
15
|
clear: both;
|
16
16
|
}
|
17
17
|
|
18
|
-
|
18
|
+
li {
|
19
19
|
list-style: none;
|
20
20
|
margin: 0;
|
21
21
|
padding: 0;
|
22
22
|
}
|
23
23
|
|
24
|
-
|
24
|
+
.info {
|
25
25
|
float: right;
|
26
26
|
color: var(--text-lighter-color);
|
27
27
|
padding: 0px 10px;
|
28
28
|
}
|
29
29
|
|
30
|
-
|
30
|
+
.label {
|
31
31
|
float: left;
|
32
32
|
padding: 0px 10px;
|
33
33
|
color: var(--text-light-color);
|
34
34
|
border-right: 1px solid var(--border-color);
|
35
35
|
}
|
36
36
|
|
37
|
-
|
38
|
-
|
37
|
+
.button,
|
38
|
+
button {
|
39
39
|
float: left;
|
40
40
|
display: inline;
|
41
41
|
margin: 0px;
|
@@ -51,12 +51,12 @@
|
|
51
51
|
border-left: 1px solid #fff;
|
52
52
|
border-right: 1px solid var(--border-color);
|
53
53
|
color: var(--text-light-color);
|
54
|
-
font-size:
|
54
|
+
font-size: 0.875rem;
|
55
55
|
background-color: #f8f8f8;
|
56
56
|
transition: all 200ms ease-out;
|
57
57
|
|
58
|
-
|
59
|
-
font-size:
|
58
|
+
i.fa {
|
59
|
+
font-size: 1rem;
|
60
60
|
}
|
61
61
|
|
62
62
|
&:focus,
|
@@ -87,11 +87,11 @@
|
|
87
87
|
&.header {
|
88
88
|
vertical-align: bottom;
|
89
89
|
|
90
|
-
|
90
|
+
i {
|
91
91
|
margin-left: -6px;
|
92
92
|
}
|
93
93
|
|
94
|
-
|
94
|
+
i:after {
|
95
95
|
font-family: var(--font-os-sans);
|
96
96
|
font-weight: bold;
|
97
97
|
font-size: 13px;
|
@@ -24,42 +24,42 @@ td.drag-handle {
|
|
24
24
|
margin-left: -8px;
|
25
25
|
margin-top: 16px;
|
26
26
|
|
27
|
-
|
27
|
+
.page-listing {
|
28
28
|
border: 1px solid transparent;
|
29
29
|
padding: 3px 8px 2px 8px !important;
|
30
30
|
}
|
31
31
|
|
32
|
-
|
32
|
+
ul {
|
33
33
|
border-left: 1px dotted #ccc !important;
|
34
34
|
margin-left: 12px !important;
|
35
35
|
padding-left: 8px !important;
|
36
36
|
}
|
37
37
|
|
38
|
-
|
38
|
+
ul li {
|
39
39
|
overflow: auto;
|
40
40
|
}
|
41
41
|
|
42
|
-
|
42
|
+
.page {
|
43
43
|
padding: 4px 8px;
|
44
44
|
line-height: 17px;
|
45
45
|
float: left;
|
46
46
|
|
47
|
-
|
47
|
+
.status {
|
48
48
|
font-weight: normal;
|
49
49
|
}
|
50
50
|
|
51
|
-
|
52
|
-
|
51
|
+
a.page-name,
|
52
|
+
a.page-name:visited {
|
53
53
|
text-decoration: none;
|
54
54
|
color: #222;
|
55
55
|
}
|
56
56
|
|
57
|
-
|
57
|
+
a.page-name:hover {
|
58
58
|
text-decoration: underline;
|
59
59
|
}
|
60
60
|
|
61
61
|
&.hidden {
|
62
|
-
|
62
|
+
a.page-name {
|
63
63
|
color: #666;
|
64
64
|
}
|
65
65
|
}
|
@@ -68,30 +68,30 @@ td.drag-handle {
|
|
68
68
|
background: #ffd;
|
69
69
|
border: 1px solid #dda;
|
70
70
|
|
71
|
-
|
71
|
+
.status {
|
72
72
|
display: none;
|
73
73
|
}
|
74
74
|
}
|
75
75
|
}
|
76
76
|
|
77
|
-
|
77
|
+
.page-without-locale {
|
78
78
|
color: #888;
|
79
79
|
}
|
80
80
|
|
81
|
-
|
82
|
-
font-weight: bold;
|
81
|
+
li {
|
82
|
+
font-weight: var(--bold-weight);
|
83
83
|
margin: 0;
|
84
84
|
padding: 0;
|
85
85
|
clear: both;
|
86
86
|
}
|
87
87
|
|
88
|
-
|
88
|
+
li li {
|
89
89
|
font-weight: normal;
|
90
90
|
font-size: 12px;
|
91
91
|
padding: 0;
|
92
92
|
}
|
93
93
|
|
94
|
-
|
94
|
+
ul {
|
95
95
|
clear: both;
|
96
96
|
list-style-type: none;
|
97
97
|
border-left: 1px dashed #ccc;
|
@@ -99,11 +99,11 @@ td.drag-handle {
|
|
99
99
|
padding: 0 0 0 12px;
|
100
100
|
}
|
101
101
|
|
102
|
-
|
102
|
+
.hover {
|
103
103
|
background: #cef;
|
104
104
|
}
|
105
105
|
|
106
|
-
|
106
|
+
.drag-handle {
|
107
107
|
display: none;
|
108
108
|
}
|
109
109
|
|
@@ -114,28 +114,28 @@ td.drag-handle {
|
|
114
114
|
|
115
115
|
.news-item-list,
|
116
116
|
.calendar-item-list {
|
117
|
-
|
117
|
+
.name {
|
118
118
|
line-height: 1.5;
|
119
119
|
|
120
|
-
|
120
|
+
small {
|
121
121
|
font-weight: normal;
|
122
122
|
}
|
123
123
|
}
|
124
124
|
|
125
|
-
|
125
|
+
.autopublish-notice {
|
126
126
|
font-size: 0.75rem;
|
127
127
|
font-weight: normal;
|
128
128
|
color: var(--text-light-color);
|
129
129
|
}
|
130
130
|
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
131
|
+
.draft,
|
132
|
+
.hidden,
|
133
|
+
.autopublish,
|
134
|
+
.reviewed {
|
135
135
|
background: var(--background-disabled-color);
|
136
136
|
}
|
137
137
|
|
138
|
-
|
138
|
+
.pinned .name {
|
139
139
|
background: transparent
|
140
140
|
radial-gradient(ellipse at center, #92b6c4 50%, transparent 50%) no-repeat
|
141
141
|
left 12px top 50%;
|
@@ -146,32 +146,18 @@ td.drag-handle {
|
|
146
146
|
.edit-page {
|
147
147
|
width: auto;
|
148
148
|
|
149
|
-
|
150
|
-
|
149
|
+
.advanced-options {
|
150
|
+
margin-top: 1.5rem;
|
151
151
|
}
|
152
152
|
|
153
|
-
|
154
|
-
|
155
|
-
}
|
156
|
-
|
157
|
-
& .autopublish-notice,
|
158
|
-
& .published-date,
|
159
|
-
& .advanced-options {
|
160
|
-
display: none;
|
161
|
-
|
162
|
-
&.show {
|
163
|
-
display: block;
|
164
|
-
}
|
165
|
-
}
|
166
|
-
|
167
|
-
& main input[type="text"],
|
168
|
-
& main textarea {
|
153
|
+
main input[type="text"],
|
154
|
+
main textarea {
|
169
155
|
width: 100%;
|
170
156
|
max-width: 100%;
|
171
157
|
}
|
172
158
|
|
173
|
-
|
174
|
-
font-weight: bold;
|
159
|
+
main input.page_title {
|
160
|
+
font-weight: var(--bold-weight);
|
175
161
|
font-size: 1.4em;
|
176
162
|
color: var(--text-color);
|
177
163
|
}
|
@@ -183,13 +169,13 @@ td.drag-handle {
|
|
183
169
|
margin-right: 0;
|
184
170
|
padding: 0;
|
185
171
|
|
186
|
-
|
172
|
+
.embed-code {
|
187
173
|
display: inline-block;
|
188
174
|
width: 60px;
|
189
175
|
margin-right: 10px;
|
190
176
|
}
|
191
177
|
|
192
|
-
|
178
|
+
li {
|
193
179
|
line-height: 30px;
|
194
180
|
border-top: 1px solid var(--border-color);
|
195
181
|
|
@@ -197,20 +183,20 @@ td.drag-handle {
|
|
197
183
|
border-top: 0px;
|
198
184
|
}
|
199
185
|
|
200
|
-
|
186
|
+
.actions {
|
201
187
|
float: right;
|
202
188
|
}
|
203
189
|
|
204
|
-
|
190
|
+
.drag-handle {
|
205
191
|
margin-right: 10px;
|
206
192
|
}
|
207
193
|
}
|
208
194
|
|
209
|
-
|
195
|
+
.placeholder {
|
210
196
|
height: 30px;
|
211
197
|
}
|
212
198
|
|
213
|
-
|
199
|
+
.ui-sortable-helper {
|
214
200
|
border: 1px solid var(--border-color) !important;
|
215
201
|
background: rgba(250, 250, 250, 0.8);
|
216
202
|
}
|
@@ -0,0 +1,271 @@
|
|
1
|
+
/* Inter */
|
2
|
+
|
3
|
+
@font-face {
|
4
|
+
font-family: "InterVariable";
|
5
|
+
font-style: normal;
|
6
|
+
font-weight: 100 900;
|
7
|
+
font-display: swap;
|
8
|
+
src: url("InterVariable.woff2") format("woff2");
|
9
|
+
}
|
10
|
+
|
11
|
+
@font-face {
|
12
|
+
font-family: "InterVariable";
|
13
|
+
font-style: italic;
|
14
|
+
font-weight: 100 900;
|
15
|
+
font-display: swap;
|
16
|
+
src: url("InterVariable-Italic.woff2") format("woff2");
|
17
|
+
}
|
18
|
+
|
19
|
+
@font-face {
|
20
|
+
font-family: "Inter";
|
21
|
+
font-style: normal;
|
22
|
+
font-weight: 100;
|
23
|
+
src: url("Inter-Thin.woff2") format("woff2");
|
24
|
+
}
|
25
|
+
|
26
|
+
@font-face {
|
27
|
+
font-family: "Inter";
|
28
|
+
font-style: italic;
|
29
|
+
font-weight: 100;
|
30
|
+
src: url("Inter-ThinItalic.woff2") format("woff2");
|
31
|
+
}
|
32
|
+
|
33
|
+
@font-face {
|
34
|
+
font-family: "Inter";
|
35
|
+
font-style: normal;
|
36
|
+
font-weight: 200;
|
37
|
+
src: url("Inter-ExtraLight.woff2") format("woff2");
|
38
|
+
}
|
39
|
+
|
40
|
+
@font-face {
|
41
|
+
font-family: "Inter";
|
42
|
+
font-style: italic;
|
43
|
+
font-weight: 200;
|
44
|
+
src: url("Inter-ExtraLightItalic.woff2") format("woff2");
|
45
|
+
}
|
46
|
+
|
47
|
+
@font-face {
|
48
|
+
font-family: "Inter";
|
49
|
+
font-style: normal;
|
50
|
+
font-weight: 300;
|
51
|
+
src: url("Inter-Light.woff2") format("woff2");
|
52
|
+
}
|
53
|
+
|
54
|
+
@font-face {
|
55
|
+
font-family: "Inter";
|
56
|
+
font-style: italic;
|
57
|
+
font-weight: 300;
|
58
|
+
src: url("Inter-LightItalic.woff2") format("woff2");
|
59
|
+
}
|
60
|
+
|
61
|
+
@font-face {
|
62
|
+
font-family: "Inter";
|
63
|
+
font-style: normal;
|
64
|
+
font-weight: 400;
|
65
|
+
src: url("Inter-Regular.woff2") format("woff2");
|
66
|
+
}
|
67
|
+
|
68
|
+
@font-face {
|
69
|
+
font-family: "Inter";
|
70
|
+
font-style: italic;
|
71
|
+
font-weight: 400;
|
72
|
+
src: url("Inter-Italic.woff2") format("woff2");
|
73
|
+
}
|
74
|
+
|
75
|
+
@font-face {
|
76
|
+
font-family: "Inter";
|
77
|
+
font-style: normal;
|
78
|
+
font-weight: 500;
|
79
|
+
src: url("Inter-Medium.woff2") format("woff2");
|
80
|
+
}
|
81
|
+
|
82
|
+
@font-face {
|
83
|
+
font-family: "Inter";
|
84
|
+
font-style: italic;
|
85
|
+
font-weight: 500;
|
86
|
+
src: url("Inter-MediumItalic.woff2") format("woff2");
|
87
|
+
}
|
88
|
+
|
89
|
+
@font-face {
|
90
|
+
font-family: "Inter";
|
91
|
+
font-style: normal;
|
92
|
+
font-weight: 600;
|
93
|
+
src: url("Inter-SemiBold.woff2") format("woff2");
|
94
|
+
}
|
95
|
+
|
96
|
+
@font-face {
|
97
|
+
font-family: "Inter";
|
98
|
+
font-style: italic;
|
99
|
+
font-weight: 600;
|
100
|
+
src: url("Inter-SemiBoldItalic.woff2") format("woff2");
|
101
|
+
}
|
102
|
+
|
103
|
+
@font-face {
|
104
|
+
font-family: "Inter";
|
105
|
+
font-style: normal;
|
106
|
+
font-weight: 700;
|
107
|
+
src: url("Inter-Bold.woff2") format("woff2");
|
108
|
+
}
|
109
|
+
|
110
|
+
@font-face {
|
111
|
+
font-family: "Inter";
|
112
|
+
font-style: italic;
|
113
|
+
font-weight: 700;
|
114
|
+
src: url("Inter-BoldItalic.woff2") format("woff2");
|
115
|
+
}
|
116
|
+
|
117
|
+
@font-face {
|
118
|
+
font-family: "Inter";
|
119
|
+
font-style: normal;
|
120
|
+
font-weight: 800;
|
121
|
+
src: url("Inter-ExtraBold.woff2") format("woff2");
|
122
|
+
}
|
123
|
+
|
124
|
+
@font-face {
|
125
|
+
font-family: "Inter";
|
126
|
+
font-style: italic;
|
127
|
+
font-weight: 800;
|
128
|
+
src: url("Inter-ExtraBoldItalic.woff2") format("woff2");
|
129
|
+
}
|
130
|
+
|
131
|
+
@font-face {
|
132
|
+
font-family: "Inter";
|
133
|
+
font-style: normal;
|
134
|
+
font-weight: 900;
|
135
|
+
src: url("Inter-Black.woff2") format("woff2");
|
136
|
+
}
|
137
|
+
|
138
|
+
@font-face {
|
139
|
+
font-family: "Inter";
|
140
|
+
font-style: italic;
|
141
|
+
font-weight: 900;
|
142
|
+
src: url("Inter-BlackItalic.woff2") format("woff2");
|
143
|
+
}
|
144
|
+
|
145
|
+
/* InterDisplay */
|
146
|
+
|
147
|
+
@font-face {
|
148
|
+
font-family: "InterDisplay";
|
149
|
+
font-style: normal;
|
150
|
+
font-weight: 100;
|
151
|
+
src: url("InterDisplay-Thin.woff2") format("woff2");
|
152
|
+
}
|
153
|
+
|
154
|
+
@font-face {
|
155
|
+
font-family: "InterDisplay";
|
156
|
+
font-style: italic;
|
157
|
+
font-weight: 100;
|
158
|
+
src: url("InterDisplay-ThinItalic.woff2") format("woff2");
|
159
|
+
}
|
160
|
+
|
161
|
+
@font-face {
|
162
|
+
font-family: "InterDisplay";
|
163
|
+
font-style: normal;
|
164
|
+
font-weight: 200;
|
165
|
+
src: url("InterDisplay-ExtraLight.woff2") format("woff2");
|
166
|
+
}
|
167
|
+
|
168
|
+
@font-face {
|
169
|
+
font-family: "InterDisplay";
|
170
|
+
font-style: italic;
|
171
|
+
font-weight: 200;
|
172
|
+
src: url("InterDisplay-ExtraLightItalic.woff2") format("woff2");
|
173
|
+
}
|
174
|
+
|
175
|
+
@font-face {
|
176
|
+
font-family: "InterDisplay";
|
177
|
+
font-style: normal;
|
178
|
+
font-weight: 300;
|
179
|
+
src: url("InterDisplay-Light.woff2") format("woff2");
|
180
|
+
}
|
181
|
+
|
182
|
+
@font-face {
|
183
|
+
font-family: "InterDisplay";
|
184
|
+
font-style: italic;
|
185
|
+
font-weight: 300;
|
186
|
+
src: url("InterDisplay-LightItalic.woff2") format("woff2");
|
187
|
+
}
|
188
|
+
|
189
|
+
@font-face {
|
190
|
+
font-family: "InterDisplay";
|
191
|
+
font-style: normal;
|
192
|
+
font-weight: 400;
|
193
|
+
src: url("InterDisplay-Regular.woff2") format("woff2");
|
194
|
+
}
|
195
|
+
|
196
|
+
@font-face {
|
197
|
+
font-family: "InterDisplay";
|
198
|
+
font-style: italic;
|
199
|
+
font-weight: 400;
|
200
|
+
src: url("InterDisplay-Italic.woff2") format("woff2");
|
201
|
+
}
|
202
|
+
|
203
|
+
@font-face {
|
204
|
+
font-family: "InterDisplay";
|
205
|
+
font-style: normal;
|
206
|
+
font-weight: 500;
|
207
|
+
src: url("InterDisplay-Medium.woff2") format("woff2");
|
208
|
+
}
|
209
|
+
|
210
|
+
@font-face {
|
211
|
+
font-family: "InterDisplay";
|
212
|
+
font-style: italic;
|
213
|
+
font-weight: 500;
|
214
|
+
src: url("InterDisplay-MediumItalic.woff2") format("woff2");
|
215
|
+
}
|
216
|
+
|
217
|
+
@font-face {
|
218
|
+
font-family: "InterDisplay";
|
219
|
+
font-style: normal;
|
220
|
+
font-weight: 600;
|
221
|
+
src: url("InterDisplay-SemiBold.woff2") format("woff2");
|
222
|
+
}
|
223
|
+
|
224
|
+
@font-face {
|
225
|
+
font-family: "InterDisplay";
|
226
|
+
font-style: italic;
|
227
|
+
font-weight: 600;
|
228
|
+
src: url("InterDisplay-SemiBoldItalic.woff2") format("woff2");
|
229
|
+
}
|
230
|
+
|
231
|
+
@font-face {
|
232
|
+
font-family: "InterDisplay";
|
233
|
+
font-style: normal;
|
234
|
+
font-weight: 700;
|
235
|
+
src: url("InterDisplay-Bold.woff2") format("woff2");
|
236
|
+
}
|
237
|
+
|
238
|
+
@font-face {
|
239
|
+
font-family: "InterDisplay";
|
240
|
+
font-style: italic;
|
241
|
+
font-weight: 700;
|
242
|
+
src: url("InterDisplay-BoldItalic.woff2") format("woff2");
|
243
|
+
}
|
244
|
+
|
245
|
+
@font-face {
|
246
|
+
font-family: "InterDisplay";
|
247
|
+
font-style: normal;
|
248
|
+
font-weight: 800;
|
249
|
+
src: url("InterDisplay-ExtraBold.woff2") format("woff2");
|
250
|
+
}
|
251
|
+
|
252
|
+
@font-face {
|
253
|
+
font-family: "InterDisplay";
|
254
|
+
font-style: italic;
|
255
|
+
font-weight: 800;
|
256
|
+
src: url("InterDisplay-ExtraBoldItalic.woff2") format("woff2");
|
257
|
+
}
|
258
|
+
|
259
|
+
@font-face {
|
260
|
+
font-family: "InterDisplay";
|
261
|
+
font-style: normal;
|
262
|
+
font-weight: 900;
|
263
|
+
src: url("InterDisplay-Black.woff2") format("woff2");
|
264
|
+
}
|
265
|
+
|
266
|
+
@font-face {
|
267
|
+
font-family: "InterDisplay";
|
268
|
+
font-style: italic;
|
269
|
+
font-weight: 900;
|
270
|
+
src: url("InterDisplay-BlackItalic.woff2") format("woff2");
|
271
|
+
}
|