refinerycms 0.9.7.11 → 0.9.7.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. data/Gemfile +6 -6
  2. data/bin/refinerycms +7 -0
  3. data/changelog.md +13 -1
  4. data/config/acts_as_indexed_config.rb +7 -4
  5. data/config/application.rb +5 -0
  6. data/public/images/refinery/icons/ajax-loader.gif +0 -0
  7. data/public/javascripts/jquery/jquery.corner.js +7 -1
  8. data/public/javascripts/jquery/jquery.jcarousel.js +6 -2
  9. data/public/javascripts/refinery/admin.js +22 -11
  10. data/public/javascripts/refinery/boot_wym.js +7 -3
  11. data/public/javascripts/wymeditor/jquery.refinery.wymeditor.js +11 -11
  12. data/public/stylesheets/ie7.css +1 -1
  13. data/public/stylesheets/refinery/formatting.css +4 -0
  14. data/public/stylesheets/refinery/refinery.css +43 -31
  15. data/readme.md +2 -2
  16. data/themes/demolicious/stylesheets/application.css +6 -6
  17. data/themes/demolicious/stylesheets/formatting.css +1 -1
  18. data/themes/hemingway/stylesheets/application.css +12 -12
  19. data/vendor/plugins/attachment_fu/init.rb +1 -1
  20. data/vendor/plugins/authentication/config/locales/nl.yml +4 -0
  21. data/vendor/plugins/authentication/config/locales/ru.yml +80 -0
  22. data/vendor/plugins/dashboard/app/views/admin/dashboard/_recent_inquiries.html.erb +2 -3
  23. data/vendor/plugins/dashboard/config/locales/nl.yml +4 -2
  24. data/vendor/plugins/dashboard/config/locales/ru.yml +27 -0
  25. data/vendor/plugins/images/config/locales/nl.yml +4 -0
  26. data/vendor/plugins/images/config/locales/ru.yml +46 -0
  27. data/vendor/plugins/inquiries/app/models/inquiry.rb +6 -2
  28. data/vendor/plugins/inquiries/app/views/inquiries/new.html.erb +1 -1
  29. data/vendor/plugins/inquiries/config/locales/nl.yml +13 -1
  30. data/vendor/plugins/inquiries/config/locales/ru.yml +79 -0
  31. data/vendor/plugins/pages/app/controllers/admin/pages_controller.rb +1 -1
  32. data/vendor/plugins/pages/app/models/page.rb +25 -16
  33. data/vendor/plugins/pages/app/views/admin/pages/_page.html.erb +6 -5
  34. data/vendor/plugins/pages/config/locales/nl.yml +50 -0
  35. data/vendor/plugins/pages/config/locales/ru.yml +97 -0
  36. data/vendor/plugins/refinery/app/views/layouts/admin.html.erb +7 -9
  37. data/vendor/plugins/refinery/app/views/layouts/application.html.erb +1 -1
  38. data/vendor/plugins/refinery/app/views/shared/_content_page.html.erb +2 -2
  39. data/vendor/plugins/refinery/app/views/shared/_footer.html.erb +2 -2
  40. data/vendor/plugins/refinery/app/views/shared/_head.html.erb +1 -1
  41. data/vendor/plugins/refinery/app/views/shared/_header.html.erb +2 -2
  42. data/vendor/plugins/refinery/app/views/shared/_menu.html.erb +9 -7
  43. data/vendor/plugins/refinery/app/views/shared/_menu_branch.html.erb +12 -10
  44. data/vendor/plugins/refinery/app/views/shared/_site_bar.html.erb +2 -2
  45. data/vendor/plugins/refinery/config/locales/nl.yml +7 -0
  46. data/vendor/plugins/refinery/config/locales/ru.yml +61 -0
  47. data/vendor/plugins/refinery/lib/crud.rb +1 -3
  48. data/vendor/plugins/refinery/lib/generators/refinery_plugin/templates/seed.rb +1 -1
  49. data/vendor/plugins/refinery/lib/generators/refinery_plugin/templates/views/admin/index.html.erb +5 -1
  50. data/vendor/plugins/refinery/lib/refinery.rb +1 -1
  51. data/vendor/plugins/refinery/lib/refinery/admin_base_controller.rb +8 -2
  52. data/vendor/plugins/refinery/lib/refinery/application_helper.rb +1 -1
  53. data/vendor/plugins/refinery/rails/init.rb +0 -4
  54. data/vendor/plugins/refinery_settings/config/locales/nl.yml +4 -1
  55. data/vendor/plugins/refinery_settings/config/locales/ru.yml +45 -0
  56. data/vendor/plugins/resources/config/locales/nl.yml +4 -1
  57. data/vendor/plugins/resources/config/locales/ru.yml +33 -0
  58. data/vendor/plugins/themes/generators/refinery_theme/refinery_theme_generator.rb +5 -0
  59. metadata +13 -5
  60. data/public/stylesheets/ie6.css +0 -0
data/Gemfile CHANGED
@@ -17,16 +17,16 @@ gem 'sqlite3-ruby', :require => 'sqlite3' #db_adapter=sqlite3
17
17
  # gem 'aws-s3'
18
18
 
19
19
  #===REFINERY REQUIRED GEMS===
20
- gem 'acts_as_indexed', '= 0.6.3', :require => 'acts_as_indexed'
21
- gem 'authlogic', '= 2.1.5', :require => 'authlogic'
22
- gem 'friendly_id', '= 3.0.6', :require => 'friendly_id'
20
+ gem 'acts_as_indexed', '= 0.6.4', :require => 'acts_as_indexed'
21
+ gem 'authlogic', '= 2.1.6', :require => 'authlogic'
22
+ gem 'friendly_id', '= 3.1.3', :require => 'friendly_id'
23
23
  gem 'rails', '= 2.3.8'
24
24
  gem 'rmagick', '~> 2.12.0'
25
25
  gem 'truncate_html', '= 0.3.2', :require => 'truncate_html'
26
26
  gem 'will_paginate', '= 2.3.14', :require => 'will_paginate'
27
27
 
28
28
  group :test do
29
- gem 'json_pure', '=1.4.5', :require => 'json/pure'
29
+ gem 'json_pure', '=1.4.6', :require => 'json/pure'
30
30
  gem 'factory_girl'
31
31
  gem 'test-unit', '= 1.2.3'
32
32
  gem 'capybara'
@@ -45,11 +45,11 @@ end
45
45
 
46
46
  #===REQUIRED FOR REFINERY GEM INSTALL===
47
47
  # Leave the gem below disabled (commented out) if you're not using the gem install method.
48
- # gem 'refinerycms', '= 0.9.7.11'
48
+ # gem 'refinerycms', '= 0.9.7.12'
49
49
  #===END OF REFINERY GEM INSTALL REQUIREMENTS===
50
50
 
51
51
  # Bundle gems for certain environments:
52
52
 
53
53
  # Specify your application's gem requirements here. See the examples below:
54
54
  # gem 'refinerycms-news', '~> 0.9.8', :require => 'news'
55
- # gem 'refinerycms-portfolio', '~> 0.9.7', :require => 'portfolio'
55
+ # gem 'refinerycms-portfolio', '~> 0.9.7', :require => 'portfolio'
data/bin/refinerycms CHANGED
@@ -17,6 +17,13 @@ else
17
17
  Pathname.new(File.expand_path(File.dirname(__FILE__) << "/.."))
18
18
  end
19
19
 
20
+ require refinery_root.join('vendor', 'plugins', 'refinery', 'lib', 'refinery.rb')
21
+
22
+ if ARGV.include?("-v") or ARGV.include?("--version")
23
+ puts Refinery::Version
24
+ exit
25
+ end
26
+
20
27
  unless (app_path = ARGV.shift).nil? or app_path.length == 0
21
28
  # if "" or "." or "./" is specified then get the current directory otherwise accept the specified app_path.
22
29
  if (app_path.length <= 2 and ((is_current_dir = app_path =~ /(\.(\/)?)/).nil? or is_current_dir < 2))
data/changelog.md CHANGED
@@ -1,4 +1,15 @@
1
+ ## 0.9.7.12 [11 August 2010]
2
+
3
+ * Smoothed the sortable list in the admin UI. [Joe Sak](http://github.com/joemsak)
4
+ * Binding link dialogue URL checker to paste action. [Joe Sak](http://github.com/joemsak)
5
+ * Kill hidden overflow on dialogues for smaller browser windows. [Joe Sak](http://github.com/joemsak) and [Philip Arndt](http://github.com/parndt)
6
+ * Refactored the ``parse_branch`` method to speed up reordering on the server. [Joshua Davey](http://github.com/jgdavey)
7
+ * Running ``refinerycms`` with ``-v`` or ``--version`` will now output the version number. [Steven Heidel](http://github.com/stevenheidel)
8
+ * Made the core codebase not rely so heavily on ``@page[:body]`` by adding ``Page.default_parts`` and using ``.first`` on that instead. [Philip Arndt](http://github.com/parndt)
9
+ * [See full list](http://github.com/resolve/refinerycms/compare/0.9.7.11...0.9.7.12)
10
+
1
11
  ## 0.9.7.11 [07 August 2010]
12
+
2
13
  * Removed ``app/controllers/application.rb`` due to its serious deprecation. Fixed deprecations in how we use acts_as_indexed. [Philip Arndt](http://github.com/parndt)
3
14
  * Added passing cucumber features for search for: [Uģis Ozols](http://github.com/ugisozols)
4
15
  - Images
@@ -16,10 +27,11 @@
16
27
  * Fix XSS vulnerability on page meta information by escaping the relevant fields properly [David Jones](http://github.com/djones)
17
28
  * Ensure that the generator script grabs the first attribute that is a string, not just the first attribute, when choosing the field for Dashboard activity. [Joe Sak](http://github.com/joemsak)
18
29
  * Updated ``json-pure`` to ``1.4.5``, now using the actual gem [Philip Arndt](http://github.com/parndt)
19
- * [See full list](http://github.com/resolve/refinerycms/compare/0.9.7.10...master)
30
+ * [See full list](http://github.com/resolve/refinerycms/compare/0.9.7.10...0.9.7.11)
20
31
 
21
32
 
22
33
  ## 0.9.7.10 [02 August 2010]
34
+
23
35
  * Added options to site_bar partial to allow particular components to be disabled (CSS, JS, jQuery or cornering script) so that they don't interfere with these already being included in the theme. [Philip Arndt](http://github.com/parndt)
24
36
  * Fixed the schema file as it was invalid somehow. [Steven Heidel](http://github.com/stevenheidel)
25
37
  * Made search more consistent and added it to Spam/Ham. [Uģis Ozols](http://github.com/ugisozols)
@@ -1,7 +1,10 @@
1
1
  # The acts_as_indexed instructions tell us to put this in environment/initializers/
2
2
  # but that doesn't work so we're putting it here and requiring it using refinery.
3
- ActsAsIndexed.configure do |config|
4
- config.index_file = Rails.root.join('tmp', 'index')
5
- config.index_file_depth = 3
6
- config.min_word_size = 3
3
+ ActsAsIndexed::Configuration.module_eval do
4
+ def initialize
5
+ @index_file = Rails.root.join('tmp', 'index') if Rails.root
6
+ @index_file_depth = 3
7
+ @min_word_size = 3
8
+ @if_proc = if_proc
9
+ end
7
10
  end
@@ -18,6 +18,11 @@ Refinery::Initializer.run do |config|
18
18
  :secret => 'eec8fffc3637c05895f8e6a355179eaad0003ac5617e5368955baf7989e1faca4d8ab37140d690c20b05d5815609b7c680c644277b6a892be316a85c6596d75c'
19
19
  }
20
20
 
21
+ config.to_prepare do
22
+ # Here we set up the default acts_as_indexed configuration.
23
+ load(Rails.root.join('config', 'acts_as_indexed_config.rb').to_s)
24
+ end
25
+
21
26
  end
22
27
 
23
28
  # You can set things in the following file and we'll try hard not to destroy them in updates, promise.
@@ -219,7 +219,13 @@
219
219
  $(d).addClass('jquery-corner');
220
220
  var ds = d.style;
221
221
 
222
- bot ? this.appendChild(d) : this.insertBefore(d, this.firstChild);
222
+ // IE always trips up here and breaks rendering elsewhere, so suppress.
223
+ try {
224
+ bot ? this.appendChild(d) : this.insertBefore(d, this.firstChild);
225
+ }
226
+ catch(a){
227
+ // don't really care.
228
+ }
223
229
 
224
230
  if (bot && cssHeight != 'auto') {
225
231
  if ($.css(this, 'position') == 'static')
@@ -113,7 +113,7 @@
113
113
  }
114
114
  }
115
115
 
116
- if (e.nodeName == this.options.listTag.toUpperCase()) {
116
+ if (e.nodeName.toUpperCase() == this.options.listTag.toUpperCase()) {
117
117
  this.list = $(e);
118
118
  this.container = this.list.parent();
119
119
 
@@ -569,7 +569,9 @@
569
569
  c = e;
570
570
  var d = this.dimension(e);
571
571
  if (d == 0) {
572
- alert('jCarousel: No width/height set for items. This will cause an infinite loop. Aborting...');
572
+ if (console && $.isFunction(console.log)) {
573
+ console.log('jCarousel: No width/height set for items. This will cause an infinite loop. Aborting...');
574
+ }
573
575
  return 0;
574
576
  }
575
577
 
@@ -842,9 +844,11 @@
842
844
  },
843
845
 
844
846
  clipping: function() {
847
+ if (this.clip[0] != null) {
845
848
  return !this.options.vertical ?
846
849
  this.clip[0].offsetWidth - $jc.intval(this.clip.css('borderLeftWidth')) - $jc.intval(this.clip.css('borderRightWidth')) :
847
850
  this.clip[0].offsetHeight - $jc.intval(this.clip.css('borderTopWidth')) - $jc.intval(this.clip.css('borderBottomWidth'));
851
+ }
848
852
  },
849
853
 
850
854
  index: function(i, s) {
@@ -144,7 +144,9 @@ init_modal_dialogs = function(){
144
144
  if ($.browser.msie) {
145
145
  iframe.css({'margin':'-2px 2px 2px -2px'});
146
146
  }
147
- $(document.body).addClass('hide-overflow');
147
+ if(parseInt($anchor.data('dialog-height')) < $(window).height()) {
148
+ $(document.body).addClass('hide-overflow');
149
+ }
148
150
  e.preventDefault();
149
151
  });
150
152
  });
@@ -158,6 +160,7 @@ init_sortable_menu = function(){
158
160
  $menu.sortable({
159
161
  axis: 'x',
160
162
  cursor: 'crosshair',
163
+ connectWith: '.nested',
161
164
  update: function(){
162
165
  var ser = $menu.sortable('serialize', {key: 'menu[]', expression: /plugin_([\w]*)$/}),
163
166
  token = escape($('#admin_authenticity_token').val());
@@ -171,7 +174,7 @@ init_sortable_menu = function(){
171
174
  $menu.find('#menu_reorder').click(function(e){
172
175
  e.preventDefault();
173
176
  $('#menu_reorder, #menu_reorder_done').toggle();
174
- $('#site_bar, #header >*:not(#header_content, #menu, script), #content').fadeTo(500, 0.65);
177
+ $('#site_bar, header >*:not(#menu, script), #content').fadeTo(500, 0.65);
175
178
  $menu.find('.tab a').click(function(ev){
176
179
  ev.preventDefault();
177
180
  });
@@ -182,7 +185,7 @@ init_sortable_menu = function(){
182
185
  $menu.find('#menu_reorder_done').click(function(e){
183
186
  e.preventDefault();
184
187
  $('#menu_reorder, #menu_reorder_done').toggle();
185
- $('#site_bar, #header >*:not(#header_content, #menu, script), #content').fadeTo(500, 1);
188
+ $('#site_bar, header >*:not(#menu, script), #content').fadeTo(500, 1);
186
189
  $menu.find('.tab a').unbind('click');
187
190
 
188
191
  $menu.sortable('disable');
@@ -427,7 +430,7 @@ var link_dialog = {
427
430
  },
428
431
 
429
432
  web_tab: function(){
430
- $('#web_address_text').change(function(){
433
+ $('#web_address_text').bind('paste change',function(){
431
434
  var prefix = '#web_address_',
432
435
  icon = '';
433
436
 
@@ -783,6 +786,7 @@ var list_reorder = {
783
786
  , 'cursor': 'drag'
784
787
  , 'items': 'li'
785
788
  , 'axis': 'y'
789
+ , 'connectWith' : '.nested'
786
790
  };
787
791
 
788
792
  $(list_reorder.sortable_list).find('li').each(function(index, li) {
@@ -792,7 +796,7 @@ var list_reorder = {
792
796
 
793
797
  if (list_reorder.tree && !$.browser.msie) {
794
798
  $(list_reorder.sortable_list).parent().nestedSortable($.extend(sortable_options, {
795
- 'maxDepth': 1
799
+ 'maxDepth': 2
796
800
  , 'placeholderElement': 'li'
797
801
  }));
798
802
  $(list_reorder.sortable_list).addClass('ui-sortable');
@@ -800,7 +804,7 @@ var list_reorder = {
800
804
  $(list_reorder.sortable_list).sortable(sortable_options);
801
805
  }
802
806
 
803
- $('#site_bar, #header > *:not(script)').fadeTo(500, 0.3);
807
+ $('#site_bar, header > *:not(script)').fadeTo(500, 0.3);
804
808
  $('#actions *:not("#reorder_action_done, #reorder_action")').not($('#reorder_action_done').parents('li, ul')).fadeTo(500, 0.55);
805
809
 
806
810
  $('#reorder_action').hide();
@@ -824,8 +828,11 @@ var list_reorder = {
824
828
  }
825
829
 
826
830
  , disable_reordering: function(e) {
831
+ if($('#reorder_action_done').hasClass('loading')){
832
+ return false;
833
+ }
827
834
  if(e) { e.preventDefault(); }
828
-
835
+ $('#reorder_action_done').addClass('loading');
829
836
  if (list_reorder.update_url != null) {
830
837
  serialized = "";
831
838
  list_reorder.sortable_list.find('> li[id]').each(function(index, li) {
@@ -842,9 +849,13 @@ var list_reorder = {
842
849
 
843
850
  $.post(list_reorder.update_url, serialized, function(data) {
844
851
  // handle the case where we get the whole list back including the <ul> or whatever.
845
- if (data.match(new RegExp("^"+ $(list_reorder.sortable_list).get(0).tagName.toLowerCase() + "\ id=\"|\'" + list_reorder.sortable_list + "\"|\'>")).length == 1) {
852
+ if ((matches = data.match(new RegExp("^<" + list_reorder.sortable_list.get(0).tagName.toLowerCase()
853
+ + "[^>]+" + list_reorder.sortable_list.attr('id') + "[^>]>"))) != null)
854
+ {
846
855
  // replace reorder authenticity token's value.
847
- $('#reorder_authenticity_token').val($($(data.split('reorder_authenticity_token')).last().get(0).split('value=\'')).last().get(0).split('\'')[0]);
856
+ $('#reorder_authenticity_token').val(
857
+ $($(data.split('reorder_authenticity_token')).last().get(0).split('value=\''))
858
+ .last().get(0).split('\'')[0]);
848
859
  // replace actual list content.
849
860
  $(list_reorder.sortable_list).html($(data).html());
850
861
  } else {
@@ -873,9 +884,9 @@ var list_reorder = {
873
884
  }
874
885
  $(list_reorder.sortable_list).removeClass('reordering, ui-sortable');
875
886
 
876
- $('#site_bar, #header > *:not(script)').fadeTo(250, 1);
887
+ $('#site_bar, header > *:not(script)').fadeTo(250, 1);
877
888
  $('#actions *:not("#reorder_action_done, #reorder_action")').not($('#reorder_action_done').parents('li, ul')).fadeTo(250, 1, function() {
878
- $('#reorder_action_done').hide();
889
+ $('#reorder_action_done').hide().removeClass('loading');
879
890
  $('#reorder_action').show();
880
891
  });
881
892
  }
@@ -1,6 +1,9 @@
1
1
  onOpenDialog = function(dialog) {
2
- $('.ui-dialog').corner('6px').find('.ui-dialog-titlebar').corner('1px top');
3
- $(document.body).addClass('hide-overflow');
2
+ (dialog = $('.ui-dialog')).corner('6px')
3
+ .find('.ui-dialog-titlebar').corner('1px top')
4
+ if (dialog.height() < $(window).height()) {
5
+ $(document.body).addClass('hide-overflow');
6
+ }
4
7
  }
5
8
 
6
9
  onCloseDialog = function(dialog) {
@@ -197,7 +200,8 @@ $(function()
197
200
  wymeditor_inputs = $('.wymeditor');
198
201
  wymeditor_inputs.each(function(input) {
199
202
  if ((containing_field = $(this).parents('.field')).get(0).style.height == '') {
200
- containing_field.addClass('hide-overflow').css('height', $(this).outerHeight() - containing_field.offset().top + $(this).offset().top + 45);
203
+ containing_field.addClass('hide-overflow')
204
+ .css('height', $(this).outerHeight() - containing_field.offset().top + $(this).offset().top + 45);
201
205
  }
202
206
  $(this).hide();
203
207
  });
@@ -4969,19 +4969,23 @@ WYMeditor.WymClassSafari.prototype.addCssRule = function(styles, oCss) {
4969
4969
  //keydown handler, mainly used for keyboard shortcuts
4970
4970
  WYMeditor.WymClassSafari.prototype.keydown = function(e) {
4971
4971
 
4972
- if(e.ctrlKey){
4973
- //'this' is the doc
4974
- var wym = WYMeditor.INSTANCES[this.title];
4972
+ //'this' is the doc
4973
+ var wym = WYMeditor.INSTANCES[this.title];
4975
4974
 
4976
- if(e.keyCode == 66) {
4975
+ if(e.ctrlKey){
4976
+ if(e.keyCode == 66){
4977
4977
  //CTRL+b => STRONG
4978
4978
  wym._exec(WYMeditor.BOLD);
4979
- return false;
4980
- } else if(e.keyCode == 73) {
4979
+ e.preventDefault();
4980
+ }
4981
+ if(e.keyCode == 73){
4981
4982
  //CTRL+i => EMPHASIS
4982
4983
  wym._exec(WYMeditor.ITALIC);
4983
- return false;
4984
+ e.preventDefault();
4984
4985
  }
4986
+ } else if(e.shiftKey && e.keyCode == 13) {
4987
+ wym._exec('InsertLineBreak');
4988
+ e.preventDefault();
4985
4989
  }
4986
4990
  };
4987
4991
 
@@ -5007,10 +5011,6 @@ WYMeditor.WymClassSafari.prototype.keyup = function(e) {
5007
5011
  }
5008
5012
  }
5009
5013
 
5010
- //fix #112
5011
- if(e.keyCode == 13 && e.shiftKey) {
5012
- wym._exec('InsertLineBreak');
5013
- }
5014
5014
  else if(($.inArray(e.keyCode, [8, 17, 46, 224]) == -1) && !e.metaKey && !e.ctrlKey)
5015
5015
  {
5016
5016
  //NOT BACKSPACE, NOT DELETE, NOT CTRL, NOT COMMAND
@@ -1 +1 @@
1
- @import url('/stylesheets/refinery/ie.css');
1
+ @import url('/stylesheets/refinery/ie-less-than-8.css');
@@ -1,5 +1,9 @@
1
1
  /* Default error colouring */
2
2
 
3
+ article, nav, header, footer, aside, hgroup, section{
4
+ display:block;
5
+ }
6
+
3
7
  div.fieldWithErrors {
4
8
  display: inline;
5
9
  }
@@ -25,7 +25,7 @@ acronym {
25
25
  label[for] {
26
26
  cursor: pointer;
27
27
  }
28
- #page_container, #site_bar_content, #header_content {
28
+ #page_container, #site_bar_content, header {
29
29
  margin: 0px auto 10px auto;
30
30
  text-align: left;
31
31
  width: 990px;
@@ -169,13 +169,20 @@ hr {
169
169
  #flash.flash_message a#flash_close {
170
170
  top: 21px;
171
171
  }
172
- #header a, #content a {
172
+ #content a {
173
173
  border-bottom: 1px dotted #727272;
174
174
  }
175
175
  a {
176
176
  color: #41403C;
177
177
  text-decoration: none;
178
178
  }
179
+ a:hover {
180
+ color: #000;
181
+ border-bottom: 1px solid #727272;
182
+ }
183
+ header a, header a:hover {
184
+ border-bottom: 0px none;
185
+ }
179
186
  #content .wym_box a, #content .ui-tabs a {
180
187
  border-bottom: 0px none;
181
188
  }
@@ -193,28 +200,24 @@ a {
193
200
  .less-important {
194
201
  color: #727272;
195
202
  }
196
- #header a {
197
- border: 0px;
198
- }
199
- a:hover {
200
- color: #000;
201
- border-bottom: 1px solid #727272;
202
- }
203
203
  a#site_bar_refinery_cms_logo {
204
204
  left: 448px;
205
205
  }
206
206
  #content, #page_container {
207
207
  background-color: white;
208
208
  }
209
- body.login #page_container, body.login #site_bar_content, body.login #header_content {
209
+ body.login #page_container, body.login #site_bar_content, body.login header {
210
210
  width: 590px;
211
211
  }
212
212
  body.login #page_container {
213
213
  width: 560px;
214
214
  }
215
- body.login #header_content {
215
+ body.login header {
216
216
  background: #eaeaea;
217
217
  }
218
+ header, footer, nav {
219
+ display: block;
220
+ }
218
221
  body.login #site_bar_content a#site_bar_refinery_cms_logo {
219
222
  left: 247px;
220
223
  }
@@ -281,12 +284,12 @@ body.login .fieldWithErrors input.larger {
281
284
  background-position: 0px -82px;
282
285
  border: 1px solid red;
283
286
  }
284
- #header_content {
287
+ header {
285
288
  height: 60px;
286
289
  position: relative;
287
290
  margin-bottom: 0px;
288
291
  }
289
- body.login #header_content h1 {
292
+ body.login header h1 {
290
293
  color: #41403c;
291
294
  vertical-align: middle;
292
295
  text-align: center;
@@ -295,7 +298,7 @@ body.login #header_content h1 {
295
298
  padding-bottom: 0px;
296
299
  line-height: 60px;
297
300
  }
298
- #menu, #header_content .jcarousel-container {
301
+ #menu, header .jcarousel-container {
299
302
  display: block;
300
303
  margin: 0px;
301
304
  padding: 0px;
@@ -305,23 +308,23 @@ body.login #header_content h1 {
305
308
  right: 0px;
306
309
  background: transparent;
307
310
  }
308
- #header_content .jcarousel-container {
311
+ header .jcarousel-container {
309
312
  position: absolute !important;
310
313
  }
311
- #header_content .jcarousel-container .jcarousel-prev,
312
- #header_content .jcarousel-container .jcarousel-next {
314
+ header .jcarousel-container .jcarousel-prev,
315
+ header .jcarousel-container .jcarousel-next {
313
316
  position: absolute;
314
317
  top: 13px;
315
318
  cursor: pointer;
316
319
  }
317
- #header_content .jcarousel-container .jcarousel-prev {
320
+ header .jcarousel-container .jcarousel-prev {
318
321
  left: -20px;
319
322
  }
320
- #header_content .jcarousel-container .jcarousel-next {
323
+ header .jcarousel-container .jcarousel-next {
321
324
  right: -20px;
322
325
  }
323
- #header_content .jcarousel-container .jcarousel-prev-disabled,
324
- #header_content .jcarousel-container .jcarousel-next-disabled {
326
+ header .jcarousel-container .jcarousel-prev-disabled,
327
+ header .jcarousel-container .jcarousel-next-disabled {
325
328
  display: none !important;
326
329
  }
327
330
  #menu.ui-sortable a {
@@ -350,7 +353,7 @@ body.login #header_content h1 {
350
353
  padding: 11px 13px;
351
354
  margin-top: 0px;
352
355
  }
353
- #menu a#menu_reorder, #header #menu a#menu_reorder_done {
356
+ #menu a#menu_reorder, header #menu a#menu_reorder_done {
354
357
  height: 14px;
355
358
  width: 14px;
356
359
  margin-top: 11px;
@@ -378,12 +381,12 @@ pre {
378
381
  #site_link:hover {
379
382
  text-decoration: underline;
380
383
  }
381
- #header #logo {
384
+ header #logo {
382
385
  position: absolute;
383
386
  right: 20px;
384
387
  top: 25px;
385
388
  }
386
- #header h1, #header h1 a {
389
+ header h1, header h1 a {
387
390
  color: white;
388
391
  font-size: 20px;
389
392
  font-weight: normal;
@@ -391,7 +394,7 @@ pre {
391
394
  padding-bottom: 4px;
392
395
  margin-top: 0;
393
396
  }
394
- #header p {
397
+ header p {
395
398
  color: white;
396
399
  font-size: 90%;
397
400
  padding: 0;
@@ -410,6 +413,10 @@ pre {
410
413
  vertical-align: top;
411
414
  margin-bottom: 2px;
412
415
  line-height: 35px;
416
+ position: relative;
417
+ }
418
+ #records > ul.ui-sortable li {
419
+ position: static;
413
420
  }
414
421
  #content #records > ul li .actions a {
415
422
  line-height: 29px;
@@ -494,6 +501,10 @@ pre {
494
501
  #records ul#sortable_list {
495
502
  margin-top: 6px;
496
503
  }
504
+ .ui-sortable .nested{
505
+ padding:5px;
506
+ margin:5px 0;
507
+ }
497
508
  #records ul#sortable_list.ui-sortable {
498
509
  margin-top: 0px;
499
510
  }
@@ -545,10 +556,11 @@ pre {
545
556
  height: 38px;
546
557
  }
547
558
  #content .tree .ui-sortable li.placeholder {
548
- height: 6px;
559
+ height: 38px;
549
560
  border-width: 2px;
550
- position: absolute;
561
+ position: relative;
551
562
  background: #22A7F2 !important;
563
+ margin:5px 0;
552
564
  }
553
565
  #content #records .tree .ui-sortable li.helper, #content .tree .ui-sortable li.helper {
554
566
  opacity: 0.5 !important;
@@ -687,9 +699,6 @@ label.stripped {
687
699
  #records.files .record .title.mp3, #records.files .record .title.wav, #records.files .record .title.aiff, #records.files .record .title.m4a, #dialog_main #resource_file_area #pages_list ul li a.page_link.mp3, #dialog_main #resource_file_area #pages_list ul li a.page_link.wav, #dialog_main #resource_file_area #pages_list ul li a.page_link.aiff, #dialog_main #resource_file_area #pages_list ul li a.page_link.m4a {
688
700
  background-image: url('/images/refinery/icons/music.png');
689
701
  }
690
- #records .record {
691
- position: relative;
692
- }
693
702
  #records .actions {
694
703
  position: absolute;
695
704
  right: 0px;
@@ -701,7 +710,7 @@ label.stripped {
701
710
  }
702
711
  #records.tree .actions {
703
712
  line-height: 22px;
704
- margin-top: 1px;
713
+ top: 1px;
705
714
  }
706
715
  .published {
707
716
  width: 25px;
@@ -1041,6 +1050,9 @@ a img {
1041
1050
  .reorder_icon {
1042
1051
  background-image: url('/images/refinery/icons/arrow_switch.png');
1043
1052
  }
1053
+ .reorder_icon.loading{
1054
+ background-image:url('/images/refinery/icons/ajax-loader.gif');
1055
+ }
1044
1056
  .user_comment_icon {
1045
1057
  background-image: url('/images/refinery/icons/user_comment.png');
1046
1058
  }