alchemy_cms 2.2.4 → 2.3.rc5
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -1
- data/.travis.yml +3 -4
- data/Gemfile +1 -0
- data/README.md +10 -6
- data/alchemy_cms.gemspec +5 -2
- data/app/assets/images/alchemy/icons.png +0 -0
- data/app/assets/images/sassy-ie-overlay.png +0 -0
- data/app/assets/javascripts/alchemy/alchemy.base.js +50 -59
- data/app/assets/javascripts/alchemy/alchemy.buttons.js +14 -4
- data/app/assets/javascripts/alchemy/alchemy.datepicker.js +8 -2
- data/app/assets/javascripts/alchemy/alchemy.elements_window.js +11 -3
- data/app/assets/javascripts/alchemy/alchemy.gui.js.coffee +1 -1
- data/app/assets/javascripts/alchemy/alchemy.link_overlay.js.coffee +14 -1
- data/app/assets/javascripts/alchemy/alchemy.preview.js +1 -1
- data/app/assets/javascripts/alchemy/alchemy.preview_window.js +12 -4
- data/app/assets/javascripts/alchemy/alchemy.uploader.js +4 -1
- data/app/assets/javascripts/alchemy/alchemy.windows.js +18 -8
- data/app/assets/stylesheets/alchemy/_defaults.scss +84 -120
- data/app/assets/stylesheets/alchemy/alchemy.css +2 -2
- data/app/assets/stylesheets/alchemy/archive.css.scss +288 -0
- data/app/assets/stylesheets/alchemy/base.css.scss +95 -390
- data/app/assets/stylesheets/alchemy/dashboard.css.scss +4 -4
- data/app/assets/stylesheets/alchemy/elements.css.scss +83 -118
- data/app/assets/stylesheets/alchemy/flash.css.scss +1 -1
- data/app/assets/stylesheets/alchemy/form_elements.css.scss +528 -0
- data/app/assets/stylesheets/alchemy/frame.css.scss +13 -39
- data/app/assets/stylesheets/alchemy/icons.css.scss +217 -228
- data/app/assets/stylesheets/alchemy/jquery-ui.alchemy.css.scss +48 -50
- data/app/assets/stylesheets/alchemy/jquery.Jcrop.css.scss +1 -1
- data/app/assets/stylesheets/alchemy/login.css.scss +1 -5
- data/app/assets/stylesheets/alchemy/menubar.css.scss +19 -29
- data/app/assets/stylesheets/alchemy/pagination.css.scss +3 -4
- data/app/assets/stylesheets/alchemy/sitemap.css.scss +81 -81
- data/app/assets/stylesheets/alchemy/tables.css.scss +63 -57
- data/app/assets/stylesheets/alchemy/tinymce_dialog.css.scss +57 -57
- data/app/assets/stylesheets/alchemy/upload.css.scss +6 -6
- data/app/assets/stylesheets/tiny_mce/plugins/inlinepopups/skins/alchemy/window.css.scss +6 -10
- data/app/controllers/alchemy/admin/attachments_controller.rb +5 -4
- data/app/controllers/alchemy/admin/base_controller.rb +1 -9
- data/app/controllers/alchemy/admin/contents_controller.rb +4 -6
- data/app/controllers/alchemy/admin/elements_controller.rb +2 -2
- data/app/controllers/alchemy/admin/pages_controller.rb +2 -2
- data/app/controllers/alchemy/admin/pictures_controller.rb +74 -15
- data/app/controllers/alchemy/attachments_controller.rb +8 -2
- data/app/controllers/alchemy/base_controller.rb +47 -5
- data/app/controllers/alchemy/elements_controller.rb +1 -1
- data/app/controllers/alchemy/messages_controller.rb +12 -12
- data/app/controllers/alchemy/pages_controller.rb +5 -1
- data/app/controllers/alchemy/pictures_controller.rb +9 -4
- data/app/controllers/alchemy/user_sessions_controller.rb +2 -4
- data/app/helpers/alchemy/admin/base_helper.rb +98 -19
- data/app/helpers/alchemy/admin/contents_helper.rb +2 -2
- data/app/helpers/alchemy/admin/elements_helper.rb +2 -3
- data/app/helpers/alchemy/base_helper.rb +6 -5
- data/app/helpers/alchemy/elements_helper.rb +2 -2
- data/app/helpers/alchemy/essences_helper.rb +4 -5
- data/app/helpers/alchemy/pages_helper.rb +15 -79
- data/app/helpers/alchemy/url_helper.rb +67 -0
- data/app/mailers/alchemy/messages.rb +1 -1
- data/app/mailers/alchemy/notifications.rb +1 -1
- data/app/models/alchemy/attachment.rb +11 -2
- data/app/models/alchemy/cell.rb +20 -10
- data/app/models/alchemy/content.rb +4 -3
- data/app/models/alchemy/element.rb +170 -178
- data/app/models/alchemy/language/code.rb +4 -1
- data/app/models/alchemy/message.rb +19 -3
- data/app/models/alchemy/page.rb +45 -40
- data/app/models/alchemy/picture.rb +24 -2
- data/app/models/alchemy/user.rb +2 -3
- data/app/views/alchemy/admin/attachments/_archive_overlay.html.erb +12 -12
- data/app/views/alchemy/admin/attachments/_attachment.html.erb +1 -1
- data/app/views/alchemy/admin/attachments/create.js.erb +1 -0
- data/app/views/alchemy/admin/attachments/edit.html.erb +9 -3
- data/app/views/alchemy/admin/attachments/index.html.erb +3 -2
- data/app/views/alchemy/admin/contents/_missing.html.erb +1 -1
- data/app/views/alchemy/admin/contents/create.js.erb +54 -0
- data/app/views/alchemy/admin/contents/new.html.erb +9 -4
- data/app/views/alchemy/admin/elements/{_add_content.html.erb → _add_picture.html.erb} +4 -4
- data/app/views/alchemy/admin/elements/_elements_select.html.erb +2 -1
- data/app/views/alchemy/admin/elements/_new_element_form.html.erb +1 -1
- data/app/views/alchemy/admin/elements/{_picture_editor.html.erb → _picture_gallery_editor.html.erb} +7 -11
- data/app/views/alchemy/admin/elements/fold.js.erb +46 -0
- data/app/views/alchemy/admin/elements/index.html.erb +24 -24
- data/app/views/alchemy/admin/elements/list.js.erb +11 -9
- data/app/views/alchemy/admin/essence_files/assign.js.erb +3 -1
- data/app/views/alchemy/admin/essence_pictures/destroy.js.erb +28 -0
- data/app/views/alchemy/admin/pages/_contactform_links.html.erb +8 -6
- data/app/views/alchemy/admin/pages/_external_link.html.erb +11 -9
- data/app/views/alchemy/admin/pages/_file_link.html.erb +10 -8
- data/app/views/alchemy/admin/pages/_internal_link.html.erb +14 -10
- data/app/views/alchemy/admin/pages/_new_page_form.html.erb +1 -1
- data/app/views/alchemy/admin/pages/_page.html.erb +1 -1
- data/app/views/alchemy/admin/pages/_page_for_links.html.erb +32 -21
- data/app/views/alchemy/admin/pages/configure.html.erb +2 -2
- data/app/views/alchemy/admin/pages/configure_external.html.erb +13 -13
- data/app/views/alchemy/admin/pages/edit.html.erb +2 -2
- data/app/views/alchemy/admin/pages/index.html.erb +26 -24
- data/app/views/alchemy/admin/pages/link.html.erb +2 -5
- data/app/views/alchemy/admin/partials/_upload_form.html.erb +28 -12
- data/app/views/alchemy/admin/pictures/_archive.html.erb +54 -0
- data/app/views/alchemy/admin/pictures/_archive_overlay.html.erb +10 -7
- data/app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb +21 -22
- data/app/views/alchemy/admin/pictures/_filter_bar.html.erb +31 -0
- data/app/views/alchemy/admin/pictures/_overlay_picture_list.html.erb +9 -0
- data/app/views/alchemy/admin/pictures/_picture.html.erb +36 -6
- data/app/views/alchemy/admin/pictures/_tag_list.html.erb +27 -0
- data/app/views/alchemy/admin/pictures/archive_overlay.js.erb +3 -1
- data/app/views/alchemy/admin/pictures/create.js.erb +4 -5
- data/app/views/alchemy/admin/pictures/edit.html.erb +26 -0
- data/app/views/alchemy/admin/pictures/edit_multiple.html.erb +39 -0
- data/app/views/alchemy/admin/pictures/index.html.erb +81 -70
- data/app/views/alchemy/admin/pictures/index.js.erb +3 -0
- data/app/views/alchemy/admin/pictures/new.html.erb +1 -0
- data/app/views/alchemy/admin/resources/index.html.erb +3 -1
- data/app/views/alchemy/admin/users/_table.html.erb +1 -1
- data/app/views/alchemy/admin/users/index.html.erb +27 -23
- data/app/views/alchemy/elements/_article_editor.html.erb +7 -2
- data/app/views/alchemy/elements/_bild_editor.html.erb +1 -1
- data/app/views/alchemy/elements/_bild_text_editor.html.erb +6 -1
- data/app/views/alchemy/elements/_bild_text_view.html.erb +3 -3
- data/app/views/alchemy/elements/_image_mosaic_editor.html.erb +1 -1
- data/app/views/alchemy/elements/_image_mosaic_view.html.erb +2 -2
- data/app/views/alchemy/elements/_intro_image_text_view.html.erb +4 -4
- data/app/views/alchemy/elements/_searchresult_editor.html.erb +4 -1
- data/app/views/alchemy/essences/_essence_boolean_editor.html.erb +1 -1
- data/app/views/alchemy/essences/_essence_picture_editor.html.erb +2 -3
- data/app/views/alchemy/essences/_essence_picture_tools.html.erb +1 -1
- data/app/views/alchemy/search/_form.html.erb +8 -0
- data/app/views/alchemy/search/_result.html.erb +3 -2
- data/app/views/alchemy/search/_results.html.erb +28 -0
- data/app/views/alchemy/user_sessions/leave.html.erb +4 -4
- data/app/views/alchemy/user_sessions/login.html.erb +1 -2
- data/app/views/layouts/alchemy/admin.html.erb +30 -10
- data/app/views/layouts/alchemy/login.html.erb +2 -39
- data/config/alchemy/elements.yml +1 -2
- data/config/alchemy/page_layouts.yml +8 -5
- data/config/authorization_rules.rb +27 -18
- data/config/initializers/localeapp.rb +9 -0
- data/config/locales/alchemy.de.yml +93 -56
- data/config/locales/alchemy.en.yml +73 -50
- data/config/routes.rb +3 -1
- data/db/migrate/20120704181529_add_upload_hash_to_alchemy_picture.rb +5 -0
- data/db/migrate/20120705214247_acts_as_taggable_on_migration.rb +28 -0
- data/db/migrate/20120728185830_add_cached_tag_list_to_alchemy_pictures.rb +5 -0
- data/db/migrate/20120831135441_set_alchemy_languages_country_code_default_to_empty_string.rb +9 -0
- data/lib/alchemy/capistrano.rb +2 -2
- data/lib/alchemy/essence.rb +14 -0
- data/lib/alchemy/page_layout.rb +0 -6
- data/lib/alchemy/resource.rb +9 -15
- data/lib/alchemy/upgrader.rb +18 -3
- data/lib/alchemy/version.rb +5 -1
- data/lib/alchemy_cms.rb +4 -1
- data/lib/rails/generators/alchemy/deploy_script/deploy_script_generator.rb +16 -6
- data/lib/rails/generators/alchemy/deploy_script/templates/deploy.rb.tt +17 -3
- data/lib/rails/generators/alchemy/elements/elements_generator.rb +6 -1
- data/lib/rails/generators/alchemy/elements/templates/editor.html.erb +10 -1
- data/lib/rails/generators/alchemy/elements/templates/view.html.erb +17 -18
- data/lib/rails/generators/alchemy/scaffold/files/pages.html.erb +4 -2
- data/lib/tasks/fleximage.rake +2 -2
- data/spec/controllers/admin/contents_controller_spec.rb +2 -2
- data/spec/controllers/admin/elements_controller_spec.rb +30 -1
- data/spec/controllers/admin/pages_controller_spec.rb +35 -18
- data/spec/controllers/admin/trash_controller_spec.rb +40 -16
- data/spec/controllers/attachments_controller_spec.rb +62 -0
- data/spec/controllers/base_controller_spec.rb +43 -42
- data/spec/controllers/elements_controller_spec.rb +30 -0
- data/spec/controllers/pages_controller_spec.rb +22 -5
- data/spec/controllers/pictures_controller_spec.rb +82 -0
- data/spec/dummy/app/models/event.rb +2 -1
- data/spec/dummy/config/database.yml +3 -2
- data/spec/dummy/db/schema.rb +51 -27
- data/spec/factories.rb +29 -8
- data/spec/helpers/admin/base_helper_spec.rb +134 -21
- data/spec/helpers/admin/contents_helper_spec.rb +2 -2
- data/spec/helpers/admin/elements_helper_spec.rb +17 -9
- data/spec/helpers/admin/essences_helper_spec.rb +7 -6
- data/spec/helpers/essences_helper_spec.rb +8 -7
- data/spec/helpers/pages_helper_spec.rb +208 -325
- data/spec/helpers/url_helper_spec.rb +171 -0
- data/spec/integration/admin/link_overlay_spec.rb +53 -0
- data/spec/integration/admin/modules_integration_spec.rb +22 -26
- data/spec/integration/admin/pages_controller_spec.rb +10 -19
- data/spec/integration/admin/picture_library_integration_spec.rb +52 -0
- data/spec/integration/admin/resources_integration_spec.rb +68 -75
- data/spec/integration/pages_controller_spec.rb +70 -61
- data/spec/integration/security_spec.rb +3 -5
- data/spec/integration/translation_integration_spec.rb +56 -0
- data/spec/libraries/essence_spec.rb +18 -0
- data/spec/libraries/resource_spec.rb +101 -79
- data/spec/libraries/resources_helper_spec.rb +3 -0
- data/spec/models/content_spec.rb +63 -60
- data/spec/models/element_spec.rb +203 -93
- data/spec/models/language_spec.rb +90 -65
- data/spec/models/page_layout_spec.rb +37 -0
- data/spec/models/page_spec.rb +181 -113
- data/spec/models/picture_spec.rb +73 -26
- data/spec/models/resource_spec.rb +52 -23
- data/spec/support/alchemy/specs_helpers.rb +2 -0
- data/spec/support/image.png +0 -0
- data/spec/{helpers/url_helpers_spec.rb → url_helpers_spec.rb} +0 -0
- data/vendor/assets/javascripts/jquery_plugins/jquery.selectBoxIt.js +1909 -0
- data/vendor/assets/javascripts/jquery_plugins/preloadCssImages.jQuery_v5.js +152 -0
- metadata +106 -33
- data/app/assets/stylesheets/alchemy/buttons.css.scss +0 -361
- data/app/assets/stylesheets/alchemy/jquery.sb.css.scss +0 -260
- data/app/views/alchemy/admin/contents/create.js.coffee +0 -49
- data/app/views/alchemy/admin/elements/fold.js.coffee +0 -37
- data/app/views/alchemy/admin/essence_pictures/destroy.js.coffee +0 -19
- data/app/views/alchemy/admin/pictures/_pictures_list.html.erb +0 -16
- data/app/views/alchemy/admin/pictures/update.js.erb +0 -3
- data/spec/dummy/config/locales/en.yml +0 -5
- data/spec/dummy/config/locales/fo.yml +0 -5
- data/spec/page_layout_spec.rb +0 -35
- data/vendor/assets/javascripts/jquery_plugins/jquery.in-place-edit.js +0 -172
- data/vendor/assets/javascripts/jquery_plugins/jquery.sb.min.js +0 -14
@@ -3,8 +3,9 @@
|
|
3
3
|
#dashboard {
|
4
4
|
overflow: auto;
|
5
5
|
float: left;
|
6
|
-
padding:
|
6
|
+
padding: 4 * $default-padding;
|
7
7
|
width: 450px;
|
8
|
+
position: relative;
|
8
9
|
|
9
10
|
h1 {
|
10
11
|
font-size: 2em;
|
@@ -48,10 +49,9 @@
|
|
48
49
|
position: relative;
|
49
50
|
|
50
51
|
form {
|
51
|
-
line-height: 10px;
|
52
52
|
position: absolute;
|
53
53
|
top: 2*$default-padding;
|
54
|
-
right:
|
54
|
+
right: 2*$default-padding;
|
55
55
|
}
|
56
56
|
}
|
57
57
|
}
|
@@ -61,7 +61,7 @@
|
|
61
61
|
div#sideboard {
|
62
62
|
float: right;
|
63
63
|
width: 240px;
|
64
|
-
padding
|
64
|
+
padding: 16px;
|
65
65
|
|
66
66
|
div.sideboard_widget img {
|
67
67
|
margin-bottom: 16px;
|
@@ -45,7 +45,7 @@ img.add_element_spinner {
|
|
45
45
|
position: absolute;
|
46
46
|
top: 0;
|
47
47
|
left: 0;
|
48
|
-
background:
|
48
|
+
background: url('icons.png') no-repeat -224px -72px;
|
49
49
|
}
|
50
50
|
|
51
51
|
.element_handle span.icon {
|
@@ -59,11 +59,6 @@ img.add_element_spinner {
|
|
59
59
|
background-position: -160px -166px;
|
60
60
|
}
|
61
61
|
|
62
|
-
div.element_foot span.element_public {
|
63
|
-
float: left;
|
64
|
-
margin-top: 1px;
|
65
|
-
}
|
66
|
-
|
67
62
|
.element_head_all {
|
68
63
|
overflow: auto;
|
69
64
|
width: 374px;
|
@@ -85,7 +80,7 @@ div.element_foot span.element_public {
|
|
85
80
|
padding-bottom: 10px;
|
86
81
|
}
|
87
82
|
|
88
|
-
.
|
83
|
+
.add_picture {
|
89
84
|
float: left;
|
90
85
|
margin: 1px;
|
91
86
|
width: 111px;
|
@@ -94,27 +89,26 @@ div.element_foot span.element_public {
|
|
94
89
|
border: 1px solid #c2baab;
|
95
90
|
@include rounded-corner;
|
96
91
|
height: 115px;
|
97
|
-
}
|
98
92
|
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
}
|
93
|
+
a {
|
94
|
+
text-decoration: none;
|
95
|
+
overflow: hidden;
|
96
|
+
text-align: center;
|
97
|
+
font-weight: bold;
|
98
|
+
line-height: 104px;
|
99
|
+
@include rounded-corner;
|
100
|
+
font-size: 40px;
|
101
|
+
display: block;
|
102
|
+
height: 100%;
|
103
|
+
width: 100%;
|
104
|
+
position: relative;
|
112
105
|
|
113
|
-
.
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
106
|
+
.icon {
|
107
|
+
position: absolute;
|
108
|
+
top: 52px;
|
109
|
+
left: 47px;
|
110
|
+
}
|
111
|
+
}
|
118
112
|
}
|
119
113
|
|
120
114
|
.element_foot {
|
@@ -123,20 +117,25 @@ div.element_foot span.element_public {
|
|
123
117
|
position: relative;
|
124
118
|
background-color: #e5dcca;
|
125
119
|
width: 100%;
|
126
|
-
height:
|
120
|
+
height: 27px;
|
127
121
|
margin-left: -8px;
|
128
|
-
}
|
129
122
|
|
130
|
-
.
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
}
|
123
|
+
.element_tools {
|
124
|
+
float: left;
|
125
|
+
margin-right: 8px;
|
126
|
+
margin-top: 6px;
|
127
|
+
}
|
135
128
|
|
136
|
-
.
|
137
|
-
|
138
|
-
|
139
|
-
|
129
|
+
.element_public {
|
130
|
+
float: left;
|
131
|
+
margin-top: 6px;
|
132
|
+
}
|
133
|
+
|
134
|
+
.button {
|
135
|
+
position: absolute;
|
136
|
+
right: 8px;
|
137
|
+
bottom: 4px;
|
138
|
+
}
|
140
139
|
}
|
141
140
|
|
142
141
|
.ajax_folder {
|
@@ -163,7 +162,7 @@ div.element_editor {
|
|
163
162
|
margin-bottom: 8px;
|
164
163
|
|
165
164
|
&.not-draggable {
|
166
|
-
@include opacity(
|
165
|
+
@include opacity(0.5);
|
167
166
|
}
|
168
167
|
|
169
168
|
&.dirty {
|
@@ -230,7 +229,6 @@ div.element_editor {
|
|
230
229
|
#alchemy .ui-dialog div.element_editor form {
|
231
230
|
margin: 0;
|
232
231
|
padding: 0 8px;
|
233
|
-
overflow: hidden;
|
234
232
|
}
|
235
233
|
|
236
234
|
div.element_tools {
|
@@ -249,15 +247,15 @@ span.element_tools_icons {
|
|
249
247
|
}
|
250
248
|
|
251
249
|
a.delete_element_button {
|
252
|
-
background:
|
250
|
+
background: url('icons.png') no-repeat -63px -72px;
|
253
251
|
}
|
254
252
|
|
255
253
|
a.element_copy_button {
|
256
|
-
background:
|
254
|
+
background: url('icons.png') no-repeat -128px -72px;
|
257
255
|
}
|
258
256
|
|
259
257
|
a.element_move_button {
|
260
|
-
background:
|
258
|
+
background: url('icons.png') no-repeat -97px -72px;
|
261
259
|
}
|
262
260
|
|
263
261
|
.element_head {
|
@@ -282,6 +280,10 @@ div.picture_gallery_images {
|
|
282
280
|
@include rounded-corner;
|
283
281
|
background-color: #e5dcca;
|
284
282
|
padding: 1px;
|
283
|
+
|
284
|
+
.essence_picture_editor {
|
285
|
+
margin: 1px;
|
286
|
+
}
|
285
287
|
}
|
286
288
|
|
287
289
|
div.picture_thumbnail div.picture_image {
|
@@ -293,24 +295,6 @@ div.picture_thumbnail div.picture_image {
|
|
293
295
|
}
|
294
296
|
}
|
295
297
|
|
296
|
-
/* @group add moclecule */
|
297
|
-
|
298
|
-
.new_alchemy_element {
|
299
|
-
margin: 0;
|
300
|
-
padding: 0;
|
301
|
-
position: relative;
|
302
|
-
min-height: 25px;
|
303
|
-
overflow: auto;
|
304
|
-
}
|
305
|
-
|
306
|
-
.new_alchemy_element p {
|
307
|
-
line-height: 21px;
|
308
|
-
}
|
309
|
-
|
310
|
-
.new_alchemy_element form {
|
311
|
-
line-height: 21px;
|
312
|
-
}
|
313
|
-
|
314
298
|
div#element_area {
|
315
299
|
padding: 0;
|
316
300
|
margin: 0;
|
@@ -326,24 +310,6 @@ div#element_area .sortable_cell {
|
|
326
310
|
padding: 8px 8px 2px;
|
327
311
|
}
|
328
312
|
|
329
|
-
.new_alchemy_element span {
|
330
|
-
float: left;
|
331
|
-
line-height: 25px;
|
332
|
-
}
|
333
|
-
|
334
|
-
.new_alchemy_element select {
|
335
|
-
float: left;
|
336
|
-
width: 185px;
|
337
|
-
margin: 0 8px;
|
338
|
-
}
|
339
|
-
|
340
|
-
.new_alchemy_element input.button {
|
341
|
-
float: right;
|
342
|
-
margin-left: 8px;
|
343
|
-
}
|
344
|
-
|
345
|
-
/* @end */
|
346
|
-
|
347
313
|
.place_element_spinner {
|
348
314
|
position: absolute;
|
349
315
|
right: 8px;
|
@@ -356,28 +322,23 @@ span.linkable_text_essence_tools {
|
|
356
322
|
position: absolute;
|
357
323
|
bottom: 0;
|
358
324
|
right: 2px;
|
325
|
+
|
359
326
|
a.icon_button {
|
360
327
|
margin: 0 0 0 4px;
|
361
328
|
position: absolute;
|
362
|
-
bottom:
|
363
|
-
right:
|
329
|
+
bottom: 4px;
|
330
|
+
right: 28px;
|
364
331
|
@include reset-border-radius;
|
365
|
-
|
366
|
-
width: 27px;
|
367
|
-
background-position: 0 -72px;
|
332
|
+
|
368
333
|
&.unlink {
|
369
334
|
right: 0;
|
370
335
|
@include right-rounded-border;
|
371
336
|
}
|
372
|
-
.icon {
|
373
|
-
left: 5px;
|
374
|
-
top: 6px;
|
375
|
-
}
|
376
337
|
}
|
377
338
|
}
|
378
339
|
|
379
340
|
a.expand_element {
|
380
|
-
background:
|
341
|
+
background: url('icons.png') no-repeat -160px -72px;
|
381
342
|
height: 16px;
|
382
343
|
width: 16px;
|
383
344
|
text-decoration: none;
|
@@ -386,7 +347,7 @@ a.expand_element {
|
|
386
347
|
}
|
387
348
|
|
388
349
|
a.fold_element {
|
389
|
-
background:
|
350
|
+
background: url('icons.png') no-repeat -192px -72px;
|
390
351
|
height: 16px;
|
391
352
|
width: 16px;
|
392
353
|
text-decoration: none;
|
@@ -424,7 +385,7 @@ a.icon_button.linked {
|
|
424
385
|
.edit_images_bottom a.linked {
|
425
386
|
position: relative;
|
426
387
|
@include rounded-corner;
|
427
|
-
background-image:
|
388
|
+
background-image: url('shading.png');
|
428
389
|
background-repeat: repeat-x;
|
429
390
|
background-position: 0 -75px;
|
430
391
|
background-color: #ffd77a;
|
@@ -437,14 +398,13 @@ a.icon_button.linked {
|
|
437
398
|
}
|
438
399
|
|
439
400
|
.edit_images_bottom a.disabled {
|
440
|
-
@include opacity(
|
401
|
+
@include opacity(0.3);
|
441
402
|
cursor: default;
|
442
403
|
}
|
443
404
|
|
444
405
|
div.content_editor.essence_date {
|
445
406
|
float: none;
|
446
|
-
|
447
|
-
display: inline-block;
|
407
|
+
@include inline-block;
|
448
408
|
vertical-align: top;
|
449
409
|
|
450
410
|
input.date {
|
@@ -495,7 +455,7 @@ div.essence_picture_editor .picture_thumbnail:hover .picture_tool_delete {
|
|
495
455
|
}
|
496
456
|
|
497
457
|
div.essence_picture_editor .thumbnail_background.missing {
|
498
|
-
background-image:
|
458
|
+
background-image: url('placeholder.png');
|
499
459
|
background-repeat: no-repeat;
|
500
460
|
background-position: center 12px;
|
501
461
|
}
|
@@ -570,7 +530,7 @@ div.file_icon span.icon {
|
|
570
530
|
div.file_icon a.assign_file {
|
571
531
|
display: block;
|
572
532
|
height: 16px;
|
573
|
-
background:
|
533
|
+
background: url('icons.png') no-repeat -480px -40px;
|
574
534
|
width: 16px;
|
575
535
|
margin: $default-margin;
|
576
536
|
}
|
@@ -600,11 +560,11 @@ div.essence_file_tools a {
|
|
600
560
|
}
|
601
561
|
|
602
562
|
div.essence_file_tools a.assign_file {
|
603
|
-
background:
|
563
|
+
background: url('icons.png') -512px -40px;
|
604
564
|
}
|
605
565
|
|
606
566
|
div.essence_file_tools a.edit_file {
|
607
|
-
background:
|
567
|
+
background: url('icons.png') -160px -167px;
|
608
568
|
}
|
609
569
|
|
610
570
|
td.content_editor_essence_type {
|
@@ -622,9 +582,10 @@ table.content_editor_table {
|
|
622
582
|
|
623
583
|
a.new_content_link {
|
624
584
|
float: none;
|
625
|
-
|
585
|
+
@include inline-block;
|
626
586
|
margin-bottom: 8px;
|
627
587
|
margin-top: 4px;
|
588
|
+
line-height: 4em;
|
628
589
|
}
|
629
590
|
|
630
591
|
div.essence_richtext_loader {
|
@@ -635,7 +596,7 @@ div.essence_richtext_loader {
|
|
635
596
|
width: 100%;
|
636
597
|
height: 100%;
|
637
598
|
background-color: #F0E8D7;
|
638
|
-
@include opacity(
|
599
|
+
@include opacity(0.9);
|
639
600
|
}
|
640
601
|
|
641
602
|
div.essence_richtext_loader img {
|
@@ -690,16 +651,14 @@ div.content_editor {
|
|
690
651
|
font-size: 11px;
|
691
652
|
|
692
653
|
span.icon.warning {
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
margin-right: 8px;
|
654
|
+
vertical-align: text-bottom;
|
655
|
+
margin-left: 2px;
|
656
|
+
margin-right: 6px;
|
697
657
|
}
|
698
658
|
}
|
699
659
|
|
700
660
|
&.display_inline {
|
701
|
-
|
702
|
-
display: inline-block;
|
661
|
+
@include inline-block;
|
703
662
|
margin-right: 4px;
|
704
663
|
vertical-align: top;
|
705
664
|
|
@@ -734,18 +693,32 @@ div.content_editor {
|
|
734
693
|
}
|
735
694
|
|
736
695
|
&.inline {
|
737
|
-
|
696
|
+
@include inline-block;
|
738
697
|
min-width: 90px;
|
739
698
|
margin-right: 4px;
|
740
699
|
}
|
741
700
|
|
742
701
|
a.icon_button.small {
|
702
|
+
width: 10px;
|
703
|
+
height: 10px;
|
743
704
|
display: none;
|
705
|
+
|
706
|
+
.icon {
|
707
|
+
top: 1px;
|
708
|
+
right: 1px;
|
709
|
+
}
|
710
|
+
|
711
|
+
&:hover {
|
712
|
+
|
713
|
+
.icon {
|
714
|
+
right: 2px;
|
715
|
+
}
|
716
|
+
}
|
744
717
|
}
|
745
718
|
}
|
746
719
|
|
747
720
|
&:hover label a.icon_button.small {
|
748
|
-
|
721
|
+
@include inline-block;
|
749
722
|
}
|
750
723
|
|
751
724
|
input.text_with_icon.auto_resize.thin_border {
|
@@ -782,8 +755,7 @@ div.content_editor {
|
|
782
755
|
|
783
756
|
&.essence_date {
|
784
757
|
float: none;
|
785
|
-
|
786
|
-
display: inline-block;
|
758
|
+
@include inline-block;
|
787
759
|
vertical-align: top;
|
788
760
|
|
789
761
|
input.date {
|
@@ -794,8 +766,7 @@ div.content_editor {
|
|
794
766
|
&.essence_picture_editor {
|
795
767
|
float: none;
|
796
768
|
height: auto;
|
797
|
-
|
798
|
-
display: inline-block;
|
769
|
+
@include inline-block;
|
799
770
|
margin: 8px 0;
|
800
771
|
}
|
801
772
|
}
|
@@ -817,14 +788,8 @@ div.pictures_for_element {
|
|
817
788
|
margin-top: 4px;
|
818
789
|
}
|
819
790
|
|
820
|
-
textarea {
|
821
|
-
font: 12px Tahoma, Arial, sans-serif;
|
822
|
-
padding: 4px;
|
823
|
-
margin: 0;
|
791
|
+
#element_area textarea {
|
824
792
|
width: 97%;
|
825
|
-
border-style: inset;
|
826
|
-
border-width: 1px;
|
827
|
-
@include rounded-corner;
|
828
793
|
height: 140px;
|
829
794
|
}
|
830
795
|
|