alchemy_cms 2.5.0.b5 → 2.5.0.b9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (209) hide show
  1. data/README.md +1 -1
  2. data/alchemy_cms.gemspec +2 -2
  3. data/app/assets/javascripts/alchemy/alchemy.base.js +0 -24
  4. data/app/assets/javascripts/alchemy/alchemy.growler.js +2 -4
  5. data/app/assets/javascripts/alchemy/alchemy.gui.js.coffee +0 -1
  6. data/app/assets/javascripts/alchemy/alchemy.page_sorter.js +1 -1
  7. data/app/assets/stylesheets/alchemy/base.scss +4 -20
  8. data/app/assets/stylesheets/alchemy/elements.scss +19 -31
  9. data/app/assets/stylesheets/alchemy/flash.scss +11 -0
  10. data/app/assets/stylesheets/alchemy/form_elements.scss +2 -14
  11. data/app/assets/stylesheets/alchemy/menubar.css.scss +1 -0
  12. data/app/assets/stylesheets/alchemy/mixins.scss +37 -2
  13. data/app/assets/stylesheets/alchemy/notices.scss +1 -0
  14. data/app/assets/stylesheets/alchemy/sitemap.scss +30 -0
  15. data/app/assets/stylesheets/alchemy/tables.scss +20 -27
  16. data/app/controllers/alchemy/admin/attachments_controller.rb +3 -3
  17. data/app/controllers/alchemy/admin/base_controller.rb +1 -1
  18. data/app/controllers/alchemy/admin/contents_controller.rb +2 -2
  19. data/app/controllers/alchemy/admin/elements_controller.rb +3 -3
  20. data/app/controllers/alchemy/admin/essence_pictures_controller.rb +2 -2
  21. data/app/controllers/alchemy/admin/pages_controller.rb +16 -9
  22. data/app/controllers/alchemy/admin/pictures_controller.rb +8 -8
  23. data/app/controllers/alchemy/admin/resources_controller.rb +1 -1
  24. data/app/controllers/alchemy/admin/tags_controller.rb +4 -4
  25. data/app/controllers/alchemy/admin/users_controller.rb +3 -3
  26. data/app/controllers/alchemy/base_controller.rb +10 -12
  27. data/app/controllers/alchemy/messages_controller.rb +2 -2
  28. data/app/controllers/alchemy/pages_controller.rb +4 -1
  29. data/app/controllers/alchemy/pictures_controller.rb +1 -4
  30. data/app/controllers/alchemy/user_sessions_controller.rb +5 -5
  31. data/app/helpers/alchemy/admin/attachments_helper.rb +1 -1
  32. data/app/helpers/alchemy/admin/base_helper.rb +13 -13
  33. data/app/helpers/alchemy/admin/contents_helper.rb +6 -6
  34. data/app/helpers/alchemy/admin/elements_helper.rb +2 -2
  35. data/app/helpers/alchemy/admin/essences_helper.rb +8 -8
  36. data/app/helpers/alchemy/admin/pages_helper.rb +13 -7
  37. data/app/helpers/alchemy/base_helper.rb +20 -5
  38. data/app/helpers/alchemy/elements_helper.rb +2 -2
  39. data/app/helpers/alchemy/essences_helper.rb +2 -2
  40. data/app/helpers/alchemy/pages_helper.rb +2 -3
  41. data/app/models/alchemy/cell.rb +11 -3
  42. data/app/models/alchemy/content.rb +17 -17
  43. data/app/models/alchemy/element.rb +49 -26
  44. data/app/models/alchemy/legacy_page_url.rb +6 -0
  45. data/app/models/alchemy/page.rb +24 -45
  46. data/app/models/alchemy/picture.rb +1 -2
  47. data/app/views/alchemy/admin/attachments/_archive_overlay.html.erb +3 -3
  48. data/app/views/alchemy/admin/attachments/_attachment.html.erb +6 -6
  49. data/app/views/alchemy/admin/attachments/_files_list.html.erb +2 -2
  50. data/app/views/alchemy/admin/attachments/edit.html.erb +5 -3
  51. data/app/views/alchemy/admin/attachments/index.html.erb +3 -3
  52. data/app/views/alchemy/admin/attachments/new.html.erb +2 -2
  53. data/app/views/alchemy/admin/clipboard/clear.js.erb +1 -1
  54. data/app/views/alchemy/admin/clipboard/index.html.erb +3 -3
  55. data/app/views/alchemy/admin/clipboard/insert.js.erb +2 -2
  56. data/app/views/alchemy/admin/clipboard/remove.js.erb +4 -4
  57. data/app/views/alchemy/admin/contents/_missing.html.erb +2 -2
  58. data/app/views/alchemy/admin/contents/create.js.erb +1 -1
  59. data/app/views/alchemy/admin/contents/new.html.erb +3 -3
  60. data/app/views/alchemy/admin/dashboard/index.html.erb +12 -12
  61. data/app/views/alchemy/admin/elements/_add_picture.html.erb +1 -1
  62. data/app/views/alchemy/admin/elements/_element.html.erb +1 -1
  63. data/app/views/alchemy/admin/elements/_element_foot.html.erb +5 -5
  64. data/app/views/alchemy/admin/elements/_element_head.html.erb +6 -6
  65. data/app/views/alchemy/admin/elements/_elements_select.html.erb +2 -2
  66. data/app/views/alchemy/admin/elements/_new_element_form.html.erb +4 -4
  67. data/app/views/alchemy/admin/elements/_picture_gallery_editor.html.erb +1 -1
  68. data/app/views/alchemy/admin/elements/create.js.erb +2 -2
  69. data/app/views/alchemy/admin/elements/index.html.erb +2 -2
  70. data/app/views/alchemy/admin/elements/list.js.erb +1 -1
  71. data/app/views/alchemy/admin/elements/new.html.erb +4 -4
  72. data/app/views/alchemy/admin/elements/order.js.erb +1 -1
  73. data/app/views/alchemy/admin/elements/trash.js.erb +1 -1
  74. data/app/views/alchemy/admin/elements/update.js.erb +1 -1
  75. data/app/views/alchemy/admin/essence_files/edit.html.erb +5 -5
  76. data/app/views/alchemy/admin/essence_pictures/crop.html.erb +4 -4
  77. data/app/views/alchemy/admin/essence_pictures/edit.html.erb +4 -4
  78. data/app/views/alchemy/admin/languages/_form.html.erb +6 -10
  79. data/app/views/alchemy/admin/languages/_language.html.erb +4 -4
  80. data/app/views/alchemy/admin/languages/_table.html.erb +1 -1
  81. data/app/views/alchemy/admin/languages/index.html.erb +1 -1
  82. data/app/views/alchemy/admin/layoutpages/_layoutpage.html.erb +6 -6
  83. data/app/views/alchemy/admin/layoutpages/index.html.erb +8 -8
  84. data/app/views/alchemy/admin/pages/_contactform_links.html.erb +7 -7
  85. data/app/views/alchemy/admin/pages/_create_language_form.html.erb +10 -9
  86. data/app/views/alchemy/admin/pages/_external_link.html.erb +7 -7
  87. data/app/views/alchemy/admin/pages/_file_link.html.erb +6 -6
  88. data/app/views/alchemy/admin/pages/_internal_link.html.erb +5 -5
  89. data/app/views/alchemy/admin/pages/_new_page_form.html.erb +1 -1
  90. data/app/views/alchemy/admin/pages/_page.html.erb +28 -28
  91. data/app/views/alchemy/admin/pages/_page_for_links.html.erb +5 -5
  92. data/app/views/alchemy/admin/pages/_page_infos.html.erb +3 -3
  93. data/app/views/alchemy/admin/pages/_page_status.html.erb +3 -3
  94. data/app/views/alchemy/admin/pages/_sitemap.html.erb +1 -1
  95. data/app/views/alchemy/admin/pages/configure.html.erb +11 -11
  96. data/app/views/alchemy/admin/pages/configure_external.html.erb +4 -4
  97. data/app/views/alchemy/admin/pages/destroy.js.erb +0 -1
  98. data/app/views/alchemy/admin/pages/edit.html.erb +35 -35
  99. data/app/views/alchemy/admin/pages/flush.js.erb +1 -1
  100. data/app/views/alchemy/admin/pages/fold.js.erb +0 -1
  101. data/app/views/alchemy/admin/pages/index.html.erb +14 -14
  102. data/app/views/alchemy/admin/pages/link.html.erb +4 -4
  103. data/app/views/alchemy/admin/pages/locked.html.erb +1 -1
  104. data/app/views/alchemy/admin/pages/new.html.erb +4 -4
  105. data/app/views/alchemy/admin/pages/update.js.erb +2 -2
  106. data/app/views/alchemy/admin/partials/_autocomplete_tag_list.html.erb +1 -1
  107. data/app/views/alchemy/admin/partials/_flash_notices.html.erb +3 -3
  108. data/app/views/alchemy/admin/partials/_flash_upload.html.erb +8 -8
  109. data/app/views/alchemy/admin/partials/_language_tree_select.html.erb +1 -1
  110. data/app/views/alchemy/admin/partials/_main_navigation_entry.html.erb +1 -1
  111. data/app/views/alchemy/admin/partials/_remote_search_form.html.erb +2 -2
  112. data/app/views/alchemy/admin/partials/_search_form.html.erb +2 -2
  113. data/app/views/alchemy/admin/partials/_sub_navigation_tab.html.erb +1 -1
  114. data/app/views/alchemy/admin/partials/_upload_form.html.erb +11 -11
  115. data/app/views/alchemy/admin/pictures/_archive.html.erb +13 -13
  116. data/app/views/alchemy/admin/pictures/_filter_and_size_bar.html.erb +7 -7
  117. data/app/views/alchemy/admin/pictures/_filter_bar.html.erb +4 -4
  118. data/app/views/alchemy/admin/pictures/_overlay_picture_list.html.erb +1 -1
  119. data/app/views/alchemy/admin/pictures/_picture.html.erb +7 -7
  120. data/app/views/alchemy/admin/pictures/_picture_to_assign.html.erb +1 -1
  121. data/app/views/alchemy/admin/pictures/_tag_list.html.erb +2 -2
  122. data/app/views/alchemy/admin/pictures/edit.html.erb +2 -2
  123. data/app/views/alchemy/admin/pictures/edit_multiple.html.erb +6 -6
  124. data/app/views/alchemy/admin/pictures/index.html.erb +10 -10
  125. data/app/views/alchemy/admin/pictures/info.html.erb +2 -2
  126. data/app/views/alchemy/admin/pictures/new.html.erb +2 -2
  127. data/app/views/alchemy/admin/resources/_boolean.html.erb +5 -0
  128. data/app/views/alchemy/admin/resources/_datetime.html.erb +2 -0
  129. data/app/views/alchemy/admin/resources/_form.html.erb +17 -28
  130. data/app/views/alchemy/admin/resources/_resource.html.erb +4 -4
  131. data/app/views/alchemy/admin/resources/_string.html.erb +5 -0
  132. data/app/views/alchemy/admin/resources/_table.html.erb +1 -1
  133. data/app/views/alchemy/admin/resources/_text.html.erb +5 -0
  134. data/app/views/alchemy/admin/resources/index.html.erb +1 -1
  135. data/app/views/alchemy/admin/tags/_tag.html.erb +4 -4
  136. data/app/views/alchemy/admin/tags/edit.html.erb +4 -4
  137. data/app/views/alchemy/admin/tags/index.html.erb +5 -5
  138. data/app/views/alchemy/admin/tags/new.html.erb +2 -2
  139. data/app/views/alchemy/admin/trash/clear.js.coffee +1 -1
  140. data/app/views/alchemy/admin/trash/index.html.erb +3 -3
  141. data/app/views/alchemy/admin/users/_table.html.erb +3 -3
  142. data/app/views/alchemy/admin/users/_user.html.erb +6 -6
  143. data/app/views/alchemy/admin/users/index.html.erb +4 -4
  144. data/app/views/alchemy/base/error_notice.html.erb +1 -4
  145. data/app/views/alchemy/elements/_editor_not_found.html.erb +2 -2
  146. data/app/views/alchemy/essences/_essence_boolean_view.html.erb +1 -1
  147. data/app/views/alchemy/essences/_essence_file_editor.html.erb +7 -7
  148. data/app/views/alchemy/essences/_essence_picture_editor.html.erb +5 -5
  149. data/app/views/alchemy/essences/_essence_picture_tools.html.erb +8 -8
  150. data/app/views/alchemy/essences/_linkable_essence_tools.html.erb +2 -2
  151. data/app/views/alchemy/search/_form.html.erb +2 -2
  152. data/app/views/alchemy/search/_result.html.erb +1 -1
  153. data/app/views/alchemy/search/_results.html.erb +3 -3
  154. data/app/views/alchemy/user_sessions/leave.html.erb +5 -5
  155. data/app/views/alchemy/user_sessions/login.html.erb +1 -1
  156. data/app/views/alchemy/user_sessions/signup.html.erb +2 -2
  157. data/app/views/kaminari/_gap.html.erb +1 -1
  158. data/app/views/kaminari/_next_page.html.erb +2 -2
  159. data/app/views/kaminari/_prev_page.html.erb +2 -2
  160. data/app/views/layouts/alchemy/admin.html.erb +7 -7
  161. data/bin/alchemy +1 -1
  162. data/config/authorization_rules.rb +1 -3
  163. data/config/locales/alchemy.de.yml +33 -23
  164. data/config/locales/alchemy.en.yml +31 -6
  165. data/db/migrate/{20121026100815_alchemy_two_point_three.rb → 20121118000000_alchemy_two_point_four.rb} +51 -28
  166. data/db/migrate/20130110212411_create_alchemy_legacy_page_urls.rb +11 -0
  167. data/lib/alchemy/capistrano.rb +22 -30
  168. data/lib/alchemy/errors.rb +45 -0
  169. data/lib/alchemy/i18n.rb +7 -5
  170. data/lib/alchemy/logger.rb +16 -0
  171. data/lib/alchemy/page_layout.rb +3 -3
  172. data/lib/alchemy/resource.rb +17 -1
  173. data/lib/alchemy/resources_helper.rb +8 -1
  174. data/lib/alchemy/upgrader.rb +9 -0
  175. data/lib/alchemy/version.rb +1 -1
  176. data/lib/alchemy_cms.rb +1 -6
  177. data/lib/rails/generators/alchemy/scaffold/files/elements.yml +41 -19
  178. data/lib/rails/generators/alchemy/scaffold/scaffold_generator.rb +13 -0
  179. data/lib/tasks/alchemy/db.rake +5 -11
  180. data/lib/tasks/alchemy/install.rake +7 -7
  181. data/spec/controllers/admin/pages_controller_spec.rb +14 -2
  182. data/spec/controllers/pages_controller_spec.rb +50 -17
  183. data/spec/dummy/config/application.rb +1 -1
  184. data/spec/dummy/db/migrate/{20121026100815_alchemy_two_point_three.rb → 20121118000000_alchemy_two_point_four.rb} +51 -28
  185. data/spec/dummy/db/migrate/20130110212411_create_alchemy_legacy_page_urls.rb +11 -0
  186. data/spec/dummy/db/schema.rb +10 -1
  187. data/spec/factories.rb +1 -0
  188. data/spec/integration/admin/picture_library_integration_spec.rb +8 -2
  189. data/spec/integration/security_spec.rb +2 -2
  190. data/spec/integration/translation_integration_spec.rb +20 -4
  191. data/spec/libraries/resources_helper_spec.rb +1 -1
  192. data/spec/models/cell_spec.rb +45 -0
  193. data/spec/models/page_spec.rb +19 -2
  194. data/spec/models/picture_spec.rb +12 -0
  195. data/spec/routing_spec.rb +115 -115
  196. data/spec/spec_helper.rb +3 -0
  197. data/spec/support/alchemy/specs_helpers.rb +6 -2
  198. data/spec/support/image.png +0 -0
  199. data/spec/support/image2.PNG +0 -0
  200. data/spec/support/image3.jpeg +0 -0
  201. metadata +27 -23
  202. data/db/migrate/20121113115120_create_alchemy_essence_links.rb +0 -13
  203. data/db/migrate/20121115100736_add_cached_tag_list_to_elements_pages_and_users.rb +0 -7
  204. data/db/migrate/20121116140636_add_cached_tag_list_to_alchemy_attachments.rb +0 -5
  205. data/db/migrate/20121116141016_change_alchemy_pictures_tag_list_column.rb +0 -9
  206. data/spec/dummy/db/migrate/20121113115120_create_alchemy_essence_links.rb +0 -13
  207. data/spec/dummy/db/migrate/20121115100736_add_cached_tag_list_to_elements_pages_and_users.rb +0 -7
  208. data/spec/dummy/db/migrate/20121116140636_add_cached_tag_list_to_alchemy_attachments.rb +0 -5
  209. data/spec/dummy/db/migrate/20121116141016_change_alchemy_pictures_tag_list_column.rb +0 -9
data/README.md CHANGED
@@ -26,7 +26,7 @@ Features
26
26
  - RSS Feeds
27
27
  - Contactforms
28
28
  - Attachments and downloads
29
- - Powerfull image rendering
29
+ - Powerful image rendering
30
30
  - Extendable
31
31
  - Integrates in exsiting Rails Apps
32
32
  - Caching
data/alchemy_cms.gemspec CHANGED
@@ -32,7 +32,7 @@ POST_INSTALL
32
32
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
33
33
  s.require_paths = ["lib"]
34
34
 
35
- s.add_runtime_dependency %q<rails>, ["~> 3.2.8"]
35
+ s.add_runtime_dependency %q<rails>, ["~> 3.2.11"]
36
36
  s.add_runtime_dependency %q<authlogic>, ["~> 3.1.3"]
37
37
  s.add_runtime_dependency %q<awesome_nested_set>, ["~> 2.0"]
38
38
  s.add_runtime_dependency %q<acts-as-taggable-on>, ["~> 2.1"]
@@ -54,7 +54,7 @@ POST_INSTALL
54
54
  s.add_development_dependency %q<bumpy>
55
55
  s.add_development_dependency %q<capybara>
56
56
  s.add_development_dependency %q<factory_girl_rails>
57
- s.add_development_dependency %q<rspec-rails>
57
+ s.add_development_dependency %q<rspec-rails>, ['2.12.0']
58
58
  s.add_development_dependency %q<sqlite3>
59
59
  s.add_development_dependency %q<yard>
60
60
  s.add_development_dependency %q<redcarpet>
@@ -141,30 +141,6 @@ if (typeof(Alchemy) === 'undefined') {
141
141
  }
142
142
  },
143
143
 
144
- Tooltips: function() {
145
- var xOffset = 10;
146
- var yOffset = 20;
147
- $(".tooltip").hover(function(e) {
148
- this.original_title = this.title;
149
- if (this.original_title == '') {
150
- this.tooltip_content = $(this).next('.tooltip_content').html();
151
- } else {
152
- this.tooltip_content = this.original_title;
153
- }
154
- if (this.tooltip_content != null) {
155
- this.title = "";
156
- $("body").append("<div id='tooltip'>" + this.tooltip_content + "</div>");
157
- $("#tooltip").css("top", (e.pageY - xOffset) + "px").css("left", (e.pageX + yOffset) + "px").fadeIn(400);
158
- }
159
- }, function() {
160
- this.title = this.original_title;
161
- $("#tooltip").remove();
162
- });
163
- $(".tooltip").mousemove(function(e) {
164
- $("#tooltip").css("top", (e.pageY - xOffset) + "px").css("left", (e.pageX + yOffset) + "px");
165
- });
166
- },
167
-
168
144
  SelectBox: function(scope) {
169
145
  $('select.alchemy_selectbox', scope).selectBoxIt();
170
146
  },
@@ -20,14 +20,12 @@ if (typeof(Alchemy) === 'undefined') {
20
20
  },
21
21
 
22
22
  fade: function() {
23
- $('#flash_notices div[class="flash notice"]').delay(5000).hide('drop', {
23
+ $('.flash.notice, .flash.warn', '#flash_notices').delay(5000).hide('drop', {
24
24
  direction: "up"
25
25
  }, 400, function() {
26
26
  $(this).remove();
27
27
  });
28
- $('#flash_notices div[class!="flash notice"]').css({
29
- cursor: 'pointer'
30
- }).click(function() {
28
+ $('.flash.error', '#flash_notices').click(function() {
31
29
  $(this).hide('drop', {
32
30
  direction: "up"
33
31
  }, 400, function() {
@@ -3,7 +3,6 @@ window.Alchemy = {} if window.Alchemy == undefined
3
3
  Alchemy.GUI =
4
4
 
5
5
  init: ->
6
- Alchemy.Tooltips()
7
6
  Alchemy.SelectBox()
8
7
  Alchemy.Datepicker()
9
8
  Alchemy.Buttons.observe()
@@ -14,7 +14,7 @@ if (typeof(Alchemy) === 'undefined') {
14
14
  $sortables.nestedSortable({
15
15
  disableNesting: 'no-nest',
16
16
  forcePlaceholderSize: true,
17
- handle: 'span.handle',
17
+ handle: '.handle',
18
18
  items: 'li',
19
19
  listType: 'ul',
20
20
  opacity: 0.5,
@@ -456,26 +456,6 @@ div.all_rights {
456
456
  margin-top: 10px;
457
457
  }
458
458
 
459
- #tooltip {
460
- border: 1px solid #0b5c84;
461
- color: #333333;
462
- position: absolute;
463
- display: none;
464
- padding: $default-padding;
465
- font-size: 11px;
466
- max-width: 200px;
467
- @include rounded-corner;
468
- -moz-box-shadow: 0 2px 8px $dark-gray;
469
- -webkit-box-shadow: 0 2px 8px $dark-gray;
470
- box-shadow: 0 2px 8px $dark-gray;
471
- background-color: #eaf4f9;
472
- }
473
-
474
- #tooltip p,
475
- #tooltip h1 {
476
- font-size: 11px;
477
- }
478
-
479
459
  .date_select_without_time #date_date_4i {
480
460
  display: none;
481
461
  }
@@ -558,6 +538,10 @@ div#toolbar_buttons_right {
558
538
  p.foot_note {
559
539
  font-size: 10px;
560
540
  line-height: 1.5em;
541
+ padding: $default-padding;
542
+ background-color: $light_yellow;
543
+ border: 1px solid $medium-gray;
544
+ @include rounded-corner;
561
545
  }
562
546
 
563
547
  #all_files td.name a {
@@ -199,9 +199,6 @@ div.element_editor {
199
199
  }
200
200
 
201
201
  .foot_note {
202
- padding: $default-padding;
203
- background-color: $light_yellow;
204
- @include rounded-corner;
205
202
  margin-bottom: 1em;
206
203
  }
207
204
 
@@ -708,7 +705,21 @@ div.content_editor {
708
705
  }
709
706
  }
710
707
 
711
- &.essence_select label { margin-bottom: 4px }
708
+ &.essence_select {
709
+
710
+ label { margin-bottom: 4px }
711
+
712
+ .selectboxit-container {
713
+ box-sizing: border-box;
714
+ width: 100%;
715
+ }
716
+
717
+ .selectboxit {
718
+ box-sizing: border-box;
719
+ width: 100% !important;
720
+ height: 100%;
721
+ }
722
+ }
712
723
 
713
724
  &:hover label a.icon_button.small {
714
725
  @include inline-block;
@@ -787,6 +798,8 @@ textarea.default_tinymce, textarea.custom_tinymce {
787
798
 
788
799
  .essence_html_editor textarea {
789
800
  font-family: $mono-font-face;
801
+ resize: vertical;
802
+ font-size: 11px;
790
803
  }
791
804
 
792
805
  .text_short_float_left {
@@ -818,35 +831,10 @@ a.hint {
818
831
  top: 8px;
819
832
  width: 16px;
820
833
  height: 16px;
834
+ cursor: help !important;
821
835
 
822
836
  &:hover span.bubble { display: block }
823
-
824
- span.bubble {
825
- display: none;
826
- background: $light_yellow;
827
- @include rounded-corner;
828
- @include box-shadow(0 4px 24px $dark-gray);
829
- position: absolute;
830
- right: -25px;
831
- top: 26px;
832
- z-index: 100;
833
- padding: 8px;
834
- line-height: 1.5em;
835
- min-width: 180px;
836
- font-size: 12px;
837
-
838
- &:before {
839
- content: '';
840
- position: absolute;
841
- top: -8px;
842
- right: 24px;
843
- width: 0px;
844
- height: 0px;
845
- border-style: solid;
846
- border-width: 0 8px 8px 8px;
847
- border-color: transparent transparent $light_yellow transparent;
848
- }
849
- }
837
+ span.bubble { @include tooltip }
850
838
  }
851
839
 
852
840
  .content_editor .hint {
@@ -34,6 +34,17 @@ div.flash {
34
34
  border-color: $error_border_color;
35
35
  color: $error_text_color;
36
36
  background-color: $error_background_color;
37
+ cursor: pointer;
38
+
39
+ &:after {
40
+ content: '';
41
+ position: absolute;
42
+ right: 2*$default-padding;
43
+ top: 2*$default-padding;
44
+ width: 16px;
45
+ height: 16px;
46
+ background: url(ui-icons_666666_256x240.png) -96px -128px no-repeat;
47
+ }
37
48
  }
38
49
 
39
50
  &.info {
@@ -248,10 +248,6 @@ textarea, input[type="text"], input[type="email"], input[type="password"], .thin
248
248
  width: 139px;
249
249
  }
250
250
 
251
- #alchemy .ui-dialog-content input.long, #alchemy .ui-dialog-content textarea.long {
252
- width: 250px;
253
- }
254
-
255
251
  #alchemy .ui-dialog-content input.very_long {
256
252
  width: 310px;
257
253
  }
@@ -324,10 +320,9 @@ select {
324
320
  */
325
321
 
326
322
  form td.select .selectboxit {
327
- width: 208px;
328
323
 
329
324
  .selectboxit-text {
330
- max-width: 180px !important;
325
+ line-height: 17px !important;
331
326
  }
332
327
  }
333
328
 
@@ -391,14 +386,6 @@ form td.select .selectboxit {
391
386
  }
392
387
  }
393
388
 
394
- &.full_width {
395
- width: 426px;
396
-
397
- .selectboxit-text {
398
- max-width: 396px !important;
399
- }
400
- }
401
-
402
389
  &.tiny {
403
390
  padding: 2px 2px 2px 8px;
404
391
  height: 14px;
@@ -434,6 +421,7 @@ form td.select .selectboxit {
434
421
  @include disable-user-select;
435
422
  @include text-overflow(ellipsis);
436
423
  padding-right: 32px;
424
+ line-height: normal !important;
437
425
  }
438
426
 
439
427
  /* Dropdown List Down Arrow Container (if an image is not used) */
@@ -95,6 +95,7 @@
95
95
  list-style-type: none;
96
96
 
97
97
  a {
98
+ line-height: 14px;
98
99
  @include default-button-style;
99
100
  font-weight: normal;
100
101
  text-decoration: none !important;
@@ -42,7 +42,11 @@
42
42
  border: $border;
43
43
  @include box-shadow(0 0 6px $blue, inset 0 0 4px $light-blue);
44
44
  outline: none;
45
- @include transition(all 0.25s ease-in-out);
45
+ @include transition(
46
+ box-shadow 0.25s ease-in-out,
47
+ background-color 0.25s ease-in-out,
48
+ border 0.25s ease-in-out
49
+ );
46
50
 
47
51
  &::-moz-focus-inner {
48
52
  border: none !important;
@@ -74,7 +78,11 @@
74
78
  font-size: 12px;
75
79
  line-height: 12px;
76
80
  height: 29px;
77
- @include transition(all 0.25s ease-in-out);
81
+ @include transition(
82
+ box-shadow 0.25s ease-in-out,
83
+ background-color 0.25s ease-in-out,
84
+ border 0.25s ease-in-out
85
+ );
78
86
 
79
87
  &:focus {
80
88
  @include default-focus-style;
@@ -89,3 +97,30 @@
89
97
  -ms-text-overflow: $prop;
90
98
  -moz-text-overflow: $prop;
91
99
  }
100
+
101
+ @mixin tooltip {
102
+ display: none;
103
+ background: $light_yellow;
104
+ @include rounded-corner;
105
+ @include box-shadow(0 4px 24px $dark-gray);
106
+ position: absolute;
107
+ right: -25px;
108
+ top: 26px;
109
+ z-index: 100;
110
+ padding: 8px;
111
+ line-height: 1.5em;
112
+ min-width: 180px;
113
+ font-size: 12px;
114
+
115
+ &:before {
116
+ content: '';
117
+ position: absolute;
118
+ top: -8px;
119
+ right: 24px;
120
+ width: 0px;
121
+ height: 0px;
122
+ border-style: solid;
123
+ border-width: 0 8px 8px 8px;
124
+ border-color: transparent transparent $light_yellow transparent;
125
+ }
126
+ }
@@ -6,6 +6,7 @@
6
6
  @include rounded-corner;
7
7
  position: relative;
8
8
  margin-bottom: 8px;
9
+ text-align: left;
9
10
 
10
11
  h2 { margin-top: 0 }
11
12
 
@@ -269,12 +269,42 @@ span.page_status {
269
269
  width: 16px;
270
270
  height: 16px;
271
271
  background: url('icons.png') no-repeat 0 -40px;
272
+ position: relative;
273
+ cursor: help;
272
274
  }
273
275
 
274
276
  .locked .site_status {
275
277
  background-position: -32px -40px;
276
278
  }
277
279
 
280
+ .tooltip {
281
+ @include tooltip;
282
+ right: auto;
283
+ left: -12px;
284
+ top: 24px;
285
+ min-width: 240px;
286
+
287
+ &:before {
288
+ right: auto;
289
+ left: 12px;
290
+ }
291
+
292
+ p, h3 {
293
+ font-size: 11px;
294
+ margin: 0;
295
+ padding: 0;
296
+ }
297
+
298
+ h3 { margin-top: 0.5em }
299
+ }
300
+
301
+ #sitemap.sorting {
302
+ .site_status { cursor: move }
303
+ .tooltip { display: none }
304
+ }
305
+
306
+ .site_status:hover .tooltip { display: block }
307
+
278
308
  #sub_navigation span.page_status_and_name span.site_status {
279
309
  float: none;
280
310
  @include inline-block;
@@ -33,26 +33,36 @@ table tr td.tools {
33
33
  td.label, td.input, td.submit, td.select, td.value, td.note {
34
34
  padding: 2px 0;
35
35
  vertical-align: top;
36
+
37
+ input[type="text"], input[type="email"], input[type="password"], textarea {
38
+ width: 100%;
39
+ }
36
40
  }
37
41
 
38
- td.input, td.submit, td.select, td.value {
39
- text-align: right;
42
+ td.select {
40
43
 
41
- &.left {
42
- text-align: left;
44
+ .selectboxit-container {
45
+ box-sizing: border-box;
46
+ width: 100%;
47
+ }
48
+
49
+ .selectboxit {
50
+ box-sizing: border-box;
51
+ width: 100% !important;
52
+ height: 100%;
43
53
  }
44
54
  }
45
55
 
56
+ td.submit { text-align: right }
57
+
46
58
  td.input {
47
- .autocomplete_tag_list { float: right }
59
+ .autocomplete_tag_list { width: 100% }
48
60
  }
49
61
 
50
- td.submit p.foot_note { float: left; padding-top: 1em }
51
-
52
62
  td.label {
53
63
  white-space: nowrap;
54
- width: 80px;
55
- padding: 9px 2*$default-padding 0 0;
64
+ width: 60px;
65
+ padding: 9px 4*$default-padding 0 0;
56
66
  line-height: 21px;
57
67
 
58
68
  &.mandatory:after {
@@ -74,25 +84,8 @@ td.label {
74
84
 
75
85
  td.checkbox {
76
86
  padding-top: 10px;
77
- text-align: right;
87
+ padding-left: 0;
78
88
  white-space: nowrap;
79
-
80
- label {
81
- @include inline-block;
82
- text-align: left;
83
- width: 195px;
84
- }
85
-
86
- &.long {
87
- label {
88
- width: 226px;
89
- }
90
- }
91
-
92
- input[type="checkbox"] {
93
- vertical-align: middle;
94
- margin-top: 4px;
95
- }
96
89
  }
97
90
 
98
91
  td.value {