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
@@ -87,12 +87,12 @@ $image-overlay-transition-easing: ease-in;
|
|
87
87
|
position: absolute;
|
88
88
|
top: 0;
|
89
89
|
background-color: $medium-gray;
|
90
|
-
|
90
|
+
box-shadow: -2px 0 $default-padding -2px $text-color;
|
91
91
|
@include transition(right $image-overlay-transition-duration $image-overlay-transition-easing);
|
92
92
|
}
|
93
93
|
|
94
94
|
.picture-details-overlay {
|
95
|
-
|
95
|
+
box-sizing: border-box;
|
96
96
|
right: 0;
|
97
97
|
width: $image-overlay-form-width;
|
98
98
|
height: 100%;
|
@@ -142,7 +142,7 @@ $image-overlay-transition-easing: ease-in;
|
|
142
142
|
}
|
143
143
|
|
144
144
|
.zoomed-picture-background {
|
145
|
-
|
145
|
+
box-sizing: border-box;
|
146
146
|
width: 100%;
|
147
147
|
height: 100%;
|
148
148
|
padding-top: 2*$default-padding;
|
@@ -176,7 +176,7 @@ $image-overlay-transition-easing: ease-in;
|
|
176
176
|
height: auto;
|
177
177
|
max-width: 100%;
|
178
178
|
max-height: 100%;
|
179
|
-
|
179
|
+
box-shadow: 0 0 2*$default-margin $text-color;
|
180
180
|
background-color: $dark-gray;
|
181
181
|
vertical-align: middle;
|
182
182
|
cursor: default;
|
@@ -188,7 +188,7 @@ $image-overlay-transition-easing: ease-in;
|
|
188
188
|
padding: 2*$default-padding 0;
|
189
189
|
|
190
190
|
.message {
|
191
|
-
|
191
|
+
box-sizing: border-box;
|
192
192
|
margin: 2*$default-padding 0;
|
193
193
|
}
|
194
194
|
}
|
@@ -210,7 +210,7 @@ $image-overlay-transition-easing: ease-in;
|
|
210
210
|
|
211
211
|
li {
|
212
212
|
padding: 2*$default-padding;
|
213
|
-
|
213
|
+
border-radius: $default-border-radius;
|
214
214
|
white-space: normal;
|
215
215
|
|
216
216
|
&.even { background: #F7F7F7 }
|
@@ -41,7 +41,8 @@
|
|
41
41
|
}
|
42
42
|
|
43
43
|
.ui-helper-clearfix {
|
44
|
-
|
44
|
+
display: inline-block;
|
45
|
+
vertical-align: middle;
|
45
46
|
}
|
46
47
|
|
47
48
|
/* required comment for clearfix to work in Opera \*/
|
@@ -248,7 +249,7 @@
|
|
248
249
|
}
|
249
250
|
|
250
251
|
.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled {
|
251
|
-
|
252
|
+
opacity: .35;
|
252
253
|
background-image: none;
|
253
254
|
}
|
254
255
|
|
@@ -1131,7 +1132,7 @@
|
|
1131
1132
|
.ui-tabs .ui-tabs-nav {
|
1132
1133
|
padding: 4px 8px 0;
|
1133
1134
|
background: transparent;
|
1134
|
-
|
1135
|
+
border-radius: 0;
|
1135
1136
|
border-bottom: $default-border;
|
1136
1137
|
margin: 0;
|
1137
1138
|
}
|
@@ -1144,7 +1145,8 @@
|
|
1144
1145
|
margin: 0 .2em 1px 0;
|
1145
1146
|
border-color: $default-border-color;
|
1146
1147
|
border-bottom: 0 !important;
|
1147
|
-
|
1148
|
+
border-bottom-left-radius: 0;
|
1149
|
+
border-bottom-right-radius: 0;
|
1148
1150
|
padding: 0;
|
1149
1151
|
white-space: nowrap;
|
1150
1152
|
background-color: $medium-gray;
|
@@ -2,8 +2,7 @@
|
|
2
2
|
*= require_self
|
3
3
|
*/
|
4
4
|
|
5
|
-
@import "
|
6
|
-
@import "sassy-buttons";
|
5
|
+
@import "bourbon";
|
7
6
|
@import "alchemy/variables";
|
8
7
|
@import "alchemy/mixins";
|
9
8
|
@import "alchemy/extends";
|
@@ -18,7 +17,7 @@
|
|
18
17
|
@include animate-left;
|
19
18
|
@include bottom-right-rounded-border;
|
20
19
|
@include drop-shadow;
|
21
|
-
|
20
|
+
box-sizing: border-box;
|
22
21
|
border-right: $default-border;
|
23
22
|
border-bottom: $default-border;
|
24
23
|
height: 44px;
|
@@ -27,7 +26,7 @@
|
|
27
26
|
font: $default-font-style;
|
28
27
|
|
29
28
|
* {
|
30
|
-
|
29
|
+
box-sizing: border-box;
|
31
30
|
margin: 0;
|
32
31
|
padding: 0;
|
33
32
|
}
|
@@ -0,0 +1,242 @@
|
|
1
|
+
#top_menu {
|
2
|
+
box-sizing: border-box;
|
3
|
+
position: fixed;
|
4
|
+
top: 0;
|
5
|
+
margin-left: $main-menu-width;
|
6
|
+
padding-right: $main-menu-width;
|
7
|
+
z-index: 20;
|
8
|
+
width: 100%;
|
9
|
+
@extend .disable-user-select;
|
10
|
+
|
11
|
+
.collapsed-menu & {
|
12
|
+
margin-left: $collapsed-main-menu-width;
|
13
|
+
padding-right: $collapsed-main-menu-width;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
#left_menu {
|
18
|
+
box-sizing: border-box;
|
19
|
+
z-index: 30;
|
20
|
+
height: 100%;
|
21
|
+
position: fixed;
|
22
|
+
top: 0;
|
23
|
+
left: 0;
|
24
|
+
width: $main-menu-width;
|
25
|
+
border-right: $default-border;
|
26
|
+
background-color: $main-menu-bg-color;
|
27
|
+
@extend .disable-user-select;
|
28
|
+
|
29
|
+
.collapsed-menu & {
|
30
|
+
width: $collapsed-main-menu-width;
|
31
|
+
|
32
|
+
.main_navi_entry.has_sub_navigation label {
|
33
|
+
display: none;
|
34
|
+
}
|
35
|
+
|
36
|
+
label {
|
37
|
+
visibility: hidden;
|
38
|
+
opacity: 0;
|
39
|
+
background-color: $main-menu-active-bg-color;
|
40
|
+
transition: opacity $transition-duration $transition-easing;
|
41
|
+
}
|
42
|
+
|
43
|
+
.main_navi_entry:not(.has_sub_navigation),
|
44
|
+
#logout {
|
45
|
+
|
46
|
+
&:hover label {
|
47
|
+
visibility: visible;
|
48
|
+
opacity: 1;
|
49
|
+
}
|
50
|
+
|
51
|
+
label {
|
52
|
+
box-sizing: border-box;
|
53
|
+
position: absolute;
|
54
|
+
top: 0;
|
55
|
+
left: $collapsed-main-menu-width - 1;
|
56
|
+
width: $main-menu-width + 1;
|
57
|
+
padding-left: 4*$default-padding;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
|
62
|
+
label {
|
63
|
+
vertical-align: middle;
|
64
|
+
padding-left: $default-padding;
|
65
|
+
cursor: pointer;
|
66
|
+
@include truncate($main-menu-entry-max-width);
|
67
|
+
}
|
68
|
+
|
69
|
+
a {
|
70
|
+
text-shadow: $text-shadow-light;
|
71
|
+
}
|
72
|
+
|
73
|
+
img, .module.icon {
|
74
|
+
border-style: none;
|
75
|
+
height: 24px;
|
76
|
+
width: 24px;
|
77
|
+
display: inline-block;
|
78
|
+
vertical-align: middle;
|
79
|
+
}
|
80
|
+
}
|
81
|
+
|
82
|
+
#main_navi {
|
83
|
+
padding-top: 30px;
|
84
|
+
padding-bottom: 80px;
|
85
|
+
}
|
86
|
+
|
87
|
+
.main_navi_entry {
|
88
|
+
color: $main-menu-text-color;
|
89
|
+
position: relative;
|
90
|
+
display: block;
|
91
|
+
line-height: 46px;
|
92
|
+
margin-bottom: 3*$default-padding;
|
93
|
+
background-color: transparent;
|
94
|
+
transition: background-color $transition-duration $transition-easing;
|
95
|
+
|
96
|
+
&:hover {
|
97
|
+
background-color: $main-menu-active-bg-color;
|
98
|
+
|
99
|
+
&:not(.active),
|
100
|
+
.collapsed-menu & {
|
101
|
+
|
102
|
+
.sub_navigation {
|
103
|
+
visibility: visible;
|
104
|
+
opacity: 1;
|
105
|
+
background-color: $main-menu-active-bg-color;
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
|
110
|
+
&.active {
|
111
|
+
background-color: $main-menu-active-bg-color;
|
112
|
+
color: $text-color;
|
113
|
+
cursor: default;
|
114
|
+
}
|
115
|
+
|
116
|
+
a {
|
117
|
+
display: block;
|
118
|
+
padding-left: 3 * $default-padding;
|
119
|
+
transition: color $transition-duration $transition-easing;
|
120
|
+
|
121
|
+
&:hover {
|
122
|
+
text-decoration: none;
|
123
|
+
color: #000;
|
124
|
+
text-shadow: none;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
129
|
+
body:not(.collapsed-menu) {
|
130
|
+
|
131
|
+
.subnavi_tab a {
|
132
|
+
padding-top: 1px;
|
133
|
+
}
|
134
|
+
|
135
|
+
.main_navi_entry.active {
|
136
|
+
|
137
|
+
.sub_navigation {
|
138
|
+
position: static;
|
139
|
+
visibility: visible;
|
140
|
+
opacity: 1;
|
141
|
+
width: auto;
|
142
|
+
}
|
143
|
+
|
144
|
+
.subnavi_tab {
|
145
|
+
line-height: 24px;
|
146
|
+
|
147
|
+
a {
|
148
|
+
padding: 8px 4px 8px 44px;
|
149
|
+
}
|
150
|
+
}
|
151
|
+
}
|
152
|
+
}
|
153
|
+
|
154
|
+
.sub_navigation {
|
155
|
+
position: absolute;
|
156
|
+
width: $main-menu-width;
|
157
|
+
left: $main-menu-width;
|
158
|
+
top: 0;
|
159
|
+
visibility: hidden;
|
160
|
+
opacity: 0;
|
161
|
+
transition: opacity $transition-duration $transition-easing;
|
162
|
+
|
163
|
+
.collapsed-menu & {
|
164
|
+
left: $collapsed-main-menu-width;
|
165
|
+
}
|
166
|
+
}
|
167
|
+
|
168
|
+
.subnavi_tab {
|
169
|
+
|
170
|
+
&:first-of-type {
|
171
|
+
border-left: 1px solid $main-menu-active-bg-color;
|
172
|
+
margin-left: -1px;
|
173
|
+
}
|
174
|
+
|
175
|
+
a {
|
176
|
+
padding-left: 4*$default-padding;
|
177
|
+
background-color: transparent;
|
178
|
+
transition: background-color $transition-duration $transition-easing;
|
179
|
+
@include truncate($main-menu-width, $display: block);
|
180
|
+
|
181
|
+
&:hover {
|
182
|
+
background-color: rgba(255,255,255,0.2);
|
183
|
+
}
|
184
|
+
}
|
185
|
+
|
186
|
+
&.active a {
|
187
|
+
font-weight: bold;
|
188
|
+
color: $main-menu-text-color;
|
189
|
+
}
|
190
|
+
}
|
191
|
+
|
192
|
+
.locked_page {
|
193
|
+
position: relative;
|
194
|
+
float: left;
|
195
|
+
line-height: $header-height - 1;
|
196
|
+
color: #444;
|
197
|
+
border-right: $default-border;
|
198
|
+
border-bottom: $default-border;
|
199
|
+
padding-right: 24px;
|
200
|
+
|
201
|
+
form {
|
202
|
+
position: absolute;
|
203
|
+
right: $default-padding;
|
204
|
+
top: 7px;
|
205
|
+
line-height: 1;
|
206
|
+
}
|
207
|
+
|
208
|
+
&:hover {
|
209
|
+
color: $text-color;
|
210
|
+
text-decoration: none;
|
211
|
+
}
|
212
|
+
|
213
|
+
> a {
|
214
|
+
cursor: pointer;
|
215
|
+
padding: 0px 8px;
|
216
|
+
}
|
217
|
+
|
218
|
+
.icon.close {
|
219
|
+
vertical-align: text-bottom;
|
220
|
+
text-shadow: $text-shadow-light;
|
221
|
+
}
|
222
|
+
|
223
|
+
.page_name {
|
224
|
+
margin-right: $default-margin;
|
225
|
+
text-shadow: $text-shadow-light;
|
226
|
+
}
|
227
|
+
|
228
|
+
.page_language {
|
229
|
+
display: inline-block;
|
230
|
+
color: $muted-text-color;
|
231
|
+
margin-right: 2px;
|
232
|
+
font-size: 10px;
|
233
|
+
text-transform: uppercase;
|
234
|
+
}
|
235
|
+
|
236
|
+
.page_site {
|
237
|
+
display: inline-block;
|
238
|
+
color: $muted-text-color;
|
239
|
+
margin-right: $default-margin;
|
240
|
+
font-size: 10px;
|
241
|
+
}
|
242
|
+
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
.pagination {
|
2
|
-
|
2
|
+
box-sizing: border-box;
|
3
3
|
background: $light_gray;
|
4
4
|
color: $text-color;
|
5
5
|
position: fixed;
|
@@ -8,8 +8,8 @@
|
|
8
8
|
width: 100%;
|
9
9
|
left: 0px;
|
10
10
|
height: 50px;
|
11
|
-
padding: 2*$default-padding
|
12
|
-
padding-left:
|
11
|
+
padding: 2*$default-padding;
|
12
|
+
padding-left: $main-menu-width + 10px;
|
13
13
|
text-align: left;
|
14
14
|
border-top: $default-border;
|
15
15
|
z-index: 10;
|
@@ -0,0 +1,45 @@
|
|
1
|
+
.resource_info {
|
2
|
+
|
3
|
+
h2 {
|
4
|
+
@include form-heading;
|
5
|
+
}
|
6
|
+
|
7
|
+
.value {
|
8
|
+
@include clearfix;
|
9
|
+
position: relative;
|
10
|
+
|
11
|
+
> label {
|
12
|
+
@include form-label;
|
13
|
+
}
|
14
|
+
|
15
|
+
> p {
|
16
|
+
@include form-value-display;
|
17
|
+
@include truncate($form-right-width);
|
18
|
+
}
|
19
|
+
|
20
|
+
&.with-icon {
|
21
|
+
> p {
|
22
|
+
white-space: nowrap;
|
23
|
+
padding-right: 40px;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
.icon_button--right {
|
29
|
+
position: absolute;
|
30
|
+
right: 2*$default-padding;
|
31
|
+
top: 2*$default-padding;
|
32
|
+
height: $default-form-field-height;
|
33
|
+
line-height: 25px;
|
34
|
+
background-color: $medium-gray;
|
35
|
+
margin: -$default-margin -2 * $default-margin;
|
36
|
+
padding: 0 2*$default-padding;
|
37
|
+
transition: background-color 0.3s;
|
38
|
+
@extend .right-rounded-border;
|
39
|
+
|
40
|
+
&:hover {
|
41
|
+
cursor: pointer;
|
42
|
+
background-color: darken($medium-gray, 10%);
|
43
|
+
}
|
44
|
+
}
|
45
|
+
}
|