upgrade_surveyor 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (203) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +30 -0
  3. data/.rspec +1 -0
  4. data/.travis.yml +18 -0
  5. data/CHANGELOG.md +253 -0
  6. data/Gemfile +5 -0
  7. data/Gemfile.rails_version +25 -0
  8. data/MIT-LICENSE +20 -0
  9. data/README.md +164 -0
  10. data/Rakefile +65 -0
  11. data/app/controllers/surveyor_controller.rb +5 -0
  12. data/app/helpers/results_helper.rb +20 -0
  13. data/app/helpers/survey_form_builder.rb +37 -0
  14. data/app/helpers/surveyor_helper.rb +3 -0
  15. data/app/inputs/quiet_input.rb +5 -0
  16. data/app/inputs/surveyor_check_boxes_input.rb +35 -0
  17. data/app/inputs/surveyor_radio_input.rb +18 -0
  18. data/app/models/answer.rb +3 -0
  19. data/app/models/dependency.rb +3 -0
  20. data/app/models/dependency_condition.rb +3 -0
  21. data/app/models/permitted_params.rb +102 -0
  22. data/app/models/question.rb +3 -0
  23. data/app/models/question_group.rb +3 -0
  24. data/app/models/response.rb +4 -0
  25. data/app/models/response_set.rb +3 -0
  26. data/app/models/survey.rb +3 -0
  27. data/app/models/survey_section.rb +4 -0
  28. data/app/models/survey_translation.rb +4 -0
  29. data/app/models/validation.rb +3 -0
  30. data/app/models/validation_condition.rb +3 -0
  31. data/app/views/layouts/results.html.erb +13 -0
  32. data/app/views/layouts/surveyor_default.html.erb +12 -0
  33. data/app/views/partials/_answer.html.haml +25 -0
  34. data/app/views/partials/_dependents.html.haml +5 -0
  35. data/app/views/partials/_question.html.haml +28 -0
  36. data/app/views/partials/_question_group.html.haml +44 -0
  37. data/app/views/partials/_section.html.haml +12 -0
  38. data/app/views/partials/_section_menu.html.haml +12 -0
  39. data/app/views/surveyor/edit.html.haml +21 -0
  40. data/app/views/surveyor/export.json.rabl +85 -0
  41. data/app/views/surveyor/new.html.haml +24 -0
  42. data/app/views/surveyor/show.html.haml +74 -0
  43. data/app/views/surveyor/show.json.rabl +15 -0
  44. data/config/routes.rb +8 -0
  45. data/doc/REPRESENTATIONS.md +34 -0
  46. data/doc/api_id_schema.json +7 -0
  47. data/doc/question types.png +0 -0
  48. data/doc/response_set_schema.json +54 -0
  49. data/doc/surveyor question combinations.png +0 -0
  50. data/doc/surveyor reject or delete decision matrix.png +0 -0
  51. data/doc/surveyor_models.png +0 -0
  52. data/doc/surveyor_models2.png +0 -0
  53. data/doc/surveyor_timestamp_schema.json +9 -0
  54. data/lib/assets/images/surveyor/next.gif +0 -0
  55. data/lib/assets/images/surveyor/prev.gif +0 -0
  56. data/lib/assets/images/surveyor/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  57. data/lib/assets/images/surveyor/ui-bg_flat_75_ffffff_40x100.png +0 -0
  58. data/lib/assets/images/surveyor/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  59. data/lib/assets/images/surveyor/ui-bg_glass_65_ffffff_1x400.png +0 -0
  60. data/lib/assets/images/surveyor/ui-bg_glass_75_dadada_1x400.png +0 -0
  61. data/lib/assets/images/surveyor/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  62. data/lib/assets/images/surveyor/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  63. data/lib/assets/images/surveyor/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  64. data/lib/assets/images/surveyor/ui-icons_222222_256x240.png +0 -0
  65. data/lib/assets/images/surveyor/ui-icons_2e83ff_256x240.png +0 -0
  66. data/lib/assets/images/surveyor/ui-icons_454545_256x240.png +0 -0
  67. data/lib/assets/images/surveyor/ui-icons_888888_256x240.png +0 -0
  68. data/lib/assets/images/surveyor/ui-icons_cd0a0a_256x240.png +0 -0
  69. data/lib/assets/javascripts/surveyor/jquery-1.9.0.js +9555 -0
  70. data/lib/assets/javascripts/surveyor/jquery-ui-1.10.0.custom.js +14850 -0
  71. data/lib/assets/javascripts/surveyor/jquery-ui-timepicker-addon.js +1919 -0
  72. data/lib/assets/javascripts/surveyor/jquery.maskedinput.js +338 -0
  73. data/lib/assets/javascripts/surveyor/jquery.selectToUISlider.js +240 -0
  74. data/lib/assets/javascripts/surveyor/jquery.surveyor.js +154 -0
  75. data/lib/assets/stylesheets/surveyor/jquery-ui-1.10.0.custom.sass +1380 -0
  76. data/lib/assets/stylesheets/surveyor/jquery-ui-timepicker-addon.css +11 -0
  77. data/lib/assets/stylesheets/surveyor/reset.css +48 -0
  78. data/lib/assets/stylesheets/surveyor/results.css +125 -0
  79. data/lib/assets/stylesheets/surveyor/ui.slider.extras.css +110 -0
  80. data/lib/assets/stylesheets/surveyor.sass +132 -0
  81. data/lib/generators/surveyor/custom_generator.rb +18 -0
  82. data/lib/generators/surveyor/install_generator.rb +98 -0
  83. data/lib/generators/surveyor/templates/app/assets/javascripts/surveyor_all.js +6 -0
  84. data/lib/generators/surveyor/templates/app/assets/stylesheets/surveyor_all.css +9 -0
  85. data/lib/generators/surveyor/templates/app/controllers/surveyor_controller.rb +40 -0
  86. data/lib/generators/surveyor/templates/app/views/layouts/surveyor_custom.html.erb +13 -0
  87. data/lib/generators/surveyor/templates/config/locales/surveyor_en.yml +19 -0
  88. data/lib/generators/surveyor/templates/config/locales/surveyor_es.yml +19 -0
  89. data/lib/generators/surveyor/templates/config/locales/surveyor_he.yml +19 -0
  90. data/lib/generators/surveyor/templates/config/locales/surveyor_ko.yml +19 -0
  91. data/lib/generators/surveyor/templates/db/migrate/add_api_id_to_question_groups.rb +10 -0
  92. data/lib/generators/surveyor/templates/db/migrate/add_api_ids.rb +14 -0
  93. data/lib/generators/surveyor/templates/db/migrate/add_api_ids_to_response_sets_and_responses.rb +12 -0
  94. data/lib/generators/surveyor/templates/db/migrate/add_correct_answer_id_to_questions.rb +10 -0
  95. data/lib/generators/surveyor/templates/db/migrate/add_default_value_to_answers.rb +10 -0
  96. data/lib/generators/surveyor/templates/db/migrate/add_display_order_to_surveys.rb +10 -0
  97. data/lib/generators/surveyor/templates/db/migrate/add_display_type_to_answers.rb +14 -0
  98. data/lib/generators/surveyor/templates/db/migrate/add_index_to_response_sets.rb +10 -0
  99. data/lib/generators/surveyor/templates/db/migrate/add_index_to_surveys.rb +10 -0
  100. data/lib/generators/surveyor/templates/db/migrate/add_input_mask_attributes_to_answer.rb +12 -0
  101. data/lib/generators/surveyor/templates/db/migrate/add_section_id_to_responses.rb +12 -0
  102. data/lib/generators/surveyor/templates/db/migrate/add_unique_index_on_access_code_and_version_in_surveys.rb +10 -0
  103. data/lib/generators/surveyor/templates/db/migrate/add_unique_indicies.rb +18 -0
  104. data/lib/generators/surveyor/templates/db/migrate/add_version_to_surveys.rb +10 -0
  105. data/lib/generators/surveyor/templates/db/migrate/api_ids_must_be_unique.rb +23 -0
  106. data/lib/generators/surveyor/templates/db/migrate/create_answers.rb +38 -0
  107. data/lib/generators/surveyor/templates/db/migrate/create_dependencies.rb +23 -0
  108. data/lib/generators/surveyor/templates/db/migrate/create_dependency_conditions.rb +30 -0
  109. data/lib/generators/surveyor/templates/db/migrate/create_question_groups.rb +28 -0
  110. data/lib/generators/surveyor/templates/db/migrate/create_questions.rb +37 -0
  111. data/lib/generators/surveyor/templates/db/migrate/create_response_sets.rb +23 -0
  112. data/lib/generators/surveyor/templates/db/migrate/create_responses.rb +34 -0
  113. data/lib/generators/surveyor/templates/db/migrate/create_survey_sections.rb +30 -0
  114. data/lib/generators/surveyor/templates/db/migrate/create_survey_translations.rb +19 -0
  115. data/lib/generators/surveyor/templates/db/migrate/create_surveys.rb +32 -0
  116. data/lib/generators/surveyor/templates/db/migrate/create_validation_conditions.rb +33 -0
  117. data/lib/generators/surveyor/templates/db/migrate/create_validations.rb +21 -0
  118. data/lib/generators/surveyor/templates/db/migrate/drop_unique_index_on_access_code_in_surveys.rb +10 -0
  119. data/lib/generators/surveyor/templates/db/migrate/update_blank_api_ids_on_question_group.rb +22 -0
  120. data/lib/generators/surveyor/templates/db/migrate/update_blank_versions_on_surveys.rb +13 -0
  121. data/lib/generators/surveyor/templates/surveys/EXTENDING_SURVEYOR.md +52 -0
  122. data/lib/generators/surveyor/templates/surveys/MODIFYING_SURVEYOR.md +91 -0
  123. data/lib/generators/surveyor/templates/surveys/date_survey.rb +16 -0
  124. data/lib/generators/surveyor/templates/surveys/kitchen_sink_survey.rb +280 -0
  125. data/lib/generators/surveyor/templates/surveys/languages.rb +14 -0
  126. data/lib/generators/surveyor/templates/surveys/quiz.rb +11 -0
  127. data/lib/generators/surveyor/templates/surveys/translations/languages.es.yml +18 -0
  128. data/lib/generators/surveyor/templates/surveys/translations/languages.he.yml +18 -0
  129. data/lib/generators/surveyor/templates/surveys/translations/languages.ko.yml +18 -0
  130. data/lib/generators/surveyor/templates/vendor/assets/stylesheets/custom.sass +5 -0
  131. data/lib/surveyor/acts_as_response.rb +19 -0
  132. data/lib/surveyor/common.rb +59 -0
  133. data/lib/surveyor/engine.rb +15 -0
  134. data/lib/surveyor/helpers/formtastic_custom_input.rb +13 -0
  135. data/lib/surveyor/helpers/surveyor_helper_methods.rb +86 -0
  136. data/lib/surveyor/models/answer_methods.rb +76 -0
  137. data/lib/surveyor/models/dependency_condition_methods.rb +65 -0
  138. data/lib/surveyor/models/dependency_methods.rb +57 -0
  139. data/lib/surveyor/models/question_group_methods.rb +62 -0
  140. data/lib/surveyor/models/question_methods.rb +103 -0
  141. data/lib/surveyor/models/response_methods.rb +125 -0
  142. data/lib/surveyor/models/response_set_methods.rb +187 -0
  143. data/lib/surveyor/models/survey_methods.rb +95 -0
  144. data/lib/surveyor/models/survey_section_methods.rb +48 -0
  145. data/lib/surveyor/models/survey_translation_methods.rb +28 -0
  146. data/lib/surveyor/models/validation_condition_methods.rb +42 -0
  147. data/lib/surveyor/models/validation_methods.rb +41 -0
  148. data/lib/surveyor/mustache_context.rb +13 -0
  149. data/lib/surveyor/parser.rb +427 -0
  150. data/lib/surveyor/redcap_parser.rb +288 -0
  151. data/lib/surveyor/surveyor_controller_methods.rb +237 -0
  152. data/lib/surveyor/unparser.rb +161 -0
  153. data/lib/surveyor/version.rb +3 -0
  154. data/lib/surveyor.rb +13 -0
  155. data/lib/tasks/surveyor_tasks.rake +88 -0
  156. data/rails/init.rb +1 -0
  157. data/spec/controllers/surveyor_controller_spec.rb +304 -0
  158. data/spec/factories.rb +166 -0
  159. data/spec/features/ajax_spec.rb +205 -0
  160. data/spec/features/api_spec.rb +157 -0
  161. data/spec/features/duplicate_prevention_spec.rb +50 -0
  162. data/spec/features/translations_spec.rb +116 -0
  163. data/spec/features/ui_spec.rb +466 -0
  164. data/spec/fixtures/REDCapDemoDatabase_DataDictionary.csv +127 -0
  165. data/spec/fixtures/chinese_survey.rb +14 -0
  166. data/spec/fixtures/everything.rb +215 -0
  167. data/spec/fixtures/favorites-ish.rb +22 -0
  168. data/spec/fixtures/favorites.rb +22 -0
  169. data/spec/fixtures/feelings.rb +38 -0
  170. data/spec/fixtures/lifestyle.rb +55 -0
  171. data/spec/fixtures/numbers.rb +21 -0
  172. data/spec/fixtures/redcap_new_headers.csv +1 -0
  173. data/spec/fixtures/redcap_siblings.csv +1 -0
  174. data/spec/fixtures/redcap_whitespace.csv +1 -0
  175. data/spec/helpers/formtastic_custom_input_spec.rb +15 -0
  176. data/spec/helpers/surveyor_helper_spec.rb +114 -0
  177. data/spec/lib/common_spec.rb +37 -0
  178. data/spec/lib/parser_spec.rb +393 -0
  179. data/spec/lib/rake_kitchen_sink.rb +40 -0
  180. data/spec/lib/redcap_parser_spec.rb +129 -0
  181. data/spec/lib/tasks_spec.rake +26 -0
  182. data/spec/lib/unparser_spec.rb +126 -0
  183. data/spec/models/answer_spec.rb +144 -0
  184. data/spec/models/dependency_condition_spec.rb +428 -0
  185. data/spec/models/dependency_spec.rb +90 -0
  186. data/spec/models/question_group_spec.rb +66 -0
  187. data/spec/models/question_spec.rb +176 -0
  188. data/spec/models/response_set_spec.rb +447 -0
  189. data/spec/models/response_spec.rb +205 -0
  190. data/spec/models/survey_section_spec.rb +58 -0
  191. data/spec/models/survey_spec.rb +155 -0
  192. data/spec/models/validation_condition_spec.rb +98 -0
  193. data/spec/models/validation_spec.rb +64 -0
  194. data/spec/rcov.opts +2 -0
  195. data/spec/spec.opts +4 -0
  196. data/spec/spec_helper.rb +99 -0
  197. data/spec/support/shared.rb +5 -0
  198. data/spec/support/surveyor_api_helpers.rb +15 -0
  199. data/spec/support/surveyor_ui_helpers.rb +108 -0
  200. data/spec/support/wait_for_ajax.rb +11 -0
  201. data/surveyor.gemspec +40 -0
  202. data/switch.sh +53 -0
  203. metadata +510 -0
@@ -0,0 +1,154 @@
1
+ // Javascript UI for surveyor
2
+ jQuery(document).ready(function(){
3
+ // if(jQuery.browser.msie){
4
+ // // IE has trouble with the change event for form radio/checkbox elements - bind click instead
5
+ // jQuery("form#survey_form input[type=radio], form#survey_form [type=checkbox]").bind("click", function(){
6
+ // jQuery(this).parents("form").ajaxSubmit({dataType: 'json', success: successfulSave});
7
+ // });
8
+ // // IE fires the change event for all other (not radio/checkbox) elements of the form
9
+ // jQuery("form#survey_form *").not("input[type=radio], input[type=checkbox]").bind("change", function(){
10
+ // jQuery(this).parents("form").ajaxSubmit({dataType: 'json', success: successfulSave});
11
+ // });
12
+ // }else{
13
+ // // Other browsers just use the change event on the form
14
+
15
+ //
16
+ // Uncomment the following to use the jQuery Tools Datepicker (http://jquerytools.org/demos/dateinput/index.html)
17
+ // instead of the default jQuery UI Datepicker (http://jqueryui.com/demos/datepicker/)
18
+ //
19
+ // For a date input, i.e. using dateinput from jQuery tools, the value is not updated
20
+ // before the onChange or change event is fired, so we hang this in before the update is
21
+ // sent to the server and set the correct value from the dateinput object.
22
+ // jQuery('li.date input').change(function(){
23
+ // if ( $(this).data('dateinput') ) {
24
+ // var date_obj = $(this).data('dateinput').getValue();
25
+ // this.value = date_obj.getFullYear() + "-" + (date_obj.getMonth()+1) + "-" +
26
+ // date_obj.getDate() + " 00:00:00 UTC";
27
+ // }
28
+ // });
29
+ //
30
+ // $('li input.date').dateinput({
31
+ // format: 'dd mmm yyyy'
32
+ // });
33
+
34
+ // Default Datepicker uses jQuery UI Datepicker
35
+ jQuery("input[type='text'].datetime").datetimepicker({
36
+ showSecond: true,
37
+ showMillisec: false,
38
+ timeFormat: 'HH:mm:ss',
39
+ dateFormat: 'yy-mm-dd',
40
+ changeMonth: true,
41
+ changeYear: true
42
+ });
43
+ jQuery("li.date input").datepicker({
44
+ dateFormat: 'yy-mm-dd',
45
+ changeMonth: true,
46
+ changeYear: true
47
+ });
48
+ jQuery("input[type='text'].date").datepicker({
49
+ dateFormat: 'yy-mm-dd',
50
+ changeMonth: true,
51
+ changeYear: true
52
+ });
53
+ jQuery("input[type='text'].datepicker").datepicker({
54
+ dateFormat: 'yy-mm-dd',
55
+ changeMonth: true,
56
+ changeYear: true
57
+ });
58
+ jQuery("input[type='text'].time").timepicker({});
59
+
60
+ jQuery('.surveyor_check_boxes input[type=text]').change(function(){
61
+ var textValue = $(this).val()
62
+ if (textValue.length > 0) {
63
+ $(this).parent().children().has('input[type="checkbox"]')[0].children[0].checked = true;
64
+ }
65
+ });
66
+
67
+ jQuery('.surveyor_radio input[type=text]').change(function(){
68
+ var textValue = $(this).val()
69
+ if (textValue.length > 0) {
70
+ $(this).parent().children().has('input[type="radio"]')[0].children[0].checked = true;
71
+ }
72
+ });
73
+
74
+ jQuery("form#survey_form input, form#survey_form select, form#survey_form textarea").change(function(){
75
+ var elements = [$('[type="submit"]').parent(), $('[name="' + this.name +'"]').closest('li')];
76
+
77
+ question_data = $(this).parents('fieldset[id^="q_"],tr[id^="q_"]').
78
+ find("input, select, textarea").
79
+ add($("form#survey_form input[name='authenticity_token']")).
80
+ serialize();
81
+ $.ajax({
82
+ type: "PUT",
83
+ url: $(this).parents('form#survey_form').attr("action"),
84
+ data: question_data, dataType: 'json',
85
+ success: function(response) {
86
+ successfulSave(response);
87
+ }
88
+ });
89
+ });
90
+
91
+ // http://www.filamentgroup.com/lab/update_jquery_ui_slider_from_a_select_element_now_with_aria_support/
92
+ $('fieldset.q_slider select').each(function(i,e) {
93
+ $(e).selectToUISlider({"labelSrc": "text"}).hide()
94
+ });
95
+
96
+ // If javascript works, we don't need to show dependents from
97
+ // previous sections at the top of the page.
98
+ jQuery("#dependents").remove();
99
+
100
+ function successfulSave(responseText) {
101
+ // surveyor_controller returns a json object to show/hide elements
102
+ // e.g. {"hide":["question_12","question_13"],"show":["question_14"]}
103
+ jQuery.each(responseText.show, function(){ showElement(this) });
104
+ jQuery.each(responseText.hide, function(){ hideElement(this) });
105
+ return false;
106
+ }
107
+
108
+ function showElement(id){
109
+ group = id.match('^g_') ? true : false;
110
+ if (group) {
111
+ jQuery('#' + id).removeClass("g_hidden");
112
+ } else {
113
+ jQuery('#' + id).removeClass("q_hidden");
114
+ }
115
+ }
116
+
117
+ function hideElement(id){
118
+ group = id.match('^g_') ? true : false;
119
+ if (group) {
120
+ jQuery('#' + id).addClass("g_hidden");
121
+ } else {
122
+ jQuery('#' + id).addClass("q_hidden");
123
+ }
124
+ }
125
+
126
+ // is_exclusive checkboxes should disble sibling checkboxes
127
+ $('input.exclusive:checked').parents('fieldset[id^="q_"]').
128
+ find(':checkbox').
129
+ not(".exclusive").
130
+ attr('checked', false).
131
+ attr('disabled', true);
132
+
133
+ $('input.exclusive:checkbox').click(function(){
134
+ var e = $(this);
135
+ var others = e.parents('fieldset[id^="q_"]').find(':checkbox').not(e);
136
+ if(e.is(':checked')){
137
+ others.attr('checked', false).attr('disabled', 'disabled');
138
+ }else{
139
+ others.attr('disabled', false);
140
+ }
141
+ });
142
+
143
+ jQuery("input[data-input-mask]").each(function(i,e){
144
+ var inputMask = $(e).attr('data-input-mask');
145
+ var placeholder = $(e).attr('data-input-mask-placeholder');
146
+ var options = { placeholder: placeholder };
147
+ $(e).mask(inputMask, options);
148
+ });
149
+
150
+ // translations selection
151
+ $(".surveyor_language_selection").show();
152
+ $(".surveyor_language_selection select#locale").change(function(){ this.form.submit(); });
153
+
154
+ });
@@ -0,0 +1,1380 @@
1
+ /*! jQuery UI - v1.10.0 - 2013-01-17
2
+ ** http://jqueryui.com
3
+ ** Includes: jquery.ui.core.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.resizable.css, jquery.ui.selectable.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/
5
+ ** Copyright (c) 2013 jQuery Foundation and other contributors Licensed MIT
6
+
7
+ /* Layout helpers
8
+ *----------------------------------
9
+
10
+ .ui-helper-hidden
11
+ display: none
12
+
13
+ .ui-helper-hidden-accessible
14
+ border: 0
15
+ clip: rect(0 0 0 0)
16
+ height: 1px
17
+ margin: -1px
18
+ overflow: hidden
19
+ padding: 0
20
+ position: absolute
21
+ width: 1px
22
+
23
+ .ui-helper-reset
24
+ margin: 0
25
+ padding: 0
26
+ border: 0
27
+ outline: 0
28
+ line-height: 1.3
29
+ text-decoration: none
30
+ font-size: 100%
31
+ list-style: none
32
+
33
+ .ui-helper-clearfix
34
+ &:before
35
+ content: ""
36
+ display: table
37
+ &:after
38
+ content: ""
39
+ display: table
40
+ clear: both
41
+ min-height: 0
42
+ /* support: IE7
43
+
44
+ .ui-helper-zfix
45
+ width: 100%
46
+ height: 100%
47
+ top: 0
48
+ left: 0
49
+ position: absolute
50
+ opacity: 0
51
+ filter: Alpha(Opacity = 0)
52
+
53
+ .ui-front
54
+ z-index: 100
55
+
56
+ /* Interaction Cues
57
+ *----------------------------------
58
+
59
+ .ui-state-disabled
60
+ cursor: default !important
61
+
62
+ /* Icons
63
+ *----------------------------------
64
+
65
+ /* states and images
66
+
67
+ .ui-icon
68
+ display: block
69
+ text-indent: -99999px
70
+ overflow: hidden
71
+ background-repeat: no-repeat
72
+
73
+ /* Misc visuals
74
+ *----------------------------------
75
+
76
+ /* Overlays
77
+
78
+ .ui-widget-overlay
79
+ position: fixed
80
+ top: 0
81
+ left: 0
82
+ width: 100%
83
+ height: 100%
84
+
85
+ .ui-accordion
86
+ .ui-accordion-header
87
+ display: block
88
+ cursor: pointer
89
+ position: relative
90
+ margin-top: 2px
91
+ padding: .5em .5em .5em .7em
92
+ min-height: 0
93
+ /* support: IE7
94
+ .ui-accordion-icons
95
+ padding-left: 2.2em
96
+ .ui-accordion-noicons
97
+ padding-left: .7em
98
+ .ui-accordion-icons .ui-accordion-icons
99
+ padding-left: 2.2em
100
+ .ui-accordion-header .ui-accordion-header-icon
101
+ position: absolute
102
+ left: .5em
103
+ top: 50%
104
+ margin-top: -8px
105
+ .ui-accordion-content
106
+ padding: 1em 2.2em
107
+ border-top: 0
108
+ overflow: auto
109
+
110
+ .ui-autocomplete
111
+ position: absolute
112
+ top: 0
113
+ left: 0
114
+ cursor: default
115
+
116
+ .ui-button
117
+ display: inline-block
118
+ position: relative
119
+ padding: 0
120
+ line-height: normal
121
+ margin-right: .1em
122
+ cursor: pointer
123
+ vertical-align: middle
124
+ text-align: center
125
+ overflow: visible
126
+ /* removes extra width in IE
127
+ text-decoration: none
128
+ &:link, &:visited, &:hover, &:active
129
+ text-decoration: none
130
+
131
+ /* to make room for the icon, a width needs to be set here
132
+
133
+ .ui-button-icon-only
134
+ width: 2.2em
135
+
136
+ /* button elements seem to need a little more width
137
+
138
+ button.ui-button-icon-only
139
+ width: 2.4em
140
+
141
+ .ui-button-icons-only
142
+ width: 3.4em
143
+
144
+ button.ui-button-icons-only
145
+ width: 3.7em
146
+
147
+ /* button text element
148
+
149
+ .ui-button .ui-button-text
150
+ display: block
151
+ line-height: normal
152
+
153
+ .ui-button-text-only .ui-button-text
154
+ padding: .4em 1em
155
+
156
+ .ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text
157
+ padding: .4em
158
+ text-indent: -9999999px
159
+
160
+ .ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text
161
+ padding: .4em 1em .4em 2.1em
162
+
163
+ .ui-button-text-icon-secondary .ui-button-text
164
+ padding: .4em 2.1em .4em 1em
165
+
166
+ .ui-button-text-icons .ui-button-text
167
+ padding: .4em 2.1em .4em 1em
168
+ padding-left: 2.1em
169
+ padding-right: 2.1em
170
+
171
+ /* no icon support for input elements, provide padding by default
172
+
173
+ input.ui-button
174
+ padding: .4em 1em
175
+
176
+ /* button icon element(s)
177
+
178
+ .ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon
179
+ position: absolute
180
+ top: 50%
181
+ margin-top: -8px
182
+
183
+ .ui-button-icon-only .ui-icon
184
+ left: 50%
185
+ margin-left: -8px
186
+
187
+ .ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary
188
+ left: .5em
189
+
190
+ .ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary
191
+ right: .5em
192
+
193
+ /* button sets
194
+
195
+ .ui-buttonset
196
+ margin-right: 7px
197
+ .ui-button
198
+ margin-left: 0
199
+ margin-right: -0.3em
200
+
201
+ /* workarounds
202
+ /* reset extra padding in Firefox, see h5bp.com/l
203
+
204
+ input.ui-button::-moz-focus-inner, button.ui-button::-moz-focus-inner
205
+ border: 0
206
+ padding: 0
207
+
208
+ .ui-datepicker
209
+ width: 17em
210
+ padding: .2em .2em 0
211
+ display: none
212
+ .ui-datepicker-header
213
+ position: relative
214
+ padding: .2em 0
215
+ .ui-datepicker-prev, .ui-datepicker-next
216
+ position: absolute
217
+ top: 2px
218
+ width: 1.8em
219
+ height: 1.8em
220
+ .ui-datepicker-prev-hover, .ui-datepicker-next-hover
221
+ top: 1px
222
+ .ui-datepicker-prev
223
+ left: 2px
224
+ .ui-datepicker-next
225
+ right: 2px
226
+ .ui-datepicker-prev-hover
227
+ left: 1px
228
+ .ui-datepicker-next-hover
229
+ right: 1px
230
+ .ui-datepicker-prev span, .ui-datepicker-next span
231
+ display: block
232
+ position: absolute
233
+ left: 50%
234
+ margin-left: -8px
235
+ top: 50%
236
+ margin-top: -8px
237
+ .ui-datepicker-title
238
+ margin: 0 2.3em
239
+ line-height: 1.8em
240
+ text-align: center
241
+ select
242
+ font-size: 1em
243
+ margin: 1px 0
244
+ select
245
+ &.ui-datepicker-month-year
246
+ width: 100%
247
+ &.ui-datepicker-month, &.ui-datepicker-year
248
+ width: 49%
249
+ table
250
+ width: 100%
251
+ font-size: .9em
252
+ border-collapse: collapse
253
+ margin: 0 0 .4em
254
+ th
255
+ padding: .7em .3em
256
+ text-align: center
257
+ font-weight: bold
258
+ border: 0
259
+ td
260
+ border: 0
261
+ padding: 1px
262
+ span, a
263
+ display: block
264
+ padding: .2em
265
+ text-align: right
266
+ text-decoration: none
267
+ .ui-datepicker-buttonpane
268
+ background-image: none
269
+ margin: .7em 0 0 0
270
+ padding: 0 .2em
271
+ border-left: 0
272
+ border-right: 0
273
+ border-bottom: 0
274
+ button
275
+ float: right
276
+ margin: .5em .2em .4em
277
+ cursor: pointer
278
+ padding: .2em .6em .3em .6em
279
+ width: auto
280
+ overflow: visible
281
+ &.ui-datepicker-current
282
+ float: left
283
+ &.ui-datepicker-multi
284
+ width: auto
285
+
286
+ /* with multiple calendars
287
+
288
+ .ui-datepicker-multi .ui-datepicker-group
289
+ float: left
290
+ table
291
+ width: 95%
292
+ margin: 0 auto .4em
293
+
294
+ .ui-datepicker-multi-2 .ui-datepicker-group
295
+ width: 50%
296
+
297
+ .ui-datepicker-multi-3 .ui-datepicker-group
298
+ width: 33.3%
299
+
300
+ .ui-datepicker-multi-4 .ui-datepicker-group
301
+ width: 25%
302
+
303
+ .ui-datepicker-multi
304
+ .ui-datepicker-group-last .ui-datepicker-header, .ui-datepicker-group-middle .ui-datepicker-header
305
+ border-left-width: 0
306
+ .ui-datepicker-buttonpane
307
+ clear: left
308
+
309
+ .ui-datepicker-row-break
310
+ clear: both
311
+ width: 100%
312
+ font-size: 0
313
+
314
+ /* RTL support
315
+
316
+ .ui-datepicker-rtl
317
+ direction: rtl
318
+ .ui-datepicker-prev
319
+ right: 2px
320
+ left: auto
321
+ .ui-datepicker-next
322
+ left: 2px
323
+ right: auto
324
+ .ui-datepicker-prev:hover
325
+ right: 1px
326
+ left: auto
327
+ .ui-datepicker-next:hover
328
+ left: 1px
329
+ right: auto
330
+ .ui-datepicker-buttonpane
331
+ clear: right
332
+ button
333
+ float: left
334
+ &.ui-datepicker-current
335
+ float: right
336
+ .ui-datepicker-group
337
+ float: right
338
+ .ui-datepicker-group-last .ui-datepicker-header, .ui-datepicker-group-middle .ui-datepicker-header
339
+ border-right-width: 0
340
+ border-left-width: 1px
341
+
342
+ .ui-dialog
343
+ position: absolute
344
+ top: 0
345
+ left: 0
346
+ padding: .2em
347
+ outline: 0
348
+ .ui-dialog-titlebar
349
+ padding: .4em 1em
350
+ position: relative
351
+ .ui-dialog-title
352
+ float: left
353
+ margin: .1em 0
354
+ white-space: nowrap
355
+ width: 90%
356
+ overflow: hidden
357
+ text-overflow: ellipsis
358
+ .ui-dialog-titlebar-close
359
+ position: absolute
360
+ right: .3em
361
+ top: 50%
362
+ width: 21px
363
+ margin: -10px 0 0 0
364
+ padding: 1px
365
+ height: 20px
366
+ .ui-dialog-content
367
+ position: relative
368
+ border: 0
369
+ padding: .5em 1em
370
+ background: none
371
+ overflow: auto
372
+ .ui-dialog-buttonpane
373
+ text-align: left
374
+ border-width: 1px 0 0 0
375
+ background-image: none
376
+ margin-top: .5em
377
+ padding: .3em 1em .5em .4em
378
+ .ui-dialog-buttonset
379
+ float: right
380
+ button
381
+ margin: .5em .4em .5em 0
382
+ cursor: pointer
383
+ .ui-resizable-se
384
+ width: 12px
385
+ height: 12px
386
+ right: -5px
387
+ bottom: -5px
388
+ background-position: 16px 16px
389
+
390
+ .ui-draggable .ui-dialog-titlebar
391
+ cursor: move
392
+
393
+ .ui-menu
394
+ list-style: none
395
+ padding: 2px
396
+ margin: 0
397
+ display: block
398
+ outline: none
399
+ .ui-menu
400
+ margin-top: -3px
401
+ position: absolute
402
+ .ui-menu-item
403
+ margin: 0
404
+ padding: 0
405
+ width: 100%
406
+ .ui-menu-divider
407
+ margin: 5px -2px 5px -2px
408
+ height: 0
409
+ font-size: 0
410
+ line-height: 0
411
+ border-width: 1px 0 0 0
412
+ .ui-menu-item a
413
+ text-decoration: none
414
+ display: block
415
+ padding: 2px .4em
416
+ line-height: 1.5
417
+ min-height: 0
418
+ /* support: IE7
419
+ font-weight: normal
420
+ &.ui-state-focus, &.ui-state-active
421
+ font-weight: normal
422
+ margin: -1px
423
+ .ui-state-disabled
424
+ font-weight: normal
425
+ margin: .4em 0 .2em
426
+ line-height: 1.5
427
+ a
428
+ cursor: default
429
+
430
+ /* icon support
431
+
432
+ .ui-menu-icons
433
+ position: relative
434
+ .ui-menu-item a
435
+ position: relative
436
+ padding-left: 2em
437
+
438
+ /* left-aligned
439
+
440
+ .ui-menu
441
+ .ui-icon
442
+ position: absolute
443
+ top: .2em
444
+ left: .2em
445
+ .ui-menu-icon
446
+ position: static
447
+ float: right
448
+
449
+ /* right-aligned
450
+
451
+ .ui-progressbar
452
+ height: 2em
453
+ text-align: left
454
+ overflow: hidden
455
+ .ui-progressbar-value
456
+ margin: -1px
457
+ height: 100%
458
+ .ui-progressbar-overlay
459
+ background: asset-path('/images/animated-overlay.gif')
460
+ height: 100%
461
+ filter: alpha(opacity = 25)
462
+ opacity: 0.25
463
+
464
+ .ui-progressbar-indeterminate .ui-progressbar-value
465
+ background-image: none
466
+
467
+ .ui-resizable
468
+ position: relative
469
+
470
+ .ui-resizable-handle
471
+ position: absolute
472
+ font-size: 0.1px
473
+ display: block
474
+
475
+ .ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle
476
+ display: none
477
+
478
+ .ui-resizable-n
479
+ cursor: n-resize
480
+ height: 7px
481
+ width: 100%
482
+ top: -5px
483
+ left: 0
484
+
485
+ .ui-resizable-s
486
+ cursor: s-resize
487
+ height: 7px
488
+ width: 100%
489
+ bottom: -5px
490
+ left: 0
491
+
492
+ .ui-resizable-e
493
+ cursor: e-resize
494
+ width: 7px
495
+ right: -5px
496
+ top: 0
497
+ height: 100%
498
+
499
+ .ui-resizable-w
500
+ cursor: w-resize
501
+ width: 7px
502
+ left: -5px
503
+ top: 0
504
+ height: 100%
505
+
506
+ .ui-resizable-se
507
+ cursor: se-resize
508
+ width: 12px
509
+ height: 12px
510
+ right: 1px
511
+ bottom: 1px
512
+
513
+ .ui-resizable-sw
514
+ cursor: sw-resize
515
+ width: 9px
516
+ height: 9px
517
+ left: -5px
518
+ bottom: -5px
519
+
520
+ .ui-resizable-nw
521
+ cursor: nw-resize
522
+ width: 9px
523
+ height: 9px
524
+ left: -5px
525
+ top: -5px
526
+
527
+ .ui-resizable-ne
528
+ cursor: ne-resize
529
+ width: 9px
530
+ height: 9px
531
+ right: -5px
532
+ top: -5px
533
+
534
+ .ui-selectable-helper
535
+ position: absolute
536
+ z-index: 100
537
+ border: 1px dotted black
538
+
539
+ .ui-slider
540
+ position: relative
541
+ text-align: left
542
+ .ui-slider-handle
543
+ position: absolute
544
+ z-index: 2
545
+ width: 1.2em
546
+ height: 1.2em
547
+ cursor: default
548
+ .ui-slider-range
549
+ position: absolute
550
+ z-index: 1
551
+ font-size: .7em
552
+ display: block
553
+ border: 0
554
+ background-position: 0 0
555
+ &.ui-state-disabled
556
+ .ui-slider-handle, .ui-slider-range
557
+ filter: inherit
558
+
559
+ /* For IE8 - See #6727
560
+
561
+ .ui-slider-horizontal
562
+ height: .8em
563
+ .ui-slider-handle
564
+ top: -0.3em
565
+ margin-left: -0.6em
566
+ .ui-slider-range
567
+ top: 0
568
+ height: 100%
569
+ .ui-slider-range-min
570
+ left: 0
571
+ .ui-slider-range-max
572
+ right: 0
573
+
574
+ .ui-slider-vertical
575
+ width: .8em
576
+ height: 100px
577
+ .ui-slider-handle
578
+ left: -0.3em
579
+ margin-left: 0
580
+ margin-bottom: -0.6em
581
+ .ui-slider-range
582
+ left: 0
583
+ width: 100%
584
+ .ui-slider-range-min
585
+ bottom: 0
586
+ .ui-slider-range-max
587
+ top: 0
588
+
589
+ .ui-spinner
590
+ position: relative
591
+ display: inline-block
592
+ overflow: hidden
593
+ padding: 0
594
+ vertical-align: middle
595
+
596
+ .ui-spinner-input
597
+ border: none
598
+ background: none
599
+ color: inherit
600
+ padding: 0
601
+ margin: .2em 0
602
+ vertical-align: middle
603
+ margin-left: .4em
604
+ margin-right: 22px
605
+
606
+ .ui-spinner-button
607
+ width: 16px
608
+ height: 50%
609
+ font-size: .5em
610
+ padding: 0
611
+ margin: 0
612
+ text-align: center
613
+ position: absolute
614
+ cursor: default
615
+ display: block
616
+ overflow: hidden
617
+ right: 0
618
+
619
+ /* more specificity required here to overide default borders
620
+
621
+ .ui-spinner
622
+ a.ui-spinner-button
623
+ border-top: none
624
+ border-bottom: none
625
+ border-right: none
626
+ .ui-icon
627
+ position: absolute
628
+ margin-top: -8px
629
+ top: 50%
630
+ left: 0
631
+
632
+ /* vertical centre icon
633
+
634
+ .ui-spinner-up
635
+ top: 0
636
+
637
+ .ui-spinner-down
638
+ bottom: 0
639
+
640
+ /* TR overrides
641
+
642
+ .ui-spinner .ui-icon-triangle-1-s
643
+ /* need to fix icons sprite
644
+ background-position: -65px -16px
645
+
646
+ .ui-tabs
647
+ position: relative
648
+ /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed")
649
+ padding: .2em
650
+ .ui-tabs-nav
651
+ margin: 0
652
+ padding: .2em .2em 0
653
+ li
654
+ list-style: none
655
+ float: left
656
+ position: relative
657
+ top: 0
658
+ margin: 1px .2em 0 0
659
+ border-bottom: 0
660
+ padding: 0
661
+ white-space: nowrap
662
+ a
663
+ float: left
664
+ padding: .5em 1em
665
+ text-decoration: none
666
+ &.ui-tabs-active
667
+ margin-bottom: -1px
668
+ padding-bottom: 1px
669
+ a
670
+ cursor: text
671
+ &.ui-state-disabled a, &.ui-tabs-loading a
672
+ cursor: text
673
+ a
674
+ cursor: pointer
675
+
676
+ .ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a
677
+ cursor: pointer
678
+
679
+ .ui-tabs .ui-tabs-panel
680
+ display: block
681
+ border-width: 0
682
+ padding: 1em 1.4em
683
+ background: none
684
+
685
+ .ui-tooltip
686
+ padding: 8px
687
+ position: absolute
688
+ z-index: 9999
689
+ max-width: 300px
690
+ -webkit-box-shadow: 0 0 5px #aaa
691
+ box-shadow: 0 0 5px #aaa
692
+
693
+ body .ui-tooltip
694
+ border-width: 2px
695
+
696
+ /* Component containers
697
+ *----------------------------------
698
+
699
+ .ui-widget
700
+ font-family: Verdana,Arial,sans-serif
701
+ font-size: 1.1em
702
+ .ui-widget
703
+ font-size: 1em
704
+ input, select, textarea, button
705
+ font-family: Verdana,Arial,sans-serif
706
+ font-size: 1em
707
+
708
+ .ui-widget-content
709
+ border: 1px solid #aaaaaa
710
+ background: white asset-path('/images/ui-bg_flat_75_ffffff_40x100.png') 50% 50% repeat-x
711
+ color: #222222
712
+ a
713
+ color: #222222
714
+
715
+ .ui-widget-header
716
+ border: 1px solid #aaaaaa
717
+ background: #cccccc asset-path('/images/ui-bg_highlight-soft_75_cccccc_1x100.png') 50% 50% repeat-x
718
+ color: #222222
719
+ font-weight: bold
720
+ a
721
+ color: #222222
722
+
723
+ /* Interaction states
724
+ *----------------------------------
725
+
726
+ .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default
727
+ border: 1px solid #d3d3d3
728
+ background: #e6e6e6 asset-path('/images/ui-bg_glass_75_e6e6e6_1x400.png') 50% 50% repeat-x
729
+ font-weight: normal
730
+ color: #555555
731
+
732
+ .ui-state-default a
733
+ color: #555555
734
+ text-decoration: none
735
+ &:link, &:visited
736
+ color: #555555
737
+ text-decoration: none
738
+
739
+ .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus
740
+ border: 1px solid #999999
741
+ background: #dadada asset-path('/images/ui-bg_glass_75_dadada_1x400.png') 50% 50% repeat-x
742
+ font-weight: normal
743
+ color: #212121
744
+
745
+ .ui-state-hover a
746
+ color: #212121
747
+ text-decoration: none
748
+ &:hover, &:link, &:visited
749
+ color: #212121
750
+ text-decoration: none
751
+
752
+ .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active
753
+ border: 1px solid #aaaaaa
754
+ background: white asset-path('/images/ui-bg_glass_65_ffffff_1x400.png') 50% 50% repeat-x
755
+ font-weight: normal
756
+ color: #212121
757
+
758
+ .ui-state-active a
759
+ color: #212121
760
+ text-decoration: none
761
+ &:link, &:visited
762
+ color: #212121
763
+ text-decoration: none
764
+
765
+ /* Interaction Cues
766
+ *----------------------------------
767
+
768
+ .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight
769
+ border: 1px solid #fcefa1
770
+ background: #fbf9ee asset-path('/images/ui-bg_glass_55_fbf9ee_1x400.png') 50% 50% repeat-x
771
+ color: #363636
772
+
773
+ .ui-state-highlight a, .ui-widget-content .ui-state-highlight a, .ui-widget-header .ui-state-highlight a
774
+ color: #363636
775
+
776
+ .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error
777
+ border: 1px solid #cd0a0a
778
+ background: #fef1ec asset-path('/images/ui-bg_glass_95_fef1ec_1x400.png') 50% 50% repeat-x
779
+ color: #cd0a0a
780
+
781
+ .ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a, .ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text
782
+ color: #cd0a0a
783
+
784
+ .ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary
785
+ font-weight: bold
786
+
787
+ .ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary
788
+ opacity: .7
789
+ filter: Alpha(Opacity = 70)
790
+ font-weight: normal
791
+
792
+ .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled
793
+ opacity: .35
794
+ filter: Alpha(Opacity = 35)
795
+ background-image: none
796
+
797
+ .ui-state-disabled .ui-icon
798
+ filter: Alpha(Opacity = 35)
799
+ /* For IE8 - See #6059
800
+
801
+ /* Icons
802
+ *----------------------------------
803
+
804
+ /* states and images
805
+
806
+ .ui-icon
807
+ width: 16px
808
+ height: 16px
809
+ background-position: 16px 16px
810
+ background-image: asset-path('/images/ui-icons_222222_256x240.png')
811
+
812
+ .ui-widget-content .ui-icon, .ui-widget-header .ui-icon
813
+ background-image: asset-path('/images/ui-icons_222222_256x240.png')
814
+
815
+ .ui-state-default .ui-icon
816
+ background-image: asset-path('/images/ui-icons_888888_256x240.png')
817
+
818
+ .ui-state-hover .ui-icon, .ui-state-focus .ui-icon, .ui-state-active .ui-icon
819
+ background-image: asset-path('/images/ui-icons_454545_256x240.png')
820
+
821
+ .ui-state-highlight .ui-icon
822
+ background-image: asset-path('/images/ui-icons_2e83ff_256x240.png')
823
+
824
+ .ui-state-error .ui-icon, .ui-state-error-text .ui-icon
825
+ background-image: asset-path('/images/ui-icons_cd0a0a_256x240.png')
826
+
827
+ /* positioning
828
+
829
+ .ui-icon-carat-1-n
830
+ background-position: 0 0
831
+
832
+ .ui-icon-carat-1-ne
833
+ background-position: -16px 0
834
+
835
+ .ui-icon-carat-1-e
836
+ background-position: -32px 0
837
+
838
+ .ui-icon-carat-1-se
839
+ background-position: -48px 0
840
+
841
+ .ui-icon-carat-1-s
842
+ background-position: -64px 0
843
+
844
+ .ui-icon-carat-1-sw
845
+ background-position: -80px 0
846
+
847
+ .ui-icon-carat-1-w
848
+ background-position: -96px 0
849
+
850
+ .ui-icon-carat-1-nw
851
+ background-position: -112px 0
852
+
853
+ .ui-icon-carat-2-n-s
854
+ background-position: -128px 0
855
+
856
+ .ui-icon-carat-2-e-w
857
+ background-position: -144px 0
858
+
859
+ .ui-icon-triangle-1-n
860
+ background-position: 0 -16px
861
+
862
+ .ui-icon-triangle-1-ne
863
+ background-position: -16px -16px
864
+
865
+ .ui-icon-triangle-1-e
866
+ background-position: -32px -16px
867
+
868
+ .ui-icon-triangle-1-se
869
+ background-position: -48px -16px
870
+
871
+ .ui-icon-triangle-1-s
872
+ background-position: -64px -16px
873
+
874
+ .ui-icon-triangle-1-sw
875
+ background-position: -80px -16px
876
+
877
+ .ui-icon-triangle-1-w
878
+ background-position: -96px -16px
879
+
880
+ .ui-icon-triangle-1-nw
881
+ background-position: -112px -16px
882
+
883
+ .ui-icon-triangle-2-n-s
884
+ background-position: -128px -16px
885
+
886
+ .ui-icon-triangle-2-e-w
887
+ background-position: -144px -16px
888
+
889
+ .ui-icon-arrow-1-n
890
+ background-position: 0 -32px
891
+
892
+ .ui-icon-arrow-1-ne
893
+ background-position: -16px -32px
894
+
895
+ .ui-icon-arrow-1-e
896
+ background-position: -32px -32px
897
+
898
+ .ui-icon-arrow-1-se
899
+ background-position: -48px -32px
900
+
901
+ .ui-icon-arrow-1-s
902
+ background-position: -64px -32px
903
+
904
+ .ui-icon-arrow-1-sw
905
+ background-position: -80px -32px
906
+
907
+ .ui-icon-arrow-1-w
908
+ background-position: -96px -32px
909
+
910
+ .ui-icon-arrow-1-nw
911
+ background-position: -112px -32px
912
+
913
+ .ui-icon-arrow-2-n-s
914
+ background-position: -128px -32px
915
+
916
+ .ui-icon-arrow-2-ne-sw
917
+ background-position: -144px -32px
918
+
919
+ .ui-icon-arrow-2-e-w
920
+ background-position: -160px -32px
921
+
922
+ .ui-icon-arrow-2-se-nw
923
+ background-position: -176px -32px
924
+
925
+ .ui-icon-arrowstop-1-n
926
+ background-position: -192px -32px
927
+
928
+ .ui-icon-arrowstop-1-e
929
+ background-position: -208px -32px
930
+
931
+ .ui-icon-arrowstop-1-s
932
+ background-position: -224px -32px
933
+
934
+ .ui-icon-arrowstop-1-w
935
+ background-position: -240px -32px
936
+
937
+ .ui-icon-arrowthick-1-n
938
+ background-position: 0 -48px
939
+
940
+ .ui-icon-arrowthick-1-ne
941
+ background-position: -16px -48px
942
+
943
+ .ui-icon-arrowthick-1-e
944
+ background-position: -32px -48px
945
+
946
+ .ui-icon-arrowthick-1-se
947
+ background-position: -48px -48px
948
+
949
+ .ui-icon-arrowthick-1-s
950
+ background-position: -64px -48px
951
+
952
+ .ui-icon-arrowthick-1-sw
953
+ background-position: -80px -48px
954
+
955
+ .ui-icon-arrowthick-1-w
956
+ background-position: -96px -48px
957
+
958
+ .ui-icon-arrowthick-1-nw
959
+ background-position: -112px -48px
960
+
961
+ .ui-icon-arrowthick-2-n-s
962
+ background-position: -128px -48px
963
+
964
+ .ui-icon-arrowthick-2-ne-sw
965
+ background-position: -144px -48px
966
+
967
+ .ui-icon-arrowthick-2-e-w
968
+ background-position: -160px -48px
969
+
970
+ .ui-icon-arrowthick-2-se-nw
971
+ background-position: -176px -48px
972
+
973
+ .ui-icon-arrowthickstop-1-n
974
+ background-position: -192px -48px
975
+
976
+ .ui-icon-arrowthickstop-1-e
977
+ background-position: -208px -48px
978
+
979
+ .ui-icon-arrowthickstop-1-s
980
+ background-position: -224px -48px
981
+
982
+ .ui-icon-arrowthickstop-1-w
983
+ background-position: -240px -48px
984
+
985
+ .ui-icon-arrowreturnthick-1-w
986
+ background-position: 0 -64px
987
+
988
+ .ui-icon-arrowreturnthick-1-n
989
+ background-position: -16px -64px
990
+
991
+ .ui-icon-arrowreturnthick-1-e
992
+ background-position: -32px -64px
993
+
994
+ .ui-icon-arrowreturnthick-1-s
995
+ background-position: -48px -64px
996
+
997
+ .ui-icon-arrowreturn-1-w
998
+ background-position: -64px -64px
999
+
1000
+ .ui-icon-arrowreturn-1-n
1001
+ background-position: -80px -64px
1002
+
1003
+ .ui-icon-arrowreturn-1-e
1004
+ background-position: -96px -64px
1005
+
1006
+ .ui-icon-arrowreturn-1-s
1007
+ background-position: -112px -64px
1008
+
1009
+ .ui-icon-arrowrefresh-1-w
1010
+ background-position: -128px -64px
1011
+
1012
+ .ui-icon-arrowrefresh-1-n
1013
+ background-position: -144px -64px
1014
+
1015
+ .ui-icon-arrowrefresh-1-e
1016
+ background-position: -160px -64px
1017
+
1018
+ .ui-icon-arrowrefresh-1-s
1019
+ background-position: -176px -64px
1020
+
1021
+ .ui-icon-arrow-4
1022
+ background-position: 0 -80px
1023
+
1024
+ .ui-icon-arrow-4-diag
1025
+ background-position: -16px -80px
1026
+
1027
+ .ui-icon-extlink
1028
+ background-position: -32px -80px
1029
+
1030
+ .ui-icon-newwin
1031
+ background-position: -48px -80px
1032
+
1033
+ .ui-icon-refresh
1034
+ background-position: -64px -80px
1035
+
1036
+ .ui-icon-shuffle
1037
+ background-position: -80px -80px
1038
+
1039
+ .ui-icon-transfer-e-w
1040
+ background-position: -96px -80px
1041
+
1042
+ .ui-icon-transferthick-e-w
1043
+ background-position: -112px -80px
1044
+
1045
+ .ui-icon-folder-collapsed
1046
+ background-position: 0 -96px
1047
+
1048
+ .ui-icon-folder-open
1049
+ background-position: -16px -96px
1050
+
1051
+ .ui-icon-document
1052
+ background-position: -32px -96px
1053
+
1054
+ .ui-icon-document-b
1055
+ background-position: -48px -96px
1056
+
1057
+ .ui-icon-note
1058
+ background-position: -64px -96px
1059
+
1060
+ .ui-icon-mail-closed
1061
+ background-position: -80px -96px
1062
+
1063
+ .ui-icon-mail-open
1064
+ background-position: -96px -96px
1065
+
1066
+ .ui-icon-suitcase
1067
+ background-position: -112px -96px
1068
+
1069
+ .ui-icon-comment
1070
+ background-position: -128px -96px
1071
+
1072
+ .ui-icon-person
1073
+ background-position: -144px -96px
1074
+
1075
+ .ui-icon-print
1076
+ background-position: -160px -96px
1077
+
1078
+ .ui-icon-trash
1079
+ background-position: -176px -96px
1080
+
1081
+ .ui-icon-locked
1082
+ background-position: -192px -96px
1083
+
1084
+ .ui-icon-unlocked
1085
+ background-position: -208px -96px
1086
+
1087
+ .ui-icon-bookmark
1088
+ background-position: -224px -96px
1089
+
1090
+ .ui-icon-tag
1091
+ background-position: -240px -96px
1092
+
1093
+ .ui-icon-home
1094
+ background-position: 0 -112px
1095
+
1096
+ .ui-icon-flag
1097
+ background-position: -16px -112px
1098
+
1099
+ .ui-icon-calendar
1100
+ background-position: -32px -112px
1101
+
1102
+ .ui-icon-cart
1103
+ background-position: -48px -112px
1104
+
1105
+ .ui-icon-pencil
1106
+ background-position: -64px -112px
1107
+
1108
+ .ui-icon-clock
1109
+ background-position: -80px -112px
1110
+
1111
+ .ui-icon-disk
1112
+ background-position: -96px -112px
1113
+
1114
+ .ui-icon-calculator
1115
+ background-position: -112px -112px
1116
+
1117
+ .ui-icon-zoomin
1118
+ background-position: -128px -112px
1119
+
1120
+ .ui-icon-zoomout
1121
+ background-position: -144px -112px
1122
+
1123
+ .ui-icon-search
1124
+ background-position: -160px -112px
1125
+
1126
+ .ui-icon-wrench
1127
+ background-position: -176px -112px
1128
+
1129
+ .ui-icon-gear
1130
+ background-position: -192px -112px
1131
+
1132
+ .ui-icon-heart
1133
+ background-position: -208px -112px
1134
+
1135
+ .ui-icon-star
1136
+ background-position: -224px -112px
1137
+
1138
+ .ui-icon-link
1139
+ background-position: -240px -112px
1140
+
1141
+ .ui-icon-cancel
1142
+ background-position: 0 -128px
1143
+
1144
+ .ui-icon-plus
1145
+ background-position: -16px -128px
1146
+
1147
+ .ui-icon-plusthick
1148
+ background-position: -32px -128px
1149
+
1150
+ .ui-icon-minus
1151
+ background-position: -48px -128px
1152
+
1153
+ .ui-icon-minusthick
1154
+ background-position: -64px -128px
1155
+
1156
+ .ui-icon-close
1157
+ background-position: -80px -128px
1158
+
1159
+ .ui-icon-closethick
1160
+ background-position: -96px -128px
1161
+
1162
+ .ui-icon-key
1163
+ background-position: -112px -128px
1164
+
1165
+ .ui-icon-lightbulb
1166
+ background-position: -128px -128px
1167
+
1168
+ .ui-icon-scissors
1169
+ background-position: -144px -128px
1170
+
1171
+ .ui-icon-clipboard
1172
+ background-position: -160px -128px
1173
+
1174
+ .ui-icon-copy
1175
+ background-position: -176px -128px
1176
+
1177
+ .ui-icon-contact
1178
+ background-position: -192px -128px
1179
+
1180
+ .ui-icon-image
1181
+ background-position: -208px -128px
1182
+
1183
+ .ui-icon-video
1184
+ background-position: -224px -128px
1185
+
1186
+ .ui-icon-script
1187
+ background-position: -240px -128px
1188
+
1189
+ .ui-icon-alert
1190
+ background-position: 0 -144px
1191
+
1192
+ .ui-icon-info
1193
+ background-position: -16px -144px
1194
+
1195
+ .ui-icon-notice
1196
+ background-position: -32px -144px
1197
+
1198
+ .ui-icon-help
1199
+ background-position: -48px -144px
1200
+
1201
+ .ui-icon-check
1202
+ background-position: -64px -144px
1203
+
1204
+ .ui-icon-bullet
1205
+ background-position: -80px -144px
1206
+
1207
+ .ui-icon-radio-on
1208
+ background-position: -96px -144px
1209
+
1210
+ .ui-icon-radio-off
1211
+ background-position: -112px -144px
1212
+
1213
+ .ui-icon-pin-w
1214
+ background-position: -128px -144px
1215
+
1216
+ .ui-icon-pin-s
1217
+ background-position: -144px -144px
1218
+
1219
+ .ui-icon-play
1220
+ background-position: 0 -160px
1221
+
1222
+ .ui-icon-pause
1223
+ background-position: -16px -160px
1224
+
1225
+ .ui-icon-seek-next
1226
+ background-position: -32px -160px
1227
+
1228
+ .ui-icon-seek-prev
1229
+ background-position: -48px -160px
1230
+
1231
+ .ui-icon-seek-end
1232
+ background-position: -64px -160px
1233
+
1234
+ .ui-icon-seek-start, .ui-icon-seek-first
1235
+ background-position: -80px -160px
1236
+
1237
+ /* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead
1238
+
1239
+ .ui-icon-stop
1240
+ background-position: -96px -160px
1241
+
1242
+ .ui-icon-eject
1243
+ background-position: -112px -160px
1244
+
1245
+ .ui-icon-volume-off
1246
+ background-position: -128px -160px
1247
+
1248
+ .ui-icon-volume-on
1249
+ background-position: -144px -160px
1250
+
1251
+ .ui-icon-power
1252
+ background-position: 0 -176px
1253
+
1254
+ .ui-icon-signal-diag
1255
+ background-position: -16px -176px
1256
+
1257
+ .ui-icon-signal
1258
+ background-position: -32px -176px
1259
+
1260
+ .ui-icon-battery-0
1261
+ background-position: -48px -176px
1262
+
1263
+ .ui-icon-battery-1
1264
+ background-position: -64px -176px
1265
+
1266
+ .ui-icon-battery-2
1267
+ background-position: -80px -176px
1268
+
1269
+ .ui-icon-battery-3
1270
+ background-position: -96px -176px
1271
+
1272
+ .ui-icon-circle-plus
1273
+ background-position: 0 -192px
1274
+
1275
+ .ui-icon-circle-minus
1276
+ background-position: -16px -192px
1277
+
1278
+ .ui-icon-circle-close
1279
+ background-position: -32px -192px
1280
+
1281
+ .ui-icon-circle-triangle-e
1282
+ background-position: -48px -192px
1283
+
1284
+ .ui-icon-circle-triangle-s
1285
+ background-position: -64px -192px
1286
+
1287
+ .ui-icon-circle-triangle-w
1288
+ background-position: -80px -192px
1289
+
1290
+ .ui-icon-circle-triangle-n
1291
+ background-position: -96px -192px
1292
+
1293
+ .ui-icon-circle-arrow-e
1294
+ background-position: -112px -192px
1295
+
1296
+ .ui-icon-circle-arrow-s
1297
+ background-position: -128px -192px
1298
+
1299
+ .ui-icon-circle-arrow-w
1300
+ background-position: -144px -192px
1301
+
1302
+ .ui-icon-circle-arrow-n
1303
+ background-position: -160px -192px
1304
+
1305
+ .ui-icon-circle-zoomin
1306
+ background-position: -176px -192px
1307
+
1308
+ .ui-icon-circle-zoomout
1309
+ background-position: -192px -192px
1310
+
1311
+ .ui-icon-circle-check
1312
+ background-position: -208px -192px
1313
+
1314
+ .ui-icon-circlesmall-plus
1315
+ background-position: 0 -208px
1316
+
1317
+ .ui-icon-circlesmall-minus
1318
+ background-position: -16px -208px
1319
+
1320
+ .ui-icon-circlesmall-close
1321
+ background-position: -32px -208px
1322
+
1323
+ .ui-icon-squaresmall-plus
1324
+ background-position: -48px -208px
1325
+
1326
+ .ui-icon-squaresmall-minus
1327
+ background-position: -64px -208px
1328
+
1329
+ .ui-icon-squaresmall-close
1330
+ background-position: -80px -208px
1331
+
1332
+ .ui-icon-grip-dotted-vertical
1333
+ background-position: 0 -224px
1334
+
1335
+ .ui-icon-grip-dotted-horizontal
1336
+ background-position: -16px -224px
1337
+
1338
+ .ui-icon-grip-solid-vertical
1339
+ background-position: -32px -224px
1340
+
1341
+ .ui-icon-grip-solid-horizontal
1342
+ background-position: -48px -224px
1343
+
1344
+ .ui-icon-gripsmall-diagonal-se
1345
+ background-position: -64px -224px
1346
+
1347
+ .ui-icon-grip-diagonal-se
1348
+ background-position: -80px -224px
1349
+
1350
+ /* Misc visuals
1351
+ *----------------------------------
1352
+
1353
+ /* Corner radius
1354
+
1355
+ .ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl
1356
+ border-top-left-radius: 4px
1357
+
1358
+ .ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr
1359
+ border-top-right-radius: 4px
1360
+
1361
+ .ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl
1362
+ border-bottom-left-radius: 4px
1363
+
1364
+ .ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br
1365
+ border-bottom-right-radius: 4px
1366
+
1367
+ /* Overlays
1368
+
1369
+ .ui-widget-overlay
1370
+ background: #aaaaaa asset-path('/images/ui-bg_flat_0_aaaaaa_40x100.png') 50% 50% repeat-x
1371
+ opacity: .3
1372
+ filter: Alpha(Opacity = 30)
1373
+
1374
+ .ui-widget-shadow
1375
+ margin: -8px 0 0 -8px
1376
+ padding: 8px
1377
+ background: #aaaaaa asset-path('/images/ui-bg_flat_0_aaaaaa_40x100.png') 50% 50% repeat-x
1378
+ opacity: .3
1379
+ filter: Alpha(Opacity = 30)
1380
+ border-radius: 8px