alchemy_cms 7.2.7 → 7.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +97 -14
- data/Gemfile +4 -3
- data/Rakefile +1 -0
- data/alchemy_cms.gemspec +7 -7
- 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.css +1 -0
- data/app/assets/builds/tinymce/skins/content/alchemy/content.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.css +1 -0
- data/app/assets/builds/tinymce/skins/ui/alchemy/skin.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 +1 -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 +41 -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 +20 -23
- data/app/assets/stylesheets/alchemy/_variables.scss +98 -94
- 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} +128 -88
- 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} +17 -17
- data/app/assets/stylesheets/alchemy/{node-select.scss → admin/node-select.scss} +5 -5
- data/app/assets/stylesheets/alchemy/{nodes.scss → admin/nodes.scss} +11 -11
- data/app/assets/stylesheets/alchemy/{notices.scss → admin/notices.scss} +11 -7
- data/app/assets/stylesheets/alchemy/{page-select.scss → admin/page-select.scss} +10 -10
- 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} +10 -10
- data/app/assets/stylesheets/alchemy/{sitemap.scss → admin/sitemap.scss} +18 -19
- 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 +40 -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} +40 -40
- 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 +2 -2
- 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/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/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_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 +3 -1
- 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 +132 -105
- data/app/assets/images/alchemy/lupe.cur +0 -0
- data/app/assets/stylesheets/alchemy/labels.scss +0 -3
- 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
@@ -71,7 +71,7 @@
|
|
71
71
|
&[disabled]:active,
|
72
72
|
&.disabled:hover,
|
73
73
|
&[disabled]:hover {
|
74
|
-
background-color:
|
74
|
+
background-color: hsla(0deg, 0%, 100%, 0.5);
|
75
75
|
cursor: not-allowed;
|
76
76
|
box-shadow: none;
|
77
77
|
}
|
@@ -84,9 +84,9 @@
|
|
84
84
|
|
85
85
|
@mixin form-label {
|
86
86
|
width: $form-left-width;
|
87
|
-
padding-right: 2
|
87
|
+
padding-right: var(--spacing-2);
|
88
88
|
padding-top: 0.6em;
|
89
|
-
margin-top:
|
89
|
+
margin-top: var(--spacing-1);
|
90
90
|
vertical-align: top;
|
91
91
|
word-break: normal;
|
92
92
|
float: left;
|
@@ -98,7 +98,7 @@
|
|
98
98
|
float: right;
|
99
99
|
width: $form-right-width;
|
100
100
|
margin: $form-field-margin;
|
101
|
-
padding:
|
101
|
+
padding: var(--spacing-1) var(--spacing-2);
|
102
102
|
line-height: 21px;
|
103
103
|
min-height: $form-field-height;
|
104
104
|
background: white;
|
@@ -106,12 +106,12 @@
|
|
106
106
|
}
|
107
107
|
|
108
108
|
@mixin form-hint(
|
109
|
-
$background-color:
|
110
|
-
$border-color:
|
109
|
+
$background-color: var(--color-yellow_light),
|
110
|
+
$border-color: var(--color-grey_light)
|
111
111
|
) {
|
112
112
|
font-size: $small-font-size;
|
113
113
|
line-height: 1.5em;
|
114
|
-
padding:
|
114
|
+
padding: var(--spacing-1);
|
115
115
|
background-color: $background-color;
|
116
116
|
border: 1px solid $border-color;
|
117
117
|
display: block;
|
@@ -138,7 +138,7 @@
|
|
138
138
|
}
|
139
139
|
|
140
140
|
@mixin drop-shadow {
|
141
|
-
$shadow: 0px 0px 4px
|
141
|
+
$shadow: 0px 0px 4px var(--color-grey_dark);
|
142
142
|
-webkit-box-shadow: $shadow;
|
143
143
|
-moz-box-shadow: $shadow;
|
144
144
|
-ms-box-shadow: $shadow;
|
@@ -147,36 +147,34 @@
|
|
147
147
|
}
|
148
148
|
|
149
149
|
@mixin label-base(
|
150
|
-
$margin: 2
|
151
|
-
$padding:
|
150
|
+
$margin: var(--spacing-2) 0,
|
151
|
+
$padding: var(--spacing-1) var(--spacing-3)
|
152
152
|
) {
|
153
153
|
display: inline-flex;
|
154
154
|
align-items: center;
|
155
|
-
gap:
|
155
|
+
gap: var(--spacing-1);
|
156
156
|
vertical-align: middle;
|
157
157
|
padding: $padding;
|
158
158
|
margin: $margin;
|
159
|
-
background-color:
|
159
|
+
background-color: var(--color-grey_light);
|
160
160
|
overflow: hidden;
|
161
161
|
position: relative;
|
162
162
|
border-radius: $default-border-radius;
|
163
|
-
color:
|
163
|
+
color: var(--color-text);
|
164
164
|
}
|
165
165
|
|
166
|
-
@mixin tag-base(
|
167
|
-
$margin: 2 * $default-margin 0,
|
168
|
-
$padding: $default-padding 3 * $default-padding
|
169
|
-
) {
|
166
|
+
@mixin tag-base($margin: var(--spacing-2) 0, $padding: var(--spacing-2)) {
|
170
167
|
@include label-base($margin: $margin, $padding: $padding);
|
168
|
+
line-height: 1.3;
|
171
169
|
|
172
170
|
&:before {
|
173
171
|
display: inline-flex;
|
172
|
+
align-self: start;
|
174
173
|
flex-shrink: 0;
|
175
|
-
content: "";
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
height: 1rem;
|
174
|
+
content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="hsla(224deg, 23%, 26%, 0.75)"><path d="M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z"></path></svg>');
|
175
|
+
width: 12px;
|
176
|
+
height: 12px;
|
177
|
+
margin-top: var(--spacing-0);
|
180
178
|
}
|
181
179
|
|
182
180
|
&:focus {
|
@@ -204,7 +202,6 @@
|
|
204
202
|
|
205
203
|
@mixin zoom-in {
|
206
204
|
cursor: pointer;
|
207
|
-
cursor: image-url("alchemy/lupe.cur");
|
208
205
|
cursor: -webkit-zoom-in;
|
209
206
|
cursor: -moz-zoom-in;
|
210
207
|
cursor: zoom-in;
|
@@ -1,25 +1,26 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
$blue:
|
4
|
-
$
|
5
|
-
$
|
6
|
-
$
|
7
|
-
$
|
8
|
-
$
|
9
|
-
$dark-gray
|
10
|
-
$
|
11
|
-
$
|
12
|
-
$
|
13
|
-
$
|
14
|
-
$
|
15
|
-
|
16
|
-
|
17
|
-
$
|
18
|
-
$
|
19
|
-
$
|
20
|
-
$
|
21
|
-
|
22
|
-
|
1
|
+
@import "alchemy/deprecated_variables";
|
2
|
+
|
3
|
+
$light-blue: hsl(203deg, 32%, 85%);
|
4
|
+
$very-light-blue: hsl(203deg, 32%, 97%);
|
5
|
+
$blue: hsl(212deg, 52%, 36%);
|
6
|
+
$dark-blue: hsl(212deg, 52%, 26%);
|
7
|
+
$light-gray: hsl(0deg, 0%, 97%);
|
8
|
+
$medium-gray: hsl(0deg, 0%, 94%);
|
9
|
+
$dark-gray: hsl(0deg, 0%, 40%);
|
10
|
+
$very-dark-gray: hsl(0deg, 0%, 20%);
|
11
|
+
$light_yellow: hsl(60deg, 81%, 92%);
|
12
|
+
$orange: hsl(42deg, 100%, 74%);
|
13
|
+
$dark-orange: hsl(28deg, 77%, 68%);
|
14
|
+
$very-dark-orange: hsl(28deg, 77%, 48%);
|
15
|
+
$white: hsl(0deg, 0%, 100%);
|
16
|
+
|
17
|
+
$text-color: hsla(224deg, 23%, 26%, 0.8) !default;
|
18
|
+
$muted-text-color: hsla(224deg, 23%, 26%, 0.5) !default;
|
19
|
+
$icon-color: hsla(224deg, 23%, 26%, 0.75) !default;
|
20
|
+
$linked-color: var(--color-orange_medium) !default;
|
21
|
+
$anchor-color: var(--color-orange_very_dark) !default;
|
22
|
+
|
23
|
+
$body-background-color: var(--color-grey_very_light) !default;
|
23
24
|
|
24
25
|
$default-font-family: "Open Sans", "Lucida Grande", "Lucida Sans Unicode",
|
25
26
|
"Lucida Sans", Verdana, Tahoma, sans-serif !default;
|
@@ -35,16 +36,16 @@ $default-margin: $default-padding !default;
|
|
35
36
|
|
36
37
|
$dialog-header-height: 36px !default;
|
37
38
|
$dialog-header-padding: 0 2 * $default-padding !default;
|
38
|
-
$dialog-header-color:
|
39
|
-
$dialog-header-text-color:
|
39
|
+
$dialog-header-color: var(--color-blue_dark) !default;
|
40
|
+
$dialog-header-text-color: var(--color-white) !default;
|
40
41
|
$dialog-header-font-size: $default-font-size !default;
|
41
|
-
$dialog-box-shadow: 0 8px 16px
|
42
|
-
$dialog-overlay-color:
|
42
|
+
$dialog-box-shadow: 0 8px 16px hsla(0deg, 0%, 14%, 0.5) !default;
|
43
|
+
$dialog-overlay-color: hsl(0deg, 0%, 39%) !default;
|
43
44
|
$dialog-overlay-opacity: 0.4 !default;
|
44
|
-
$dialog-background-color:
|
45
|
+
$dialog-background-color: var(--color-grey_very_light) !default;
|
45
46
|
|
46
|
-
$default-border-color:
|
47
|
-
$border-inset-color:
|
47
|
+
$default-border-color: hsla(0deg, 0%, 69%, 0.5) !default;
|
48
|
+
$border-inset-color: hsla(0deg, 0%, 79%, 0.5) !default;
|
48
49
|
$default-border-width: 1px !default;
|
49
50
|
$default-border-style: solid !default;
|
50
51
|
$default-border: $default-border-width $default-border-style
|
@@ -54,32 +55,32 @@ $default-border-radius: 3px !default;
|
|
54
55
|
$form-field-margin: $default-margin 0 !default;
|
55
56
|
$form-field-height: 31px !default;
|
56
57
|
$form-field-addon-width: 30px !default;
|
57
|
-
$form-field-background-color:
|
58
|
+
$form-field-background-color: var(--color-white) !default;
|
58
59
|
$form-field-border-width: $default-border-width !default;
|
59
60
|
$form-field-border-style: $default-border-style !default;
|
60
61
|
$form-field-border-color: $default-border-color $default-border-color
|
61
62
|
$border-inset-color $border-inset-color !default;
|
62
|
-
$form-field-box-shadow: inset 0px 0 1px
|
63
|
+
$form-field-box-shadow: inset 0px 0 1px var(--color-grey_light) !default;
|
63
64
|
$form-field-padding: $default-padding 2 * $default-padding !default;
|
64
65
|
$form-field-font-size: $default-font-size !default;
|
65
66
|
$form-field-line-height: 1.25 !default;
|
66
|
-
$form-field-text-color:
|
67
|
-
$form-field-disabled-text-color:
|
68
|
-
$form-field-disabled-bg-color:
|
67
|
+
$form-field-text-color: var(--color-text) !default;
|
68
|
+
$form-field-disabled-text-color: hsl(0deg, 0%, 53%) !default;
|
69
|
+
$form-field-disabled-bg-color: hsla(0deg, 0%, 100%, 0.5) !default;
|
69
70
|
|
70
|
-
$focus-color:
|
71
|
+
$focus-color: hsla(28deg, 77%, 68%, 0.75) !default;
|
71
72
|
|
72
|
-
$button-bg-color:
|
73
|
+
$button-bg-color: var(--color-white) !default;
|
73
74
|
$button-hover-bg-color: transparent !default;
|
74
75
|
$button-border-color: $default-border-color !default;
|
75
76
|
$button-border-width: 1px !default;
|
76
77
|
$button-border-radius: $default-border-radius !default;
|
77
|
-
$button-text-color:
|
78
|
+
$button-text-color: var(--color-text) !default;
|
78
79
|
$button-hover-border-color: $default-border-color !default;
|
79
|
-
$button-focus-border-color:
|
80
|
+
$button-focus-border-color: var(--color-orange_dark) !default;
|
80
81
|
$button-font-weight: 700 !default;
|
81
82
|
$button-text-shadow: none !default;
|
82
|
-
$button-box-shadow: 0px 1px 1px -1px
|
83
|
+
$button-box-shadow: 0px 1px 1px -1px hsl(0deg, 0%, 20%) !default;
|
83
84
|
$button-focus-box-shadow: 0px 1px 1px 0px $button-focus-border-color !default;
|
84
85
|
$button-padding: $default-padding 5 * $default-padding !default;
|
85
86
|
$small-button-padding: 0.4em 0.8em !default;
|
@@ -93,102 +94,105 @@ $icon-button-small-width: 15px !default;
|
|
93
94
|
$icon-button-small-height: 15px !default;
|
94
95
|
|
95
96
|
$secondary-button-bg-color: transparent !default;
|
96
|
-
$secondary-button-text-color:
|
97
|
+
$secondary-button-text-color: var(--color-text) !default;
|
97
98
|
$secondary-button-border-color: $default-border-color !default;
|
98
99
|
|
99
|
-
$linked-button-color:
|
100
|
-
$linked-border-color:
|
100
|
+
$linked-button-color: hsla(42deg, 100%, 74%, 0.75) !default;
|
101
|
+
$linked-border-color: hsl(42deg, 100%, 64%) !default;
|
101
102
|
|
102
|
-
$success_border_color:
|
103
|
-
$success_text_color:
|
104
|
-
$success_background_color:
|
103
|
+
$success_border_color: hsl(127deg, 25%, 69%) !default;
|
104
|
+
$success_text_color: hsl(128deg, 32%, 26%) !default;
|
105
|
+
$success_background_color: hsl(88deg, 47%, 88%) !default;
|
105
106
|
|
106
|
-
$info_border_color:
|
107
|
-
$info_text_color:
|
108
|
-
$info_background_color:
|
107
|
+
$info_border_color: hsl(222deg, 25%, 61%) !default;
|
108
|
+
$info_text_color: hsl(225deg, 53%, 29%) !default;
|
109
|
+
$info_background_color: hsl(215deg, 63%, 87%) !default;
|
109
110
|
|
110
|
-
$warning_border_color:
|
111
|
-
$warning_text_color:
|
112
|
-
$warning_background_color:
|
111
|
+
$warning_border_color: hsl(55deg, 25%, 69%) !default;
|
112
|
+
$warning_text_color: hsl(56deg, 53%, 29%) !default;
|
113
|
+
$warning_background_color: hsl(56deg, 68%, 85%) !default;
|
113
114
|
|
114
|
-
$error_border_color:
|
115
|
-
$error_text_color:
|
116
|
-
$error_background_color:
|
115
|
+
$error_border_color: hsl(0deg, 25%, 69%) !default;
|
116
|
+
$error_text_color: hsl(0deg, 51%, 42%) !default;
|
117
|
+
$error_background_color: hsl(0deg, 47%, 88%) !default;
|
117
118
|
|
118
|
-
$hint-background-color:
|
119
|
-
$hint-text-color:
|
119
|
+
$hint-background-color: var(--color-yellow_light) !default;
|
120
|
+
$hint-text-color: hsl(49deg, 18%, 30%) !default;
|
120
121
|
|
121
122
|
$form-left-width: 35% !default;
|
122
123
|
$form-right-width: 65% !default;
|
123
124
|
|
124
125
|
$sitemap-line-height: 32px !default;
|
125
|
-
$sitemap-page-background-color:
|
126
|
-
$sitemap-page-hover-color:
|
127
|
-
$sitemap-info-background-color:
|
128
|
-
$sitemap-highlight-color:
|
126
|
+
$sitemap-page-background-color: hsla(0deg, 0%, 100%, 0.75) !default;
|
127
|
+
$sitemap-page-hover-color: hsla(60deg, 81%, 92%, 0.5) !default;
|
128
|
+
$sitemap-info-background-color: hsla(0deg, 0%, 100%, 0.5) !default;
|
129
|
+
$sitemap-highlight-color: hsla(57deg, 100%, 82%, 0.5) !default;
|
129
130
|
|
130
131
|
$main-menu-width: 150px !default;
|
131
132
|
$collapsed-main-menu-width: 48px !default;
|
132
133
|
$collapsed-main-menu-entry-max-width: 300px !default;
|
133
|
-
$main-menu-bg-color:
|
134
|
-
$main-menu-active-bg-color:
|
135
|
-
$main-menu-active-text-color:
|
136
|
-
$main-menu-text-color:
|
137
|
-
$main-menu-icon-color:
|
134
|
+
$main-menu-bg-color: var(--color-blue_dark) !default;
|
135
|
+
$main-menu-active-bg-color: var(--color-orange_dark) !default;
|
136
|
+
$main-menu-active-text-color: var(--color-blue_dark) !default;
|
137
|
+
$main-menu-text-color: var(--color-white) !default;
|
138
|
+
$main-menu-icon-color: var(--color-white) !default;
|
138
139
|
$main-menu-entry-max-width: 110px !default;
|
139
|
-
$toolbar-bg-color:
|
140
|
+
$toolbar-bg-color: var(--color-grey_light) !default;
|
140
141
|
$toolbar-height: 46px !default;
|
141
142
|
$tab-bar-height: 51px !default;
|
142
143
|
$element-toolbar-height: 37px !default;
|
143
144
|
$header-height: 29px !default;
|
144
|
-
$header-background:
|
145
|
-
$text-shadow-light:
|
145
|
+
$header-background: hsl(0deg, 0%, 85%) !default;
|
146
|
+
$text-shadow-light: hsla(0deg, 0%, 100%, 0.5) 0 0 4px !default;
|
146
147
|
$transition-duration: 250ms !default;
|
147
148
|
$transition-easing: linear !default;
|
148
149
|
|
149
|
-
$tooltip-background-color:
|
150
|
+
$tooltip-background-color: var(--color-blue_dark) !default;
|
150
151
|
|
151
152
|
$addon-icon-opacity: 0.85 !default;
|
152
153
|
|
153
|
-
$table-row-even-background-color:
|
154
|
-
$table-row-odd-background-color:
|
155
|
-
$table-row-hover-color:
|
154
|
+
$table-row-even-background-color: var(--color-white) !default;
|
155
|
+
$table-row-odd-background-color: hsla(0deg, 0%, 100%, 0.5) !default;
|
156
|
+
$table-row-hover-color: hsla(60deg, 81%, 92%, 0.5) !default;
|
156
157
|
|
157
158
|
$elements-window-width: 22.5vw !default;
|
158
159
|
$elements-window-min-width: 400px !default;
|
159
160
|
$element-header-bg-color: transparent !default;
|
160
|
-
$element-header-active-bg-color:
|
161
|
-
$element-header-active-color:
|
162
|
-
$element-header-deprecated-bg-color:
|
163
|
-
$element-deprecated-border-color:
|
161
|
+
$element-header-active-bg-color: var(--color-blue_dark) !default;
|
162
|
+
$element-header-active-color: var(--color-white) !default;
|
163
|
+
$element-header-deprecated-bg-color: hsla(29deg, 95%, 84%, 0.25) !default;
|
164
|
+
$element-deprecated-border-color: hsl(29deg, 95%, 84%) !default;
|
164
165
|
$top-menu-height: 75px !default;
|
165
166
|
|
166
167
|
$tabs-height: 31px !default;
|
167
168
|
$pagination-height: 52px !default;
|
168
169
|
|
169
|
-
$datepicker_current_bg:
|
170
|
-
$datepicker_current_color:
|
170
|
+
$datepicker_current_bg: var(--color-blue_medium) !default;
|
171
|
+
$datepicker_current_color: var(--color-white) !default;
|
171
172
|
$datepicker_current_box_shadow: none !default;
|
172
|
-
$datepicker_hover_bg:
|
173
|
-
$datepicker_hover_color:
|
174
|
-
$datepicker_today_bg:
|
175
|
-
$datepicker_today_color:
|
176
|
-
$datepicker_header_color:
|
177
|
-
$datepicker_day_bg:
|
178
|
-
$datepicker_day_border: 1px solid
|
179
|
-
$datepicker_day_color:
|
180
|
-
|
181
|
-
$select-hover-bg-color:
|
182
|
-
$select-hover-text-color:
|
173
|
+
$datepicker_hover_bg: var(--color-yellow_light) !default;
|
174
|
+
$datepicker_hover_color: var(--color-text) !default;
|
175
|
+
$datepicker_today_bg: var(--color-grey_light) !default;
|
176
|
+
$datepicker_today_color: var(--color-blue_medium) !default;
|
177
|
+
$datepicker_header_color: var(--color-text) !default;
|
178
|
+
$datepicker_day_bg: var(--color-grey_very_light) !default;
|
179
|
+
$datepicker_day_border: 1px solid var(--color-grey_light) !default;
|
180
|
+
$datepicker_day_color: var(--color-text) !default;
|
181
|
+
|
182
|
+
$select-hover-bg-color: var(--color-blue_dark) !default;
|
183
|
+
$select-hover-text-color: var(--color-white) !default;
|
183
184
|
$medium-select-box-width: 90px;
|
184
185
|
$large-select-box-width: 120px;
|
185
186
|
|
186
187
|
$thumbnail-background:
|
187
|
-
linear-gradient(45deg,
|
188
|
-
|
189
|
-
linear-gradient(45deg,
|
190
|
-
|
191
|
-
|
188
|
+
linear-gradient(45deg, var(--color-grey_light) 25%, transparent 25%) 0.5em
|
189
|
+
0.5em/1em 1em,
|
190
|
+
linear-gradient(-45deg, var(--color-grey_light) 25%, transparent 25%) -0.5em 0/1em
|
191
|
+
1em,
|
192
|
+
linear-gradient(45deg, transparent 75%, var(--color-grey_light) 75%) 0 0/1em
|
193
|
+
1em,
|
194
|
+
linear-gradient(-45deg, transparent 75%, var(--color-grey_light) 75%) 0 0.5em/1em
|
195
|
+
1em var(--color-white) !default;
|
192
196
|
|
193
197
|
$small-screen-break-point: 500px;
|
194
198
|
$medium-screen-break-point: 700px;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
.resources-header {
|
2
|
-
padding: 0 2
|
2
|
+
padding: 0 var(--spacing-2);
|
3
3
|
}
|
4
4
|
|
5
5
|
.applied-filter {
|
@@ -26,10 +26,10 @@
|
|
26
26
|
}
|
27
27
|
|
28
28
|
.selected_item_tools {
|
29
|
-
margin: -
|
29
|
+
margin: calc(-1 * var(--spacing-2));
|
30
30
|
border-bottom: 1px solid $default-border-color;
|
31
|
-
margin-bottom: 4
|
32
|
-
padding: 4
|
31
|
+
margin-bottom: var(--spacing-4);
|
32
|
+
padding: var(--spacing-4);
|
33
33
|
|
34
34
|
.button {
|
35
35
|
vertical-align: middle;
|
@@ -57,7 +57,7 @@
|
|
57
57
|
height: var(--picture-thumbnail-height);
|
58
58
|
position: relative;
|
59
59
|
border-radius: var(--picture-thumbnail-border-radius);
|
60
|
-
padding: 2
|
60
|
+
padding: var(--spacing-2);
|
61
61
|
padding-bottom: 2.5em;
|
62
62
|
transition: all $transition-duration;
|
63
63
|
|
@@ -89,7 +89,7 @@
|
|
89
89
|
bottom: 0;
|
90
90
|
left: 0;
|
91
91
|
line-height: 2.5;
|
92
|
-
padding: 0
|
92
|
+
padding: 0 var(--spacing-1);
|
93
93
|
text-overflow: ellipsis;
|
94
94
|
}
|
95
95
|
|
@@ -124,7 +124,7 @@
|
|
124
124
|
);
|
125
125
|
|
126
126
|
display: grid;
|
127
|
-
gap: 2
|
127
|
+
gap: var(--spacing-2);
|
128
128
|
grid-auto-rows: min-content;
|
129
129
|
grid-template-columns: repeat(
|
130
130
|
auto-fill,
|
@@ -171,11 +171,11 @@ div.assign_image_list_image {
|
|
171
171
|
justify-content: center;
|
172
172
|
position: absolute;
|
173
173
|
background-color: white;
|
174
|
-
top:
|
175
|
-
padding:
|
174
|
+
top: var(--spacing-1);
|
175
|
+
padding: var(--spacing-0);
|
176
176
|
z-index: 10;
|
177
177
|
border-radius: $default-border-radius;
|
178
|
-
box-shadow: 0 0 1px
|
178
|
+
box-shadow: 0 0 1px var(--color-grey_dark);
|
179
179
|
|
180
180
|
&:hover {
|
181
181
|
text-decoration: none;
|
@@ -192,7 +192,7 @@ div.assign_image_list_image {
|
|
192
192
|
}
|
193
193
|
|
194
194
|
&.select {
|
195
|
-
left:
|
195
|
+
left: var(--spacing-1);
|
196
196
|
|
197
197
|
input {
|
198
198
|
margin: 0;
|
@@ -202,7 +202,7 @@ div.assign_image_list_image {
|
|
202
202
|
|
203
203
|
&.delete {
|
204
204
|
cursor: pointer;
|
205
|
-
right:
|
205
|
+
right: var(--spacing-1);
|
206
206
|
}
|
207
207
|
|
208
208
|
a {
|
@@ -226,7 +226,7 @@ div.assign_image_list_image {
|
|
226
226
|
left: 0;
|
227
227
|
width: 100%;
|
228
228
|
max-height: 80%;
|
229
|
-
padding:
|
229
|
+
padding: var(--spacing-1);
|
230
230
|
pointer-events: none;
|
231
231
|
|
232
232
|
.tag {
|
@@ -250,14 +250,14 @@ div#library_sidebar {
|
|
250
250
|
right: 0;
|
251
251
|
width: 232px;
|
252
252
|
|
253
|
-
padding: $top-menu-height + 2
|
254
|
-
$pagination-height + 2
|
253
|
+
padding: calc(#{$top-menu-height} + var(--spacing-2)) var(--spacing-4)
|
254
|
+
calc(#{$pagination-height} + var(--spacing-2)) var(--spacing-4);
|
255
255
|
height: 100%;
|
256
256
|
z-index: 3;
|
257
|
-
background-color:
|
257
|
+
background-color: var(--color-grey_very_light);
|
258
258
|
|
259
259
|
h2 {
|
260
|
-
margin-top: 4
|
260
|
+
margin-top: var(--spacing-4);
|
261
261
|
}
|
262
262
|
|
263
263
|
h3 {
|
@@ -277,7 +277,7 @@ div#filter_bar {
|
|
277
277
|
|
278
278
|
.alchemy-dialog-body {
|
279
279
|
#library_sidebar {
|
280
|
-
padding: 0 4
|
280
|
+
padding: 0 var(--spacing-4);
|
281
281
|
}
|
282
282
|
}
|
283
283
|
|
@@ -308,17 +308,17 @@ div#filter_bar {
|
|
308
308
|
#overlay_file_list {
|
309
309
|
.assign_file_file {
|
310
310
|
display: block;
|
311
|
-
margin-bottom:
|
311
|
+
margin-bottom: var(--spacing-1);
|
312
312
|
word-break: break-all;
|
313
313
|
|
314
314
|
&:hover {
|
315
|
-
background-color:
|
315
|
+
background-color: var(--color-yellow_light);
|
316
316
|
}
|
317
317
|
}
|
318
318
|
|
319
319
|
> ul {
|
320
320
|
margin: 0;
|
321
|
-
padding:
|
321
|
+
padding: var(--spacing-1) 0;
|
322
322
|
|
323
323
|
a {
|
324
324
|
@extend %text-overflow;
|
@@ -326,11 +326,11 @@ div#filter_bar {
|
|
326
326
|
justify-content: space-between;
|
327
327
|
line-height: 25px;
|
328
328
|
text-decoration: none;
|
329
|
-
padding:
|
329
|
+
padding: var(--spacing-1) var(--spacing-2);
|
330
330
|
}
|
331
331
|
|
332
332
|
alchemy-icon {
|
333
|
-
margin-right: 2
|
333
|
+
margin-right: var(--spacing-2);
|
334
334
|
vertical-align: bottom;
|
335
335
|
}
|
336
336
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.attachment_preview_container {
|
2
|
-
background-color:
|
3
|
-
margin-top:
|
2
|
+
background-color: var(--color-grey_light);
|
3
|
+
margin-top: var(--spacing-3);
|
4
4
|
|
5
5
|
audio,
|
6
6
|
video {
|
@@ -10,7 +10,7 @@
|
|
10
10
|
&.image-preview {
|
11
11
|
height: 300px;
|
12
12
|
text-align: center;
|
13
|
-
padding: 2
|
13
|
+
padding: var(--spacing-2);
|
14
14
|
white-space: nowrap;
|
15
15
|
|
16
16
|
&:before {
|
@@ -36,5 +36,5 @@
|
|
36
36
|
width: 100%;
|
37
37
|
background-color: white;
|
38
38
|
min-height: 435px;
|
39
|
-
margin-top:
|
39
|
+
margin-top: var(--spacing-3);
|
40
40
|
}
|
@@ -5,7 +5,7 @@ html {
|
|
5
5
|
|
6
6
|
&.turbo-progress-bar::before,
|
7
7
|
.turbo-progress-bar {
|
8
|
-
background-color:
|
8
|
+
background-color: var(--color-blue_medium) !important;
|
9
9
|
z-index: 400001;
|
10
10
|
}
|
11
11
|
}
|
@@ -30,14 +30,14 @@ noscript {
|
|
30
30
|
|
31
31
|
h1,
|
32
32
|
p {
|
33
|
-
margin:
|
33
|
+
margin: var(--spacing-4) 0;
|
34
34
|
}
|
35
35
|
}
|
36
36
|
|
37
37
|
body {
|
38
38
|
margin: 0;
|
39
39
|
padding: 0;
|
40
|
-
color:
|
40
|
+
color: var(--color-text);
|
41
41
|
font: $default-font-style;
|
42
42
|
background-color: $body-background-color;
|
43
43
|
height: 100%;
|
@@ -87,9 +87,9 @@ hr {
|
|
87
87
|
width: 80%;
|
88
88
|
max-width: 500px;
|
89
89
|
margin: 2em auto;
|
90
|
-
padding: 4
|
91
|
-
background:
|
92
|
-
border-radius:
|
90
|
+
padding: var(--spacing-4);
|
91
|
+
background: var(--color-grey_light);
|
92
|
+
border-radius: var(--border-radius_medium);
|
93
93
|
}
|
94
94
|
|
95
95
|
.float_right {
|
@@ -121,7 +121,7 @@ hr {
|
|
121
121
|
}
|
122
122
|
|
123
123
|
.bottom-left-rounded-border {
|
124
|
-
border-bottom-left-radius:
|
124
|
+
border-bottom-left-radius: var(--border-radius_medium);
|
125
125
|
}
|
126
126
|
|
127
127
|
.disable-user-select {
|
@@ -133,11 +133,11 @@ hr {
|
|
133
133
|
}
|
134
134
|
|
135
135
|
.with_padding {
|
136
|
-
padding: 2
|
136
|
+
padding: var(--spacing-2);
|
137
137
|
}
|
138
138
|
|
139
139
|
.with_margin {
|
140
|
-
margin: 2
|
140
|
+
margin: var(--spacing-2);
|
141
141
|
}
|
142
142
|
|
143
143
|
a img {
|
@@ -2,8 +2,8 @@ button,
|
|
2
2
|
input[type="submit"],
|
3
3
|
a.button,
|
4
4
|
input.button {
|
5
|
-
@include button-defaults;
|
6
5
|
position: relative;
|
6
|
+
@include button-defaults;
|
7
7
|
|
8
8
|
&.secondary {
|
9
9
|
background-color: $secondary-button-bg-color;
|
@@ -26,7 +26,7 @@ input.button {
|
|
26
26
|
|
27
27
|
&.small {
|
28
28
|
padding: $small-button-padding;
|
29
|
-
line-height: 4
|
29
|
+
line-height: var(--spacing-4);
|
30
30
|
font-size: inherit;
|
31
31
|
}
|
32
32
|
|
@@ -37,7 +37,7 @@ input.button {
|
|
37
37
|
|
38
38
|
.icon {
|
39
39
|
font-weight: normal;
|
40
|
-
margin-right:
|
40
|
+
margin-right: var(--spacing-1);
|
41
41
|
fill: currentColor;
|
42
42
|
}
|
43
43
|
}
|