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
@@ -43,7 +43,7 @@
|
|
43
43
|
}
|
44
44
|
|
45
45
|
#alchemy .ui-helper-clearfix {
|
46
|
-
|
46
|
+
@include inline-block;
|
47
47
|
}
|
48
48
|
|
49
49
|
/* required comment for clearfix to work in Opera \*/
|
@@ -127,21 +127,17 @@
|
|
127
127
|
#alchemy .ui-widget-content {
|
128
128
|
border: $default-border;
|
129
129
|
background-color: $light-gray;
|
130
|
-
color: $text-color
|
130
|
+
color: $text-color;
|
131
131
|
}
|
132
132
|
|
133
133
|
#alchemy .ui-widget-content a {
|
134
|
-
color: $text-color
|
135
|
-
}
|
136
|
-
|
137
|
-
#alchemy .ui-widget-content p {
|
138
|
-
overflow: hidden;
|
134
|
+
color: $text-color;
|
139
135
|
}
|
140
136
|
|
141
137
|
#alchemy .ui-widget-header {
|
142
138
|
border: 1px none #afafaf;
|
143
139
|
background: $light-blue;
|
144
|
-
color: $text-color
|
140
|
+
color: $text-color;
|
145
141
|
font-weight: bold;
|
146
142
|
-moz-border-radius-bottomleft: 0 !important;
|
147
143
|
-webkit-border-bottom-left-radius: 0 !important;
|
@@ -152,7 +148,7 @@
|
|
152
148
|
}
|
153
149
|
|
154
150
|
#alchemy .ui-widget-header a {
|
155
|
-
color: $text-color
|
151
|
+
color: $text-color;
|
156
152
|
}
|
157
153
|
|
158
154
|
/* Interaction states
|
@@ -160,22 +156,24 @@
|
|
160
156
|
|
161
157
|
#alchemy .ui-state-default, #alchemy .ui-widget-content .ui-state-default, #alchemy .ui-widget-header .ui-state-default {
|
162
158
|
border: 1px solid $button-border-color;
|
163
|
-
background: #ededed
|
159
|
+
background-color: #ededed;
|
164
160
|
font-weight: normal;
|
165
|
-
color: $text-color
|
161
|
+
color: $text-color;
|
166
162
|
text-shadow: $button-text-shadow;
|
167
163
|
}
|
168
164
|
|
169
165
|
#alchemy .ui-state-default a, #alchemy .ui-state-default a:link, #alchemy .ui-state-default a:visited {
|
170
|
-
color: $text-color
|
166
|
+
color: $text-color;
|
171
167
|
text-decoration: none;
|
172
168
|
}
|
173
169
|
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
170
|
+
.ui-dialog-titlebar-refresh, .ui-dialog-titlebar-close, .ui-dialog-titlebar-maximize, .ui-dialog-titlebar-restore {
|
171
|
+
&:hover, &:focus {
|
172
|
+
border: 1px solid $button-hover-border-color;
|
173
|
+
background: $button-hover-bg-color;
|
174
|
+
font-weight: normal;
|
175
|
+
color: $text-color;
|
176
|
+
}
|
179
177
|
}
|
180
178
|
|
181
179
|
#alchemy .ui-state-hover a, #alchemy .ui-state-hover a:hover {
|
@@ -184,7 +182,7 @@
|
|
184
182
|
}
|
185
183
|
|
186
184
|
#alchemy .ui-state-active, #alchemy .ui-widget-content .ui-state-active, #alchemy .ui-widget-header .ui-state-active {
|
187
|
-
color: $text-color
|
185
|
+
color: $text-color;
|
188
186
|
text-decoration: none;
|
189
187
|
text-shadow: none;
|
190
188
|
background-color: $button-hover-bg-color;
|
@@ -214,7 +212,7 @@
|
|
214
212
|
}
|
215
213
|
|
216
214
|
#alchemy .ui-state-active a, #alchemy .ui-state-active a:link, #alchemy .ui-state-active a:visited {
|
217
|
-
color: $text-color
|
215
|
+
color: $text-color;
|
218
216
|
text-decoration: none;
|
219
217
|
}
|
220
218
|
|
@@ -251,17 +249,14 @@
|
|
251
249
|
|
252
250
|
#alchemy .ui-priority-primary, #alchemy .ui-widget-content .ui-priority-primary, #alchemy .ui-widget-header .ui-priority-primary {
|
253
251
|
font-weight: normal;
|
254
|
-
background-position: 50% -73px;
|
255
252
|
}
|
256
253
|
|
257
254
|
#alchemy .ui-priority-secondary, #alchemy .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary {
|
258
255
|
font-weight: normal;
|
259
|
-
background-position: 50% -73px;
|
260
256
|
}
|
261
257
|
|
262
258
|
#alchemy .ui-state-disabled, #alchemy .ui-widget-content .ui-state-disabled, #alchemy .ui-widget-header .ui-state-disabled {
|
263
|
-
opacity
|
264
|
-
filter: Alpha(Opacity = 35);
|
259
|
+
@include opacity(.35);
|
265
260
|
background-image: none;
|
266
261
|
}
|
267
262
|
|
@@ -273,35 +268,35 @@
|
|
273
268
|
#alchemy .ui-icon {
|
274
269
|
width: 16px;
|
275
270
|
height: 16px;
|
276
|
-
background-image:
|
271
|
+
background-image: url('ui-icons_666666_256x240.png');
|
277
272
|
}
|
278
273
|
|
279
274
|
#alchemy .ui-widget-content .ui-icon {
|
280
|
-
background-image:
|
275
|
+
background-image: url('ui-icons_666666_256x240.png');
|
281
276
|
}
|
282
277
|
|
283
278
|
#alchemy .ui-widget-header .ui-icon {
|
284
|
-
background-image:
|
279
|
+
background-image: url('ui-icons_666666_256x240.png');
|
285
280
|
}
|
286
281
|
|
287
282
|
#alchemy .ui-state-default .ui-icon {
|
288
|
-
background-image:
|
283
|
+
background-image: url('ui-icons_666666_256x240.png');
|
289
284
|
}
|
290
285
|
|
291
286
|
#alchemy .ui-state-hover .ui-icon, #alchemy .ui-state-focus .ui-icon {
|
292
|
-
background-image:
|
287
|
+
background-image: url('ui-icons_666666_256x240.png');
|
293
288
|
}
|
294
289
|
|
295
290
|
#alchemy .ui-state-active .ui-icon {
|
296
|
-
background-image:
|
291
|
+
background-image: url('ui-icons_666666_256x240.png');
|
297
292
|
}
|
298
293
|
|
299
294
|
#alchemy .ui-state-highlight .ui-icon {
|
300
|
-
background-image:
|
295
|
+
background-image: url('ui-icons_666666_256x240.png');
|
301
296
|
}
|
302
297
|
|
303
298
|
#alchemy .ui-state-error .ui-icon, #alchemy .ui-state-error-text .ui-icon {
|
304
|
-
background-image:
|
299
|
+
background-image: url('ui-icons_666666_256x240.png');
|
305
300
|
}
|
306
301
|
|
307
302
|
/* positioning */
|
@@ -1085,12 +1080,9 @@
|
|
1085
1080
|
#alchemy .ui-widget-shadow {
|
1086
1081
|
margin: -8px 0 0 -8px;
|
1087
1082
|
padding: 8px;
|
1088
|
-
background: #000000
|
1089
|
-
opacity
|
1090
|
-
|
1091
|
-
-moz-border-radius: 3px;
|
1092
|
-
-webkit-border-radius: 3px;
|
1093
|
-
border-radius: 3px;
|
1083
|
+
background: #000000 50% 50% repeat-x;
|
1084
|
+
@include opacity(0.3);
|
1085
|
+
@include border-radius($default-border-radius);
|
1094
1086
|
}
|
1095
1087
|
|
1096
1088
|
/*
|
@@ -1340,16 +1332,19 @@
|
|
1340
1332
|
* http://docs.jquery.com/UI/Button#theming
|
1341
1333
|
*/
|
1342
1334
|
|
1343
|
-
#alchemy .ui-button {
|
1344
|
-
|
1335
|
+
#alchemy button.ui-button {
|
1336
|
+
@include default-button-style;
|
1337
|
+
@include inline-block;
|
1345
1338
|
position: relative;
|
1346
1339
|
margin-right: .1em;
|
1347
1340
|
text-decoration: none !important;
|
1348
1341
|
cursor: pointer;
|
1349
1342
|
text-align: center;
|
1350
|
-
zoom: 1;
|
1351
1343
|
overflow: visible;
|
1352
|
-
|
1344
|
+
|
1345
|
+
&.ui-state-focus {
|
1346
|
+
@include default-focus-style;
|
1347
|
+
}
|
1353
1348
|
}
|
1354
1349
|
|
1355
1350
|
/* the overflow property removes extra width in IE */
|
@@ -1378,12 +1373,10 @@ button.ui-button-icons-only {
|
|
1378
1373
|
|
1379
1374
|
#alchemy .ui-button .ui-button-text {
|
1380
1375
|
display: block;
|
1381
|
-
line-height: 1.5;
|
1382
|
-
font-size: 11px;
|
1383
1376
|
}
|
1384
1377
|
|
1385
1378
|
#alchemy .ui-button-text-only .ui-button-text {
|
1386
|
-
padding:
|
1379
|
+
padding: 0;
|
1387
1380
|
}
|
1388
1381
|
|
1389
1382
|
#alchemy .ui-button-icon-only .ui-button-text, #alchemy .ui-button-icons-only .ui-button-text {
|
@@ -1663,10 +1656,9 @@ button.ui-button::-moz-focus-inner {
|
|
1663
1656
|
|
1664
1657
|
#alchemy .ui-tabs .ui-tabs-nav {
|
1665
1658
|
padding: 4px 8px 0;
|
1666
|
-
background:
|
1667
|
-
|
1668
|
-
|
1669
|
-
border-radius: 0;
|
1659
|
+
background: transparent;
|
1660
|
+
@include border-radius(0);
|
1661
|
+
border-bottom: $default-border;
|
1670
1662
|
margin: 0;
|
1671
1663
|
}
|
1672
1664
|
|
@@ -1677,9 +1669,11 @@ button.ui-button::-moz-focus-inner {
|
|
1677
1669
|
top: 1px;
|
1678
1670
|
margin: 0 .2em 1px 0;
|
1679
1671
|
border-bottom: 0 !important;
|
1672
|
+
@include border-bottom-radius(0);
|
1680
1673
|
padding: 0;
|
1681
1674
|
white-space: nowrap;
|
1682
1675
|
background-color: #e5e5e5;
|
1676
|
+
font-weight: normal;
|
1683
1677
|
}
|
1684
1678
|
|
1685
1679
|
#alchemy .ui-tabs .ui-tabs-nav li a {
|
@@ -1692,11 +1686,10 @@ button.ui-button::-moz-focus-inner {
|
|
1692
1686
|
margin-bottom: 0;
|
1693
1687
|
padding-bottom: 1px;
|
1694
1688
|
background: $light-gray;
|
1695
|
-
height: 25px;
|
1696
1689
|
}
|
1697
1690
|
|
1698
1691
|
#alchemy .ui-tabs .ui-tabs-nav li.ui-tabs-selected a, #alchemy .ui-tabs .ui-tabs-nav li.ui-state-disabled a, #alchemy .ui-tabs .ui-tabs-nav li.ui-state-processing a {
|
1699
|
-
cursor:
|
1692
|
+
cursor: default;
|
1700
1693
|
}
|
1701
1694
|
|
1702
1695
|
#alchemy .ui-tabs .ui-tabs-nav li a, #alchemy .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a {
|
@@ -1722,6 +1715,11 @@ button.ui-button::-moz-focus-inner {
|
|
1722
1715
|
padding: 0 !important;
|
1723
1716
|
}
|
1724
1717
|
|
1718
|
+
#alchemy .ui-tabs .ui-tabs-nav .ui-tabs-paging-prev,
|
1719
|
+
#alchemy .ui-tabs .ui-tabs-nav .ui-tabs-paging-next {
|
1720
|
+
height: 26px;
|
1721
|
+
}
|
1722
|
+
|
1725
1723
|
#alchemy .ui-tabs .ui-tabs-nav .ui-tabs-paging-prev a,
|
1726
1724
|
#alchemy .ui-tabs .ui-tabs-nav .ui-tabs-paging-next a {
|
1727
1725
|
display: block;
|
@@ -27,10 +27,6 @@ div.login_signup_box {
|
|
27
27
|
background-color: $medium-gray;
|
28
28
|
@include rounded-corner;
|
29
29
|
margin: 2em auto;
|
30
|
-
|
31
|
-
select {
|
32
|
-
width: 220px;
|
33
|
-
}
|
34
30
|
}
|
35
31
|
|
36
32
|
html.no-js {
|
@@ -42,7 +38,7 @@ html.no-js {
|
|
42
38
|
#login_box {
|
43
39
|
height: 310px;
|
44
40
|
width: 394px;
|
45
|
-
margin-top: -
|
41
|
+
margin-top: -200px;
|
46
42
|
margin-left: -197px;
|
47
43
|
position: absolute;
|
48
44
|
top: 50%;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/*
|
2
|
-
*= require_self
|
3
|
-
*/
|
2
|
+
*= require_self
|
3
|
+
*/
|
4
4
|
|
5
5
|
@import "alchemy/defaults";
|
6
6
|
|
@@ -30,7 +30,7 @@
|
|
30
30
|
border-#{$side}-radius: $radius;
|
31
31
|
}
|
32
32
|
|
33
|
-
@mixin
|
33
|
+
@mixin drop-shadow {
|
34
34
|
$shadow: 0px 0px 4px $dark-gray;
|
35
35
|
-webkit-box-shadow: $shadow;
|
36
36
|
-moz-box-shadow: $shadow;
|
@@ -48,21 +48,22 @@
|
|
48
48
|
#alchemy_menubar {
|
49
49
|
position: fixed;
|
50
50
|
top: 0;
|
51
|
-
left: -
|
52
|
-
width:
|
51
|
+
left: -353px;
|
52
|
+
width: 346px;
|
53
53
|
z-index: 10000;
|
54
54
|
background: $light-gray;
|
55
55
|
@include transition;
|
56
56
|
@include bounce;
|
57
57
|
@include bottom-right-rounded-border;
|
58
|
-
@include
|
58
|
+
@include drop-shadow;
|
59
59
|
@include box-sizing;
|
60
60
|
border-right: $default-border;
|
61
61
|
border-bottom: $default-border;
|
62
|
-
|
63
|
-
height: 8 * $default-padding;
|
62
|
+
height: 8 * $default-padding + 2px;
|
64
63
|
padding: 4px 40px 4px 8px;
|
65
64
|
overflow: hidden;
|
65
|
+
font: $default-font-style;
|
66
|
+
line-height: 8 * $default-padding;
|
66
67
|
|
67
68
|
* {
|
68
69
|
@include box-sizing;
|
@@ -79,40 +80,29 @@
|
|
79
80
|
height: 24px;
|
80
81
|
position: absolute;
|
81
82
|
right: 10px;
|
82
|
-
top:
|
83
|
-
background:
|
83
|
+
top: 9px;
|
84
|
+
background: url('icons.png') -240px 0;
|
84
85
|
}
|
85
86
|
|
86
87
|
ul {
|
87
88
|
padding: 0;
|
88
89
|
margin: 0;
|
89
|
-
height:
|
90
|
+
height: auto;
|
90
91
|
|
91
92
|
li {
|
92
|
-
height:
|
93
|
+
height: auto;
|
93
94
|
margin: 0 $default-padding 0 0;
|
94
|
-
padding:
|
95
|
-
|
96
|
-
display: inline-block;
|
95
|
+
padding: 0;
|
96
|
+
@include inline-block;
|
97
97
|
list-style-type: none;
|
98
98
|
|
99
99
|
a {
|
100
|
-
@include button-
|
101
|
-
|
102
|
-
line-height:
|
103
|
-
text-align: center;
|
104
|
-
padding: 2px 4px;
|
105
|
-
width: 90px;
|
106
|
-
text-decoration: none;
|
107
|
-
outline: none;
|
108
|
-
white-space: nowrap;
|
100
|
+
@include default-button-style;
|
101
|
+
font-weight: normal;
|
102
|
+
line-height: 34px;
|
109
103
|
|
110
104
|
&:hover {
|
111
|
-
|
112
|
-
}
|
113
|
-
|
114
|
-
&:active {
|
115
|
-
outline: none;
|
105
|
+
text-decoration: none !important;
|
116
106
|
}
|
117
107
|
}
|
118
108
|
}
|
@@ -10,7 +10,7 @@ div.pagination {
|
|
10
10
|
margin-top: 4*$default-padding;
|
11
11
|
|
12
12
|
a, span, em {
|
13
|
-
font-size:
|
13
|
+
font-size: $default-font-size;
|
14
14
|
height: 25px;
|
15
15
|
line-height: 25px;
|
16
16
|
padding: $default-padding;
|
@@ -23,12 +23,12 @@ div.pagination {
|
|
23
23
|
}
|
24
24
|
|
25
25
|
.current {
|
26
|
-
@include button-styles;
|
27
26
|
background: $button-hover-bg-color;
|
28
27
|
color: $text-color;
|
29
|
-
border:
|
28
|
+
border: $default-border;
|
30
29
|
text-shadow: 0px 1px 1px #fff;
|
31
30
|
cursor: default;
|
31
|
+
@include rounded-corner;
|
32
32
|
}
|
33
33
|
|
34
34
|
.previous_page {
|
@@ -52,5 +52,4 @@ div.pagination {
|
|
52
52
|
|
53
53
|
#assign_image_list div.pagination {
|
54
54
|
margin-bottom: 8px;
|
55
|
-
text-align: center;
|
56
55
|
}
|
@@ -16,7 +16,7 @@ div#sort_panel {
|
|
16
16
|
}
|
17
17
|
|
18
18
|
div.buttons {
|
19
|
-
margin:
|
19
|
+
margin-left: 104px;
|
20
20
|
}
|
21
21
|
}
|
22
22
|
|
@@ -26,10 +26,28 @@ div#sort_panel {
|
|
26
26
|
display: block;
|
27
27
|
padding-left: 4px;
|
28
28
|
text-decoration: none;
|
29
|
+
|
30
|
+
&.inactive {
|
31
|
+
color: #656565;
|
32
|
+
}
|
33
|
+
|
34
|
+
&.odd {
|
35
|
+
background-color: #fff;
|
36
|
+
}
|
29
37
|
}
|
30
38
|
|
31
|
-
.sitemap_pagename_link
|
32
|
-
|
39
|
+
a.sitemap_pagename_link:hover {
|
40
|
+
text-decoration: underline;
|
41
|
+
|
42
|
+
&:after {
|
43
|
+
content: '';
|
44
|
+
width: 16px;
|
45
|
+
height: 16px;
|
46
|
+
float: left;
|
47
|
+
margin-right: 4px;
|
48
|
+
background: url('icons.png') -160px -168px;
|
49
|
+
margin-top: 4px;
|
50
|
+
}
|
33
51
|
}
|
34
52
|
|
35
53
|
.redirect_url {
|
@@ -47,28 +65,10 @@ div#sort_panel {
|
|
47
65
|
overflow: hidden;
|
48
66
|
}
|
49
67
|
|
50
|
-
.sitemap_pagename_link.odd {
|
51
|
-
background-color: #fff;
|
52
|
-
}
|
53
|
-
|
54
|
-
a.sitemap_pagename_link:hover {
|
55
|
-
text-decoration: underline;
|
56
|
-
}
|
57
|
-
|
58
68
|
div#page_selector_container a.sitemap_pagename_link:hover {
|
59
69
|
text-decoration: none;
|
60
70
|
}
|
61
71
|
|
62
|
-
a.sitemap_pagename_link:hover:after {
|
63
|
-
content: '';
|
64
|
-
width: 16px;
|
65
|
-
height: 16px;
|
66
|
-
float: left;
|
67
|
-
margin-right: 4px;
|
68
|
-
background: image-url('alchemy/icons.png') -160px -168px;
|
69
|
-
margin-top: 4px;
|
70
|
-
}
|
71
|
-
|
72
72
|
div#page_selector_container a.sitemap_pagename_link:hover:after {
|
73
73
|
display: none;
|
74
74
|
}
|
@@ -107,6 +107,31 @@ div.sitemap_right_tools {
|
|
107
107
|
padding-left: 16px;
|
108
108
|
float: right;
|
109
109
|
width: 100px;
|
110
|
+
|
111
|
+
a {
|
112
|
+
float: left;
|
113
|
+
width: 21px;
|
114
|
+
height: 21px;
|
115
|
+
text-align: center;
|
116
|
+
|
117
|
+
.icon {
|
118
|
+
vertical-align: middle;
|
119
|
+
}
|
120
|
+
}
|
121
|
+
|
122
|
+
.icon.blank {
|
123
|
+
margin-left: 2px;
|
124
|
+
float: left;
|
125
|
+
margin-top: 3px;
|
126
|
+
margin-right: 3px;
|
127
|
+
}
|
128
|
+
}
|
129
|
+
|
130
|
+
.sitemap_sitetools {
|
131
|
+
padding: 0;
|
132
|
+
float: left;
|
133
|
+
width: 70px;
|
134
|
+
margin-left: 8px;
|
110
135
|
}
|
111
136
|
|
112
137
|
div#page_selector_container div.sitemap_right_tools {
|
@@ -121,7 +146,7 @@ ul#sitemap {
|
|
121
146
|
margin-right: 52px;
|
122
147
|
|
123
148
|
span.page_move {
|
124
|
-
|
149
|
+
@include inline-block;
|
125
150
|
width: 74px;
|
126
151
|
text-align: center;
|
127
152
|
}
|
@@ -129,7 +154,7 @@ ul#sitemap {
|
|
129
154
|
}
|
130
155
|
|
131
156
|
a.page_folder {
|
132
|
-
background-image:
|
157
|
+
background-image: url('gui/toggle.png');
|
133
158
|
background-repeat: no-repeat;
|
134
159
|
height: 9px;
|
135
160
|
width: 9px;
|
@@ -150,7 +175,6 @@ ul#sitemap {
|
|
150
175
|
ul {
|
151
176
|
margin: 0;
|
152
177
|
padding: 0;
|
153
|
-
display: block;
|
154
178
|
}
|
155
179
|
|
156
180
|
li {
|
@@ -197,54 +221,55 @@ div.page_infos {
|
|
197
221
|
width: 66px;
|
198
222
|
}
|
199
223
|
|
200
|
-
.page_status {
|
201
|
-
width: 16px;
|
202
|
-
height: 16px;
|
203
|
-
background-repeat: no-repeat;
|
204
|
-
float: left;
|
205
|
-
margin: 2px 2px 0 4px;
|
206
|
-
}
|
207
|
-
|
208
224
|
#sub_navigation span.page_status_and_name span.page_status {
|
209
225
|
float: none;
|
210
|
-
|
226
|
+
@include inline-block;
|
211
227
|
position: relative;
|
212
|
-
top:
|
228
|
+
top: -4px;
|
213
229
|
margin-left: 2px;
|
214
230
|
}
|
215
231
|
|
216
|
-
span.page_status
|
217
|
-
|
218
|
-
|
232
|
+
span.page_status {
|
233
|
+
width: 16px;
|
234
|
+
height: 16px;
|
235
|
+
background-image: url('icons.png');
|
236
|
+
background-repeat: no-repeat;
|
237
|
+
float: left;
|
238
|
+
margin: 2px 2px 0 4px;
|
219
239
|
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
}
|
240
|
+
&.restricted {
|
241
|
+
background: -258px -39px;
|
242
|
+
}
|
224
243
|
|
225
|
-
|
226
|
-
|
227
|
-
|
244
|
+
&.not_restricted {
|
245
|
+
background-position: -290px -39px;
|
246
|
+
@include opacity(0.3);
|
247
|
+
}
|
228
248
|
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
}
|
249
|
+
&.visible {
|
250
|
+
background-position: -128px -39px;
|
251
|
+
}
|
233
252
|
|
234
|
-
|
235
|
-
|
236
|
-
|
253
|
+
&.not_visible {
|
254
|
+
background-position: -160px -39px;
|
255
|
+
@include opacity(0.3);
|
256
|
+
}
|
257
|
+
|
258
|
+
&.public {
|
259
|
+
background-position: -192px -39px;
|
260
|
+
}
|
237
261
|
|
238
|
-
|
239
|
-
|
240
|
-
|
262
|
+
&.not_public {
|
263
|
+
background-position: -224px -39px;
|
264
|
+
@include opacity(0.3);
|
265
|
+
}
|
241
266
|
}
|
242
267
|
|
243
268
|
.site_status {
|
244
269
|
float: left;
|
245
270
|
width: 16px;
|
246
271
|
height: 16px;
|
247
|
-
background:
|
272
|
+
background: url('icons.png') no-repeat 0 -40px;
|
248
273
|
}
|
249
274
|
|
250
275
|
.locked .site_status {
|
@@ -253,7 +278,7 @@ span.page_status.not_public {
|
|
253
278
|
|
254
279
|
#sub_navigation span.page_status_and_name span.site_status {
|
255
280
|
float: none;
|
256
|
-
|
281
|
+
@include inline-block;
|
257
282
|
margin-right: 4px;
|
258
283
|
margin-left: 0;
|
259
284
|
margin-bottom: 0;
|
@@ -280,31 +305,6 @@ a.folder_link {
|
|
280
305
|
outline: none;
|
281
306
|
}
|
282
307
|
|
283
|
-
.sitemap_sitetools {
|
284
|
-
padding: 0;
|
285
|
-
float: left;
|
286
|
-
width: 70px;
|
287
|
-
margin-left: 8px;
|
288
|
-
}
|
289
|
-
|
290
|
-
.sitemap_right_tools a {
|
291
|
-
float: left;
|
292
|
-
width: 21px;
|
293
|
-
height: 21px;
|
294
|
-
}
|
295
|
-
|
296
|
-
.sitemap_sitetools .icon.blank {
|
297
|
-
margin-left: 2px;
|
298
|
-
float: left;
|
299
|
-
margin-top: 3px;
|
300
|
-
margin-right: 3px;
|
301
|
-
}
|
302
|
-
|
303
|
-
.sitemap_right_tools span.icon {
|
304
|
-
margin-top: 3px;
|
305
|
-
margin-left: 2px;
|
306
|
-
}
|
307
|
-
|
308
308
|
#create_language_tree_form {
|
309
309
|
width: 360px;
|
310
310
|
|