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
@@ -4,7 +4,37 @@
|
|
4
4
|
height: 29px;
|
5
5
|
}
|
6
6
|
|
7
|
-
.
|
7
|
+
.search_field .icon,
|
8
|
+
.js_filter_field_box .icon {
|
9
|
+
position: absolute;
|
10
|
+
left: 8px;
|
11
|
+
top: 8px;
|
12
|
+
}
|
13
|
+
|
14
|
+
.js_filter_field_box {
|
15
|
+
position: absolute;
|
16
|
+
right: 4px;
|
17
|
+
top: 8px;
|
18
|
+
|
19
|
+
.js_filter_field {
|
20
|
+
width: 220px;
|
21
|
+
text-align: left;
|
22
|
+
border-radius: $default-border-radius;
|
23
|
+
padding: 3px 24px 3px 28px;
|
24
|
+
height: 29px;
|
25
|
+
margin: 0;
|
26
|
+
}
|
27
|
+
|
28
|
+
label {
|
29
|
+
font-size: 10px;
|
30
|
+
display: block;
|
31
|
+
text-align: center;
|
32
|
+
padding-top: 3px;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
.search_field_clear,
|
37
|
+
.js_filter_field_clear {
|
8
38
|
display: none;
|
9
39
|
width: 16px;
|
10
40
|
height: 16px;
|
@@ -71,3 +101,44 @@
|
|
71
101
|
right: 4px;
|
72
102
|
}
|
73
103
|
}
|
104
|
+
|
105
|
+
#toolbar,
|
106
|
+
#overlay_toolbar {
|
107
|
+
|
108
|
+
.search_form,
|
109
|
+
.js_filter_field_box {
|
110
|
+
position: absolute;
|
111
|
+
top: 0;
|
112
|
+
right: 0;
|
113
|
+
height: 45px;
|
114
|
+
}
|
115
|
+
|
116
|
+
.search_field {
|
117
|
+
height: inherit;
|
118
|
+
}
|
119
|
+
|
120
|
+
.search_input_field {
|
121
|
+
width: 150px;
|
122
|
+
height: inherit;
|
123
|
+
border: none;
|
124
|
+
background-color: rgba(255, 255, 255, 0.5);
|
125
|
+
transition: width $transition-duration ease-in-out;
|
126
|
+
border-radius: 0;
|
127
|
+
padding: 8px 16px 8px 32px;
|
128
|
+
margin: 0;
|
129
|
+
text-align: left;
|
130
|
+
box-shadow: none;
|
131
|
+
-webkit-appearance: none;
|
132
|
+
|
133
|
+
&:focus {
|
134
|
+
width: 250px;
|
135
|
+
}
|
136
|
+
}
|
137
|
+
|
138
|
+
.search_field .icon,
|
139
|
+
.js_filter_field_box .icon,
|
140
|
+
.search_field_clear,
|
141
|
+
.js_filter_field_clear {
|
142
|
+
top: 16px;
|
143
|
+
}
|
144
|
+
}
|
@@ -3,6 +3,7 @@ select {
|
|
3
3
|
height: 29px;
|
4
4
|
padding: 0.4em 0.6em;
|
5
5
|
max-width: 100%;
|
6
|
+
width: auto;
|
6
7
|
}
|
7
8
|
|
8
9
|
.select2-container {
|
@@ -14,10 +15,10 @@ select {
|
|
14
15
|
.select2-choice {
|
15
16
|
height: 27px;
|
16
17
|
line-height: 27px;
|
17
|
-
@include
|
18
|
-
|
18
|
+
@include button-defaults($padding: 0 2*$default-padding, $margin: 0);
|
19
|
+
display: block;
|
20
|
+
font-weight: normal;
|
19
21
|
text-align: left;
|
20
|
-
border-radius: $default-border-radius;
|
21
22
|
|
22
23
|
.select2-arrow {
|
23
24
|
top: 2px;
|
@@ -46,44 +47,42 @@ select {
|
|
46
47
|
}
|
47
48
|
}
|
48
49
|
|
49
|
-
&.
|
50
|
+
&.medium {
|
51
|
+
width: 90px;
|
52
|
+
}
|
50
53
|
|
51
|
-
|
52
|
-
height: 18px;
|
53
|
-
line-height: 18px;
|
54
|
+
&.select2-container-active {
|
54
55
|
|
55
|
-
|
56
|
-
|
57
|
-
height: 14px;
|
58
|
-
|
59
|
-
b {
|
60
|
-
line-height: 4px;
|
61
|
-
width: 12px;
|
62
|
-
font-size: 10px;
|
63
|
-
|
64
|
-
&:before {
|
65
|
-
top: 0px;
|
66
|
-
left: 0px;
|
67
|
-
}
|
68
|
-
}
|
69
|
-
}
|
56
|
+
.select2-choice, .select2-choices {
|
57
|
+
@extend %blue-focus-style;
|
70
58
|
}
|
59
|
+
}
|
60
|
+
|
61
|
+
&.select2-container-disabled {
|
71
62
|
|
72
|
-
|
73
|
-
.
|
74
|
-
|
63
|
+
&:hover {
|
64
|
+
+ .with-hint > .hint-bubble {
|
65
|
+
@include hint-hover-style;
|
66
|
+
top: 10px;
|
75
67
|
}
|
76
68
|
}
|
77
|
-
}
|
78
69
|
|
79
|
-
|
80
|
-
|
81
|
-
|
70
|
+
+ .with-hint > .hint-bubble {
|
71
|
+
top: 0;
|
72
|
+
}
|
82
73
|
|
83
|
-
|
74
|
+
.select2-choice, .select2-choice:hover {
|
75
|
+
background-image: none;
|
76
|
+
background-color: $light-gray;
|
77
|
+
box-shadow: none;
|
78
|
+
border-color: $border-inset-color;
|
79
|
+
cursor: not-allowed;
|
84
80
|
|
85
|
-
|
86
|
-
|
81
|
+
.select2-arrow {
|
82
|
+
border-color: $border-inset-color;
|
83
|
+
|
84
|
+
b { color: $border-inset-color; }
|
85
|
+
}
|
87
86
|
}
|
88
87
|
}
|
89
88
|
}
|
@@ -108,7 +107,7 @@ select {
|
|
108
107
|
padding: 4px 24px 4px 8px;
|
109
108
|
background-image: none;
|
110
109
|
border: 0 none;
|
111
|
-
|
110
|
+
box-shadow: none;
|
112
111
|
}
|
113
112
|
|
114
113
|
.select2-search-choice-close {
|
@@ -198,7 +197,7 @@ select {
|
|
198
197
|
}
|
199
198
|
|
200
199
|
&.select2-drop-active {
|
201
|
-
|
200
|
+
border-radius: $default-border-radius;
|
202
201
|
border: 1px solid $blue;
|
203
202
|
}
|
204
203
|
}
|
@@ -212,18 +211,13 @@ select {
|
|
212
211
|
|
213
212
|
.select_with_label {
|
214
213
|
margin: 0 3*$default-margin;
|
215
|
-
|
216
|
-
|
217
|
-
label, form {
|
218
|
-
@include inline-block;
|
219
|
-
}
|
220
|
-
|
221
|
-
select { margin: 0; }
|
214
|
+
display: inline-block;
|
215
|
+
vertical-align: middle;
|
222
216
|
|
223
217
|
label {
|
224
|
-
|
225
|
-
|
226
|
-
|
218
|
+
display: inline-block;
|
219
|
+
vertical-align: middle;
|
220
|
+
margin-right: 2*$default-margin;
|
227
221
|
}
|
228
222
|
}
|
229
223
|
|
@@ -9,12 +9,11 @@
|
|
9
9
|
border-bottom: $default-border;
|
10
10
|
|
11
11
|
div.info {
|
12
|
-
margin:
|
13
|
-
width: 720px;
|
12
|
+
margin: 16px 12px 8px 163px;
|
14
13
|
}
|
15
14
|
|
16
15
|
.buttons {
|
17
|
-
margin-left:
|
16
|
+
margin-left: 163px;
|
18
17
|
}
|
19
18
|
}
|
20
19
|
|
@@ -33,7 +32,7 @@
|
|
33
32
|
background-color: #fff;
|
34
33
|
color: black;
|
35
34
|
display: block;
|
36
|
-
padding
|
35
|
+
padding: 0 3*$default-padding;
|
37
36
|
text-decoration: none;
|
38
37
|
@include transition(background-color, 400ms);
|
39
38
|
|
@@ -57,18 +56,16 @@
|
|
57
56
|
}
|
58
57
|
|
59
58
|
.redirect_url {
|
60
|
-
|
61
|
-
top: $default-padding;
|
62
|
-
right: 199px;
|
59
|
+
float: right;
|
63
60
|
text-align: right;
|
64
61
|
background-color: #fff0c4;
|
65
62
|
line-height: $sitemap-line-height;
|
66
|
-
padding-right: $default-padding;
|
67
63
|
font-size: 10px;
|
68
|
-
padding
|
64
|
+
padding: 0 2*$default-padding;
|
69
65
|
max-width: 45%;
|
70
66
|
white-space: nowrap;
|
71
67
|
overflow: hidden;
|
68
|
+
text-overflow: ellipsis;
|
72
69
|
}
|
73
70
|
|
74
71
|
#page_selector_container .sitemap_pagename_link:hover {
|
@@ -87,8 +84,7 @@
|
|
87
84
|
|
88
85
|
.sitemap_page {
|
89
86
|
height: $sitemap-line-height;
|
90
|
-
|
91
|
-
padding-top: $default-padding;
|
87
|
+
margin: 3*$default-margin 0;
|
92
88
|
position: relative;
|
93
89
|
|
94
90
|
&.highlight .sitemap_pagename_link {
|
@@ -104,27 +100,38 @@
|
|
104
100
|
}
|
105
101
|
}
|
106
102
|
|
107
|
-
|
103
|
+
.sitemap_left_images {
|
104
|
+
@extend .left-rounded-border;
|
105
|
+
position: relative;
|
108
106
|
width: 16px;
|
109
|
-
|
107
|
+
height: $sitemap-line-height;
|
108
|
+
line-height: $sitemap-line-height - 2px;
|
110
109
|
float: left;
|
111
|
-
|
112
|
-
background-color:
|
110
|
+
padding: 0 2*$default-padding;
|
111
|
+
background-color: rgba(#fff, .75);
|
113
112
|
}
|
114
113
|
|
115
114
|
.sitemap_right_tools {
|
116
115
|
height: $sitemap-line-height;
|
117
|
-
|
118
|
-
padding-left: 8px;
|
116
|
+
padding: 0 2*$default-padding;
|
119
117
|
float: right;
|
120
|
-
width: 120px;
|
121
118
|
|
122
119
|
.sitemap_tool {
|
123
120
|
float: left;
|
124
|
-
width:
|
125
|
-
height:
|
126
|
-
line-height:
|
121
|
+
width: $sitemap-line-height;
|
122
|
+
height: $sitemap-line-height;
|
123
|
+
line-height: $sitemap-line-height;
|
127
124
|
text-align: center;
|
125
|
+
margin: 0;
|
126
|
+
|
127
|
+
&.disabled .icon {
|
128
|
+
opacity: 0.25;
|
129
|
+
filter: grayscale(100%);
|
130
|
+
}
|
131
|
+
|
132
|
+
a {
|
133
|
+
display: block;
|
134
|
+
}
|
128
135
|
}
|
129
136
|
|
130
137
|
.icon.blank {
|
@@ -135,13 +142,7 @@ div.sitemap_left_images {
|
|
135
142
|
}
|
136
143
|
}
|
137
144
|
|
138
|
-
.
|
139
|
-
padding: 0;
|
140
|
-
float: left;
|
141
|
-
width: 72px;
|
142
|
-
}
|
143
|
-
|
144
|
-
div#page_selector_container div.sitemap_right_tools {
|
145
|
+
#page_selector_container .sitemap_right_tools {
|
145
146
|
width: 24px;
|
146
147
|
}
|
147
148
|
|
@@ -153,7 +154,8 @@ ul#sitemap {
|
|
153
154
|
margin-right: 52px;
|
154
155
|
|
155
156
|
span.page_move {
|
156
|
-
|
157
|
+
display: inline-block;
|
158
|
+
vertical-align: middle;
|
157
159
|
width: 74px;
|
158
160
|
text-align: center;
|
159
161
|
}
|
@@ -162,9 +164,9 @@ ul#sitemap {
|
|
162
164
|
|
163
165
|
.page_folder {
|
164
166
|
@extend .icon;
|
165
|
-
|
166
|
-
|
167
|
-
|
167
|
+
position: absolute;
|
168
|
+
left: -23px;
|
169
|
+
top: 8px;
|
168
170
|
|
169
171
|
&.collapsed { @extend .icon.expand.small }
|
170
172
|
&.folded { @extend .icon.collapse.small }
|
@@ -206,77 +208,86 @@ ul.list .sitemap_sitename {
|
|
206
208
|
|
207
209
|
.page_infos {
|
208
210
|
@extend .right-rounded-border;
|
209
|
-
background-color: #fff;
|
211
|
+
background-color: rgba(#fff, .75);
|
210
212
|
border-left: 1px solid $light-gray;
|
211
213
|
float: right;
|
212
214
|
height: $sitemap-line-height;
|
215
|
+
line-height: $sitemap-line-height;
|
216
|
+
padding: 0 $default-padding;
|
213
217
|
|
214
218
|
.page_status {
|
215
|
-
|
219
|
+
padding: 0 $default-padding;
|
216
220
|
}
|
217
221
|
}
|
218
222
|
|
219
|
-
#
|
220
|
-
float: none;
|
221
|
-
@include inline-block(-3px);
|
223
|
+
#header .page_status_and_name .page_status {
|
222
224
|
margin-left: 2px;
|
225
|
+
line-height: 1;
|
226
|
+
vertical-align: text-bottom;
|
223
227
|
}
|
224
228
|
|
225
229
|
.page_status {
|
226
|
-
|
227
|
-
height: 16px;
|
228
|
-
background-image: image-url('alchemy/icons.png');
|
229
|
-
background-repeat: no-repeat;
|
230
|
-
float: left;
|
230
|
+
display: inline-block;
|
231
231
|
|
232
|
-
|
233
|
-
|
234
|
-
}
|
232
|
+
.icon {
|
233
|
+
vertical-align: text-bottom;
|
235
234
|
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
}
|
235
|
+
&.restricted {
|
236
|
+
background-position: -256px -39px;
|
237
|
+
}
|
240
238
|
|
241
|
-
|
242
|
-
|
243
|
-
|
239
|
+
&.not_restricted {
|
240
|
+
background-position: -288px -39px;
|
241
|
+
opacity: 0.3;
|
242
|
+
}
|
244
243
|
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
}
|
244
|
+
&.visible {
|
245
|
+
background-position: -128px -39px;
|
246
|
+
}
|
249
247
|
|
250
|
-
|
251
|
-
|
252
|
-
|
248
|
+
&.not_visible {
|
249
|
+
background-position: -160px -39px;
|
250
|
+
opacity: 0.3;
|
251
|
+
}
|
253
252
|
|
254
|
-
|
255
|
-
|
256
|
-
|
253
|
+
&.public {
|
254
|
+
background-position: -192px -39px;
|
255
|
+
}
|
256
|
+
|
257
|
+
&.not_public {
|
258
|
+
background-position: -224px -39px;
|
259
|
+
opacity: 0.3;
|
260
|
+
}
|
257
261
|
}
|
258
262
|
}
|
259
263
|
|
260
|
-
#sitemap {
|
264
|
+
#sitemap.list {
|
261
265
|
|
262
266
|
&.sorting {
|
267
|
+
padding-top: 100px;
|
263
268
|
|
264
269
|
.page.icon { cursor: move }
|
265
270
|
}
|
266
271
|
|
267
|
-
.page.icon {
|
268
|
-
float: left;
|
269
|
-
position: relative;
|
270
|
-
}
|
271
|
-
|
272
272
|
.locked .page.icon {
|
273
273
|
background-position: -32px -40px;
|
274
274
|
}
|
275
|
-
}
|
276
275
|
|
277
|
-
.
|
278
|
-
|
279
|
-
|
276
|
+
.page.icon.not-allowed {
|
277
|
+
&:after {
|
278
|
+
content: '';
|
279
|
+
position: absolute;
|
280
|
+
bottom: -2px;
|
281
|
+
right: -1px;
|
282
|
+
width: 8px;
|
283
|
+
height: 8px;
|
284
|
+
background: image-url('alchemy/icons.png') -5px -77px;
|
285
|
+
}
|
286
|
+
}
|
287
|
+
|
288
|
+
.page_status .icon {
|
289
|
+
vertical-align: middle;
|
290
|
+
}
|
280
291
|
}
|
281
292
|
|
282
293
|
a.folder_link {
|
@@ -298,9 +309,8 @@ a.folder_link {
|
|
298
309
|
padding: 0;
|
299
310
|
|
300
311
|
.page_infos {
|
301
|
-
margin-right:
|
302
|
-
|
303
|
-
text-align: center;
|
312
|
+
margin-right: 210px;
|
313
|
+
text-align: left;
|
304
314
|
float: right;
|
305
315
|
line-height: 28px;
|
306
316
|
background: transparent;
|
@@ -308,16 +318,16 @@ a.folder_link {
|
|
308
318
|
|
309
319
|
.page_name {
|
310
320
|
line-height: 28px;
|
311
|
-
margin-left:
|
321
|
+
margin-left: 43px;
|
312
322
|
}
|
313
323
|
}
|
314
324
|
|
315
325
|
#page_filter_result {
|
316
326
|
display: none;
|
317
|
-
|
327
|
+
margin-left: 2*$default-margin;
|
318
328
|
}
|
319
329
|
|
320
|
-
.alchemy-dialog ul#sitemap {
|
330
|
+
.alchemy-dialog ul.list#sitemap {
|
321
331
|
margin: 0;
|
322
332
|
padding: 0 8px 8px 0;
|
323
333
|
|
@@ -358,7 +368,7 @@ a.folder_link {
|
|
358
368
|
height: 33px;
|
359
369
|
padding: $default-padding;
|
360
370
|
border: $default-border;
|
361
|
-
|
371
|
+
box-shadow: #9ea09f 0px 0px 4px;
|
362
372
|
@extend %rounded-border;
|
363
373
|
|
364
374
|
.spinner {
|