mdd 3.1.1 → 3.1.2

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 (61) hide show
  1. checksums.yaml +4 -4
  2. data/app/helpers/mdwa_helper.rb +13 -4
  3. data/app/views/template/mdwa/_autocomplete_multiple_tag.html.erb +3 -3
  4. data/app/views/template/mdwa/_autocomplete_remote_multiple_tag.html.erb +5 -2
  5. data/app/views/template/mdwa/_autocomplete_remote_tag.html.erb +21 -1
  6. data/lib/generators/mdwa/sandbox/sandbox_generator.rb +30 -7
  7. data/lib/generators/mdwa/sandbox/templates/app/assets/javascripts/mdwa/login_manifest.js +1 -1
  8. data/lib/generators/mdwa/sandbox/templates/app/assets/javascripts/mdwa/system_manifest.js +1 -1
  9. data/lib/generators/mdwa/sandbox/templates/app/assets/javascripts/mdwa/template/ajaxloader.js +16 -16
  10. data/lib/generators/mdwa/sandbox/templates/app/assets/javascripts/mdwa/template/all_pages.js +34 -30
  11. data/lib/generators/mdwa/sandbox/templates/app/assets/javascripts/mdwa/template/batch_update.js +35 -0
  12. data/lib/generators/mdwa/sandbox/templates/app/assets/javascripts/mdwa/template/xls_export.js +14 -0
  13. data/lib/generators/mdwa/sandbox/templates/app/assets/stylesheets/jquery/{jquery-ui-1.10.0.custom.css → jquery-ui.css} +60 -57
  14. data/lib/generators/mdwa/sandbox/templates/app/assets/stylesheets/mdwa/login/login.css +26 -2
  15. data/lib/generators/mdwa/sandbox/templates/app/assets/stylesheets/mdwa/system_manifest.css +1 -0
  16. data/lib/generators/mdwa/sandbox/templates/app/assets/stylesheets/mdwa/template/backend.css.erb +11 -91
  17. data/lib/generators/mdwa/sandbox/templates/app/assets/stylesheets/mdwa/template/menu.css +86 -0
  18. data/lib/generators/mdwa/sandbox/templates/app/assets/stylesheets/mdwa/template/template.css.erb +71 -18
  19. data/lib/generators/mdwa/sandbox/templates/app/controllers/a/backend_controller.rb +14 -0
  20. data/lib/generators/mdwa/sandbox/templates/app/models/permission.rb +2 -2
  21. data/lib/generators/mdwa/sandbox/templates/app/views/layouts/login.html.erb +4 -1
  22. data/lib/generators/mdwa/sandbox/templates/app/views/layouts/public.html.erb +3 -3
  23. data/lib/generators/mdwa/sandbox/templates/app/views/layouts/system.html.erb +6 -4
  24. data/lib/generators/mdwa/sandbox/templates/app/views/template/mdwa/_login_text.html.erb +4 -0
  25. data/lib/generators/mdwa/sandbox/templates/app/views/template/mdwa/_menubar.html.erb +3 -0
  26. data/lib/generators/mdwa/sandbox/templates/app/views/template/mdwa/menubar/_administrators.html.erb +10 -0
  27. data/lib/generators/mdwa/sandbox/templates/config/initializers/mime_types.rb +2 -0
  28. data/lib/generators/mdwa/sandbox/templates/config/locales/mdwa.en.yml +8 -0
  29. data/lib/generators/mdwa/sandbox/templates/deploy.sh +17 -0
  30. data/lib/generators/mdwa/templates/templates/scaffold/controller.erb +23 -5
  31. data/lib/generators/mdwa/templates/templates/scaffold/model.erb +61 -19
  32. data/lib/generators/mdwa/templates/templates/scaffold/views/_form.html.erb +3 -5
  33. data/lib/generators/mdwa/templates/templates/scaffold/views/_form_fields.html.erb +23 -15
  34. data/lib/generators/mdwa/templates/templates/scaffold/views/_list.html.erb +38 -26
  35. data/lib/generators/mdwa/templates/templates/scaffold/views/batch_update.js.erb +3 -0
  36. data/lib/generators/mdwa/templates/templates/scaffold/views/index.html.erb +19 -4
  37. data/lib/generators/mdwa/templates/templates/scaffold/views/index.xls.erb +23 -0
  38. data/lib/generators/mdwa/templates/templates/scaffold/views/menu/menu.html.erb +13 -0
  39. data/lib/generators/mdwa/templates/templates_generator.rb +5 -0
  40. data/lib/generators/mdwa/transform/transform_generator.rb +91 -49
  41. data/lib/generators/mdwa/translate/templates/br/config/initializers/inflections.rb +58 -0
  42. data/lib/generators/mdwa/translate/templates/br/config/locales/devise.pt-BR.yml +59 -0
  43. data/lib/generators/mdwa/translate/templates/br/config/locales/mdwa.pt-BR.yml +294 -0
  44. data/lib/generators/mdwa/translate/templates/br/config/locales/mdwa.specific.pt-BR.yml +2 -0
  45. data/lib/generators/mdwa/translate/translate_generator.rb +38 -0
  46. data/lib/mdwa/dsl/entity.rb +1 -0
  47. data/lib/mdwa/generators/model_attribute.rb +5 -3
  48. data/lib/mdwa/version.rb +1 -1
  49. data/mdd.gemspec +4 -1
  50. data/test/entity_actions_test.rb +0 -1
  51. data/test/entity_attributes_options_test.rb +1 -2
  52. data/test/entity_specifications_test.rb +0 -1
  53. data/test/entity_status_test.rb +40 -0
  54. data/test/entity_test.rb +6 -7
  55. data/test/layout_test.rb +0 -1
  56. data/test/process_test.rb +0 -1
  57. data/test/requirements_test.rb +0 -1
  58. data/test/users_test.rb +0 -1
  59. metadata +52 -8
  60. data/lib/generators/mdwa/sandbox/templates/app/assets/javascripts/jquery/jquery.popup_window.js +0 -62
  61. data/lib/generators/mdwa/sandbox/templates/app/views/template/_leftbar.html.erb +0 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7ccd2d47ebc90d59b4120180d599011f4acbece3
4
- data.tar.gz: b1cd8ae06a883a3e20d8202c60bf40c959af1be6
3
+ metadata.gz: ab255edf08e646a2ec7de103dafd791b76a0dcbb
4
+ data.tar.gz: 272da5bcce16ac2e8307f0b37181f3d94748102a
5
5
  SHA512:
6
- metadata.gz: 9095ac4d2193c684a3eb0fd07bb969afb811b3967caad141cfc40956127fe2fd581a88b1c86f602dec287676af698c3ee2ff07adb9d88074dd443be8eeb3005d
7
- data.tar.gz: ae17133aad702f09e12c033ab97f4600009c05920fa4227cfeb1e6e456c51a2768d90ca9610330600b156ddacc417ca37c626d1dcf48f163a19d5d1a13aa14ac
6
+ metadata.gz: aaf0e2552c9ea969af26c3a779fea1f83e6ebfcbb8614a6477ff196facce326f2c392e36361d8e5fe77d873261276d9fb03711c05b613b2f8b9827731ad54e8d
7
+ data.tar.gz: 6d08505e76a2ae80c8c0e6312d9cb6e0c9e3f2459b4b2ef3544322a34029192c4bf8812a8e8d8693d6f88883eabc852462c704e70830a133e4af675067edae38
@@ -1,11 +1,12 @@
1
1
  module MdwaHelper
2
2
 
3
- def pagination_footer( object_list )
3
+ def pagination_footer( object_list, parameters = {} )
4
4
 
5
+ parameters[:per_page] = WillPaginate.per_page if parameters[:per_page].blank?
5
6
  options = [
6
- [WillPaginate.per_page, WillPaginate.per_page],
7
- [(WillPaginate.per_page*2.5).to_i, (WillPaginate.per_page*2.5).to_i],
8
- [(WillPaginate.per_page*5).to_i, (WillPaginate.per_page*5).to_i],
7
+ [parameters[:per_page], parameters[:per_page]],
8
+ [(parameters[:per_page]*2.5).to_i, (parameters[:per_page]*2.5).to_i],
9
+ [(parameters[:per_page]*5).to_i, (parameters[:per_page]*5).to_i],
9
10
  [I18n.t('will_paginate.all'), object_list.count]
10
11
  ]
11
12
 
@@ -44,5 +45,13 @@ module MdwaHelper
44
45
 
45
46
  return "#{path}/#{size}/#{ext}_file.png"
46
47
  end
48
+
49
+ def check_all_th
50
+ check_box_tag "check_all", '', false, { :onclick => "checkOrUncheckAll( $(\"#check_all\").prop( \"checked\" ) )" }
51
+ end
52
+
53
+ def check_all_td( id, checked = false )
54
+ check_box_tag "cid[]", id, checked, { :id => "cb#{id}", :class => "cid" }
55
+ end
47
56
 
48
57
  end
@@ -40,9 +40,9 @@
40
40
  }
41
41
  });
42
42
 
43
- $(document).on('click', ".<%= dom_element_id %>_remove_autocomplete", function() {
44
- $(this).parent().remove();
45
- });
43
+ $(document).on('click', "<%= ul %> a", function() {
44
+ $(this).parent().remove();
45
+ });
46
46
  });
47
47
 
48
48
  </script>
@@ -21,7 +21,10 @@
21
21
  source: function( request, response ) {
22
22
  // delegate back to autocomplete, but extract the last term
23
23
  $.getJSON( '<%= source_path %>', {
24
- term: extractLastAutocompleteRemoteMultiple( request.term )
24
+ term: extractLastAutocompleteRemoteMultiple( request.term ),
25
+ <% if defined? additional_params %>
26
+ <%= additional_params.collect{|key, value| "#{key.to_s}: $(\"##{value.to_s}\").val()".html_safe}.join(',').html_safe %>
27
+ <% end %>
25
28
  }, response );
26
29
  },
27
30
  focus: function() {
@@ -41,7 +44,7 @@
41
44
  }
42
45
  });
43
46
 
44
- $( ".<%= dom_element_id %>_remove_autocomplete").on( "click", function() {
47
+ $(document).on('click', "<%= ul %> a", function() {
45
48
  $(this).parent().remove();
46
49
  });
47
50
  });
@@ -2,7 +2,26 @@
2
2
  $(function() {
3
3
  $('<%= dom_element %>').autocomplete({
4
4
  minLength: 0,
5
- source: '<%= source_path %>',
5
+ source: function(request, response) {
6
+ $.ajax({
7
+ url: '<%= source_path %>',
8
+ dataType: 'json',
9
+ data: {
10
+ term: request.term,
11
+ <% if defined? additional_params %>
12
+ <%= additional_params.collect{|key, value| "#{key.to_s}: $(\"##{value.to_s}\").val()".html_safe}.join(',').html_safe %>
13
+ <% end %>
14
+ },
15
+ success: function(data) {
16
+ response($.map(data, function(item) {
17
+ return {
18
+ label: item.label,
19
+ value: item.value
20
+ }
21
+ }));
22
+ }
23
+ });
24
+ },
6
25
  focus: function( event, ui ) {
7
26
  $( '<%= dom_element %>' ).val( ui.item.label );
8
27
  return false;
@@ -19,6 +38,7 @@
19
38
  $('<%= dom_element_id %>').val("").trigger('change');
20
39
  }
21
40
  });
41
+
22
42
  });
23
43
 
24
44
  </script>
@@ -23,12 +23,15 @@ module Mdwa
23
23
  end
24
24
 
25
25
  def gem_dependencies
26
- gem 'devise'
27
26
  gem 'cancan'
28
- gem 'will_paginate'
27
+ gem 'devise'
28
+ gem 'delayed_job_active_record'
29
+ gem 'jquery-ui-rails'
29
30
  gem 'nested_form'
30
31
  gem 'require_all'
32
+ gem 'rails-settings-cached', '0.2.4'
31
33
  gem 'rspec-rails', :group => [:test, :development]
34
+ gem 'will_paginate'
32
35
 
33
36
  inside Rails.root do
34
37
  run "bundle install"
@@ -56,6 +59,14 @@ module Mdwa
56
59
  end
57
60
  end
58
61
 
62
+ def generated_stuff
63
+ generate 'settings Settings'
64
+ generate 'delayed_job:active_record'
65
+ rake 'db:migrate' if ask_question( "Run rake db:migrate?" )
66
+
67
+ copy_file 'deploy.sh', 'deploy.sh'
68
+ end
69
+
59
70
  def images
60
71
  if ask_question("Create images?")
61
72
  directory 'app/assets/images/mdwa', 'app/assets/images/mdwa'
@@ -102,8 +113,17 @@ module Mdwa
102
113
  end
103
114
 
104
115
  if ask_question("Include layout selector in ApplicationController?")
105
- inject_into_class 'app/controllers/application_controller.rb', ApplicationController do
106
- "\n\n layout :select_layout\n"
116
+ inject_into_file 'app/controllers/application_controller.rb', after: "protect_from_forgery" do
117
+ "\n\n layout :select_layout\n\n" +
118
+ " private
119
+
120
+ def after_sign_out_path_for(user)
121
+ if user.to_sym.eql?(:a_user)
122
+ return a_root_path
123
+ else
124
+ return root_path
125
+ end
126
+ end"
107
127
  end
108
128
  end
109
129
  end
@@ -125,8 +145,9 @@ module Mdwa
125
145
  end
126
146
 
127
147
  if ask_question("Generate views?")
128
- copy_file 'app/views/template/_leftbar.html.erb', 'app/views/template/mdwa/_leftbar.html.erb'
129
- empty_directory 'app/views/template/mdwa/leftbar'
148
+ copy_file 'app/views/template/mdwa/_menubar.html.erb', 'app/views/template/mdwa/_menubar.html.erb'
149
+ copy_file 'app/views/template/mdwa/_login_text.html.erb', 'app/views/template/mdwa/_login_text.html.erb'
150
+ directory 'app/views/template/mdwa/menubar', 'app/views/template/mdwa/menubar'
130
151
  directory 'app/views/public', 'app/views/public'
131
152
  directory 'app/views/a/administrators', 'app/views/a/administrators'
132
153
  directory 'app/views/a/home', 'app/views/a/home'
@@ -140,6 +161,7 @@ module Mdwa
140
161
  copy_file 'config/initializers/mdwa_inflections.rb', 'config/initializers/mdwa_inflections.rb'
141
162
  copy_file 'config/initializers/mdwa_layout.rb', 'config/initializers/mdwa_layout.rb'
142
163
  copy_file 'config/initializers/will_paginate.rb', 'config/initializers/mdwa_will_paginate.rb'
164
+ copy_file 'config/initializers/mime_types.rb', 'config/initializers/mdwa_mime_types.rb'
143
165
 
144
166
  # language files
145
167
  copy_file 'config/locales/devise.en.yml', 'config/locales/devise.en.yml'
@@ -162,7 +184,7 @@ module Mdwa
162
184
  production << " #####################"
163
185
  production << " assets << 'mdwa/login_manifest.css'"
164
186
  production << " assets << 'mdwa/public_manifest.css'"
165
- production << " assets << 'mdwa/system_manifest.js'"
187
+ production << " assets << 'mdwa/system_manifest.css'"
166
188
  production << " config.assets.precompile += assets"
167
189
  production << "\n"
168
190
  inject_into_file 'config/environments/production.rb', production.join("\n"), :after => "config.assets.digest = true\n"
@@ -221,6 +243,7 @@ module Mdwa
221
243
 
222
244
  rake "db:seed" if ask_question( "Run rake db:seeds?" )
223
245
  end
246
+
224
247
 
225
248
  def testes
226
249
  # Install Rspec as the default testing framework
@@ -1,7 +1,7 @@
1
1
  // Login screen javascript files
2
2
  //
3
3
  //= require jquery
4
- //= require jquery-ui
5
4
  //= require jquery_ujs
5
+ //= require jquery.ui.all
6
6
  //= require_tree ../jquery
7
7
  //= require ./template/all_pages
@@ -4,7 +4,7 @@
4
4
  //
5
5
  //= require jquery
6
6
  //= require jquery_ujs
7
- //= require jquery-ui
7
+ //= require jquery.ui.all
8
8
  //= require_tree ../jquery
9
9
  //= require jquery_nested_form
10
10
  //= require_tree ./template
@@ -1,21 +1,21 @@
1
1
  $(function() {
2
2
 
3
- $('body').append("<div id='ajax-loader'></div>");
4
- $('#ajax-loader').css( {
5
- 'background': 'url(/assets/mdwa/ajax-loader.gif) no-repeat scroll 0 0 transparent',
6
- 'display': 'none',
7
- 'height': '42px',
8
- 'left': '50%',
9
- 'position': 'fixed',
10
- 'text-align': 'center',
11
- 'top': '50%',
12
- 'width': '42px',
13
- 'z-index': '10001'
3
+ $('body').append("<div id='ajax-loader'></div>");
4
+ $('#ajax-loader').css( {
5
+ 'background': 'url(/assets/mdwa/ajax-loader.gif) no-repeat scroll 0 0 transparent',
6
+ 'display': 'none',
7
+ 'height': '42px',
8
+ 'left': '50%',
9
+ 'position': 'fixed',
10
+ 'text-align': 'center',
11
+ 'top': '50%',
12
+ 'width': '42px',
13
+ 'z-index': '10001'
14
14
  });
15
15
 
16
- $(document).bind("ajaxSend", function() {
17
- $('#ajax-loader').show();
18
- }).bind("ajaxComplete", function() {
19
- $('#ajax-loader').hide();
20
- });
16
+ $(document).bind("ajaxSend", function() {
17
+ $('#ajax-loader').show();
18
+ }).bind("ajaxComplete", function() {
19
+ $('#ajax-loader').hide();
20
+ });
21
21
  });
@@ -1,39 +1,39 @@
1
1
  $(function() {
2
-
3
- // all .toggle links must have a rel attribute to identify what element will toggle
4
- $(document).on("click",'a.toggle', function() {
5
- $($(this).attr('rel')).toggle();
6
- });
2
+
3
+ // all .toggle links must have a rel attribute to identify what element will toggle
4
+ $(document).on("click",'a.toggle', function() {
5
+ $($(this).attr('rel')).toggle();
6
+ });
7
7
 
8
- // open modalbox
9
- $('.lightbox').fancybox({
10
- closeClick: false,
11
- autoSize: true
12
- });
8
+ // open modalbox
9
+ $('.lightbox, .fancybox').fancybox({
10
+ closeClick: false,
11
+ autoSize: true
12
+ });
13
13
 
14
- // datepicker input text field
15
- $('.datepicker').datepicker();
14
+ // datepicker input text field
15
+ loadDatepickers();
16
16
 
17
- // notices fadeout
18
- $(document).on("click",'a#system_notice_close, #system_notice', function() {
19
- $('#system_notice').remove();
20
- });
17
+ // notices fadeout
18
+ $(document).on("click",'a#system_notice_close, #system_notice', function() {
19
+ $('#system_notice').remove();
20
+ });
21
21
 
22
- // ajax forms cancel button closes modal window
23
- $(document).on("click",'.mdwa_ajax a.cancel', function() {
24
- $.fancybox.close(true);
25
- });
22
+ // ajax forms cancel button closes modal window
23
+ $(document).on("click",'.mdwa_ajax a.cancel', function() {
24
+ $.fancybox.close(true);
25
+ });
26
26
 
27
- // set focus on modalbox form
27
+ // set focus on modalbox form
28
28
  $(document).bind("ajaxComplete", function() {
29
29
  setFocusOnForm();
30
30
  });
31
-
31
+
32
32
  });
33
33
 
34
34
  function checkOrUncheckAll( to_be_checked ){
35
35
  var to_be_checked = to_be_checked || false;
36
- $( ".cid" ).attr( "checked", to_be_checked );
36
+ $( ".cid" ).prop( "checked", to_be_checked ).trigger('change');
37
37
  }
38
38
 
39
39
  function defineAction( form, action, confirmation ) {
@@ -42,26 +42,30 @@ function defineAction( form, action, confirmation ) {
42
42
  response = confirm("Are you sure?");
43
43
  }
44
44
  if( response ) {
45
- $( "#" + form ).attr( "action", action);
45
+ $( "#" + form ).prop( "action", action);
46
46
  $( "#" + form ).submit();
47
47
  }
48
48
  }
49
49
 
50
50
  function defineOrder( form, action, id ) {
51
- $( "#" + form ).attr( "action", action);
52
- $( "#cb" + id ).attr( "checked", true);
51
+ $( "#" + form ).prop( "action", action);
52
+ $( "#cb" + id ).prop( "checked", true);
53
53
  $( "#" + form ).submit();
54
54
  }
55
55
 
56
56
  function deleteSystemNotice() {
57
- $('#system_notice').fadeOut('slow', function() {
58
- $('#system_notice').remove();
59
- });
57
+ $('#system_notice').fadeOut('slow', function() {
58
+ $('#system_notice').remove();
59
+ });
60
60
  }
61
61
 
62
62
  // focus on the first text input field in the first field on the page
63
63
  function setFocusOnForm() {
64
- $(':input:enabled:visible:first', "div.filtros").focus();
64
+ $(':input:enabled:visible:first', "div.filtros").focus();
65
65
  $(':input:enabled:visible:first', "div.mdwa_new").focus();
66
66
  $(':input:enabled:visible:first', "div.mdwa_edit").focus();
67
67
  }
68
+
69
+ function loadDatepickers() {
70
+ $('.datepicker').datepicker();
71
+ }
@@ -0,0 +1,35 @@
1
+ $(document).ready(function() {
2
+ $(document).on('click', 'a.batch_update', function(event) {
3
+
4
+ event.preventDefault();
5
+
6
+ if( !confirm('Are you sure?') ) return false;
7
+
8
+ // seleciona os inputs checados
9
+ var input_container = $(this).attr('input_container');
10
+ if($(this).attr('input_container') == null) input_container = ''
11
+ if( $(input_container + ' input[type="checkbox"].cid:checked').length == 0 ) return false;
12
+
13
+ var ids = new Array();
14
+ $(input_container + ' input[type="checkbox"].cid:checked').each(function() {
15
+ ids.push($(this).val());
16
+ });
17
+
18
+ var url = $(this).attr('href');
19
+ var attribute = $(this).attr('attribute');
20
+ var value = $(this).attr('value');
21
+
22
+ $.ajax({
23
+ url: url,
24
+ type: 'POST',
25
+ dataType: 'script',
26
+ data: {
27
+ ids: ids,
28
+ attribute: attribute,
29
+ value: value
30
+ }
31
+ });
32
+
33
+ return false;
34
+ });
35
+ });
@@ -0,0 +1,14 @@
1
+ $(document).ready( function() {
2
+
3
+ $(document).on('click', 'a.export.xls', function() {
4
+ var form = '#' + $(this).attr('form');
5
+ var url = $(form).attr('action') + '.xls?';
6
+ $(form).find('input[type="text"], input[type="hidden"], input[type="email"], select').each(function(index) {
7
+ if(index != 0) url += '&';
8
+ url += $(this).attr('id') + '=' + $(this).val();
9
+ });
10
+ url += '&skip_pagination=1';
11
+ window.location = url;
12
+ });
13
+
14
+ });
@@ -1,8 +1,8 @@
1
- /*! jQuery UI - v1.10.0 - 2013-01-21
1
+ /*! jQuery UI - v1.10.3 - 2013-05-24
2
2
  * http://jqueryui.com
3
3
  * Includes: jquery.ui.core.css, jquery.ui.resizable.css, jquery.ui.selectable.css, jquery.ui.accordion.css, jquery.ui.autocomplete.css, jquery.ui.button.css, jquery.ui.datepicker.css, jquery.ui.dialog.css, jquery.ui.menu.css, jquery.ui.progressbar.css, jquery.ui.slider.css, jquery.ui.spinner.css, jquery.ui.tabs.css, jquery.ui.tooltip.css
4
- * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS%2CTahoma%2CVerdana%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=03_highlight_soft.png&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=02_glass.png&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=08_diagonals_thick.png&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=08_diagonals_thick.png&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=01_flat.png&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px
5
- * Copyright (c) 2013 jQuery Foundation and other contributors Licensed MIT */
4
+ * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Helvetica%2CArial%2Csans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=2px&bgColorHeader=dddddd&bgTextureHeader=highlight_soft&bgImgOpacityHeader=50&borderColorHeader=dddddd&fcHeader=444444&iconColorHeader=0073ea&bgColorContent=ffffff&bgTextureContent=flat&bgImgOpacityContent=75&borderColorContent=dddddd&fcContent=444444&iconColorContent=ff0084&bgColorDefault=f6f6f6&bgTextureDefault=highlight_soft&bgImgOpacityDefault=100&borderColorDefault=dddddd&fcDefault=0073ea&iconColorDefault=666666&bgColorHover=0073ea&bgTextureHover=highlight_soft&bgImgOpacityHover=25&borderColorHover=0073ea&fcHover=ffffff&iconColorHover=ffffff&bgColorActive=ffffff&bgTextureActive=glass&bgImgOpacityActive=65&borderColorActive=dddddd&fcActive=ff0084&iconColorActive=454545&bgColorHighlight=ffffff&bgTextureHighlight=flat&bgImgOpacityHighlight=55&borderColorHighlight=cccccc&fcHighlight=444444&iconColorHighlight=0073ea&bgColorError=ffffff&bgTextureError=flat&bgImgOpacityError=55&borderColorError=ff0084&fcError=222222&iconColorError=ff0084&bgColorOverlay=eeeeee&bgTextureOverlay=flat&bgImgOpacityOverlay=0&opacityOverlay=80&bgColorShadow=aaaaaa&bgTextureShadow=flat&bgImgOpacityShadow=0&opacityShadow=60&thicknessShadow=4px&offsetTopShadow=-4px&offsetLeftShadow=-4px&cornerRadiusShadow=0px
5
+ * Copyright 2013 jQuery Foundation and other contributors Licensed MIT */
6
6
 
7
7
  /* Layout helpers
8
8
  ----------------------------------*/
@@ -33,6 +33,7 @@
33
33
  .ui-helper-clearfix:after {
34
34
  content: "";
35
35
  display: table;
36
+ border-collapse: collapse;
36
37
  }
37
38
  .ui-helper-clearfix:after {
38
39
  clear: both;
@@ -538,6 +539,8 @@ button.ui-button::-moz-focus-inner {
538
539
  margin: 0;
539
540
  padding: 0;
540
541
  width: 100%;
542
+ /* support: IE10, see #8844 */
543
+ list-style-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7);
541
544
  }
542
545
  .ui-menu .ui-menu-divider {
543
546
  margin: 5px -2px 5px -2px;
@@ -600,7 +603,7 @@ button.ui-button::-moz-focus-inner {
600
603
  height: 100%;
601
604
  }
602
605
  .ui-progressbar .ui-progressbar-overlay {
603
- background: url("assets/mdwa/jquery-ui/animated-overlay.gif");
606
+ background: url(/assets/mdwa/jquery-ui/animated-overlay.gif);
604
607
  height: 100%;
605
608
  filter: alpha(opacity=25);
606
609
  opacity: 0.25;
@@ -740,7 +743,7 @@ button.ui-button::-moz-focus-inner {
740
743
  position: relative;
741
744
  top: 0;
742
745
  margin: 1px .2em 0 0;
743
- border-bottom: 0;
746
+ border-bottom-width: 0;
744
747
  padding: 0;
745
748
  white-space: nowrap;
746
749
  }
@@ -783,7 +786,7 @@ body .ui-tooltip {
783
786
  /* Component containers
784
787
  ----------------------------------*/
785
788
  .ui-widget {
786
- font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;
789
+ font-family: Helvetica,Arial,sans-serif;
787
790
  font-size: 1.1em;
788
791
  }
789
792
  .ui-widget .ui-widget {
@@ -793,25 +796,25 @@ body .ui-tooltip {
793
796
  .ui-widget select,
794
797
  .ui-widget textarea,
795
798
  .ui-widget button {
796
- font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;
799
+ font-family: Helvetica,Arial,sans-serif;
797
800
  font-size: 1em;
798
801
  }
799
802
  .ui-widget-content {
800
803
  border: 1px solid #dddddd;
801
- background: #eeeeee url(assets/mdwa/jquery-ui/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x;
802
- color: #333333;
804
+ background: #ffffff url(/assets/mdwa/jquery-ui/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x;
805
+ color: #444444;
803
806
  }
804
807
  .ui-widget-content a {
805
- color: #333333;
808
+ color: #444444;
806
809
  }
807
810
  .ui-widget-header {
808
- border: 1px solid #e78f08;
809
- background: #f6a828 url(assets/mdwa/jquery-ui/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x;
810
- color: #ffffff;
811
+ border: 1px solid #dddddd;
812
+ background: #dddddd url(/assets/mdwa/jquery-ui/ui-bg_highlight-soft_50_dddddd_1x100.png) 50% 50% repeat-x;
813
+ color: #444444;
811
814
  font-weight: bold;
812
815
  }
813
816
  .ui-widget-header a {
814
- color: #ffffff;
817
+ color: #444444;
815
818
  }
816
819
 
817
820
  /* Interaction states
@@ -819,15 +822,15 @@ body .ui-tooltip {
819
822
  .ui-state-default,
820
823
  .ui-widget-content .ui-state-default,
821
824
  .ui-widget-header .ui-state-default {
822
- border: 1px solid #cccccc;
823
- background: #f6f6f6 url(assets/mdwa/jquery-ui/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x;
825
+ border: 1px solid #dddddd;
826
+ background: #f6f6f6 url(/assets/mdwa/jquery-ui/ui-bg_highlight-soft_100_f6f6f6_1x100.png) 50% 50% repeat-x;
824
827
  font-weight: bold;
825
- color: #1c94c4;
828
+ color: #0073ea;
826
829
  }
827
830
  .ui-state-default a,
828
831
  .ui-state-default a:link,
829
832
  .ui-state-default a:visited {
830
- color: #1c94c4;
833
+ color: #0073ea;
831
834
  text-decoration: none;
832
835
  }
833
836
  .ui-state-hover,
@@ -836,30 +839,30 @@ body .ui-tooltip {
836
839
  .ui-state-focus,
837
840
  .ui-widget-content .ui-state-focus,
838
841
  .ui-widget-header .ui-state-focus {
839
- border: 1px solid #fbcb09;
840
- background: #fdf5ce url(assets/mdwa/jquery-ui/ui-bg_glass_100_fdf5ce_1x400.png) 50% 50% repeat-x;
842
+ border: 1px solid #0073ea;
843
+ background: #0073ea url(/assets/mdwa/jquery-ui/ui-bg_highlight-soft_25_0073ea_1x100.png) 50% 50% repeat-x;
841
844
  font-weight: bold;
842
- color: #c77405;
845
+ color: #ffffff;
843
846
  }
844
847
  .ui-state-hover a,
845
848
  .ui-state-hover a:hover,
846
849
  .ui-state-hover a:link,
847
850
  .ui-state-hover a:visited {
848
- color: #c77405;
851
+ color: #ffffff;
849
852
  text-decoration: none;
850
853
  }
851
854
  .ui-state-active,
852
855
  .ui-widget-content .ui-state-active,
853
856
  .ui-widget-header .ui-state-active {
854
- border: 1px solid #fbd850;
855
- background: #ffffff url(assets/mdwa/jquery-ui/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;
857
+ border: 1px solid #dddddd;
858
+ background: #ffffff url(/assets/mdwa/jquery-ui/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;
856
859
  font-weight: bold;
857
- color: #eb8f00;
860
+ color: #ff0084;
858
861
  }
859
862
  .ui-state-active a,
860
863
  .ui-state-active a:link,
861
864
  .ui-state-active a:visited {
862
- color: #eb8f00;
865
+ color: #ff0084;
863
866
  text-decoration: none;
864
867
  }
865
868
 
@@ -868,31 +871,31 @@ body .ui-tooltip {
868
871
  .ui-state-highlight,
869
872
  .ui-widget-content .ui-state-highlight,
870
873
  .ui-widget-header .ui-state-highlight {
871
- border: 1px solid #fed22f;
872
- background: #ffe45c url(assets/mdwa/jquery-ui/ui-bg_highlight-soft_75_ffe45c_1x100.png) 50% top repeat-x;
873
- color: #363636;
874
+ border: 1px solid #cccccc;
875
+ background: #ffffff url(/assets/mdwa/jquery-ui/ui-bg_flat_55_ffffff_40x100.png) 50% 50% repeat-x;
876
+ color: #444444;
874
877
  }
875
878
  .ui-state-highlight a,
876
879
  .ui-widget-content .ui-state-highlight a,
877
880
  .ui-widget-header .ui-state-highlight a {
878
- color: #363636;
881
+ color: #444444;
879
882
  }
880
883
  .ui-state-error,
881
884
  .ui-widget-content .ui-state-error,
882
885
  .ui-widget-header .ui-state-error {
883
- border: 1px solid #cd0a0a;
884
- background: #b81900 url(assets/mdwa/jquery-ui/ui-bg_diagonals-thick_18_b81900_40x40.png) 50% 50% repeat;
885
- color: #ffffff;
886
+ border: 1px solid #ff0084;
887
+ background: #ffffff url(/assets/mdwa/jquery-ui/ui-bg_flat_55_ffffff_40x100.png) 50% 50% repeat-x;
888
+ color: #222222;
886
889
  }
887
890
  .ui-state-error a,
888
891
  .ui-widget-content .ui-state-error a,
889
892
  .ui-widget-header .ui-state-error a {
890
- color: #ffffff;
893
+ color: #222222;
891
894
  }
892
895
  .ui-state-error-text,
893
896
  .ui-widget-content .ui-state-error-text,
894
897
  .ui-widget-header .ui-state-error-text {
895
- color: #ffffff;
898
+ color: #222222;
896
899
  }
897
900
  .ui-priority-primary,
898
901
  .ui-widget-content .ui-priority-primary,
@@ -924,34 +927,34 @@ body .ui-tooltip {
924
927
  .ui-icon {
925
928
  width: 16px;
926
929
  height: 16px;
927
- background-position: 16px 16px;
928
930
  }
929
931
  .ui-icon,
930
932
  .ui-widget-content .ui-icon {
931
- background-image: url(assets/mdwa/jquery-ui/ui-icons_222222_256x240.png);
933
+ background-image: url(/assets/mdwa/jquery-ui/ui-icons_ff0084_256x240.png);
932
934
  }
933
935
  .ui-widget-header .ui-icon {
934
- background-image: url(assets/mdwa/jquery-ui/ui-icons_ffffff_256x240.png);
936
+ background-image: url(/assets/mdwa/jquery-ui/ui-icons_0073ea_256x240.png);
935
937
  }
936
938
  .ui-state-default .ui-icon {
937
- background-image: url(assets/mdwa/jquery-ui/ui-icons_ef8c08_256x240.png);
939
+ background-image: url(/assets/mdwa/jquery-ui/ui-icons_666666_256x240.png);
938
940
  }
939
941
  .ui-state-hover .ui-icon,
940
942
  .ui-state-focus .ui-icon {
941
- background-image: url(assets/mdwa/jquery-ui/ui-icons_ef8c08_256x240.png);
943
+ background-image: url(/assets/mdwa/jquery-ui/ui-icons_ffffff_256x240.png);
942
944
  }
943
945
  .ui-state-active .ui-icon {
944
- background-image: url(assets/mdwa/jquery-ui/ui-icons_ef8c08_256x240.png);
946
+ background-image: url(/assets/mdwa/jquery-ui/ui-icons_454545_256x240.png);
945
947
  }
946
948
  .ui-state-highlight .ui-icon {
947
- background-image: url(assets/mdwa/jquery-ui/ui-icons_228ef1_256x240.png);
949
+ background-image: url(/assets/mdwa/jquery-ui/ui-icons_0073ea_256x240.png);
948
950
  }
949
951
  .ui-state-error .ui-icon,
950
952
  .ui-state-error-text .ui-icon {
951
- background-image: url(assets/mdwa/jquery-ui/ui-icons_ffd27a_256x240.png);
953
+ background-image: url(/assets/mdwa/jquery-ui/ui-icons_ff0084_256x240.png);
952
954
  }
953
955
 
954
956
  /* positioning */
957
+ .ui-icon-blank { background-position: 16px 16px; }
955
958
  .ui-icon-carat-1-n { background-position: 0 0; }
956
959
  .ui-icon-carat-1-ne { background-position: -16px 0; }
957
960
  .ui-icon-carat-1-e { background-position: -32px 0; }
@@ -1137,38 +1140,38 @@ body .ui-tooltip {
1137
1140
  .ui-corner-top,
1138
1141
  .ui-corner-left,
1139
1142
  .ui-corner-tl {
1140
- border-top-left-radius: 4px;
1143
+ border-top-left-radius: 2px;
1141
1144
  }
1142
1145
  .ui-corner-all,
1143
1146
  .ui-corner-top,
1144
1147
  .ui-corner-right,
1145
1148
  .ui-corner-tr {
1146
- border-top-right-radius: 4px;
1149
+ border-top-right-radius: 2px;
1147
1150
  }
1148
1151
  .ui-corner-all,
1149
1152
  .ui-corner-bottom,
1150
1153
  .ui-corner-left,
1151
1154
  .ui-corner-bl {
1152
- border-bottom-left-radius: 4px;
1155
+ border-bottom-left-radius: 2px;
1153
1156
  }
1154
1157
  .ui-corner-all,
1155
1158
  .ui-corner-bottom,
1156
1159
  .ui-corner-right,
1157
1160
  .ui-corner-br {
1158
- border-bottom-right-radius: 4px;
1161
+ border-bottom-right-radius: 2px;
1159
1162
  }
1160
1163
 
1161
1164
  /* Overlays */
1162
1165
  .ui-widget-overlay {
1163
- background: #666666 url(assets/mdwa/jquery-ui/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat;
1164
- opacity: .5;
1165
- filter: Alpha(Opacity=50);
1166
+ background: #eeeeee url(/assets/mdwa/jquery-ui/ui-bg_flat_0_eeeeee_40x100.png) 50% 50% repeat-x;
1167
+ opacity: .8;
1168
+ filter: Alpha(Opacity=80);
1166
1169
  }
1167
1170
  .ui-widget-shadow {
1168
- margin: -5px 0 0 -5px;
1169
- padding: 5px;
1170
- background: #000000 url(assets/mdwa/jquery-ui/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x;
1171
- opacity: .2;
1172
- filter: Alpha(Opacity=20);
1173
- border-radius: 5px;
1174
- }
1171
+ margin: -4px 0 0 -4px;
1172
+ padding: 4px;
1173
+ background: #aaaaaa url(/assets/mdwa/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png) 50% 50% repeat-x;
1174
+ opacity: .6;
1175
+ filter: Alpha(Opacity=60);
1176
+ border-radius: 0px;
1177
+ }