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.
Files changed (215) hide show
  1. data/.gitignore +1 -1
  2. data/.travis.yml +3 -4
  3. data/Gemfile +1 -0
  4. data/README.md +10 -6
  5. data/alchemy_cms.gemspec +5 -2
  6. data/app/assets/images/alchemy/icons.png +0 -0
  7. data/app/assets/images/sassy-ie-overlay.png +0 -0
  8. data/app/assets/javascripts/alchemy/alchemy.base.js +50 -59
  9. data/app/assets/javascripts/alchemy/alchemy.buttons.js +14 -4
  10. data/app/assets/javascripts/alchemy/alchemy.datepicker.js +8 -2
  11. data/app/assets/javascripts/alchemy/alchemy.elements_window.js +11 -3
  12. data/app/assets/javascripts/alchemy/alchemy.gui.js.coffee +1 -1
  13. data/app/assets/javascripts/alchemy/alchemy.link_overlay.js.coffee +14 -1
  14. data/app/assets/javascripts/alchemy/alchemy.preview.js +1 -1
  15. data/app/assets/javascripts/alchemy/alchemy.preview_window.js +12 -4
  16. data/app/assets/javascripts/alchemy/alchemy.uploader.js +4 -1
  17. data/app/assets/javascripts/alchemy/alchemy.windows.js +18 -8
  18. data/app/assets/stylesheets/alchemy/_defaults.scss +84 -120
  19. data/app/assets/stylesheets/alchemy/alchemy.css +2 -2
  20. data/app/assets/stylesheets/alchemy/archive.css.scss +288 -0
  21. data/app/assets/stylesheets/alchemy/base.css.scss +95 -390
  22. data/app/assets/stylesheets/alchemy/dashboard.css.scss +4 -4
  23. data/app/assets/stylesheets/alchemy/elements.css.scss +83 -118
  24. data/app/assets/stylesheets/alchemy/flash.css.scss +1 -1
  25. data/app/assets/stylesheets/alchemy/form_elements.css.scss +528 -0
  26. data/app/assets/stylesheets/alchemy/frame.css.scss +13 -39
  27. data/app/assets/stylesheets/alchemy/icons.css.scss +217 -228
  28. data/app/assets/stylesheets/alchemy/jquery-ui.alchemy.css.scss +48 -50
  29. data/app/assets/stylesheets/alchemy/jquery.Jcrop.css.scss +1 -1
  30. data/app/assets/stylesheets/alchemy/login.css.scss +1 -5
  31. data/app/assets/stylesheets/alchemy/menubar.css.scss +19 -29
  32. data/app/assets/stylesheets/alchemy/pagination.css.scss +3 -4
  33. data/app/assets/stylesheets/alchemy/sitemap.css.scss +81 -81
  34. data/app/assets/stylesheets/alchemy/tables.css.scss +63 -57
  35. data/app/assets/stylesheets/alchemy/tinymce_dialog.css.scss +57 -57
  36. data/app/assets/stylesheets/alchemy/upload.css.scss +6 -6
  37. data/app/assets/stylesheets/tiny_mce/plugins/inlinepopups/skins/alchemy/window.css.scss +6 -10
  38. data/app/controllers/alchemy/admin/attachments_controller.rb +5 -4
  39. data/app/controllers/alchemy/admin/base_controller.rb +1 -9
  40. data/app/controllers/alchemy/admin/contents_controller.rb +4 -6
  41. data/app/controllers/alchemy/admin/elements_controller.rb +2 -2
  42. data/app/controllers/alchemy/admin/pages_controller.rb +2 -2
  43. data/app/controllers/alchemy/admin/pictures_controller.rb +74 -15
  44. data/app/controllers/alchemy/attachments_controller.rb +8 -2
  45. data/app/controllers/alchemy/base_controller.rb +47 -5
  46. data/app/controllers/alchemy/elements_controller.rb +1 -1
  47. data/app/controllers/alchemy/messages_controller.rb +12 -12
  48. data/app/controllers/alchemy/pages_controller.rb +5 -1
  49. data/app/controllers/alchemy/pictures_controller.rb +9 -4
  50. data/app/controllers/alchemy/user_sessions_controller.rb +2 -4
  51. data/app/helpers/alchemy/admin/base_helper.rb +98 -19
  52. data/app/helpers/alchemy/admin/contents_helper.rb +2 -2
  53. data/app/helpers/alchemy/admin/elements_helper.rb +2 -3
  54. data/app/helpers/alchemy/base_helper.rb +6 -5
  55. data/app/helpers/alchemy/elements_helper.rb +2 -2
  56. data/app/helpers/alchemy/essences_helper.rb +4 -5
  57. data/app/helpers/alchemy/pages_helper.rb +15 -79
  58. data/app/helpers/alchemy/url_helper.rb +67 -0
  59. data/app/mailers/alchemy/messages.rb +1 -1
  60. data/app/mailers/alchemy/notifications.rb +1 -1
  61. data/app/models/alchemy/attachment.rb +11 -2
  62. data/app/models/alchemy/cell.rb +20 -10
  63. data/app/models/alchemy/content.rb +4 -3
  64. data/app/models/alchemy/element.rb +170 -178
  65. data/app/models/alchemy/language/code.rb +4 -1
  66. data/app/models/alchemy/message.rb +19 -3
  67. data/app/models/alchemy/page.rb +45 -40
  68. data/app/models/alchemy/picture.rb +24 -2
  69. data/app/models/alchemy/user.rb +2 -3
  70. data/app/views/alchemy/admin/attachments/_archive_overlay.html.erb +12 -12
  71. data/app/views/alchemy/admin/attachments/_attachment.html.erb +1 -1
  72. data/app/views/alchemy/admin/attachments/create.js.erb +1 -0
  73. data/app/views/alchemy/admin/attachments/edit.html.erb +9 -3
  74. data/app/views/alchemy/admin/attachments/index.html.erb +3 -2
  75. data/app/views/alchemy/admin/contents/_missing.html.erb +1 -1
  76. data/app/views/alchemy/admin/contents/create.js.erb +54 -0
  77. data/app/views/alchemy/admin/contents/new.html.erb +9 -4
  78. data/app/views/alchemy/admin/elements/{_add_content.html.erb → _add_picture.html.erb} +4 -4
  79. data/app/views/alchemy/admin/elements/_elements_select.html.erb +2 -1
  80. data/app/views/alchemy/admin/elements/_new_element_form.html.erb +1 -1
  81. data/app/views/alchemy/admin/elements/{_picture_editor.html.erb → _picture_gallery_editor.html.erb} +7 -11
  82. data/app/views/alchemy/admin/elements/fold.js.erb +46 -0
  83. data/app/views/alchemy/admin/elements/index.html.erb +24 -24
  84. data/app/views/alchemy/admin/elements/list.js.erb +11 -9
  85. data/app/views/alchemy/admin/essence_files/assign.js.erb +3 -1
  86. data/app/views/alchemy/admin/essence_pictures/destroy.js.erb +28 -0
  87. data/app/views/alchemy/admin/pages/_contactform_links.html.erb +8 -6
  88. data/app/views/alchemy/admin/pages/_external_link.html.erb +11 -9
  89. data/app/views/alchemy/admin/pages/_file_link.html.erb +10 -8
  90. data/app/views/alchemy/admin/pages/_internal_link.html.erb +14 -10
  91. data/app/views/alchemy/admin/pages/_new_page_form.html.erb +1 -1
  92. data/app/views/alchemy/admin/pages/_page.html.erb +1 -1
  93. data/app/views/alchemy/admin/pages/_page_for_links.html.erb +32 -21
  94. data/app/views/alchemy/admin/pages/configure.html.erb +2 -2
  95. data/app/views/alchemy/admin/pages/configure_external.html.erb +13 -13
  96. data/app/views/alchemy/admin/pages/edit.html.erb +2 -2
  97. data/app/views/alchemy/admin/pages/index.html.erb +26 -24
  98. data/app/views/alchemy/admin/pages/link.html.erb +2 -5
  99. data/app/views/alchemy/admin/partials/_upload_form.html.erb +28 -12
  100. data/app/views/alchemy/admin/pictures/_archive.html.erb +54 -0
  101. data/app/views/alchemy/admin/pictures/_archive_overlay.html.erb +10 -7
  102. data/app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb +21 -22
  103. data/app/views/alchemy/admin/pictures/_filter_bar.html.erb +31 -0
  104. data/app/views/alchemy/admin/pictures/_overlay_picture_list.html.erb +9 -0
  105. data/app/views/alchemy/admin/pictures/_picture.html.erb +36 -6
  106. data/app/views/alchemy/admin/pictures/_tag_list.html.erb +27 -0
  107. data/app/views/alchemy/admin/pictures/archive_overlay.js.erb +3 -1
  108. data/app/views/alchemy/admin/pictures/create.js.erb +4 -5
  109. data/app/views/alchemy/admin/pictures/edit.html.erb +26 -0
  110. data/app/views/alchemy/admin/pictures/edit_multiple.html.erb +39 -0
  111. data/app/views/alchemy/admin/pictures/index.html.erb +81 -70
  112. data/app/views/alchemy/admin/pictures/index.js.erb +3 -0
  113. data/app/views/alchemy/admin/pictures/new.html.erb +1 -0
  114. data/app/views/alchemy/admin/resources/index.html.erb +3 -1
  115. data/app/views/alchemy/admin/users/_table.html.erb +1 -1
  116. data/app/views/alchemy/admin/users/index.html.erb +27 -23
  117. data/app/views/alchemy/elements/_article_editor.html.erb +7 -2
  118. data/app/views/alchemy/elements/_bild_editor.html.erb +1 -1
  119. data/app/views/alchemy/elements/_bild_text_editor.html.erb +6 -1
  120. data/app/views/alchemy/elements/_bild_text_view.html.erb +3 -3
  121. data/app/views/alchemy/elements/_image_mosaic_editor.html.erb +1 -1
  122. data/app/views/alchemy/elements/_image_mosaic_view.html.erb +2 -2
  123. data/app/views/alchemy/elements/_intro_image_text_view.html.erb +4 -4
  124. data/app/views/alchemy/elements/_searchresult_editor.html.erb +4 -1
  125. data/app/views/alchemy/essences/_essence_boolean_editor.html.erb +1 -1
  126. data/app/views/alchemy/essences/_essence_picture_editor.html.erb +2 -3
  127. data/app/views/alchemy/essences/_essence_picture_tools.html.erb +1 -1
  128. data/app/views/alchemy/search/_form.html.erb +8 -0
  129. data/app/views/alchemy/search/_result.html.erb +3 -2
  130. data/app/views/alchemy/search/_results.html.erb +28 -0
  131. data/app/views/alchemy/user_sessions/leave.html.erb +4 -4
  132. data/app/views/alchemy/user_sessions/login.html.erb +1 -2
  133. data/app/views/layouts/alchemy/admin.html.erb +30 -10
  134. data/app/views/layouts/alchemy/login.html.erb +2 -39
  135. data/config/alchemy/elements.yml +1 -2
  136. data/config/alchemy/page_layouts.yml +8 -5
  137. data/config/authorization_rules.rb +27 -18
  138. data/config/initializers/localeapp.rb +9 -0
  139. data/config/locales/alchemy.de.yml +93 -56
  140. data/config/locales/alchemy.en.yml +73 -50
  141. data/config/routes.rb +3 -1
  142. data/db/migrate/20120704181529_add_upload_hash_to_alchemy_picture.rb +5 -0
  143. data/db/migrate/20120705214247_acts_as_taggable_on_migration.rb +28 -0
  144. data/db/migrate/20120728185830_add_cached_tag_list_to_alchemy_pictures.rb +5 -0
  145. data/db/migrate/20120831135441_set_alchemy_languages_country_code_default_to_empty_string.rb +9 -0
  146. data/lib/alchemy/capistrano.rb +2 -2
  147. data/lib/alchemy/essence.rb +14 -0
  148. data/lib/alchemy/page_layout.rb +0 -6
  149. data/lib/alchemy/resource.rb +9 -15
  150. data/lib/alchemy/upgrader.rb +18 -3
  151. data/lib/alchemy/version.rb +5 -1
  152. data/lib/alchemy_cms.rb +4 -1
  153. data/lib/rails/generators/alchemy/deploy_script/deploy_script_generator.rb +16 -6
  154. data/lib/rails/generators/alchemy/deploy_script/templates/deploy.rb.tt +17 -3
  155. data/lib/rails/generators/alchemy/elements/elements_generator.rb +6 -1
  156. data/lib/rails/generators/alchemy/elements/templates/editor.html.erb +10 -1
  157. data/lib/rails/generators/alchemy/elements/templates/view.html.erb +17 -18
  158. data/lib/rails/generators/alchemy/scaffold/files/pages.html.erb +4 -2
  159. data/lib/tasks/fleximage.rake +2 -2
  160. data/spec/controllers/admin/contents_controller_spec.rb +2 -2
  161. data/spec/controllers/admin/elements_controller_spec.rb +30 -1
  162. data/spec/controllers/admin/pages_controller_spec.rb +35 -18
  163. data/spec/controllers/admin/trash_controller_spec.rb +40 -16
  164. data/spec/controllers/attachments_controller_spec.rb +62 -0
  165. data/spec/controllers/base_controller_spec.rb +43 -42
  166. data/spec/controllers/elements_controller_spec.rb +30 -0
  167. data/spec/controllers/pages_controller_spec.rb +22 -5
  168. data/spec/controllers/pictures_controller_spec.rb +82 -0
  169. data/spec/dummy/app/models/event.rb +2 -1
  170. data/spec/dummy/config/database.yml +3 -2
  171. data/spec/dummy/db/schema.rb +51 -27
  172. data/spec/factories.rb +29 -8
  173. data/spec/helpers/admin/base_helper_spec.rb +134 -21
  174. data/spec/helpers/admin/contents_helper_spec.rb +2 -2
  175. data/spec/helpers/admin/elements_helper_spec.rb +17 -9
  176. data/spec/helpers/admin/essences_helper_spec.rb +7 -6
  177. data/spec/helpers/essences_helper_spec.rb +8 -7
  178. data/spec/helpers/pages_helper_spec.rb +208 -325
  179. data/spec/helpers/url_helper_spec.rb +171 -0
  180. data/spec/integration/admin/link_overlay_spec.rb +53 -0
  181. data/spec/integration/admin/modules_integration_spec.rb +22 -26
  182. data/spec/integration/admin/pages_controller_spec.rb +10 -19
  183. data/spec/integration/admin/picture_library_integration_spec.rb +52 -0
  184. data/spec/integration/admin/resources_integration_spec.rb +68 -75
  185. data/spec/integration/pages_controller_spec.rb +70 -61
  186. data/spec/integration/security_spec.rb +3 -5
  187. data/spec/integration/translation_integration_spec.rb +56 -0
  188. data/spec/libraries/essence_spec.rb +18 -0
  189. data/spec/libraries/resource_spec.rb +101 -79
  190. data/spec/libraries/resources_helper_spec.rb +3 -0
  191. data/spec/models/content_spec.rb +63 -60
  192. data/spec/models/element_spec.rb +203 -93
  193. data/spec/models/language_spec.rb +90 -65
  194. data/spec/models/page_layout_spec.rb +37 -0
  195. data/spec/models/page_spec.rb +181 -113
  196. data/spec/models/picture_spec.rb +73 -26
  197. data/spec/models/resource_spec.rb +52 -23
  198. data/spec/support/alchemy/specs_helpers.rb +2 -0
  199. data/spec/support/image.png +0 -0
  200. data/spec/{helpers/url_helpers_spec.rb → url_helpers_spec.rb} +0 -0
  201. data/vendor/assets/javascripts/jquery_plugins/jquery.selectBoxIt.js +1909 -0
  202. data/vendor/assets/javascripts/jquery_plugins/preloadCssImages.jQuery_v5.js +152 -0
  203. metadata +106 -33
  204. data/app/assets/stylesheets/alchemy/buttons.css.scss +0 -361
  205. data/app/assets/stylesheets/alchemy/jquery.sb.css.scss +0 -260
  206. data/app/views/alchemy/admin/contents/create.js.coffee +0 -49
  207. data/app/views/alchemy/admin/elements/fold.js.coffee +0 -37
  208. data/app/views/alchemy/admin/essence_pictures/destroy.js.coffee +0 -19
  209. data/app/views/alchemy/admin/pictures/_pictures_list.html.erb +0 -16
  210. data/app/views/alchemy/admin/pictures/update.js.erb +0 -3
  211. data/spec/dummy/config/locales/en.yml +0 -5
  212. data/spec/dummy/config/locales/fo.yml +0 -5
  213. data/spec/page_layout_spec.rb +0 -35
  214. data/vendor/assets/javascripts/jquery_plugins/jquery.in-place-edit.js +0 -172
  215. data/vendor/assets/javascripts/jquery_plugins/jquery.sb.min.js +0 -14
@@ -1,35 +1,5 @@
1
1
  @import "alchemy/defaults";
2
2
 
3
- html {
4
- height: 100%;
5
- }
6
-
7
- noscript {
8
- position: fixed;
9
- top: 0;
10
- left: 0;
11
- z-index: 1000;
12
- width: 100%;
13
- text-align: center;
14
- line-height: 1em;
15
- border-bottom: 1px solid #c4c19c;
16
- color: #726d23;
17
- background-color: #f3f0c1;
18
- h1, p {
19
- margin: 16px 0;
20
- }
21
- }
22
-
23
- body#alchemy {
24
- margin: 0;
25
- padding: 0;
26
- color: $text-color;
27
- font: $default-font-style;
28
- background-color: $light-gray;
29
- height: 100%;
30
- cursor: default;
31
- }
32
-
33
3
  #top_menu {
34
4
  position: fixed;
35
5
  top: 0;
@@ -105,7 +75,7 @@ body#alchemy {
105
75
  border-style: none;
106
76
  height: 24px;
107
77
  width: 24px;
108
- display: inline-block;
78
+ @include inline-block;
109
79
  margin-bottom: 4px;
110
80
  margin-top: 2px;
111
81
  }
@@ -181,12 +151,16 @@ div#user_info {
181
151
  line-height: 27px;
182
152
  font-size: 11px;
183
153
  right: 10px;
184
- top: 0;
154
+ top: -3px;
155
+
156
+ .selectboxit-container {
157
+ margin-right: 2 * $default-margin;
158
+ }
185
159
  }
186
160
 
187
161
  #sub_navigation {
188
162
  height: 22px;
189
- line-height: 23px;
163
+ line-height: 21px;
190
164
  padding-left: 5px;
191
165
  background: $light-blue;
192
166
  border-bottom: $default-border;
@@ -195,7 +169,7 @@ div#user_info {
195
169
  position: relative;
196
170
 
197
171
  a {
198
- display: block;
172
+ @include inline-block;
199
173
 
200
174
  &:hover {
201
175
  text-decoration: none;
@@ -219,7 +193,7 @@ div#user_info {
219
193
  .page_language {
220
194
  float: none;
221
195
  position: relative;
222
- display: inline-block;
196
+ @include inline-block;
223
197
  bottom: 2px;
224
198
  border: 1px solid #f0c8d1;
225
199
  background-color: #f0c8d1;
@@ -242,7 +216,7 @@ div#user_info {
242
216
  div.subnavi_tab {
243
217
  float: left;
244
218
  padding: 0px 8px;
245
- height: 21px;
219
+ line-height: 19px;
246
220
  text-shadow: #fff 0 0px 4px;
247
221
  background: #d6e0e6;
248
222
  color: #444;
@@ -257,9 +231,9 @@ div#user_info {
257
231
 
258
232
  form {
259
233
  position: absolute;
260
- right: 3px;
261
- top: 3px;
262
- line-height: 10px;
234
+ right: $default-padding;
235
+ top: $default-padding;
236
+ line-height: 1;
263
237
  }
264
238
  }
265
239
 
@@ -1,306 +1,295 @@
1
1
  @import "alchemy/defaults";
2
2
 
3
3
  .icon {
4
- display: inline-block;
5
- background: image-url('alchemy/icons.png') no-repeat;
4
+ @include inline-block;
5
+ background: url('icons.png') no-repeat;
6
6
  width: 16px;
7
7
  height: 16px;
8
- }
9
-
10
- .icon.zoom-out {
11
- background-position: -416px -72px;
12
- }
13
8
 
14
- .icon.zoom-equal {
15
- background-position: -448px -72px;
16
- }
9
+ &.add {
10
+ background-image: url('ui-icons_666666_256x240.png');
11
+ background-position: -16px -129px;
12
+ }
17
13
 
18
- .icon.delete-small {
19
- background-position: -1px -72px;
20
- }
14
+ &.add_page {
15
+ background-position: -96px -40px;
16
+ }
21
17
 
22
- .icon_button.small {
23
- .icon.delete-small {
24
- background-position: -4px -76px;
18
+ &.archive {
19
+ background-position: -416px -136px;
25
20
  }
26
- }
27
21
 
28
- .icon.zoom-in {
29
- background-position: -480px -72px;
30
- }
22
+ &.audio {
23
+ background-position: -192px -136px;
24
+ }
31
25
 
32
- .icon.user_add {
33
- background-position: -96px -104px;
34
- }
26
+ &.blank {
27
+ background: transparent;
28
+ }
35
29
 
36
- .icon.language_add {
37
- background-position: -47px -120px;
38
- }
30
+ &.clipboard {
31
+ background-position: -288px -104px;
39
32
 
40
- .icon.user {
41
- background-position: 0 -104px;
42
- }
33
+ &.full {
34
+ background-position: -320px -104px;
35
+ }
36
+ }
43
37
 
44
- .icon.language {
45
- background-position: 0 -120px;
46
- }
38
+ &.close {
39
+ background-position: -416px -40px;
47
40
 
48
- .icon.user.female {
49
- background-position: -128px -104px;
50
- }
41
+ &.small {
42
+ background: url('ui-icons_666666_256x240.png') -84px -132px;
43
+ width: 8px;
44
+ height: 8px;
45
+ }
46
+ }
51
47
 
52
- .icon.user_edit {
53
- background-position: -64px -104px;
54
- }
48
+ &.configure_page {
49
+ background-position: -320px -40px;
50
+ }
55
51
 
56
- .icon.language_edit {
57
- background-position: -32px -120px;
58
- }
52
+ &.copy_page {
53
+ background-position: -544px -40px;
54
+ }
59
55
 
60
- .icon.user_edit.female {
61
- background-position: -192px -104px;
62
- }
56
+ &.create {
57
+ background-position: -192px -168px;
58
+ }
63
59
 
64
- .icon.settings {
65
- background-position: -320px -40px;
66
- }
60
+ &.crop {
61
+ background-position: -256px -72px;
62
+ }
67
63
 
68
- .icon.visit_page {
69
- background-position: -31px -137px;
70
- }
64
+ &.delete_page {
65
+ background-position: -64px -40px;
66
+ }
71
67
 
72
- .icon.upload {
73
- background-position: 0 -136px;
74
- }
68
+ &.delete-small {
69
+ background-position: -1px -72px;
70
+ }
75
71
 
76
- .icon.pdf {
77
- background-position: -161px -136px;
78
- }
72
+ &.destroy {
73
+ background-position: -224px -168px;
74
+ }
79
75
 
80
- .icon.text {
81
- background-position: -448px -136px;
82
- }
76
+ &.edit {
77
+ background-position: -160px -168px;
78
+ }
83
79
 
84
- .icon.archive {
85
- background-position: -416px -136px;
86
- }
80
+ &.element_draft {
81
+ background-position: 1px -70px;
82
+ }
87
83
 
88
- .icon.audio {
89
- background-position: -192px -136px;
90
- }
84
+ &.element_public {
85
+ background-position: -94px -166px;
86
+ }
91
87
 
92
- .icon.image {
93
- background-position: -224px -136px;
94
- }
88
+ &.element_window {
89
+ background-position: -512px -72px;
90
+ }
95
91
 
96
- .icon.vcard {
97
- background-position: -416px -104px;
98
- }
92
+ &.error {
93
+ background-position: -32px -168px;
94
+ }
99
95
 
100
- .icon.psd {
101
- background-position: -128px -136px;
102
- }
96
+ &.excel {
97
+ background-position: -176px -72px;
98
+ }
103
99
 
104
- .icon.flash {
105
- background-position: -256px -136px;
106
- }
100
+ &.false {
101
+ background-image: none;
102
+ }
107
103
 
108
- .icon.video {
109
- background-position: -288px -136px;
110
- }
104
+ &.file {
105
+ background-position: 0 -40px;
106
+ }
111
107
 
112
- .icon.rtf {
113
- background-position: -320px -136px;
114
- }
108
+ &.file_delete {
109
+ background-position: -64px -40px;
110
+ }
115
111
 
116
- .icon.word {
117
- background-position: -384px -136px;
118
- }
112
+ &.file_download, &.download {
113
+ background-position: -480px -136px;
114
+ }
119
115
 
120
- .icon.excel {
121
- background-position: -176px -72px;
122
- }
116
+ &.file_edit {
117
+ background-position: -32px -40px;
118
+ }
123
119
 
124
- .icon.file {
125
- background-position: 0 -40px;
126
- }
120
+ &.flash {
121
+ background-position: -256px -136px;
122
+ }
127
123
 
128
- .icon.flush {
129
- background-position: -352px -39px;
130
- }
124
+ &.flush {
125
+ background-position: -352px -39px;
126
+ }
131
127
 
132
- .icon.publish {
133
- background-position: -64px -136px;
134
- }
128
+ &.image {
129
+ background-position: -224px -136px;
130
+ }
135
131
 
136
- .icon.info {
137
- background-position: -64px -168px;
138
- }
132
+ &.info {
133
+ background-position: -64px -168px;
134
+ }
139
135
 
140
- .icon.close {
141
- background-position: -416px -40px;
142
- }
136
+ &.language {
137
+ background-position: 0 -120px;
138
+ }
143
139
 
144
- .icon.sync {
145
- background-position: -96px -136px;
146
- }
140
+ &.language_add {
141
+ background-position: -47px -120px;
142
+ }
147
143
 
148
- .icon.close.small {
149
- background: image-url('alchemy/ui-icons_666666_256x240.png') -84px -132px;
150
- width: 8px;
151
- height: 8px;
152
- }
144
+ &.language_delete {
145
+ background-position: -16px -120px;
146
+ }
153
147
 
154
- .icon.online {
155
- background-position: -224px -104px;
156
- }
148
+ &.language_edit {
149
+ background-position: -32px -120px;
150
+ }
157
151
 
158
- .icon.offline {
159
- background-position: -255px -104px;
160
- }
152
+ &.link {
153
+ background-position: -320px -72px;
154
+ }
161
155
 
162
- .icon.tick, .icon.true {
163
- background-position: -32px -72px;
164
- }
156
+ &.new_element {
157
+ background-position: -384px -40px;
158
+ }
165
159
 
166
- .icon.error {
167
- background-position: -32px -168px;
168
- }
160
+ &.offline {
161
+ background-position: -255px -104px;
162
+ }
169
163
 
170
- .icon.false {
171
- background-image: none;
172
- }
164
+ &.online {
165
+ background-position: -224px -104px;
166
+ }
173
167
 
174
- .icon.link, a.link {
175
- background-position: -320px -72px;
176
- }
168
+ &.pdf {
169
+ background-position: -161px -136px;
170
+ }
177
171
 
178
- .icon.unlink {
179
- background-position: -352px -72px;
180
- }
172
+ &.preview_window {
173
+ background-position: -448px -40px;
174
+ }
181
175
 
182
- .icon.swap_picture {
183
- background-position: -288px -72px;
184
- }
176
+ &.psd {
177
+ background-position: -128px -136px;
178
+ }
185
179
 
186
- .icon.crop {
187
- background-position: -256px -72px;
188
- }
180
+ &.publish {
181
+ background-position: -64px -136px;
182
+ }
189
183
 
190
- .icon.warning, .icon.warn {
191
- background-position: 0 -168px;
192
- }
184
+ &.rtf {
185
+ background-position: -320px -136px;
186
+ }
193
187
 
194
- .icon.element_public {
195
- background-position: -94px -166px;
196
- }
188
+ &.search {
189
+ background: url('ui-icons_666666_256x240.png') -160px -112px;
190
+ }
197
191
 
198
- .icon.element_draft {
199
- background-position: 1px -70px;
200
- }
192
+ &.select_all {
193
+ background-position: -256px -168px;
194
+ }
201
195
 
202
- .icon.new_element {
203
- background-position: -384px -40px;
204
- }
196
+ &.settings {
197
+ background-position: -320px -40px;
198
+ }
205
199
 
206
- .icon.element_window {
207
- background-position: -512px -72px;
208
- }
200
+ &.sort {
201
+ background-position: -128px -168px;
202
+ }
209
203
 
210
- .icon.preview_window {
211
- background-position: -448px -40px;
212
- }
204
+ &.swap_picture {
205
+ background-position: -288px -72px;
206
+ }
213
207
 
214
- .icon.clipboard {
215
- background-position: -288px -104px;
216
- }
208
+ &.sync {
209
+ background-position: -96px -136px;
210
+ }
217
211
 
218
- .icon.clipboard.full {
219
- background-position: -320px -104px;
220
- }
212
+ &.text {
213
+ background-position: -448px -136px;
214
+ }
221
215
 
222
- .icon.trash {
223
- background-position: -352px -104px;
224
- }
216
+ &.tick, &.true {
217
+ background-position: -32px -72px;
218
+ }
225
219
 
226
- .icon.trash.full {
227
- background-position: -384px -104px;
228
- }
220
+ &.trash {
221
+ background-position: -352px -104px;
229
222
 
230
- .icon.file_download {
231
- background-position: -480px -136px;
232
- }
223
+ &.full {
224
+ background-position: -384px -104px;
225
+ }
226
+ }
233
227
 
234
- .icon.download {
235
- background-position: -240px -72px;
236
- }
228
+ &.unlink {
229
+ background-position: -352px -72px;
230
+ }
237
231
 
238
- .icon.file_delete {
239
- background-position: -64px -40px;
240
- }
232
+ &.upload {
233
+ background-position: 0 -136px;
234
+ }
241
235
 
242
- .icon.file_edit {
243
- background-position: -32px -40px;
244
- }
236
+ &.user {
237
+ background-position: 0 -104px;
245
238
 
246
- .icon.edit {
247
- background-position: -160px -168px;
248
- }
239
+ &.female {
240
+ background-position: -128px -104px;
241
+ }
242
+ }
249
243
 
250
- .icon.create {
251
- background-position: -192px -168px;
252
- }
244
+ &.user_add {
245
+ background-position: -96px -104px;
246
+ }
253
247
 
254
- .icon.add_page {
255
- background-position: -96px -40px;
256
- }
248
+ &.user_delete {
249
+ background-position: -32px -104px;
257
250
 
258
- .icon.copy_page {
259
- background-position: -544px -40px;
260
- }
251
+ &.female {
252
+ background-position: -160px -104px;
253
+ }
254
+ }
261
255
 
262
- .icon.delete_page {
263
- background-position: -64px -40px;
264
- }
256
+ &.user_edit {
257
+ background-position: -64px -104px;
265
258
 
266
- .icon.user_delete {
267
- background-position: -32px -104px;
268
- }
259
+ &.female {
260
+ background-position: -192px -104px;
261
+ }
262
+ }
269
263
 
270
- .icon.language_delete {
271
- background-position: -16px -120px;
272
- }
264
+ &.vcard {
265
+ background-position: -416px -104px;
266
+ }
273
267
 
274
- .icon.destroy {
275
- background-position: -224px -168px;
276
- }
268
+ &.video {
269
+ background-position: -288px -136px;
270
+ }
277
271
 
278
- .icon.configure_page {
279
- background-position: -320px -40px;
280
- }
272
+ &.visit_page {
273
+ background-position: -31px -137px;
274
+ }
281
275
 
282
- .icon.search {
283
- background: image-url('alchemy/ui-icons_666666_256x240.png') -160px -112px;
284
- }
276
+ &.warning, &.warn {
277
+ background-position: 0 -168px;
278
+ }
285
279
 
286
- .icon.user_delete.female {
287
- background-position: -160px -104px;
288
- }
280
+ &.word {
281
+ background-position: -384px -136px;
282
+ }
289
283
 
290
- .icon.remove {
291
- background-position: no-repeat -64px;
292
- width: 16px;
293
- height: 16px;
294
- display: inline-block;
295
- position: relative;
296
- top: 3px;
297
- margin-right: 4px;
298
- }
284
+ &.zoom-equal {
285
+ background-position: -448px -72px;
286
+ }
299
287
 
300
- .icon.blank {
301
- background: transparent;
302
- }
288
+ &.zoom-in {
289
+ background-position: -480px -72px;
290
+ }
303
291
 
304
- .icon.sort {
305
- background-position: -128px -168px;
292
+ &.zoom-out {
293
+ background-position: -416px -72px;
294
+ }
306
295
  }