alchemy_cms 3.4.2 → 3.5.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.codeclimate.yml +9 -3
- data/.teatro.yml +1 -0
- data/.travis.yml +14 -17
- data/CHANGELOG.md +44 -6
- data/Gemfile +7 -4
- data/README.md +60 -10
- data/Rakefile +1 -1
- data/alchemy_cms.gemspec +5 -8
- data/app/assets/javascripts/alchemy/admin.js +2 -0
- data/app/assets/javascripts/alchemy/alchemy.dialog.js.coffee +1 -0
- data/app/assets/javascripts/alchemy/alchemy.gui.js.coffee +1 -0
- data/app/assets/javascripts/alchemy/alchemy.hotkeys.js.coffee +1 -1
- data/app/assets/javascripts/alchemy/alchemy.initializer.js.coffee +9 -7
- data/app/assets/javascripts/alchemy/alchemy.link_dialog.js.coffee +1 -0
- data/app/assets/javascripts/alchemy/alchemy.preview_window.js.coffee +11 -7
- data/app/assets/javascripts/alchemy/alchemy.sitemap.js.coffee +1 -1
- data/app/assets/javascripts/alchemy/alchemy.tinymce.js.coffee +8 -3
- data/app/assets/javascripts/alchemy/alchemy.tooltips.coffee +10 -0
- data/app/assets/javascripts/alchemy/alchemy.uploader.js.coffee +104 -73
- data/app/assets/stylesheets/alchemy/_defaults.scss +1 -4
- data/app/assets/stylesheets/alchemy/_extends.scss +13 -35
- data/app/assets/stylesheets/alchemy/_mixins.scss +82 -18
- data/app/assets/stylesheets/alchemy/_variables.scss +21 -8
- data/app/assets/stylesheets/alchemy/admin.scss +4 -0
- data/app/assets/stylesheets/alchemy/archive.scss +8 -12
- data/app/assets/stylesheets/alchemy/attachments.scss +39 -0
- data/app/assets/stylesheets/alchemy/base.scss +26 -15
- data/app/assets/stylesheets/alchemy/buttons.scss +59 -31
- data/app/assets/stylesheets/alchemy/dashboard.scss +3 -3
- data/app/assets/stylesheets/alchemy/dialogs.scss +10 -8
- data/app/assets/stylesheets/alchemy/elements.scss +65 -41
- data/app/assets/stylesheets/alchemy/errors.scss +7 -0
- data/app/assets/stylesheets/alchemy/flash.scss +1 -1
- data/app/assets/stylesheets/alchemy/form_fields.scss +0 -37
- data/app/assets/stylesheets/alchemy/forms.scss +18 -27
- data/app/assets/stylesheets/alchemy/frame.scss +104 -204
- data/app/assets/stylesheets/alchemy/hints.scss +62 -0
- data/app/assets/stylesheets/alchemy/icon-font.scss +2 -1
- data/app/assets/stylesheets/alchemy/icons.scss +9 -4
- data/app/assets/stylesheets/alchemy/image_library.scss +6 -6
- data/app/assets/stylesheets/alchemy/jquery-ui.scss +6 -4
- data/app/assets/stylesheets/alchemy/lists.scss +0 -1
- data/app/assets/stylesheets/alchemy/menubar.scss +3 -4
- data/app/assets/stylesheets/alchemy/modules.scss +0 -6
- data/app/assets/stylesheets/alchemy/navigation.scss +242 -0
- data/app/assets/stylesheets/alchemy/pagination.scss +3 -3
- data/app/assets/stylesheets/alchemy/print.scss +1 -0
- data/app/assets/stylesheets/alchemy/resource_info.scss +45 -0
- data/app/assets/stylesheets/alchemy/search.scss +72 -1
- data/app/assets/stylesheets/alchemy/selects.scss +38 -44
- data/app/assets/stylesheets/alchemy/sitemap.scss +89 -79
- data/app/assets/stylesheets/alchemy/tables.scss +6 -10
- data/app/assets/stylesheets/alchemy/toolbar.scss +7 -36
- data/app/assets/stylesheets/alchemy/upload.scss +12 -3
- data/app/assets/stylesheets/tinymce/skins/alchemy/content.min.css.scss +6 -3
- data/app/assets/stylesheets/tinymce/skins/alchemy/fonts/tinymce-small.svg +58 -170
- data/app/assets/stylesheets/tinymce/skins/alchemy/fonts/tinymce-small.ttf +0 -0
- data/app/assets/stylesheets/tinymce/skins/alchemy/fonts/tinymce-small.woff +0 -0
- data/app/assets/stylesheets/tinymce/skins/alchemy/fonts/tinymce.svg +124 -148
- data/app/assets/stylesheets/tinymce/skins/alchemy/fonts/tinymce.ttf +0 -0
- data/app/assets/stylesheets/tinymce/skins/alchemy/fonts/tinymce.woff +0 -0
- data/app/assets/stylesheets/tinymce/skins/alchemy/skin.min.css.scss +426 -144
- data/app/controllers/alchemy/admin/attachments_controller.rb +24 -16
- data/app/controllers/alchemy/admin/clipboard_controller.rb +1 -1
- data/app/controllers/alchemy/admin/essence_files_controller.rb +1 -1
- data/app/controllers/alchemy/admin/essence_pictures_controller.rb +9 -8
- data/app/controllers/alchemy/admin/layoutpages_controller.rb +1 -0
- data/app/controllers/alchemy/admin/pages_controller.rb +2 -2
- data/app/controllers/alchemy/admin/resources_controller.rb +2 -2
- data/app/controllers/alchemy/admin/tags_controller.rb +1 -1
- data/app/controllers/alchemy/api/pages_controller.rb +16 -0
- data/app/controllers/alchemy/messages_controller.rb +1 -1
- data/app/controllers/concerns/alchemy/admin/uploader_responses.rb +2 -2
- data/app/helpers/alchemy/admin/attachments_helper.rb +11 -0
- data/app/helpers/alchemy/admin/base_helper.rb +37 -4
- data/app/helpers/alchemy/admin/contents_helper.rb +11 -4
- data/app/helpers/alchemy/admin/elements_helper.rb +0 -19
- data/app/helpers/alchemy/admin/essences_helper.rb +7 -30
- data/app/helpers/alchemy/admin/navigation_helper.rb +13 -51
- data/app/helpers/alchemy/admin/pages_helper.rb +21 -16
- data/app/helpers/alchemy/admin/pictures_helper.rb +9 -0
- data/app/helpers/alchemy/deprecated_pages_helper.rb +54 -0
- data/app/helpers/alchemy/essences_helper.rb +1 -1
- data/app/helpers/alchemy/pages_helper.rb +8 -109
- data/app/helpers/alchemy/url_helper.rb +8 -13
- data/app/models/alchemy/attachment.rb +7 -4
- data/app/models/alchemy/cell.rb +2 -2
- data/app/models/alchemy/content.rb +2 -2
- data/app/models/alchemy/content/factory.rb +12 -9
- data/app/models/alchemy/element.rb +6 -3
- data/app/models/alchemy/essence_file.rb +1 -1
- data/app/models/alchemy/essence_picture.rb +37 -47
- data/app/models/alchemy/essence_picture_view.rb +8 -1
- data/app/models/alchemy/folded_page.rb +3 -2
- data/app/models/alchemy/legacy_page_url.rb +3 -3
- data/app/models/alchemy/page.rb +50 -5
- data/app/models/alchemy/page/fixed_attributes.rb +63 -0
- data/app/models/alchemy/page/page_elements.rb +10 -7
- data/app/models/alchemy/page/page_natures.rb +19 -0
- data/app/models/alchemy/picture.rb +1 -0
- data/app/models/alchemy/picture/transformations.rb +1 -1
- data/app/models/alchemy/picture/url.rb +82 -0
- data/app/serializers/alchemy/page_tree_serializer.rb +29 -8
- data/app/views/alchemy/_edit_mode.html.erb +2 -0
- data/app/views/alchemy/_menubar.html.erb +1 -1
- data/app/views/alchemy/_preview_mode_code.html.erb +6 -0
- data/app/views/alchemy/admin/attachments/_archive_overlay.html.erb +1 -1
- data/app/views/alchemy/admin/attachments/_attachment.html.erb +25 -5
- data/app/views/alchemy/admin/attachments/_replace_button.html.erb +26 -0
- data/app/views/alchemy/admin/attachments/index.html.erb +1 -1
- data/app/views/alchemy/admin/attachments/show.html.erb +52 -0
- data/app/views/alchemy/admin/elements/_element_header.html.erb +6 -3
- data/app/views/alchemy/admin/elements/create.js.erb +0 -2
- data/app/views/alchemy/admin/elements/trash.js.erb +0 -1
- data/app/views/alchemy/admin/elements/update.js.erb +0 -2
- data/app/views/alchemy/admin/essence_pictures/crop.html.erb +1 -4
- data/app/views/alchemy/admin/essence_pictures/edit.html.erb +1 -1
- data/app/views/alchemy/admin/languages/index.html.erb +1 -0
- data/app/views/alchemy/admin/layoutpages/_layoutpage.html.erb +26 -27
- data/app/views/alchemy/admin/layoutpages/edit.html.erb +1 -1
- data/app/views/alchemy/admin/pages/_form.html.erb +13 -40
- data/app/views/alchemy/admin/pages/_locked_page.html.erb +1 -1
- data/app/views/alchemy/admin/pages/_page.html.erb +119 -61
- data/app/views/alchemy/admin/pages/_page_for_links.html.erb +4 -2
- data/app/views/alchemy/admin/pages/_page_infos.html.erb +12 -12
- data/app/views/alchemy/admin/pages/_page_status.html.erb +1 -1
- data/app/views/alchemy/admin/pages/_publication_fields.html.erb +35 -0
- data/app/views/alchemy/admin/pages/edit.html.erb +13 -2
- data/app/views/alchemy/admin/pages/index.html.erb +3 -8
- data/app/views/alchemy/admin/pages/info.html.erb +15 -2
- data/app/views/alchemy/admin/pages/sort.js.erb +1 -1
- data/app/views/alchemy/admin/pages/update.js.erb +1 -14
- data/app/views/alchemy/admin/partials/_main_navigation_entry.html.erb +12 -8
- data/app/views/alchemy/admin/partials/_remote_search_form.html.erb +4 -4
- data/app/views/alchemy/admin/partials/_search_form.html.erb +1 -1
- data/app/views/alchemy/admin/partials/_sub_navigation.html.erb +9 -6
- data/app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb +1 -1
- data/app/views/alchemy/admin/pictures/_picture.html.erb +1 -6
- data/app/views/alchemy/admin/pictures/_picture_to_assign.html.erb +1 -6
- data/app/views/alchemy/admin/pictures/index.html.erb +1 -1
- data/app/views/alchemy/admin/pictures/show.html.erb +1 -6
- data/app/views/alchemy/admin/uploader/_button.html.erb +4 -4
- data/app/views/alchemy/base/500.html.erb +15 -1
- data/app/views/alchemy/essences/_essence_boolean_editor.html.erb +13 -15
- data/app/views/alchemy/essences/_essence_boolean_view.html.erb +1 -3
- data/app/views/alchemy/essences/_essence_date_editor.html.erb +0 -2
- data/app/views/alchemy/essences/_essence_date_view.html.erb +0 -2
- data/app/views/alchemy/essences/_essence_file_editor.html.erb +2 -7
- data/app/views/alchemy/essences/_essence_file_view.html.erb +1 -3
- data/app/views/alchemy/essences/_essence_html_editor.html.erb +0 -2
- data/app/views/alchemy/essences/_essence_html_view.html.erb +1 -3
- data/app/views/alchemy/essences/_essence_link_editor.html.erb +0 -2
- data/app/views/alchemy/essences/_essence_link_view.html.erb +0 -2
- data/app/views/alchemy/essences/_essence_picture_editor.html.erb +47 -49
- data/app/views/alchemy/essences/_essence_picture_view.html.erb +1 -3
- data/app/views/alchemy/essences/_essence_richtext_editor.html.erb +0 -2
- data/app/views/alchemy/essences/_essence_richtext_view.html.erb +1 -3
- data/app/views/alchemy/essences/_essence_select_editor.html.erb +27 -29
- data/app/views/alchemy/essences/_essence_select_view.html.erb +1 -3
- data/app/views/alchemy/essences/_essence_text_editor.html.erb +17 -19
- data/app/views/alchemy/essences/_essence_text_view.html.erb +0 -2
- data/app/views/alchemy/pages/_meta_data.html.erb +9 -0
- data/app/views/layouts/alchemy/admin.html.erb +9 -11
- data/bin/alchemy +1 -2
- data/config/alchemy/config.yml +1 -1
- data/config/alchemy/modules.yml +0 -16
- data/config/initializers/dragonfly.rb +0 -18
- data/config/initializers/mini_profiler.rb +6 -0
- data/config/locales/alchemy.de.yml +9 -1
- data/config/locales/alchemy.en.yml +7 -1
- data/config/locales/alchemy.es.yml +6 -0
- data/config/locales/alchemy.fr.yml +2 -0
- data/config/locales/alchemy.it.yml +3 -1
- data/config/locales/alchemy.nl.yml +2 -0
- data/config/locales/alchemy.ru.yml +2 -0
- data/config/routes.rb +3 -8
- data/db/migrate/20160912223112_add_index_to_alchemy_pages_rgt.rb +9 -0
- data/db/migrate/20160927205604_add_foreign_key_indices_and_null_constraints.rb +20 -0
- data/db/migrate/20160928080104_add_foreign_keys.rb +27 -0
- data/lib/alchemy/admin/locale.rb +4 -3
- data/lib/alchemy/engine.rb +2 -4
- data/lib/alchemy/errors.rb +9 -2
- data/lib/alchemy/forms/builder.rb +8 -0
- data/lib/alchemy/modules.rb +20 -19
- data/lib/alchemy/permissions.rb +15 -4
- data/lib/alchemy/resources_helper.rb +4 -2
- data/lib/alchemy/sass_support.rb +9 -0
- data/lib/alchemy/seeder.rb +89 -1
- data/lib/alchemy/test_support/essence_shared_examples.rb +2 -0
- data/lib/alchemy/test_support/factories/attachment_factory.rb +1 -1
- data/lib/alchemy/test_support/factories/content_factory.rb +1 -0
- data/lib/alchemy/test_support/factories/element_factory.rb +1 -0
- data/lib/alchemy/test_support/factories/picture_factory.rb +1 -1
- data/lib/alchemy/test_support/fixtures/image.png +0 -0
- data/lib/alchemy/tinymce.rb +2 -6
- data/lib/alchemy/upgrader.rb +4 -55
- data/lib/alchemy/upgrader/tasks/install_dragonfly_config.rb +14 -0
- data/lib/alchemy/upgrader/three_point_five.rb +32 -0
- data/lib/alchemy/upgrader/three_point_four.rb +2 -8
- data/lib/alchemy/upgrader/three_point_one.rb +30 -30
- data/lib/alchemy/upgrader/three_point_three.rb +31 -31
- data/lib/alchemy/upgrader/three_point_two.rb +25 -25
- data/lib/alchemy/upgrader/three_point_zero.rb +59 -59
- data/lib/alchemy/version.rb +1 -1
- data/lib/rails/generators/alchemy/elements/templates/view.html.erb +1 -1
- data/lib/rails/generators/alchemy/elements/templates/view.html.haml +1 -1
- data/lib/rails/generators/alchemy/elements/templates/view.html.slim +1 -1
- data/lib/rails/generators/alchemy/essence/templates/editor.html.erb +1 -3
- data/lib/rails/generators/alchemy/install/files/_article_view.html.erb +1 -1
- data/lib/rails/generators/alchemy/install/files/application.html.erb +3 -4
- data/lib/rails/generators/alchemy/install/install_generator.rb +4 -0
- data/lib/rails/generators/alchemy/install/templates/dragonfly.rb.tt +35 -0
- data/lib/rails/generators/alchemy/module/module_generator.rb +1 -1
- data/lib/tasks/alchemy/db.rake +6 -0
- data/lib/tasks/alchemy/tidy.rake +85 -0
- data/lib/tasks/alchemy/upgrade.rake +165 -16
- data/vendor/assets/javascripts/clipboard.min.js +7 -0
- data/vendor/assets/javascripts/fileupload/jquery.fileupload-process.js +4 -4
- data/vendor/assets/javascripts/fileupload/jquery.fileupload-validate.js +2 -2
- data/vendor/assets/javascripts/fileupload/jquery.fileupload.js +29 -14
- data/vendor/assets/javascripts/fileupload/jquery.iframe-transport.js +2 -2
- data/vendor/assets/javascripts/tinymce/langs/es.js +2 -2
- data/vendor/assets/javascripts/tinymce/langs/fr.js +1 -1
- data/vendor/assets/javascripts/tinymce/langs/it.js +1 -1
- data/vendor/assets/javascripts/tinymce/langs/nl.js +3 -3
- data/vendor/assets/javascripts/tinymce/tinymce.min.js +15 -12
- metadata +44 -88
- data/app/assets/stylesheets/tinymce/skins/alchemy/fonts/readme.md +0 -1
- data/app/assets/stylesheets/tinymce/skins/alchemy/fonts/tinymce-small.eot +0 -0
- data/app/assets/stylesheets/tinymce/skins/alchemy/fonts/tinymce.eot +0 -0
- data/app/assets/stylesheets/tinymce/skins/alchemy/img/wline.gif +0 -0
- data/app/assets/stylesheets/tinymce/skins/alchemy/skin.ie7.min.css +0 -1
- data/app/controllers/alchemy/pictures_controller.rb +0 -97
- data/app/views/alchemy/admin/elements/_refresh_editor.js.erb +0 -8
- data/vendor/assets/javascripts/tinymce/plugins/anchor/plugin.min.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/autoresize/plugin.min.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/charmap/plugin.min.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/code/plugin.min.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/directionality/plugin.min.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/fullscreen/plugin.min.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/hr/plugin.min.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/link/plugin.min.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/paste/plugin.min.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/tabfocus/plugin.min.js +0 -1
- data/vendor/assets/javascripts/tinymce/plugins/table/plugin.min.js +0 -1
- data/vendor/assets/javascripts/tinymce/themes/modern/theme.min.js +0 -1
@@ -1,10 +1,10 @@
|
|
1
1
|
#dashboard {
|
2
2
|
overflow: auto;
|
3
|
-
padding: 4
|
3
|
+
padding: 4*$default-padding 2*$default-padding;
|
4
4
|
width: 100%;
|
5
5
|
position: relative;
|
6
|
-
|
7
|
-
* {
|
6
|
+
box-sizing: border-box;
|
7
|
+
* { box-sizing: border-box }
|
8
8
|
|
9
9
|
h1 {
|
10
10
|
font-size: 2em;
|
@@ -9,7 +9,7 @@
|
|
9
9
|
height: 100%;
|
10
10
|
text-align: center;
|
11
11
|
white-space: nowrap;
|
12
|
-
|
12
|
+
opacity: 0;
|
13
13
|
@include transition(opacity 200ms linear);
|
14
14
|
|
15
15
|
// vertical aligment
|
@@ -23,7 +23,7 @@
|
|
23
23
|
}
|
24
24
|
|
25
25
|
&.open {
|
26
|
-
|
26
|
+
opacity: 1;
|
27
27
|
}
|
28
28
|
}
|
29
29
|
|
@@ -64,11 +64,11 @@
|
|
64
64
|
background-color: $light-gray;
|
65
65
|
margin: 2*$default-margin;
|
66
66
|
@include border-top-radius($default-border-radius);
|
67
|
-
|
67
|
+
box-shadow: 0 0 2px rgba(#000,0.8);
|
68
68
|
@include transition(min-height 200ms ease-in-out);
|
69
69
|
|
70
70
|
&.modal {
|
71
|
-
|
71
|
+
box-shadow: 0 0 4px #666;
|
72
72
|
}
|
73
73
|
|
74
74
|
div#jscropper {
|
@@ -88,7 +88,9 @@
|
|
88
88
|
padding: 0 8px 0 32px;
|
89
89
|
}
|
90
90
|
|
91
|
-
.jcrop-holder {
|
91
|
+
.jcrop-holder {
|
92
|
+
display: inline-block;
|
93
|
+
}
|
92
94
|
|
93
95
|
img {
|
94
96
|
width: auto;
|
@@ -121,7 +123,7 @@
|
|
121
123
|
}
|
122
124
|
|
123
125
|
.alchemy-dialog-header {
|
124
|
-
|
126
|
+
box-sizing: border-box;
|
125
127
|
position: relative;
|
126
128
|
height: $dialog-header-height;
|
127
129
|
padding: 0 2*$default-padding;
|
@@ -170,7 +172,7 @@
|
|
170
172
|
}
|
171
173
|
|
172
174
|
.alchemy-dialog-body {
|
173
|
-
|
175
|
+
box-sizing: border-box;
|
174
176
|
position: relative;
|
175
177
|
color: $text-color;
|
176
178
|
|
@@ -209,7 +211,7 @@
|
|
209
211
|
}
|
210
212
|
|
211
213
|
.alchemy-dialog-buttons {
|
212
|
-
|
214
|
+
box-sizing: border-box;
|
213
215
|
float: left;
|
214
216
|
clear: both;
|
215
217
|
width: 100%;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#alchemy_elements_window {
|
2
|
-
|
2
|
+
box-sizing: border-box;
|
3
3
|
position: absolute;
|
4
4
|
right: 0;
|
5
5
|
top: 73px;
|
@@ -10,7 +10,7 @@
|
|
10
10
|
}
|
11
11
|
|
12
12
|
#element_area {
|
13
|
-
|
13
|
+
box-sizing: border-box;
|
14
14
|
overflow-x: hidden;
|
15
15
|
overflow-y: auto;
|
16
16
|
|
@@ -36,6 +36,10 @@
|
|
36
36
|
margin-left: $default-margin;
|
37
37
|
text-overflow: ellipsis;
|
38
38
|
|
39
|
+
.has-hint & {
|
40
|
+
max-width: 80%;
|
41
|
+
}
|
42
|
+
|
39
43
|
.preview_text_quote {
|
40
44
|
font-size: 10px;
|
41
45
|
line-height: 15px;
|
@@ -141,7 +145,7 @@
|
|
141
145
|
margin-bottom: 2*$default-margin;
|
142
146
|
|
143
147
|
&.not-draggable {
|
144
|
-
|
148
|
+
opacity: 0.5;
|
145
149
|
}
|
146
150
|
|
147
151
|
&.dirty {
|
@@ -154,7 +158,7 @@
|
|
154
158
|
|
155
159
|
&.selected {
|
156
160
|
border-color: $blue;
|
157
|
-
|
161
|
+
box-shadow: 0 0 4px $blue;
|
158
162
|
}
|
159
163
|
|
160
164
|
&.folded {
|
@@ -239,7 +243,7 @@
|
|
239
243
|
margin: 0 0 4*$default-margin 0;
|
240
244
|
border: 0 none;
|
241
245
|
border-top: 1px solid $medium-gray;
|
242
|
-
|
246
|
+
opacity: 1;
|
243
247
|
}
|
244
248
|
}
|
245
249
|
|
@@ -255,6 +259,24 @@
|
|
255
259
|
top: 9px;
|
256
260
|
right: 9px;
|
257
261
|
}
|
262
|
+
|
263
|
+
> .hint-with-icon {
|
264
|
+
position: absolute;
|
265
|
+
right: 32px;
|
266
|
+
top: 8px;
|
267
|
+
|
268
|
+
.hint-bubble {
|
269
|
+
left: auto;
|
270
|
+
right: -24px;
|
271
|
+
transform: none;
|
272
|
+
|
273
|
+
&:before {
|
274
|
+
left: auto;
|
275
|
+
right: 24px;
|
276
|
+
transform: none;
|
277
|
+
}
|
278
|
+
}
|
279
|
+
}
|
258
280
|
}
|
259
281
|
|
260
282
|
.element-toolbar {
|
@@ -324,7 +346,12 @@
|
|
324
346
|
position: absolute;
|
325
347
|
bottom: 3px;
|
326
348
|
right: 28px;
|
327
|
-
|
349
|
+
border-radius: 0;
|
350
|
+
|
351
|
+
&.link-essence,
|
352
|
+
&.unlink-essence {
|
353
|
+
border: 1px solid #c0c0c0;
|
354
|
+
}
|
328
355
|
|
329
356
|
&.linked.link-essence {
|
330
357
|
@include linked-button($border-radius: 0 0 0 0);
|
@@ -365,7 +392,7 @@
|
|
365
392
|
border: 1px dotted $button-border-color;
|
366
393
|
background-color: $medium-gray;
|
367
394
|
margin-bottom: 2*$default-margin;
|
368
|
-
|
395
|
+
border-radius: $default-border-radius;
|
369
396
|
}
|
370
397
|
|
371
398
|
.edit_images_bottom {
|
@@ -402,14 +429,15 @@
|
|
402
429
|
}
|
403
430
|
|
404
431
|
a.disabled, > span.icon {
|
405
|
-
|
432
|
+
opacity: 0.3;
|
406
433
|
cursor: default;
|
407
434
|
}
|
408
435
|
}
|
409
436
|
|
410
437
|
.content_editor.essence_date {
|
411
438
|
float: none;
|
412
|
-
|
439
|
+
display: inline-block;
|
440
|
+
vertical-align: middle;
|
413
441
|
vertical-align: top;
|
414
442
|
|
415
443
|
input.date {
|
@@ -497,6 +525,11 @@ div.file {
|
|
497
525
|
background-color: #f3f3f3;
|
498
526
|
@extend %rounded-border;
|
499
527
|
height: 24px;
|
528
|
+
|
529
|
+
.validation_failed & {
|
530
|
+
color: $error_text_color;
|
531
|
+
border-color: $error_border_color;
|
532
|
+
}
|
500
533
|
}
|
501
534
|
|
502
535
|
div.file_icon {
|
@@ -609,7 +642,8 @@ select.long {
|
|
609
642
|
}
|
610
643
|
|
611
644
|
&.display_inline {
|
612
|
-
|
645
|
+
display: inline-block;
|
646
|
+
vertical-align: middle;
|
613
647
|
margin-right: 4px;
|
614
648
|
vertical-align: top;
|
615
649
|
|
@@ -641,7 +675,8 @@ select.long {
|
|
641
675
|
}
|
642
676
|
|
643
677
|
&.inline {
|
644
|
-
|
678
|
+
display: inline-block;
|
679
|
+
vertical-align: middle;
|
645
680
|
min-width: 90px;
|
646
681
|
margin-right: 4px;
|
647
682
|
}
|
@@ -679,7 +714,8 @@ select.long {
|
|
679
714
|
}
|
680
715
|
|
681
716
|
&:hover label a.icon_button.small {
|
682
|
-
|
717
|
+
display: inline-block;
|
718
|
+
vertical-align: middle;
|
683
719
|
}
|
684
720
|
|
685
721
|
select.essence_editor_select {
|
@@ -711,7 +747,8 @@ select.long {
|
|
711
747
|
|
712
748
|
&.essence_date {
|
713
749
|
float: none;
|
714
|
-
|
750
|
+
display: inline-block;
|
751
|
+
vertical-align: middle;
|
715
752
|
vertical-align: top;
|
716
753
|
|
717
754
|
input.date {
|
@@ -722,7 +759,8 @@ select.long {
|
|
722
759
|
&.essence_picture_editor {
|
723
760
|
float: none;
|
724
761
|
height: auto;
|
725
|
-
|
762
|
+
display: inline-block;
|
763
|
+
vertical-align: middle;
|
726
764
|
}
|
727
765
|
}
|
728
766
|
|
@@ -769,41 +807,27 @@ textarea.has_tinymce {
|
|
769
807
|
}
|
770
808
|
}
|
771
809
|
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
width: 16px;
|
777
|
-
height: 16px;
|
778
|
-
cursor: help !important;
|
810
|
+
.content_editor .hint-with-icon,
|
811
|
+
.content_editor .with-hint,
|
812
|
+
.element-handle .warning {
|
813
|
+
margin-left: 0;
|
779
814
|
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
.content_editor .hint {
|
785
|
-
position: relative;
|
786
|
-
top: auto;
|
787
|
-
right: auto;
|
788
|
-
display: inline-block;
|
789
|
-
margin-right: 4px;
|
790
|
-
margin-top: -2px;
|
791
|
-
margin-left: -1px;
|
792
|
-
|
793
|
-
.bubble {
|
794
|
-
right: auto;
|
795
|
-
left: -4px;
|
796
|
-
top: 24px;
|
815
|
+
> .hint-bubble {
|
816
|
+
left: -7px;
|
817
|
+
transform: none;
|
797
818
|
|
798
819
|
&:before {
|
799
|
-
|
800
|
-
left: 5px;
|
820
|
+
left: 16px;
|
801
821
|
}
|
802
822
|
}
|
803
823
|
}
|
804
824
|
|
825
|
+
.content_editor .hint-with-icon {
|
826
|
+
top: -1px;
|
827
|
+
}
|
828
|
+
|
805
829
|
.nestable-elements {
|
806
|
-
|
830
|
+
box-shadow: inset 0 4px 8px -2px darken($medium-gray, 15%);
|
807
831
|
background-color: $medium-gray;
|
808
832
|
|
809
833
|
.expanded.element-editor > & {
|
@@ -30,43 +30,6 @@ textarea {
|
|
30
30
|
line-height: 19px;
|
31
31
|
}
|
32
32
|
|
33
|
-
input#search_input_field {
|
34
|
-
width: 204px;
|
35
|
-
text-align: left;
|
36
|
-
@include border-radius(21px);
|
37
|
-
padding: 3px 16px 3px 28px;
|
38
|
-
margin: 0;
|
39
|
-
height: 29px;
|
40
|
-
}
|
41
|
-
|
42
|
-
div.search_field span.icon, div.js_filter_field_box span.icon {
|
43
|
-
position: absolute;
|
44
|
-
left: 8px;
|
45
|
-
top: 8px;
|
46
|
-
}
|
47
|
-
|
48
|
-
.js_filter_field_box {
|
49
|
-
position: absolute;
|
50
|
-
right: 4px;
|
51
|
-
top: 8px;
|
52
|
-
|
53
|
-
.js_filter_field {
|
54
|
-
width: 220px;
|
55
|
-
text-align: left;
|
56
|
-
@include border-radius($default-border-radius);
|
57
|
-
padding: 3px 24px 3px 28px;
|
58
|
-
height: 29px;
|
59
|
-
margin: 0;
|
60
|
-
}
|
61
|
-
|
62
|
-
label {
|
63
|
-
font-size: 10px;
|
64
|
-
display: block;
|
65
|
-
text-align: center;
|
66
|
-
padding-top: 3px;
|
67
|
-
}
|
68
|
-
}
|
69
|
-
|
70
33
|
.alchemy-char-counter {
|
71
34
|
display: block;
|
72
35
|
clear: both;
|
@@ -26,7 +26,7 @@ form {
|
|
26
26
|
|
27
27
|
.input {
|
28
28
|
padding: $default-padding 0;
|
29
|
-
@include
|
29
|
+
@include clearfix;
|
30
30
|
|
31
31
|
> input[type="url"],
|
32
32
|
> input[type="text"],
|
@@ -35,7 +35,8 @@ form {
|
|
35
35
|
> textarea,
|
36
36
|
> .select2-container,
|
37
37
|
> .autocomplete_tag_list,
|
38
|
-
> .mce-tinymce
|
38
|
+
> .mce-tinymce,
|
39
|
+
> .with-hint {
|
39
40
|
width: $form-right-width;
|
40
41
|
float: right;
|
41
42
|
}
|
@@ -97,7 +98,7 @@ form {
|
|
97
98
|
margin-bottom: 4px;
|
98
99
|
|
99
100
|
input[type="text"] {
|
100
|
-
|
101
|
+
box-shadow: none;
|
101
102
|
}
|
102
103
|
}
|
103
104
|
|
@@ -116,21 +117,30 @@ form {
|
|
116
117
|
|
117
118
|
&.language_locale small.error {
|
118
119
|
@include form-hint(
|
119
|
-
|
120
|
-
|
120
|
+
$background-color: $error_background_color,
|
121
|
+
$border-color: $error_border_color
|
121
122
|
);
|
122
123
|
text-align: left;
|
123
124
|
}
|
124
125
|
}
|
125
126
|
|
127
|
+
.input > .with-hint,
|
128
|
+
.checkbox > .with-hint {
|
129
|
+
cursor: default;
|
130
|
+
|
131
|
+
input, textarea {
|
132
|
+
cursor: not-allowed;
|
133
|
+
}
|
134
|
+
}
|
135
|
+
|
126
136
|
.inline-input {
|
127
137
|
@include clearfix;
|
128
138
|
margin: 0 -1*$default-margin;
|
129
|
-
|
139
|
+
box-sizing: border-box;
|
130
140
|
|
131
141
|
.left-column, .right-column {
|
132
142
|
padding: 0 $default-padding;
|
133
|
-
|
143
|
+
box-sizing: border-box;
|
134
144
|
}
|
135
145
|
|
136
146
|
.left-column {
|
@@ -170,7 +180,7 @@ form {
|
|
170
180
|
}
|
171
181
|
|
172
182
|
.input-column {
|
173
|
-
|
183
|
+
box-sizing: border-box;
|
174
184
|
float: left;
|
175
185
|
padding: 0 $default-padding;
|
176
186
|
width: 50%;
|
@@ -195,25 +205,6 @@ textarea#essence_picture_caption {
|
|
195
205
|
height: 61px;
|
196
206
|
}
|
197
207
|
|
198
|
-
.resource_info {
|
199
|
-
|
200
|
-
h2 {
|
201
|
-
@include form-heading;
|
202
|
-
}
|
203
|
-
|
204
|
-
.value {
|
205
|
-
overflow: hidden;
|
206
|
-
|
207
|
-
label {
|
208
|
-
@include form-label;
|
209
|
-
}
|
210
|
-
|
211
|
-
p {
|
212
|
-
@include form-value-display;
|
213
|
-
}
|
214
|
-
}
|
215
|
-
}
|
216
|
-
|
217
208
|
// styles for link overlay selects
|
218
209
|
.window_form {
|
219
210
|
|