alchemy_cms 7.2.6 → 7.3.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 +103 -9
- data/Gemfile +4 -3
- data/Rakefile +1 -0
- data/alchemy_cms.gemspec +7 -7
- data/app/assets/builds/alchemy/admin/page-select.css +1 -0
- data/app/assets/builds/alchemy/admin/page-select.css.map +1 -0
- data/app/assets/builds/alchemy/admin/print.css +1 -0
- data/app/assets/builds/alchemy/admin/print.css.map +1 -0
- data/app/assets/builds/alchemy/admin.css +1 -0
- data/app/assets/builds/alchemy/admin.css.map +1 -0
- data/app/assets/builds/alchemy/welcome.css +1 -0
- data/app/assets/builds/alchemy/welcome.css.map +1 -0
- data/app/assets/builds/tinymce/skins/content/alchemy/content.min.css +1 -0
- data/app/assets/builds/tinymce/skins/content/alchemy/content.min.css.map +1 -0
- data/app/assets/builds/tinymce/skins/ui/alchemy/skin.min.css +1 -0
- data/app/assets/builds/tinymce/skins/ui/alchemy/skin.min.css.map +1 -0
- data/app/assets/config/alchemy_manifest.js +2 -5
- data/app/assets/javascripts/alchemy/alchemy.dialog.js.coffee +4 -0
- data/app/assets/stylesheets/alchemy/{_custom-properties.scss → _custom-properties.css} +28 -25
- data/app/assets/stylesheets/alchemy/_deprecated_variables.scss +45 -0
- data/app/assets/stylesheets/alchemy/_deprecation.scss +17 -0
- data/app/assets/stylesheets/alchemy/_extends.scss +1 -1
- data/app/assets/stylesheets/alchemy/_mixins.scss +21 -24
- data/app/assets/stylesheets/alchemy/_variables.scss +99 -95
- data/app/assets/stylesheets/alchemy/{archive.scss → admin/archive.scss} +23 -23
- data/app/assets/stylesheets/alchemy/{attachment-select.scss → admin/attachment-select.scss} +2 -2
- data/app/assets/stylesheets/alchemy/{attachments.scss → admin/attachments.scss} +4 -4
- data/app/assets/stylesheets/alchemy/{base.scss → admin/base.scss} +9 -9
- data/app/assets/stylesheets/alchemy/{buttons.scss → admin/buttons.scss} +3 -3
- data/app/assets/stylesheets/alchemy/{clipboard.scss → admin/clipboard.scss} +9 -6
- data/app/assets/stylesheets/alchemy/{dashboard.scss → admin/dashboard.scss} +8 -8
- data/app/assets/stylesheets/alchemy/{dialogs.scss → admin/dialogs.scss} +20 -20
- data/app/assets/stylesheets/alchemy/{elements.scss → admin/elements.scss} +136 -96
- data/app/assets/stylesheets/alchemy/{errors.scss → admin/errors.scss} +22 -6
- data/app/assets/stylesheets/alchemy/{flash.scss → admin/flash.scss} +3 -3
- data/app/assets/stylesheets/alchemy/{flatpickr.scss → admin/flatpickr.scss} +55 -35
- data/app/assets/stylesheets/alchemy/{form_fields.scss → admin/form_fields.scss} +8 -6
- data/app/assets/stylesheets/alchemy/{forms.scss → admin/forms.scss} +20 -16
- data/app/assets/stylesheets/alchemy/{frame.scss → admin/frame.scss} +9 -9
- data/app/assets/stylesheets/alchemy/{image_library.scss → admin/image_library.scss} +34 -33
- data/app/assets/stylesheets/alchemy/admin/labels.scss +3 -0
- data/app/assets/stylesheets/alchemy/{list_filter.scss → admin/list_filter.scss} +4 -4
- data/app/assets/stylesheets/alchemy/{lists.scss → admin/lists.scss} +9 -7
- data/app/assets/stylesheets/alchemy/{navigation.scss → admin/navigation.scss} +19 -19
- data/app/assets/stylesheets/alchemy/{node-select.scss → admin/node-select.scss} +6 -6
- data/app/assets/stylesheets/alchemy/{nodes.scss → admin/nodes.scss} +12 -12
- data/app/assets/stylesheets/alchemy/{notices.scss → admin/notices.scss} +12 -8
- data/app/assets/stylesheets/alchemy/admin/page-select.scss +81 -0
- data/app/assets/stylesheets/alchemy/{pagination.scss → admin/pagination.scss} +10 -10
- data/app/assets/stylesheets/alchemy/{print.scss → admin/print.scss} +2 -6
- data/app/assets/stylesheets/alchemy/{resource_info.scss → admin/resource_info.scss} +6 -7
- data/app/assets/stylesheets/alchemy/{search.scss → admin/search.scss} +6 -6
- data/app/assets/stylesheets/alchemy/{selects.scss → admin/selects.scss} +46 -39
- data/app/assets/stylesheets/alchemy/{shoelace.scss → admin/shoelace.scss} +14 -14
- data/app/assets/stylesheets/alchemy/{sitemap.scss → admin/sitemap.scss} +19 -20
- data/app/assets/stylesheets/alchemy/{tables.scss → admin/tables.scss} +26 -22
- data/app/assets/stylesheets/alchemy/admin/tags.scss +158 -0
- data/app/assets/stylesheets/alchemy/{toolbar.scss → admin/toolbar.scss} +10 -10
- data/app/assets/stylesheets/alchemy/{typography.scss → admin/typography.scss} +3 -3
- data/app/assets/stylesheets/alchemy/{upload.scss → admin/upload.scss} +1 -1
- data/app/assets/stylesheets/alchemy/admin.scss +39 -45
- data/app/assets/stylesheets/alchemy/welcome.scss +57 -0
- data/app/assets/stylesheets/tinymce/skins/content/alchemy/{content.min.scss → content.scss} +5 -4
- data/app/assets/stylesheets/tinymce/skins/ui/alchemy/{skin.min.scss → skin.scss} +41 -41
- data/app/components/alchemy/admin/page_select.rb +3 -1
- data/app/components/alchemy/admin/resource/action.rb +46 -0
- data/app/components/alchemy/admin/resource/cell.rb +34 -0
- data/app/components/alchemy/admin/resource/header.rb +46 -0
- data/app/components/alchemy/admin/resource/table.rb +153 -0
- data/app/components/alchemy/ingredients/datetime_view.rb +2 -2
- data/app/controllers/alchemy/admin/base_controller.rb +2 -1
- data/app/controllers/alchemy/admin/elements_controller.rb +7 -3
- data/app/controllers/alchemy/admin/legacy_page_urls_controller.rb +1 -1
- data/app/controllers/alchemy/admin/pages_controller.rb +1 -1
- data/app/controllers/alchemy/admin/pictures_controller.rb +2 -2
- data/app/controllers/alchemy/admin/resources_controller.rb +1 -1
- data/app/controllers/alchemy/base_controller.rb +2 -0
- data/app/controllers/concerns/alchemy/admin/uploader_responses.rb +2 -11
- data/app/decorators/alchemy/ingredient_editor.rb +17 -0
- data/app/helpers/alchemy/admin/pages_helper.rb +6 -10
- data/app/helpers/alchemy/base_helper.rb +2 -2
- data/app/helpers/alchemy/elements_block_helper.rb +13 -1
- data/app/helpers/alchemy/pages_helper.rb +2 -2
- data/app/javascript/alchemy_admin/components/element_editor.js +23 -31
- data/app/javascript/alchemy_admin/components/preview_window.js +2 -3
- data/app/javascript/alchemy_admin/picture_selector.js +38 -10
- data/app/models/alchemy/attachment.rb +0 -8
- data/app/models/alchemy/element/dom_id.rb +1 -0
- data/app/models/alchemy/element/element_ingredients.rb +0 -73
- data/app/models/alchemy/element/presenters.rb +4 -1
- data/app/models/alchemy/element.rb +6 -0
- data/app/models/alchemy/elements_repository.rb +2 -2
- data/app/models/alchemy/ingredient_validator.rb +10 -0
- data/app/models/alchemy/page/page_scopes.rb +1 -1
- data/app/models/alchemy/page.rb +3 -3
- data/app/models/alchemy/picture.rb +0 -10
- data/app/views/alchemy/admin/attachments/_files_list.html.erb +74 -16
- data/app/views/alchemy/admin/clipboard/index.html.erb +38 -33
- data/app/views/alchemy/admin/dashboard/_dashboard.html.erb +3 -0
- data/app/views/alchemy/admin/dashboard/_left_column.html.erb +4 -0
- data/app/views/alchemy/admin/dashboard/_right_column.html.erb +9 -0
- data/app/views/alchemy/admin/dashboard/_top.html.erb +12 -0
- data/app/views/alchemy/admin/dashboard/index.html.erb +1 -25
- data/app/views/alchemy/admin/elements/_element.html.erb +1 -2
- data/app/views/alchemy/admin/elements/_form.html.erb +1 -1
- data/app/views/alchemy/admin/ingredients/_picture_fields.html.erb +10 -3
- data/app/views/alchemy/admin/ingredients/update.turbo_stream.erb +7 -0
- data/app/views/alchemy/admin/languages/_table.html.erb +16 -42
- data/app/views/alchemy/admin/nodes/_form.html.erb +1 -1
- data/app/views/alchemy/admin/pages/_table.html.erb +92 -27
- data/app/views/alchemy/admin/pages/_toolbar.html.erb +1 -1
- data/app/views/alchemy/admin/pages/edit.html.erb +6 -8
- data/app/views/alchemy/admin/pages/index.html.erb +0 -4
- data/app/views/alchemy/admin/pictures/_form.html.erb +14 -12
- data/app/views/alchemy/admin/pictures/index.html.erb +1 -11
- data/app/views/alchemy/admin/pictures/update.turbo_stream.erb +6 -0
- data/app/views/alchemy/admin/resources/_resource.html.erb +2 -0
- data/app/views/alchemy/admin/resources/_resource_table.html.erb +3 -0
- data/app/views/alchemy/admin/resources/_table.html.erb +2 -0
- data/app/views/alchemy/admin/resources/index.html.erb +1 -1
- data/app/views/alchemy/admin/sites/index.html.erb +1 -1
- data/app/views/alchemy/admin/styleguide/index.html.erb +0 -4
- data/app/views/alchemy/admin/tags/index.html.erb +15 -14
- data/app/views/alchemy/base/403.html.erb +6 -0
- data/app/views/alchemy/base/500.html.erb +14 -12
- data/app/views/alchemy/ingredients/_datetime_editor.html.erb +13 -11
- data/app/views/alchemy/ingredients/_headline_editor.html.erb +29 -22
- data/app/views/alchemy/ingredients/_link_editor.html.erb +17 -11
- data/app/views/alchemy/ingredients/_page_editor.html.erb +1 -0
- data/app/views/alchemy/ingredients/_picture_editor.html.erb +3 -4
- data/app/views/alchemy/ingredients/_richtext_editor.html.erb +5 -1
- data/app/views/alchemy/ingredients/_select_editor.html.erb +2 -1
- data/app/views/alchemy/ingredients/_text_editor.html.erb +20 -14
- data/app/views/alchemy/ingredients/shared/_picture_css_class.html.erb +6 -0
- data/app/views/layouts/alchemy/admin.html.erb +4 -2
- data/bin/setup +2 -0
- data/bin/start +1 -1
- data/bun.lockb +0 -0
- data/config/alchemy/config.yml +9 -0
- data/config/locales/alchemy.en.yml +8 -29
- data/config/routes.rb +22 -22
- data/lib/alchemy/config.rb +3 -3
- data/lib/alchemy/install/tasks.rb +5 -2
- data/lib/alchemy/resources_helper.rb +7 -3
- data/lib/alchemy/test_support/capybara_helpers.rb +8 -5
- data/lib/alchemy/test_support/shared_uploader_examples.rb +0 -1
- data/lib/alchemy/upgrader/seven_point_three.rb +52 -0
- data/lib/alchemy/version.rb +1 -1
- data/lib/alchemy_cms.rb +1 -1
- data/lib/generators/alchemy/install/files/article.css +25 -0
- data/lib/generators/alchemy/install/files/custom.css +4 -0
- data/lib/generators/alchemy/install/install_generator.rb +6 -6
- data/lib/tasks/alchemy/upgrade.rake +29 -1
- data/vendor/assets/stylesheets/alchemy_admin/select2.css +1 -0
- data/vendor/assets/stylesheets/jquery.Jcrop.min.css +2 -0
- data/vendor/javascript/shoelace.min.js +62 -63
- data/vendor/javascript/tinymce.min.js +1 -1
- metadata +130 -105
- data/app/assets/images/alchemy/lupe.cur +0 -0
- data/app/assets/stylesheets/alchemy/labels.scss +0 -3
- data/app/assets/stylesheets/alchemy/page-select.scss +0 -66
- data/app/assets/stylesheets/alchemy/tags.scss +0 -155
- data/app/assets/stylesheets/alchemy/welcome.sass +0 -49
- data/app/views/alchemy/admin/attachments/_attachment.html.erb +0 -81
- data/app/views/alchemy/admin/languages/_language.html.erb +0 -50
- data/app/views/alchemy/admin/pages/_table_row.html.erb +0 -111
- data/app/views/alchemy/admin/pages/list/_table.html.erb +0 -31
- data/app/views/alchemy/admin/pictures/update.js.erb +0 -6
- data/app/views/alchemy/admin/tags/_tag.html.erb +0 -32
- data/app/views/alchemy/base/update.js.erb +0 -5
- data/lib/generators/alchemy/install/files/all.css +0 -11
- data/lib/generators/alchemy/install/files/article.scss +0 -30
- data/package.json +0 -52
- data/vendor/assets/stylesheets/alchemy_admin/select2.scss +0 -741
- data/vendor/assets/stylesheets/jquery.Jcrop.min.scss +0 -2
- /data/app/assets/stylesheets/alchemy/{fonts.scss → _fonts.scss} +0 -0
- /data/app/assets/stylesheets/alchemy/{hints.scss → admin/hints.scss} +0 -0
- /data/app/assets/stylesheets/alchemy/{icons.scss → admin/icons.scss} +0 -0
- /data/app/assets/stylesheets/alchemy/{images.scss → admin/images.scss} +0 -0
- /data/app/assets/stylesheets/alchemy/{preview_window.scss → admin/preview_window.scss} +0 -0
- /data/app/assets/stylesheets/alchemy/{spinner.scss → admin/spinner.scss} +0 -0
- /data/app/views/alchemy/admin/dashboard/{_locked_pages.html.erb → widgets/_locked_pages.html.erb} +0 -0
- /data/app/views/alchemy/admin/dashboard/{_recent_pages.html.erb → widgets/_recent_pages.html.erb} +0 -0
- /data/app/views/alchemy/admin/dashboard/{_sites.html.erb → widgets/_sites.html.erb} +0 -0
- /data/app/views/alchemy/admin/dashboard/{_users.html.erb → widgets/_users.html.erb} +0 -0
@@ -34,7 +34,7 @@
|
|
34
34
|
|
35
35
|
#main_navi {
|
36
36
|
max-height: 100vh;
|
37
|
-
padding-top:
|
37
|
+
padding-top: var(--spacing-7);
|
38
38
|
padding-bottom: 80px;
|
39
39
|
|
40
40
|
@media screen and (max-width: $medium-screen-break-point) {
|
@@ -48,7 +48,7 @@
|
|
48
48
|
position: relative;
|
49
49
|
display: block;
|
50
50
|
line-height: 46px;
|
51
|
-
margin-bottom: 3
|
51
|
+
margin-bottom: var(--spacing-3);
|
52
52
|
background-color: transparent;
|
53
53
|
transition: background-color $transition-duration $transition-easing;
|
54
54
|
|
@@ -87,8 +87,8 @@
|
|
87
87
|
top: 0;
|
88
88
|
left: $collapsed-main-menu-width - 1;
|
89
89
|
width: auto;
|
90
|
-
padding-left: 4
|
91
|
-
padding-right: 4
|
90
|
+
padding-left: var(--spacing-4);
|
91
|
+
padding-right: var(--spacing-4);
|
92
92
|
visibility: hidden;
|
93
93
|
opacity: 0;
|
94
94
|
background-color: $main-menu-active-bg-color;
|
@@ -103,7 +103,7 @@
|
|
103
103
|
visibility: visible;
|
104
104
|
max-width: $main-menu-entry-max-width;
|
105
105
|
opacity: 1;
|
106
|
-
padding-left: 2
|
106
|
+
padding-left: var(--spacing-2);
|
107
107
|
background-color: transparent;
|
108
108
|
}
|
109
109
|
}
|
@@ -180,8 +180,8 @@
|
|
180
180
|
}
|
181
181
|
|
182
182
|
a {
|
183
|
-
padding-left: 4
|
184
|
-
padding-right: 4
|
183
|
+
padding-left: var(--spacing-4);
|
184
|
+
padding-right: var(--spacing-4);
|
185
185
|
background-color: transparent;
|
186
186
|
transition: background-color $transition-duration $transition-easing;
|
187
187
|
@include truncate($main-menu-width, $display: block, $wrap: nowrap);
|
@@ -189,7 +189,7 @@
|
|
189
189
|
|
190
190
|
&.active a,
|
191
191
|
a:hover {
|
192
|
-
background-color:
|
192
|
+
background-color: hsl(28deg, 77%, 63%);
|
193
193
|
}
|
194
194
|
}
|
195
195
|
|
@@ -211,7 +211,7 @@
|
|
211
211
|
line-height: 24px;
|
212
212
|
|
213
213
|
a {
|
214
|
-
padding:
|
214
|
+
padding: var(--spacing-2) var(--spacing-1) var(--spacing-2) 42px;
|
215
215
|
}
|
216
216
|
}
|
217
217
|
}
|
@@ -226,11 +226,11 @@
|
|
226
226
|
|
227
227
|
label {
|
228
228
|
float: left;
|
229
|
-
font-size:
|
229
|
+
font-size: var(--font-size_small);
|
230
230
|
line-height: 27px;
|
231
231
|
height: 27px;
|
232
|
-
margin-left:
|
233
|
-
margin-right:
|
232
|
+
margin-left: var(--spacing-2);
|
233
|
+
margin-right: var(--spacing-1);
|
234
234
|
}
|
235
235
|
|
236
236
|
img {
|
@@ -253,12 +253,12 @@
|
|
253
253
|
form {
|
254
254
|
align-self: center;
|
255
255
|
justify-self: flex-end;
|
256
|
-
margin-right:
|
256
|
+
margin-right: var(--spacing-1);
|
257
257
|
line-height: 1;
|
258
258
|
}
|
259
259
|
|
260
260
|
&:hover {
|
261
|
-
color:
|
261
|
+
color: var(--color-text);
|
262
262
|
text-decoration: none;
|
263
263
|
}
|
264
264
|
|
@@ -266,7 +266,7 @@
|
|
266
266
|
display: flex;
|
267
267
|
align-items: end;
|
268
268
|
cursor: pointer;
|
269
|
-
padding:
|
269
|
+
padding: var(--spacing-1) var(--spacing-2);
|
270
270
|
|
271
271
|
&:focus {
|
272
272
|
@include default-focus-style($box-shadow: inset 0 0 0 2px $focus-color);
|
@@ -279,16 +279,16 @@
|
|
279
279
|
}
|
280
280
|
|
281
281
|
.page_name {
|
282
|
-
margin-right:
|
282
|
+
margin-right: var(--spacing-1);
|
283
283
|
text-shadow: $text-shadow-light;
|
284
284
|
}
|
285
285
|
|
286
286
|
.page_language,
|
287
287
|
.page_site {
|
288
288
|
display: inline-block;
|
289
|
-
color:
|
290
|
-
font-size:
|
291
|
-
margin-right:
|
289
|
+
color: var(--color-text_muted);
|
290
|
+
font-size: var(--font-size_small);
|
291
|
+
margin-right: var(--spacing-1);
|
292
292
|
}
|
293
293
|
|
294
294
|
.page_language {
|
@@ -11,12 +11,12 @@
|
|
11
11
|
height: 21px;
|
12
12
|
|
13
13
|
> alchemy-icon {
|
14
|
-
margin: 0
|
14
|
+
margin: 0 var(--spacing-2) 0 var(--spacing-1);
|
15
15
|
}
|
16
16
|
|
17
17
|
.icon {
|
18
18
|
.select2-highlighted & {
|
19
|
-
fill:
|
19
|
+
fill: var(--color-white);
|
20
20
|
}
|
21
21
|
}
|
22
22
|
}
|
@@ -33,12 +33,12 @@
|
|
33
33
|
|
34
34
|
.node-select--node-url {
|
35
35
|
margin-left: auto;
|
36
|
-
padding:
|
37
|
-
color:
|
38
|
-
font-size:
|
36
|
+
padding: var(--spacing-1) var(--spacing-2);
|
37
|
+
color: var(--color-grey_dark);
|
38
|
+
font-size: var(--font-size_small);
|
39
39
|
|
40
40
|
.select2-highlighted & {
|
41
|
-
color:
|
41
|
+
color: var(--color-white);
|
42
42
|
}
|
43
43
|
}
|
44
44
|
|
@@ -37,20 +37,20 @@
|
|
37
37
|
|
38
38
|
.node_page {
|
39
39
|
display: inline-flex;
|
40
|
-
gap:
|
40
|
+
gap: var(--spacing-1);
|
41
41
|
align-items: center;
|
42
|
-
padding: 0
|
42
|
+
padding: 0 var(--spacing-2);
|
43
43
|
margin-left: auto;
|
44
44
|
}
|
45
45
|
|
46
46
|
.node_url {
|
47
47
|
display: flex;
|
48
48
|
align-items: center;
|
49
|
-
padding: 0 2
|
49
|
+
padding: 0 var(--spacing-2);
|
50
50
|
white-space: nowrap;
|
51
51
|
background-color: $sitemap-info-background-color;
|
52
52
|
line-height: $sitemap-line-height;
|
53
|
-
font-size:
|
53
|
+
font-size: var(--font-size_small);
|
54
54
|
@include border-right-radius($default-border-radius);
|
55
55
|
}
|
56
56
|
|
@@ -70,7 +70,7 @@
|
|
70
70
|
|
71
71
|
li {
|
72
72
|
line-height: $sitemap-line-height;
|
73
|
-
padding-left:
|
73
|
+
padding-left: var(--spacing-1);
|
74
74
|
|
75
75
|
li {
|
76
76
|
padding-left: $sitemap-line-height;
|
@@ -80,14 +80,14 @@
|
|
80
80
|
|
81
81
|
#node_filter_result {
|
82
82
|
display: none;
|
83
|
-
margin-left: 2
|
83
|
+
margin-left: var(--spacing-2);
|
84
84
|
}
|
85
85
|
|
86
86
|
.sitemap_node {
|
87
87
|
display: flex;
|
88
88
|
align-items: center;
|
89
89
|
height: $sitemap-line-height;
|
90
|
-
margin: 3
|
90
|
+
margin: var(--spacing-3) 0;
|
91
91
|
transition: background-color $transition-duration;
|
92
92
|
|
93
93
|
&.highlight {
|
@@ -95,7 +95,7 @@
|
|
95
95
|
}
|
96
96
|
|
97
97
|
&.no-match .sitemap_pagename_link {
|
98
|
-
color:
|
98
|
+
color: var(--color-grey_light);
|
99
99
|
}
|
100
100
|
|
101
101
|
&:hover {
|
@@ -110,7 +110,7 @@
|
|
110
110
|
justify-content: space-between;
|
111
111
|
@include border-left-radius($default-border-radius);
|
112
112
|
padding: 0 0 0 10px;
|
113
|
-
margin:
|
113
|
+
margin: var(--spacing-0);
|
114
114
|
text-decoration: none;
|
115
115
|
overflow: hidden;
|
116
116
|
background-color: $sitemap-page-background-color;
|
@@ -133,13 +133,13 @@
|
|
133
133
|
position: relative;
|
134
134
|
width: 32px;
|
135
135
|
height: $sitemap-line-height;
|
136
|
-
padding: 0 2
|
136
|
+
padding: 0 var(--spacing-2);
|
137
137
|
}
|
138
138
|
|
139
139
|
.nodes_tree-right_tools {
|
140
140
|
display: flex;
|
141
141
|
height: $sitemap-line-height;
|
142
|
-
padding: 0 2
|
142
|
+
padding: 0 var(--spacing-2);
|
143
143
|
align-items: center;
|
144
144
|
|
145
145
|
> a {
|
@@ -157,7 +157,7 @@
|
|
157
157
|
}
|
158
158
|
|
159
159
|
.icon.blank {
|
160
|
-
margin-left:
|
160
|
+
margin-left: var(--spacing-0);
|
161
161
|
float: left;
|
162
162
|
margin-top: 3px;
|
163
163
|
margin-right: 3px;
|
@@ -4,16 +4,20 @@ alchemy-message {
|
|
4
4
|
border-style: $default-border-style;
|
5
5
|
border-radius: $default-border-radius;
|
6
6
|
position: relative;
|
7
|
-
padding:
|
8
|
-
margin-bottom:
|
7
|
+
padding: var(--spacing-2) var(--spacing-4) var(--spacing-2) var(--spacing-8);
|
8
|
+
margin-bottom: var(--spacing-2);
|
9
9
|
text-align: left;
|
10
10
|
min-height: 2.6em;
|
11
11
|
word-break: break-word;
|
12
12
|
line-height: 1.5;
|
13
13
|
|
14
|
+
turbo-frame & {
|
15
|
+
margin: var(--spacing-2);
|
16
|
+
}
|
17
|
+
|
14
18
|
&[type="footnote"] {
|
15
|
-
font-size:
|
16
|
-
margin:
|
19
|
+
font-size: var(--font-size_small);
|
20
|
+
margin: var(--spacing-4);
|
17
21
|
}
|
18
22
|
|
19
23
|
&[type="notice"] {
|
@@ -50,7 +54,7 @@ alchemy-message {
|
|
50
54
|
|
51
55
|
alchemy-icon {
|
52
56
|
position: absolute;
|
53
|
-
left: 2
|
57
|
+
left: var(--spacing-2);
|
54
58
|
top: 9px;
|
55
59
|
color: inherit;
|
56
60
|
|
@@ -80,12 +84,12 @@ alchemy-message {
|
|
80
84
|
}
|
81
85
|
|
82
86
|
ol {
|
83
|
-
margin: 0 0
|
84
|
-
padding-left:
|
87
|
+
margin: 0 0 var(--spacing-2);
|
88
|
+
padding-left: var(--spacing-5);
|
85
89
|
|
86
90
|
li {
|
87
91
|
text-indent: 0;
|
88
|
-
margin-bottom:
|
92
|
+
margin-bottom: var(--spacing-1);
|
89
93
|
}
|
90
94
|
}
|
91
95
|
}
|
@@ -0,0 +1,81 @@
|
|
1
|
+
.page-select--page,
|
2
|
+
.page-select--page-name,
|
3
|
+
.page-select--page-urlname {
|
4
|
+
text-overflow: ellipsis;
|
5
|
+
overflow: hidden;
|
6
|
+
white-space: nowrap;
|
7
|
+
}
|
8
|
+
|
9
|
+
.page-select--page {
|
10
|
+
/* Need to redefine these variables here with the defaults from Alchemy,
|
11
|
+
* because they are not available if you only load this file.
|
12
|
+
*/
|
13
|
+
--size-1: var(--spacing-0, 2px);
|
14
|
+
--size-2: var(--spacing-1, 4px);
|
15
|
+
--size-3: var(--spacing-2, 8px);
|
16
|
+
--small-font-size: var(--font-size_small, 10px);
|
17
|
+
--grey: var(--color-grey_light, hsl(0deg, 0%, 94%));
|
18
|
+
--color: var(--color-text, hsla(224deg, 23%, 26%, 0.8));
|
19
|
+
--highlight-color: var(--grey);
|
20
|
+
|
21
|
+
display: flex;
|
22
|
+
flex-direction: column;
|
23
|
+
color: var(--color);
|
24
|
+
|
25
|
+
alchemy-icon {
|
26
|
+
margin-right: var(--size-2);
|
27
|
+
|
28
|
+
.icon {
|
29
|
+
fill: currentColor;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
.select2-highlighted & {
|
34
|
+
color: var(--highlight-color);
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
.page-select--top,
|
39
|
+
.page-select--bottom {
|
40
|
+
display: flex;
|
41
|
+
flex-direction: row;
|
42
|
+
align-items: center;
|
43
|
+
}
|
44
|
+
|
45
|
+
.page-select--bottom {
|
46
|
+
font-size: var(--small-font-size);
|
47
|
+
padding-left: var(--size-1);
|
48
|
+
}
|
49
|
+
|
50
|
+
.page-select--page-urlname {
|
51
|
+
color: var(--color-text_muted, hsla(224deg, 23%, 26%, 0.5));
|
52
|
+
padding-right: var(--size-2);
|
53
|
+
|
54
|
+
.select2-highlighted & {
|
55
|
+
color: var(--highlight-color);
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
.page-select--language-code {
|
60
|
+
--bg-color: var(--grey);
|
61
|
+
--highlight-bg-color: var(--color-white, hsl(0deg, 0%, 100%));
|
62
|
+
--border-radius: var(--border-radius_medium, 3px);
|
63
|
+
|
64
|
+
display: inline-block;
|
65
|
+
background-color: var(--bg-color);
|
66
|
+
margin-left: auto;
|
67
|
+
border-radius: var(--border-radius);
|
68
|
+
padding: var(--size-1) var(--size-2);
|
69
|
+
text-transform: uppercase;
|
70
|
+
|
71
|
+
.select2-highlighted & {
|
72
|
+
color: var(--color);
|
73
|
+
background-color: var(--highlight-bg-color);
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
.page-select--site-name {
|
78
|
+
margin-left: auto;
|
79
|
+
padding: var(--size-2) 0 var(--size-2) var(--size-3);
|
80
|
+
font-size: var(--small-font-size);
|
81
|
+
}
|
@@ -8,7 +8,7 @@
|
|
8
8
|
width: 100%;
|
9
9
|
left: 0px;
|
10
10
|
height: $pagination-height;
|
11
|
-
padding: 2
|
11
|
+
padding: var(--spacing-2);
|
12
12
|
padding-left: $main-menu-width + 10px;
|
13
13
|
text-align: left;
|
14
14
|
border-top: $default-border;
|
@@ -19,14 +19,14 @@
|
|
19
19
|
em {
|
20
20
|
font-size: $default-font-size;
|
21
21
|
font-weight: bold;
|
22
|
-
color:
|
23
|
-
padding:
|
24
|
-
margin: 0
|
22
|
+
color: var(--color-icon);
|
23
|
+
padding: var(--spacing-1);
|
24
|
+
margin: 0 var(--spacing-0);
|
25
25
|
border-radius: $default-border-radius;
|
26
26
|
}
|
27
27
|
|
28
28
|
a:hover {
|
29
|
-
color:
|
29
|
+
color: var(--color-text);
|
30
30
|
background-color: $default-border-color;
|
31
31
|
text-decoration: none;
|
32
32
|
}
|
@@ -36,21 +36,21 @@
|
|
36
36
|
}
|
37
37
|
|
38
38
|
.page {
|
39
|
-
padding:
|
39
|
+
padding: var(--spacing-1) var(--spacing-2);
|
40
40
|
}
|
41
41
|
|
42
42
|
.current {
|
43
|
-
color:
|
43
|
+
color: var(--color-text);
|
44
44
|
background-color: $default-border-color;
|
45
45
|
cursor: default;
|
46
46
|
}
|
47
47
|
|
48
48
|
.previous_page {
|
49
|
-
margin-right: 2
|
49
|
+
margin-right: var(--spacing-2);
|
50
50
|
}
|
51
51
|
|
52
52
|
.next_page {
|
53
|
-
margin-left: 2
|
53
|
+
margin-left: var(--spacing-2);
|
54
54
|
}
|
55
55
|
|
56
56
|
.disabled,
|
@@ -88,5 +88,5 @@
|
|
88
88
|
#assign_image_list .pagination,
|
89
89
|
#assign_file_list .pagination {
|
90
90
|
position: absolute;
|
91
|
-
padding-left:
|
91
|
+
padding-left: var(--spacing-2);
|
92
92
|
}
|
@@ -1,7 +1,3 @@
|
|
1
|
-
/*
|
2
|
-
*= require_self
|
3
|
-
*/
|
4
|
-
|
5
1
|
@import "alchemy/defaults";
|
6
2
|
|
7
3
|
div#main_menu,
|
@@ -18,7 +14,7 @@ div#archive_all {
|
|
18
14
|
}
|
19
15
|
|
20
16
|
span.icon.true:before {
|
21
|
-
content:
|
17
|
+
content: "x";
|
22
18
|
}
|
23
19
|
|
24
20
|
div.pagination {
|
@@ -31,5 +27,5 @@ div.pagination em.current {
|
|
31
27
|
}
|
32
28
|
|
33
29
|
div.pagination em:before {
|
34
|
-
content:
|
30
|
+
content: "Page ";
|
35
31
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
.resource_info {
|
2
2
|
.value {
|
3
|
-
@include clearfix;
|
4
3
|
position: relative;
|
4
|
+
@include clearfix;
|
5
5
|
|
6
6
|
> label {
|
7
7
|
@include form-label;
|
@@ -25,18 +25,17 @@
|
|
25
25
|
align-items: center;
|
26
26
|
justify-content: center;
|
27
27
|
position: absolute;
|
28
|
-
right:
|
29
|
-
top:
|
28
|
+
right: 0;
|
29
|
+
top: var(--spacing-1);
|
30
30
|
height: $form-field-height;
|
31
|
-
background-color:
|
32
|
-
|
33
|
-
padding: 0 2 * $default-padding;
|
31
|
+
background-color: var(--color-grey_light);
|
32
|
+
padding: 0 var(--spacing-2);
|
34
33
|
transition: background-color 0.3s;
|
35
34
|
@extend .right-rounded-border;
|
36
35
|
|
37
36
|
&:hover {
|
38
37
|
cursor: pointer;
|
39
|
-
background-color:
|
38
|
+
background-color: hsl(0deg, 0%, 84%);
|
40
39
|
text-decoration: none;
|
41
40
|
}
|
42
41
|
}
|
@@ -1,13 +1,13 @@
|
|
1
1
|
.search_field {
|
2
2
|
position: relative;
|
3
|
-
margin-bottom:
|
3
|
+
margin-bottom: var(--spacing-1);
|
4
4
|
height: 29px;
|
5
5
|
}
|
6
6
|
|
7
7
|
.search_field {
|
8
8
|
.fa-search {
|
9
9
|
position: absolute;
|
10
|
-
left:
|
10
|
+
left: var(--spacing-2);
|
11
11
|
top: 9px;
|
12
12
|
}
|
13
13
|
|
@@ -32,7 +32,7 @@
|
|
32
32
|
visibility: hidden;
|
33
33
|
position: absolute;
|
34
34
|
top: 7px;
|
35
|
-
right:
|
35
|
+
right: var(--spacing-2);
|
36
36
|
width: 16px;
|
37
37
|
height: 16px;
|
38
38
|
align-items: center;
|
@@ -56,12 +56,12 @@
|
|
56
56
|
width: 0;
|
57
57
|
height: 100%;
|
58
58
|
border: none;
|
59
|
-
background-color:
|
59
|
+
background-color: hsla(0deg, 0%, 100%, 0.75);
|
60
60
|
transition:
|
61
61
|
width $transition-duration ease-in-out,
|
62
62
|
background-color $transition-duration linear;
|
63
63
|
border-radius: 0;
|
64
|
-
padding:
|
64
|
+
padding: var(--spacing-2) var(--spacing-4) var(--spacing-2) var(--spacing-8);
|
65
65
|
margin: 0;
|
66
66
|
text-align: left;
|
67
67
|
box-shadow: none;
|
@@ -87,6 +87,6 @@
|
|
87
87
|
}
|
88
88
|
|
89
89
|
.search_field_clear {
|
90
|
-
top:
|
90
|
+
top: var(--spacing-4);
|
91
91
|
}
|
92
92
|
}
|