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
@@ -0,0 +1,99 @@
|
|
1
|
+
body,
|
2
|
+
input,
|
3
|
+
textarea,
|
4
|
+
a.button,
|
5
|
+
a.button:visited,
|
6
|
+
button {
|
7
|
+
font-family: -apple-system, BlinkMacSystemFont, Calibri, sans-serif;
|
8
|
+
color: #111;
|
9
|
+
}
|
10
|
+
|
11
|
+
body {
|
12
|
+
font-size: 1rem;
|
13
|
+
padding: 2rem;
|
14
|
+
}
|
15
|
+
|
16
|
+
h1,
|
17
|
+
h2,
|
18
|
+
h3,
|
19
|
+
h4,
|
20
|
+
h5,
|
21
|
+
h6,
|
22
|
+
ul,
|
23
|
+
ol,
|
24
|
+
p {
|
25
|
+
max-width: 80ch;
|
26
|
+
margin: 0 0 1rem 0;
|
27
|
+
}
|
28
|
+
|
29
|
+
h1:last-child, h2:last-child, h3:last-child, h4:last-child, h5:last-child, h6:last-child, ul:last-child, ol:last-child, p:last-child {
|
30
|
+
margin-bottom: 0rem;
|
31
|
+
}
|
32
|
+
|
33
|
+
h1 {
|
34
|
+
font-size: 2rem;
|
35
|
+
margin-top: 2rem;
|
36
|
+
}
|
37
|
+
|
38
|
+
h1:first-child {
|
39
|
+
margin-top: 0rem;
|
40
|
+
}
|
41
|
+
|
42
|
+
a,
|
43
|
+
a:visited {
|
44
|
+
color: #1d7195;
|
45
|
+
}
|
46
|
+
|
47
|
+
a:hover,
|
48
|
+
a:focus {
|
49
|
+
color: #15516a;
|
50
|
+
}
|
51
|
+
|
52
|
+
button,
|
53
|
+
a.button {
|
54
|
+
-webkit-appearance: none;
|
55
|
+
-moz-appearance: none;
|
56
|
+
appearance: none;
|
57
|
+
cursor: inherit;
|
58
|
+
font-size: 1rem;
|
59
|
+
line-height: 1.5;
|
60
|
+
border: 1px solid #aaa;
|
61
|
+
border-radius: 5px;
|
62
|
+
padding: 0.5em 0.75em;
|
63
|
+
background: #e8e8e8;
|
64
|
+
box-shadow: inset 0px 0.75em 0.75em rgba(255, 255, 255, 0.25);
|
65
|
+
-webkit-text-decoration: none;
|
66
|
+
text-decoration: none;
|
67
|
+
}
|
68
|
+
|
69
|
+
button.primary, a.button.primary {
|
70
|
+
background: #111;
|
71
|
+
border-color: #111;
|
72
|
+
color: #fff;
|
73
|
+
box-shadow: inset 0px 0.75em 0.75em rgba(255, 255, 255, 0.2);
|
74
|
+
}
|
75
|
+
|
76
|
+
button.primary:hover, a.button.primary:hover {
|
77
|
+
box-shadow: inset 0px 0.75em 0.75em rgba(255, 255, 255, 0.1);
|
78
|
+
}
|
79
|
+
|
80
|
+
.buttons,
|
81
|
+
table {
|
82
|
+
margin: 1.5rem 0;
|
83
|
+
}
|
84
|
+
|
85
|
+
.buttons:last-child, table:last-child {
|
86
|
+
margin-bottom: 0px;
|
87
|
+
}
|
88
|
+
|
89
|
+
table {
|
90
|
+
border-collapse: collapse;
|
91
|
+
border-top: 1px solid #ddd;
|
92
|
+
}
|
93
|
+
|
94
|
+
table th,
|
95
|
+
table td {
|
96
|
+
text-align: left;
|
97
|
+
padding: 0.5rem 1rem 0.5rem 0;
|
98
|
+
border-bottom: 1px solid #ddd;
|
99
|
+
}
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,18 +1,17 @@
|
|
1
1
|
.attachments {
|
2
2
|
margin-bottom: 40px;
|
3
3
|
|
4
|
-
|
4
|
+
.drop-target {
|
5
5
|
position: relative;
|
6
6
|
width: 100%;
|
7
7
|
text-align: center;
|
8
|
-
line-height: 1.6;
|
9
8
|
margin-top: 20px;
|
10
9
|
|
11
10
|
&:first-child {
|
12
11
|
margin-top: 0px;
|
13
12
|
}
|
14
13
|
|
15
|
-
|
14
|
+
.upload-button {
|
16
15
|
width: 100%;
|
17
16
|
display: flex;
|
18
17
|
flex-direction: column;
|
@@ -23,19 +22,21 @@
|
|
23
22
|
}
|
24
23
|
}
|
25
24
|
|
26
|
-
|
25
|
+
.attachment {
|
27
26
|
border-bottom: 1px solid var(--border-color);
|
28
27
|
padding: 16px 0px 16px 40px;
|
29
28
|
cursor: pointer;
|
30
29
|
background: #fff;
|
31
|
-
transition:
|
30
|
+
transition:
|
31
|
+
padding-left 50ms ease-in-out,
|
32
|
+
background 150ms ease-in-out;
|
32
33
|
|
33
|
-
|
34
|
+
.attachment-info {
|
34
35
|
transition: all 50ms ease-in-out;
|
35
36
|
}
|
36
37
|
|
37
38
|
&.drop-placeholder {
|
38
|
-
font-size:
|
39
|
+
font-size: 0.875rem;
|
39
40
|
margin-top: -1px;
|
40
41
|
border-top: 1px solid var(--border-color);
|
41
42
|
background: var(--background-disabled-color);
|
@@ -49,11 +50,11 @@
|
|
49
50
|
padding-left: 56px;
|
50
51
|
background: var(--background-disabled-color);
|
51
52
|
|
52
|
-
|
53
|
+
.attachment-info {
|
53
54
|
opacity: 0.5;
|
54
55
|
}
|
55
56
|
|
56
|
-
|
57
|
+
.actions {
|
57
58
|
display: none;
|
58
59
|
}
|
59
60
|
}
|
@@ -62,14 +63,16 @@
|
|
62
63
|
margin-bottom: 0px;
|
63
64
|
}
|
64
65
|
|
65
|
-
|
66
|
+
.actions {
|
66
67
|
float: right;
|
68
|
+
display: flex;
|
69
|
+
gap: 0.25rem;
|
67
70
|
}
|
68
71
|
|
69
|
-
|
72
|
+
h3 {
|
70
73
|
margin: 0px 0px 12px 0px;
|
71
74
|
|
72
|
-
|
75
|
+
.icon {
|
73
76
|
display: block;
|
74
77
|
float: left;
|
75
78
|
margin-left: -40px;
|
@@ -77,26 +80,11 @@
|
|
77
80
|
}
|
78
81
|
}
|
79
82
|
|
80
|
-
|
83
|
+
p {
|
81
84
|
&:last-child {
|
82
85
|
margin-bottom: 0px;
|
83
86
|
}
|
84
87
|
}
|
85
|
-
|
86
|
-
& button {
|
87
|
-
cursor: pointer;
|
88
|
-
border: 1px solid var(--border-color);
|
89
|
-
border-radius: 3px;
|
90
|
-
background: var(--button-color);
|
91
|
-
padding: 5px 20px;
|
92
|
-
font-size: 12px;
|
93
|
-
color: var(--text-color);
|
94
|
-
|
95
|
-
&:hover,
|
96
|
-
&:focus {
|
97
|
-
background: #fff;
|
98
|
-
}
|
99
|
-
}
|
100
88
|
}
|
101
89
|
}
|
102
90
|
|
@@ -109,23 +97,23 @@
|
|
109
97
|
height: 100%;
|
110
98
|
}
|
111
99
|
|
112
|
-
|
100
|
+
form {
|
113
101
|
width: 100%;
|
114
102
|
|
115
|
-
|
103
|
+
.buttons {
|
116
104
|
margin-top: 24px;
|
117
105
|
}
|
118
106
|
|
119
|
-
|
120
|
-
|
107
|
+
.embed-code {
|
108
|
+
input[type="text"] {
|
121
109
|
width: 50%;
|
122
110
|
max-width: 100px;
|
123
111
|
margin-right: 8px;
|
124
112
|
}
|
125
113
|
}
|
126
114
|
|
127
|
-
|
128
|
-
|
115
|
+
textarea,
|
116
|
+
input[type="text"] {
|
129
117
|
max-width: 100%;
|
130
118
|
|
131
119
|
&.description {
|
@@ -3,29 +3,11 @@ body {
|
|
3
3
|
color: var(--text-color);
|
4
4
|
}
|
5
5
|
|
6
|
-
body,
|
7
|
-
td,
|
8
|
-
th {
|
9
|
-
font-family: Helvetica, Arial, sans-serif;
|
10
|
-
font-size: 12px;
|
11
|
-
}
|
12
|
-
|
13
|
-
h1,
|
14
|
-
h2,
|
15
|
-
h3,
|
16
|
-
h4,
|
17
|
-
h5,
|
18
|
-
h6,
|
19
|
-
p {
|
20
|
-
margin: 16px 0;
|
21
|
-
}
|
22
|
-
|
23
6
|
img {
|
24
7
|
border: 0;
|
25
8
|
}
|
26
9
|
|
27
10
|
small {
|
28
|
-
font-size: 0.9em;
|
29
11
|
color: var(--text-light-color);
|
30
12
|
}
|
31
13
|
|
@@ -42,7 +24,7 @@ th {
|
|
42
24
|
}
|
43
25
|
|
44
26
|
div.content {
|
45
|
-
margin:
|
27
|
+
margin: 1.5rem 2rem;
|
46
28
|
}
|
47
29
|
|
48
30
|
table.show th,
|
@@ -51,54 +33,6 @@ td {
|
|
51
33
|
padding: 2px 16px 2px 0;
|
52
34
|
}
|
53
35
|
|
54
|
-
.errorExplanation {
|
55
|
-
background-color: #ffd;
|
56
|
-
border-bottom: 1px solid #dda;
|
57
|
-
margin: -32px -32px 16px -32px;
|
58
|
-
padding: 0px 32px;
|
59
|
-
color: #333;
|
60
|
-
|
61
|
-
& h2 {
|
62
|
-
font-weight: normal;
|
63
|
-
font-size: 1.4em;
|
64
|
-
margin: 0 -32px 16px -32px;
|
65
|
-
padding: 8px 32px;
|
66
|
-
background-color: var(--red);
|
67
|
-
color: #fff;
|
68
|
-
}
|
69
|
-
|
70
|
-
& p {
|
71
|
-
margin-bottom: 0;
|
72
|
-
padding: 0;
|
73
|
-
}
|
74
|
-
|
75
|
-
& ul {
|
76
|
-
padding: 0;
|
77
|
-
list-style-position: inside;
|
78
|
-
}
|
79
|
-
|
80
|
-
& ul li {
|
81
|
-
font-weight: bold;
|
82
|
-
}
|
83
|
-
}
|
84
|
-
|
85
|
-
.flash {
|
86
|
-
background: #fffbdf;
|
87
|
-
border-bottom: 1px solid #ccc9b2;
|
88
|
-
margin: -32px -32px 32px -32px;
|
89
|
-
padding: 16px 32px;
|
90
|
-
font-weight: bold;
|
91
|
-
color: #6f2d1b;
|
92
|
-
font-size: 1.2em;
|
93
|
-
}
|
94
|
-
|
95
|
-
div.paginator {
|
96
|
-
margin: 32px 0;
|
97
|
-
font-size: 1.5em;
|
98
|
-
font-weight: bold;
|
99
|
-
color: var(--text-light-color);
|
100
|
-
}
|
101
|
-
|
102
36
|
img.thumbnail {
|
103
37
|
border: 1px solid #555;
|
104
38
|
}
|
@@ -106,7 +40,6 @@ img.thumbnail {
|
|
106
40
|
li .actions {
|
107
41
|
font-weight: normal;
|
108
42
|
display: inline;
|
109
|
-
font-size: 12px;
|
110
43
|
color: var(--text-light-color);
|
111
44
|
margin-top: 1px;
|
112
45
|
}
|