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,85 +1,3 @@
|
|
1
|
-
#top_menu {
|
2
|
-
@include box-sizing(border-box);
|
3
|
-
position: fixed;
|
4
|
-
top: 0;
|
5
|
-
margin-left: 65px;
|
6
|
-
padding-right: 65px;
|
7
|
-
z-index: 30;
|
8
|
-
width: 100%;
|
9
|
-
@extend .disable-user-select;
|
10
|
-
}
|
11
|
-
|
12
|
-
#left_menu {
|
13
|
-
white-space: nowrap;
|
14
|
-
z-index: 20;
|
15
|
-
height: 100%;
|
16
|
-
position: fixed;
|
17
|
-
top: 0;
|
18
|
-
left: 0;
|
19
|
-
width: 65px;
|
20
|
-
overflow: hidden;
|
21
|
-
border-right: $default-border;
|
22
|
-
background: $light-blue;
|
23
|
-
font-size: 10px;
|
24
|
-
@extend .disable-user-select;
|
25
|
-
|
26
|
-
label {
|
27
|
-
display: block;
|
28
|
-
}
|
29
|
-
|
30
|
-
a {
|
31
|
-
text-shadow: #fff 0 0px 4px;
|
32
|
-
}
|
33
|
-
}
|
34
|
-
|
35
|
-
#main_navi {
|
36
|
-
padding-top: 20px;
|
37
|
-
padding-left: 4px;
|
38
|
-
padding-bottom: 80px;
|
39
|
-
|
40
|
-
.main_navi_entry {
|
41
|
-
color: #444;
|
42
|
-
position: relative;
|
43
|
-
text-align: center;
|
44
|
-
overflow: hidden;
|
45
|
-
display: block;
|
46
|
-
padding-top: 7px;
|
47
|
-
@extend .left-rounded-border;
|
48
|
-
border: 1px none #afafaf;
|
49
|
-
border-right-style: none;
|
50
|
-
padding-bottom: 6px;
|
51
|
-
padding-left: 1px;
|
52
|
-
width: 60px;
|
53
|
-
|
54
|
-
&:hover {
|
55
|
-
cursor: pointer;
|
56
|
-
text-decoration: none;
|
57
|
-
color: $text-color;
|
58
|
-
}
|
59
|
-
|
60
|
-
&.active {
|
61
|
-
background: #baced9;
|
62
|
-
color: $text-color;
|
63
|
-
cursor: default;
|
64
|
-
text-shadow: #fff 0 1px 2px;
|
65
|
-
border: $default-border;
|
66
|
-
padding-left: 0;
|
67
|
-
border-right-style: none;
|
68
|
-
padding-top: 6px;
|
69
|
-
padding-bottom: 5px;
|
70
|
-
}
|
71
|
-
|
72
|
-
img {
|
73
|
-
border-style: none;
|
74
|
-
height: 24px;
|
75
|
-
width: 24px;
|
76
|
-
@include inline-block;
|
77
|
-
margin-bottom: 4px;
|
78
|
-
margin-top: 2px;
|
79
|
-
}
|
80
|
-
}
|
81
|
-
}
|
82
|
-
|
83
1
|
div#overlay {
|
84
2
|
display: none;
|
85
3
|
position: fixed;
|
@@ -116,22 +34,36 @@ div#overlay_text_box {
|
|
116
34
|
}
|
117
35
|
|
118
36
|
#logout {
|
37
|
+
box-sizing: border-box;
|
119
38
|
position: absolute;
|
120
39
|
z-index: 1;
|
121
40
|
bottom: 0;
|
122
41
|
left: 0;
|
123
|
-
|
124
|
-
|
125
|
-
|
42
|
+
width: $main-menu-width;
|
43
|
+
background-color: $main-menu-bg-color;
|
44
|
+
border-right: $default-border;
|
45
|
+
transition: background-color $transition-duration $transition-easing;
|
46
|
+
|
47
|
+
&:hover {
|
48
|
+
background-color: $main-menu-active-bg-color;
|
49
|
+
}
|
50
|
+
|
51
|
+
.collapsed-menu & {
|
52
|
+
width: $collapsed-main-menu-width;
|
53
|
+
}
|
126
54
|
|
127
55
|
a {
|
128
56
|
display: block;
|
129
|
-
padding-
|
130
|
-
|
57
|
+
padding-left: 3 * $default-padding;
|
58
|
+
line-height: 45px;
|
131
59
|
|
132
60
|
&:hover {
|
133
61
|
text-decoration: none;
|
134
62
|
}
|
63
|
+
|
64
|
+
label {
|
65
|
+
padding-left: 2 * $default-padding;
|
66
|
+
}
|
135
67
|
}
|
136
68
|
|
137
69
|
img {
|
@@ -139,58 +71,16 @@ div#overlay_text_box {
|
|
139
71
|
}
|
140
72
|
}
|
141
73
|
|
142
|
-
#
|
143
|
-
|
144
|
-
|
145
|
-
padding: 75px 8px 8px 74px;
|
146
|
-
z-index: 0;
|
147
|
-
width: 100%;
|
148
|
-
height: 100%;
|
149
|
-
}
|
150
|
-
|
151
|
-
#archive_all {
|
152
|
-
@include box-sizing(border-box);
|
153
|
-
height: 100%;
|
154
|
-
padding-bottom: 60px;
|
155
|
-
|
156
|
-
&.with_tag_filter {
|
157
|
-
padding-right: 230px;
|
158
|
-
}
|
159
|
-
|
160
|
-
&.resources-table-wrapper {
|
161
|
-
padding-top: 47px;
|
162
|
-
}
|
163
|
-
}
|
164
|
-
|
165
|
-
div#user_info {
|
166
|
-
position: absolute;
|
167
|
-
top: 0;
|
168
|
-
right: 65px;
|
169
|
-
line-height: 28px;
|
170
|
-
font-size: 11px;
|
171
|
-
padding: 0 8px;
|
172
|
-
background-color: $light-blue;
|
173
|
-
|
174
|
-
.select2-container {
|
175
|
-
margin-top: -2px;
|
176
|
-
margin-right: $default-margin;
|
177
|
-
}
|
178
|
-
|
179
|
-
.current-user-name {
|
180
|
-
padding-right: $default-padding;
|
181
|
-
}
|
182
|
-
}
|
183
|
-
|
184
|
-
#sub_navigation {
|
185
|
-
height: 24px;
|
186
|
-
line-height: 23px;
|
74
|
+
#header {
|
75
|
+
height: $header-height;
|
76
|
+
line-height: $header-height;
|
187
77
|
background: $light-blue;
|
188
78
|
border-bottom: $default-border;
|
189
|
-
padding-top: 4px;
|
190
79
|
position: relative;
|
191
80
|
|
192
81
|
a {
|
193
|
-
|
82
|
+
display: inline-block;
|
83
|
+
vertical-align: middle;
|
194
84
|
|
195
85
|
&:hover {
|
196
86
|
text-decoration: none;
|
@@ -200,91 +90,109 @@ div#user_info {
|
|
200
90
|
.page_status_and_name {
|
201
91
|
padding: 0 8px;
|
202
92
|
background-color: $medium-gray;
|
203
|
-
text-shadow:
|
93
|
+
text-shadow: $text-shadow-light;
|
204
94
|
@extend .disable-user-select;
|
95
|
+
@extend .locked_page;
|
205
96
|
cursor: default;
|
206
|
-
|
207
|
-
@extend .top-rounded-border;
|
208
|
-
border: $default-border;
|
209
|
-
border-bottom-style: none;
|
210
|
-
height: 24px;
|
211
|
-
margin-right: 1px;
|
97
|
+
border-bottom-color: $toolbar-bg-color;
|
212
98
|
}
|
213
99
|
|
214
100
|
.page_name {
|
215
101
|
margin-right: $default-margin;
|
102
|
+
line-height: $header-height;
|
216
103
|
}
|
104
|
+
}
|
217
105
|
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
106
|
+
#main_content {
|
107
|
+
box-sizing: border-box;
|
108
|
+
background-color: $light-gray;
|
109
|
+
padding: 84px 8px 8px $main-menu-width + 10px;
|
110
|
+
z-index: 0;
|
111
|
+
width: 100%;
|
112
|
+
height: 100%;
|
113
|
+
}
|
226
114
|
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
margin-right: $default-margin;
|
232
|
-
font-size: 10px;
|
233
|
-
}
|
115
|
+
#archive_all {
|
116
|
+
box-sizing: border-box;
|
117
|
+
height: 100%;
|
118
|
+
padding-bottom: 60px;
|
234
119
|
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
text-shadow: #fff 0 0px 4px;
|
240
|
-
background: #d6e0e6;
|
241
|
-
color: #444;
|
242
|
-
@extend .top-rounded-border;
|
243
|
-
border: $default-border;
|
244
|
-
border-bottom-style: none;
|
245
|
-
margin-right: 1px;
|
246
|
-
|
247
|
-
&.wide {
|
248
|
-
position: relative;
|
249
|
-
padding-right: 24px;
|
250
|
-
|
251
|
-
form {
|
252
|
-
position: absolute;
|
253
|
-
right: $default-padding;
|
254
|
-
top: $default-padding;
|
255
|
-
line-height: 1;
|
256
|
-
}
|
120
|
+
&.with_tag_filter {
|
121
|
+
|
122
|
+
table {
|
123
|
+
padding-right: 230px;
|
257
124
|
}
|
258
125
|
|
259
|
-
|
260
|
-
|
261
|
-
text-decoration: none;
|
126
|
+
> .info {
|
127
|
+
margin-right: 230px;
|
262
128
|
}
|
129
|
+
}
|
130
|
+
|
131
|
+
&.resources-table-wrapper {
|
132
|
+
padding-top: 47px;
|
263
133
|
|
264
|
-
|
265
|
-
|
266
|
-
height: 24px;
|
267
|
-
color: $text-color;
|
268
|
-
background-color: $medium-gray;
|
269
|
-
text-shadow: #fff 0 1px 2px;
|
270
|
-
@extend .disable-user-select;
|
271
|
-
cursor: default;
|
272
|
-
z-index: 10;
|
134
|
+
> table {
|
135
|
+
padding-bottom: 60px;
|
273
136
|
}
|
137
|
+
}
|
138
|
+
}
|
274
139
|
|
275
|
-
|
276
|
-
|
140
|
+
#user_info {
|
141
|
+
position: absolute;
|
142
|
+
top: 0;
|
143
|
+
right: 0;
|
144
|
+
height: $header-height;
|
145
|
+
font-size: 11px;
|
146
|
+
padding-left: 2*$default-padding;
|
147
|
+
background-color: $light-blue;
|
148
|
+
border-bottom: $default-border;
|
149
|
+
|
150
|
+
.select2-container {
|
151
|
+
margin-top: -3px;
|
152
|
+
padding-right: 2*$default-padding;
|
153
|
+
}
|
154
|
+
|
155
|
+
.select2-choice {
|
156
|
+
padding-right: 0;
|
157
|
+
background: transparent;
|
158
|
+
box-shadow: none;
|
159
|
+
border: none;
|
160
|
+
border-radius: 0;
|
161
|
+
border-left: $default-border;
|
162
|
+
height: $header-height + 1;
|
163
|
+
line-height: $header-height;
|
164
|
+
text-shadow: $text-shadow-light;
|
165
|
+
|
166
|
+
.select2-arrow {
|
167
|
+
width: 14px;
|
168
|
+
border-left: none;
|
169
|
+
|
170
|
+
b {
|
171
|
+
color: $muted-text-color;
|
172
|
+
|
173
|
+
&:before {
|
174
|
+
position: absolute;
|
175
|
+
top: 50%;
|
176
|
+
transform: translateY(-50%);
|
177
|
+
}
|
178
|
+
}
|
277
179
|
}
|
180
|
+
}
|
278
181
|
|
279
|
-
|
280
|
-
|
182
|
+
.select2-dropdown-open {
|
183
|
+
background-color: $main-menu-bg-color;
|
184
|
+
|
185
|
+
.select2-choice .select2-arrow b {
|
186
|
+
background-position: -20px -5px;
|
281
187
|
}
|
282
188
|
}
|
189
|
+
|
190
|
+
.current-user-name {
|
191
|
+
padding-right: 2*$default-padding;
|
192
|
+
}
|
283
193
|
}
|
284
194
|
|
285
195
|
#locked_pages {
|
286
|
-
height: 25px;
|
287
|
-
overflow: hidden;
|
288
196
|
|
289
197
|
label {
|
290
198
|
float: left;
|
@@ -303,11 +211,3 @@ div#user_info {
|
|
303
211
|
padding-right: 0;
|
304
212
|
}
|
305
213
|
}
|
306
|
-
|
307
|
-
.full-iframe {
|
308
|
-
position: absolute;
|
309
|
-
top: 0;
|
310
|
-
left: 0;
|
311
|
-
width: 100%;
|
312
|
-
height: 100%;
|
313
|
-
}
|
@@ -0,0 +1,62 @@
|
|
1
|
+
.hint-with-icon {
|
2
|
+
@extend .with-hint;
|
3
|
+
display: inline-block;
|
4
|
+
width: 16px;
|
5
|
+
height: 16px;
|
6
|
+
margin: 0 $default-margin;
|
7
|
+
|
8
|
+
.toolbar_buttons & {
|
9
|
+
margin: 0 2*$default-margin;
|
10
|
+
}
|
11
|
+
|
12
|
+
> .icon {
|
13
|
+
text-indent: 0;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
.with-hint {
|
18
|
+
position: relative;
|
19
|
+
|
20
|
+
&:hover {
|
21
|
+
cursor: help;
|
22
|
+
|
23
|
+
> .hint-bubble {
|
24
|
+
@include hint-hover-style;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
> .hint-bubble {
|
29
|
+
visibility: hidden;
|
30
|
+
background: $light_yellow;
|
31
|
+
@extend %rounded-border;
|
32
|
+
box-shadow: 0px 4px 8px rgba(0, 0, 0, .3);
|
33
|
+
position: absolute;
|
34
|
+
left: 50%;
|
35
|
+
transform: translateX(-50%);
|
36
|
+
top: 20px;
|
37
|
+
z-index: 100;
|
38
|
+
padding: 8px;
|
39
|
+
line-height: 1.5em;
|
40
|
+
min-width: 180px;
|
41
|
+
max-width: 300px;
|
42
|
+
white-space: normal;
|
43
|
+
text-align: left;
|
44
|
+
font-size: 12px;
|
45
|
+
opacity: 0;
|
46
|
+
transition: .3s;
|
47
|
+
pointer-events: none;
|
48
|
+
|
49
|
+
&:before {
|
50
|
+
content: '';
|
51
|
+
position: absolute;
|
52
|
+
top: -8px;
|
53
|
+
left: 50%;
|
54
|
+
transform: translateX(-50%);
|
55
|
+
width: 0px;
|
56
|
+
height: 0px;
|
57
|
+
border-style: solid;
|
58
|
+
border-width: 0 8px 8px 8px;
|
59
|
+
border-color: transparent transparent $light_yellow transparent;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
.icon {
|
2
|
-
|
2
|
+
display: inline-block;
|
3
|
+
vertical-align: middle;
|
3
4
|
background: image-url('alchemy/icons.png') no-repeat;
|
4
5
|
width: 16px;
|
5
6
|
height: 16px;
|
@@ -153,6 +154,10 @@
|
|
153
154
|
background-position: -32px -40px;
|
154
155
|
}
|
155
156
|
|
157
|
+
&.file_change {
|
158
|
+
background-position: -512px -40px;
|
159
|
+
}
|
160
|
+
|
156
161
|
&.flash {
|
157
162
|
background-position: -256px -136px;
|
158
163
|
}
|
@@ -161,8 +166,8 @@
|
|
161
166
|
background-position: -352px -39px;
|
162
167
|
}
|
163
168
|
|
164
|
-
&.hint {
|
165
|
-
background-position: -
|
169
|
+
&.questionmark, &.hint {
|
170
|
+
background-position: -447px -105px;
|
166
171
|
}
|
167
172
|
|
168
173
|
&.image {
|
@@ -319,7 +324,7 @@
|
|
319
324
|
&.warning, &.warn, &.alert {
|
320
325
|
background-position: 0 -168px;
|
321
326
|
|
322
|
-
&.inline { vertical-align:
|
327
|
+
&.inline { vertical-align: text-bottom; }
|
323
328
|
}
|
324
329
|
|
325
330
|
&.word {
|