smartkiosk-server 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (254) hide show
  1. data/.gitignore +32 -0
  2. data/.rspec +1 -0
  3. data/Capfile +4 -0
  4. data/Gemfile +71 -0
  5. data/Gemfile.lock +439 -0
  6. data/Guardfile +25 -0
  7. data/LICENSE +287 -0
  8. data/README.md +13 -0
  9. data/Rakefile +5 -0
  10. data/app/acquirers/cards_mkb_acquirer.rb +87 -0
  11. data/app/acquirers/cash_acquirer.rb +22 -0
  12. data/app/admin/agents.rb +108 -0
  13. data/app/admin/collections.rb +62 -0
  14. data/app/admin/commissions.rb +87 -0
  15. data/app/admin/gateways.rb +183 -0
  16. data/app/admin/limits.rb +82 -0
  17. data/app/admin/payments.rb +246 -0
  18. data/app/admin/provider_groups.rb +60 -0
  19. data/app/admin/provider_profiles.rb +11 -0
  20. data/app/admin/provider_receipt_templates.rb +82 -0
  21. data/app/admin/providers.rb +201 -0
  22. data/app/admin/rebates.rb +83 -0
  23. data/app/admin/report_results.rb +66 -0
  24. data/app/admin/report_templates.rb +209 -0
  25. data/app/admin/reports.rb +158 -0
  26. data/app/admin/revisions.rb +120 -0
  27. data/app/admin/system_receipt_templates.rb +76 -0
  28. data/app/admin/terminal_builds.rb +39 -0
  29. data/app/admin/terminal_profiles.rb +123 -0
  30. data/app/admin/terminals.rb +388 -0
  31. data/app/admin/users.rb +117 -0
  32. data/app/admin/versions.rb +131 -0
  33. data/app/admin/welcome.rb +64 -0
  34. data/app/assets/fonts/PT_Sans-Web-Bold.eot +0 -0
  35. data/app/assets/fonts/PT_Sans-Web-Bold.svg +6386 -0
  36. data/app/assets/fonts/PT_Sans-Web-Bold.ttf +0 -0
  37. data/app/assets/fonts/PT_Sans-Web-Bold.woff +0 -0
  38. data/app/assets/fonts/PT_Sans-Web-Regular.eot +0 -0
  39. data/app/assets/fonts/PT_Sans-Web-Regular.svg +5650 -0
  40. data/app/assets/fonts/PT_Sans-Web-Regular.ttf +0 -0
  41. data/app/assets/fonts/PT_Sans-Web-Regular.woff +0 -0
  42. data/app/assets/images/chosen-sprite.png +0 -0
  43. data/app/assets/javascripts/active_admin/chosen.js.erb.coffee +12 -0
  44. data/app/assets/javascripts/active_admin/qtip.js.coffee +22 -0
  45. data/app/assets/javascripts/active_admin/sortable_forms.js.coffee +14 -0
  46. data/app/assets/javascripts/active_admin.js.coffee +9 -0
  47. data/app/assets/javascripts/application.js +15 -0
  48. data/app/assets/javascripts/report_templates.js.coffee +10 -0
  49. data/app/assets/javascripts/terminals.js.coffee +12 -0
  50. data/app/assets/stylesheets/active_admin/PIE.css.scss +18 -0
  51. data/app/assets/stylesheets/active_admin/filter_numeric_range.css.scss +14 -0
  52. data/app/assets/stylesheets/active_admin/selectable_check_boxes.css.scss +12 -0
  53. data/app/assets/stylesheets/active_admin/sortable_forms.css.scss +11 -0
  54. data/app/assets/stylesheets/active_admin.css.scss +705 -0
  55. data/app/assets/stylesheets/fonts.css.scss +14 -0
  56. data/app/assets/stylesheets/provider_groups.css.scss +12 -0
  57. data/app/assets/stylesheets/provider_receipt_templates.css.scss +12 -0
  58. data/app/assets/stylesheets/terminals.css.scss +9 -0
  59. data/app/controllers/application_controller.rb +12 -0
  60. data/app/controllers/collections_controller.rb +10 -0
  61. data/app/controllers/payments_controller.rb +73 -0
  62. data/app/controllers/system_receipt_templates_controller.rb +10 -0
  63. data/app/controllers/terminal_builds_controller.rb +5 -0
  64. data/app/controllers/terminal_orders_controller.rb +25 -0
  65. data/app/controllers/terminal_pings_controller.rb +45 -0
  66. data/app/controllers/welcome_controller.rb +5 -0
  67. data/app/helpers/active_admin/report_templates_helper.rb +56 -0
  68. data/app/helpers/active_admin/views_helper.rb +20 -0
  69. data/app/helpers/application_helper.rb +2 -0
  70. data/app/mailers/.gitkeep +0 -0
  71. data/app/models/.gitkeep +0 -0
  72. data/app/models/ability.rb +30 -0
  73. data/app/models/agent.rb +24 -0
  74. data/app/models/collection.rb +65 -0
  75. data/app/models/commission.rb +77 -0
  76. data/app/models/commission_section.rb +75 -0
  77. data/app/models/gateway.rb +99 -0
  78. data/app/models/gateway_attachment.rb +9 -0
  79. data/app/models/gateway_setting.rb +7 -0
  80. data/app/models/gateway_switch.rb +7 -0
  81. data/app/models/limit.rb +77 -0
  82. data/app/models/limit_section.rb +58 -0
  83. data/app/models/payment.rb +322 -0
  84. data/app/models/provider.rb +59 -0
  85. data/app/models/provider_field.rb +7 -0
  86. data/app/models/provider_gateway.rb +47 -0
  87. data/app/models/provider_group.rb +45 -0
  88. data/app/models/provider_profile.rb +9 -0
  89. data/app/models/provider_rebate.rb +69 -0
  90. data/app/models/provider_receipt_template.rb +85 -0
  91. data/app/models/rebate.rb +84 -0
  92. data/app/models/report.rb +71 -0
  93. data/app/models/report_result.rb +11 -0
  94. data/app/models/report_template.rb +56 -0
  95. data/app/models/revision.rb +104 -0
  96. data/app/models/role.rb +48 -0
  97. data/app/models/system_receipt_template.rb +13 -0
  98. data/app/models/terminal.rb +126 -0
  99. data/app/models/terminal_build.rb +62 -0
  100. data/app/models/terminal_order.rb +42 -0
  101. data/app/models/terminal_ping.rb +120 -0
  102. data/app/models/terminal_profile.rb +51 -0
  103. data/app/models/terminal_profile_promotion.rb +18 -0
  104. data/app/models/terminal_profile_provider.rb +11 -0
  105. data/app/models/terminal_profile_provider_group.rb +19 -0
  106. data/app/models/user.rb +38 -0
  107. data/app/models/user_role.rb +45 -0
  108. data/app/reports/agents_report.rb +81 -0
  109. data/app/reports/collections_report.rb +151 -0
  110. data/app/reports/payments_report.rb +189 -0
  111. data/app/reports/terminals_report.rb +123 -0
  112. data/app/uploaders/file_uploader.rb +53 -0
  113. data/app/uploaders/icon_uploader.rb +15 -0
  114. data/app/uploaders/zip_uploader.rb +53 -0
  115. data/app/views/admin/gateways/providers.html.arb +10 -0
  116. data/app/views/admin/revisions/payments.html.arb +28 -0
  117. data/app/views/admin/terminal_profiles/_tree.html.haml +35 -0
  118. data/app/views/admin/terminal_profiles/sort.html.haml +21 -0
  119. data/app/views/admin/terminals/pings.html.arb +55 -0
  120. data/app/views/admin/terminals/upgrade_build.html.arb +30 -0
  121. data/app/views/layouts/application.html.erb +1 -0
  122. data/app/views/welcome/index.html.erb +25 -0
  123. data/app/workers/pay_worker.rb +11 -0
  124. data/app/workers/report_worker.rb +7 -0
  125. data/app/workers/revise_worker.rb +7 -0
  126. data/config/acquiring.yml +13 -0
  127. data/config/application.rb +75 -0
  128. data/config/boot.rb +6 -0
  129. data/config/database.yml +17 -0
  130. data/config/deploy/roundlake-passenger.rb +3 -0
  131. data/config/deploy/roundlake-trinidad.rb +3 -0
  132. data/config/deploy.rb +37 -0
  133. data/config/environment.rb +5 -0
  134. data/config/environments/development.rb +39 -0
  135. data/config/environments/production.rb +67 -0
  136. data/config/environments/test.rb +37 -0
  137. data/config/initializers/active_admin.rb +31 -0
  138. data/config/initializers/backtrace_silencers.rb +7 -0
  139. data/config/initializers/devise.rb +232 -0
  140. data/config/initializers/inflections.rb +15 -0
  141. data/config/initializers/mime_types.rb +5 -0
  142. data/config/initializers/money.rb +6 -0
  143. data/config/initializers/redis.rb +4 -0
  144. data/config/initializers/secret_token.rb +7 -0
  145. data/config/initializers/session_store.rb +8 -0
  146. data/config/initializers/setup_rack.rb +1 -0
  147. data/config/initializers/wrap_parameters.rb +14 -0
  148. data/config/locales/active_admin.ru.yml +71 -0
  149. data/config/locales/activerecord.ru.yml +645 -0
  150. data/config/locales/devise.ru.yml +57 -0
  151. data/config/locales/ru.yml +33 -0
  152. data/config/locales/smartkiosk.gateways.ru.yml +241 -0
  153. data/config/locales/smartkiosk.hardware.ru.yml +38 -0
  154. data/config/locales/smartkiosk.reports.ru.yml +56 -0
  155. data/config/locales/smartkiosk.ru.yml +163 -0
  156. data/config/nginx.conf +9 -0
  157. data/config/redis.yml +9 -0
  158. data/config/routes.rb +48 -0
  159. data/config/schedule.rb +13 -0
  160. data/config/sidekiq.yml +5 -0
  161. data/config/trinidad.yml +6 -0
  162. data/config.ru +4 -0
  163. data/db/migrate/20120825083035_create_terminals.rb +47 -0
  164. data/db/migrate/20120825083305_create_payments.rb +51 -0
  165. data/db/migrate/20120827062618_devise_create_users.rb +50 -0
  166. data/db/migrate/20120827132621_create_admin_notes.rb +17 -0
  167. data/db/migrate/20120827132622_move_admin_notes_to_comments.rb +25 -0
  168. data/db/migrate/20120903193346_create_providers.rb +24 -0
  169. data/db/migrate/20120922075345_create_collections.rb +26 -0
  170. data/db/migrate/20120922080440_create_agents.rb +29 -0
  171. data/db/migrate/20120922081104_create_commissions.rb +10 -0
  172. data/db/migrate/20120927035841_create_gateways.rb +13 -0
  173. data/db/migrate/20120927040626_create_provider_gateways.rb +13 -0
  174. data/db/migrate/20120927091849_create_limits.rb +10 -0
  175. data/db/migrate/20120927164647_create_roles.rb +14 -0
  176. data/db/migrate/20121003131522_create_report_templates.rb +18 -0
  177. data/db/migrate/20121007135652_create_reports.rb +13 -0
  178. data/db/migrate/20121008073905_create_report_results.rb +10 -0
  179. data/db/migrate/20121017114538_create_gateway_settings.rb +12 -0
  180. data/db/migrate/20121017114556_create_gateway_attachments.rb +10 -0
  181. data/db/migrate/20121019132606_create_revisions.rb +19 -0
  182. data/db/migrate/20121023073501_create_gateway_switches.rb +10 -0
  183. data/db/migrate/20121112142743_create_terminal_orders.rb +13 -0
  184. data/db/migrate/20121118191553_create_versions.rb +19 -0
  185. data/db/migrate/20121125093414_create_system_receipt_templates.rb +9 -0
  186. data/db/migrate/20121127192257_create_terminal_builds.rb +10 -0
  187. data/db/migrate/20121212053441_create_rebates.rb +15 -0
  188. data/db/migrate/20121216143855_create_provider_receipt_templates.rb +9 -0
  189. data/db/migrate/20130101091100_create_terminal_profiles.rb +13 -0
  190. data/db/migrate/20130101091734_create_provider_rebates.rb +21 -0
  191. data/db/migrate/20130102164447_create_limit_sections.rb +14 -0
  192. data/db/migrate/20130102164503_create_commission_sections.rb +17 -0
  193. data/db/migrate/20130102171743_create_provider_profiles.rb +10 -0
  194. data/db/migrate/20130103152507_create_provider_fields.rb +17 -0
  195. data/db/migrate/20130103154526_create_provider_groups.rb +10 -0
  196. data/db/migrate/20130104063628_create_terminal_profile_providers.rb +11 -0
  197. data/db/migrate/20130104090957_create_terminal_profile_provider_groups.rb +11 -0
  198. data/db/migrate/20130108091644_create_terminal_profile_promotions.rb +10 -0
  199. data/db/schema.rb +489 -0
  200. data/db/seeds/receipt_templates/payment.txt +19 -0
  201. data/db/seeds/receipt_templates/system/balance.txt +13 -0
  202. data/db/seeds/receipt_templates/system/collection.txt +17 -0
  203. data/db/seeds/receipt_templates/system/touchtest.txt +15 -0
  204. data/db/seeds.rb +18 -0
  205. data/doc/README_FOR_APP +2 -0
  206. data/init.rb +1 -0
  207. data/lib/active_admin/cancan_integration.rb +81 -0
  208. data/lib/active_admin/form_builder_fix.rb +76 -0
  209. data/lib/active_admin/inputs/filter_date_range_input_fix.rb +24 -0
  210. data/lib/active_admin/inputs/filter_multiple_select_input.rb +18 -0
  211. data/lib/active_admin/inputs/filter_numeric_range_input.rb +31 -0
  212. data/lib/active_admin/resource_controller_fix.rb +23 -0
  213. data/lib/active_admin/views/pages/base_fix.rb +13 -0
  214. data/lib/assets/.gitkeep +0 -0
  215. data/lib/blueprints.rb +79 -0
  216. data/lib/date_expander.rb +38 -0
  217. data/lib/dav4rack/build_resource.rb +59 -0
  218. data/lib/formtastic/inputs/selectable_check_boxes.rb +39 -0
  219. data/lib/paper_trail/version_fix.rb +3 -0
  220. data/lib/report_builder.rb +88 -0
  221. data/lib/seeder.rb +103 -0
  222. data/lib/smartkiosk/server/version.rb +5 -0
  223. data/lib/smartkiosk/server.rb +35 -0
  224. data/lib/string_file.rb +12 -0
  225. data/lib/tasks/.gitkeep +0 -0
  226. data/lib/tasks/db.rake +27 -0
  227. data/lib/tasks/dump.rake +53 -0
  228. data/lib/tasks/matrioshka.rake +16 -0
  229. data/log/.gitkeep +0 -0
  230. data/log/gateways/.gitkeep +0 -0
  231. data/public/404.html +26 -0
  232. data/public/422.html +26 -0
  233. data/public/500.html +25 -0
  234. data/public/robots.txt +5 -0
  235. data/script/rails +6 -0
  236. data/smartkiosk-server.gemspec +23 -0
  237. data/spec/controllers/collections_controller_spec.rb +32 -0
  238. data/spec/controllers/payments_controller_spec.rb +123 -0
  239. data/spec/controllers/system_receipt_templates_controller_spec.rb +5 -0
  240. data/spec/controllers/terminal_builds_controller_spec.rb +5 -0
  241. data/spec/controllers/terminal_orders_controller_spec.rb +32 -0
  242. data/spec/controllers/terminal_pings_controller_spec.rb +31 -0
  243. data/spec/spec_helper.rb +66 -0
  244. data/vendor/assets/javascripts/.gitkeep +0 -0
  245. data/vendor/assets/javascripts/chosen.jquery.js +1026 -0
  246. data/vendor/assets/javascripts/datepicker-ru.jquery.js +21 -0
  247. data/vendor/assets/javascripts/nestedSortable.jquery.js +429 -0
  248. data/vendor/assets/javascripts/qtip.jquery.js +3403 -0
  249. data/vendor/assets/stylesheets/.gitkeep +0 -0
  250. data/vendor/assets/stylesheets/chosen.jquery.css +397 -0
  251. data/vendor/assets/stylesheets/modules/PIE.htc +96 -0
  252. data/vendor/assets/stylesheets/qtip.jquery.css.scss +604 -0
  253. data/vendor/plugins/.gitkeep +0 -0
  254. metadata +333 -0
@@ -0,0 +1,705 @@
1
+ // SASS variable overrides must be declared before loading up Active Admin's styles.
2
+ //
3
+ // To view the variables that Active Admin provides, take a look at
4
+ // `app/assets/stylesheets/active_admin/mixins/_variables.css.scss` in the
5
+ // Active Admin source.
6
+ //
7
+ // For example, to change the sidebar width:
8
+ // $sidebar-width: 242px;
9
+
10
+ // Active Admin's got SASS!
11
+ @import "active_admin/mixins";
12
+ @import "active_admin/base";
13
+ @import "active_admin/PIE";
14
+ @import "active_admin/filter_numeric_range";
15
+ @import "active_admin/selectable_check_boxes";
16
+ @import "active_admin/sortable_forms";
17
+ @import "chosen.jquery";
18
+ @import "qtip.jquery";
19
+
20
+ @import "provider_receipt_templates";
21
+ @import "terminals";
22
+ @import "provider_groups";
23
+ @import "fonts";
24
+
25
+ body.active_admin {
26
+ font-family: 'PT_Sans-Web', Arial, sans-serif;
27
+
28
+ //
29
+ // COMMON
30
+ //
31
+ h1, h2, h3, h4, h5, h6 {
32
+ color: #414141;
33
+ }
34
+
35
+ //
36
+ // WRAPPER
37
+ //
38
+ #wrapper {
39
+ min-width: 1150px;
40
+ }
41
+
42
+ //
43
+ // HEADER
44
+ //
45
+ #header {
46
+ background: #a1789e;
47
+ background: -moz-linear-gradient(top, #a1789e 0%, #724d71 100%);
48
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a1789e), color-stop(100%,#724d71));
49
+ background: -webkit-linear-gradient(top, #a1789e 0%,#724d71 100%);
50
+ background: -o-linear-gradient(top, #a1789e 0%,#724d71 100%);
51
+ background: -ms-linear-gradient(top, #a1789e 0%,#724d71 100%);
52
+ background: linear-gradient(to bottom, #a1789e 0%,#724d71 100%);
53
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a1789e', endColorstr='#724d71',GradientType=0 );
54
+ border-bottom: none;
55
+ text-shadow: none;
56
+ height: 22px;
57
+ padding-left: 33px;
58
+ padding-right: 17px;
59
+
60
+ h1 {
61
+ color: #ffffff;
62
+ font-size: 1.69em;
63
+ padding: 0 0 0 23px;
64
+ margin-right: 12px;
65
+ background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAVCAYAAACg/AXsAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHR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-size: 1.2em;
74
+ margin-right: 8px;
75
+
76
+ a {
77
+ -webkit-border-radius: 5px;
78
+ -moz-border-radius: 5px;
79
+ border-radius: 5px;
80
+ padding: 4px 8px;
81
+ }
82
+
83
+ // Current
84
+ &.current, &:hover {
85
+ & > a {
86
+ background: #533750;
87
+ }
88
+ }
89
+
90
+ // Drop down
91
+ &.has_nested {
92
+ & > a, &.current > a {
93
+ background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAECAMAAAB1GNVPAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6ODcxNzhCQ0I1N0U5MTFFMjlGOUM4QjM1RkQyMUI1OUIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6ODcxNzhCQ0M1N0U5MTFFMjlGOUM4QjM1RkQyMUI1OUIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo4NzE3OEJDOTU3RTkxMUUyOUY5QzhCMzVGRDIxQjU5QiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo4NzE3OEJDQTU3RTkxMUUyOUY5QzhCMzVGRDIxQjU5QiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PvTWSf8AAAAGUExURf///////1V89WwAAAACdFJOU/8A5bcwSgAAABdJREFUeNpiYIACRijJCGIwgmgwBggwAACQAA3KWolpAAAAAElFTkSuQmCC) no-repeat scroll 93% 57%;
94
+ padding-right: 23px;
95
+ }
96
+
97
+ &.current > a {
98
+ background-color: #533750;
99
+ }
100
+
101
+ &:hover > a {
102
+ -webkit-border-radius: 0;
103
+ -moz-border-radius: 0;
104
+ border-radius: 0;
105
+ border-top-right-radius: 5px;
106
+ border-top-left-radius: 5px;
107
+ -moz-border-radius-topright: 5px;
108
+ -moz-border-radius-topleft: 5px;
109
+ -webkit-border-top-right-radius: 5px;
110
+ -webkit-border-top-left-radius: 5px;
111
+ border-bottom: 2px solid #533750;
112
+ background: #533750 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAECAMAAAB1GNVPAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMD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 -moz-border-radius-topright: 5px;
120
+ -webkit-border-top-right-radius: 5px;
121
+ border-top-left-radius: 0;
122
+ -moz-border-radius-topleft: 0;
123
+ -webkit-border-top-left-radius: 0;
124
+ border-bottom-right-radius: 5px;
125
+ -moz-border-radius-bottomright: 5px;
126
+ -webkit-border-bottom-right-radius: 5px;
127
+ border-bottom-left-radius: 5px;
128
+ -moz-border-radius-bottomleft: 5px;
129
+ -webkit-border-bottom-left-radius: 5px;
130
+ box-shadow: 1px 1px 7px rgba(8, 8, 8, 0.48);
131
+ -moz-box-shadow: 1px 1px 7px rgba(8, 8, 8, 0.48);
132
+ -webkit-box-shadow: 1px 1px 7px rgba(8, 8, 8, 0.48);
133
+ margin-top: 2px;
134
+ width: 172px;
135
+
136
+ & > li > a {
137
+ color: #d1b0cf;
138
+ }
139
+ }
140
+ }
141
+
142
+ #utility_nav {
143
+ color: #ffffff;
144
+ font-size: 1.18em;
145
+
146
+ a {
147
+ color: #d49fd1;
148
+ }
149
+ }
150
+ }
151
+
152
+ //
153
+ // TITLE BAR
154
+ //
155
+ #title_bar {
156
+ background: #f6f6f6;
157
+ background: -moz-linear-gradient(top, #f6f6f6 0%, #eaeaea 100%);
158
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f6f6f6), color-stop(100%,#eaeaea));
159
+ background: -webkit-linear-gradient(top, #f6f6f6 0%,#eaeaea 100%);
160
+ background: -o-linear-gradient(top, #f6f6f6 0%,#eaeaea 100%);
161
+ background: -ms-linear-gradient(top, #f6f6f6 0%,#eaeaea 100%);
162
+ background: linear-gradient(to bottom, #f6f6f6 0%,#eaeaea 100%);
163
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6f6f6', endColorstr='#eaeaea',GradientType=0 );
164
+ border: none;
165
+ -webkit-box-shadow: 0px 1px 5px rgba(8, 8, 8, 0.35);
166
+ -moz-box-shadow: 0px 1px 5px rgba(8, 8, 8, 0.35);
167
+ box-shadow: 0px 1px 5px rgba(8, 8, 8, 0.35);
168
+ padding: 11px 17px 11px 33px;
169
+
170
+ #titlebar_left {
171
+ width: 30% !important;
172
+ }
173
+
174
+ #titlebar_right {
175
+ width: 70% !important;
176
+ }
177
+
178
+ h2 {
179
+ font-weight: normal;
180
+ color: #835881;
181
+ text-shadow: none;
182
+ text-indent: -1px;
183
+ }
184
+
185
+ #titlebar_left {
186
+ width: 70%;
187
+ }
188
+
189
+ #titlebar_right {
190
+ width: 30%;
191
+ }
192
+ }
193
+
194
+ //
195
+ // TOOLS, SCOPES
196
+ //
197
+ .table_tools {
198
+ height: auto;
199
+ margin-bottom: 0;
200
+
201
+ & > .dropdown_menu > .dropdown_menu_button,
202
+ & > .table_tools_segmented_control {
203
+ margin-bottom: 23px;
204
+ }
205
+ }
206
+
207
+ .table_tools_segmented_control li {
208
+ &:first-child a {
209
+ border-top-left-radius: 5px;
210
+ border-bottom-left-radius: 5px;
211
+ }
212
+
213
+ &:last-child a {
214
+ border-top-right-radius: 5px;
215
+ border-bottom-right-radius: 5px;
216
+ }
217
+ }
218
+
219
+ .scopes li .count {
220
+ color: #b7b7b7;
221
+ font-size: 1em;
222
+ }
223
+
224
+ .dropdown_menu + .table_tools_segmented_control {
225
+ margin-left: 4px;
226
+ }
227
+
228
+ a.table_tools_button,
229
+ .table_tools .dropdown_menu_button {
230
+ font-family: 'PT_Sans-Web', Arial, sans-serif;
231
+ -webkit-border-radius: 5px;
232
+ -moz-border-radius: 5px;
233
+ border-radius: 5px;
234
+ font-size: 1.2em;
235
+ font-weight: normal;
236
+ color: #444444;
237
+ background: #fdfdfd;
238
+ background: -moz-linear-gradient(top, #fdfdfd 0%, #eeeeee 100%);
239
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fdfdfd), color-stop(100%,#eeeeee));
240
+ background: -webkit-linear-gradient(top, #fdfdfd 0%,#eeeeee 100%);
241
+ background: -o-linear-gradient(top, #fdfdfd 0%,#eeeeee 100%);
242
+ background: -ms-linear-gradient(top, #fdfdfd 0%,#eeeeee 100%);
243
+ background: linear-gradient(to bottom, #fdfdfd 0%,#eeeeee 100%);
244
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#eeeeee',GradientType=0 );
245
+ -webkit-box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.37) inset;
246
+ box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.37) inset;
247
+ border: 1px solid #cecece;
248
+ padding: 12px 12px 12px 15px;
249
+ }
250
+
251
+ .table_tools .dropdown_menu_button {
252
+ padding-right: 32px !important;
253
+ }
254
+
255
+ .dropdown_menu .dropdown_menu_button:after,
256
+ .dropdown_menu .dropdown_menu_button:before {
257
+ border-width: 5px 5px 0;
258
+ border-color: #444 transparent;
259
+ }
260
+
261
+ .dropdown_menu .dropdown_menu_list_wrapper .dropdown_menu_list li {
262
+ a:hover {
263
+ background: #a1789e;
264
+ background: -moz-linear-gradient(top, #a1789e 0%, #724d71 100%);
265
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a1789e), color-stop(100%,#724d71));
266
+ background: -webkit-linear-gradient(top, #a1789e 0%,#724d71 100%);
267
+ background: -o-linear-gradient(top, #a1789e 0%,#724d71 100%);
268
+ background: -ms-linear-gradient(top, #a1789e 0%,#724d71 100%);
269
+ background: linear-gradient(to bottom, #a1789e 0%,#724d71 100%);
270
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a1789e', endColorstr='#724d71',GradientType=0 );
271
+ }
272
+
273
+ a:active {
274
+ background: #724d71;
275
+ background: -moz-linear-gradient(top, #724d71 0%, #a1789e 100%);
276
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#724d71), color-stop(100%,#a1789e));
277
+ background: -webkit-linear-gradient(top, #724d71 0%,#a1789e 100%);
278
+ background: -o-linear-gradient(top, #724d71 0%,#a1789e 100%);
279
+ background: -ms-linear-gradient(top, #724d71 0%,#a1789e 100%);
280
+ background: linear-gradient(to bottom, #724d71 0%,#a1789e 100%);
281
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#724d71', endColorstr='#a1789e',GradientType=0 );
282
+ }
283
+ }
284
+
285
+ //
286
+ // CONTENT
287
+ //
288
+ #active_admin_content {
289
+ padding: 6px 17px 25px 33px;
290
+
291
+ #main_content > h2 {
292
+ margin: 12px 0 30px 0;
293
+ }
294
+ }
295
+
296
+ //
297
+ // CONTENT TABLE
298
+ //
299
+ th, td, caption {
300
+ padding: 7px 14px 7px 0px;
301
+ }
302
+
303
+ table.index_table {
304
+ tr {
305
+ &.even {
306
+ td {
307
+ background: #f9f6f9;
308
+ }
309
+ }
310
+
311
+ td {
312
+ color: #414141;
313
+ }
314
+
315
+ th {
316
+ background: #f9f6f9;
317
+ background: -moz-linear-gradient(top, #f9f6f9 0%, #f0edf0 100%);
318
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f6f9), color-stop(100%,#f0edf0));
319
+ background: -webkit-linear-gradient(top, #f9f6f9 0%,#f0edf0 100%);
320
+ background: -o-linear-gradient(top, #f9f6f9 0%,#f0edf0 100%);
321
+ background: -ms-linear-gradient(top, #f9f6f9 0%,#f0edf0 100%);
322
+ background: linear-gradient(to bottom, #f9f6f9 0%,#f0edf0 100%);
323
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9f6f9', endColorstr='#f0edf0',GradientType=0 );
324
+ -webkit-box-shadow: none;
325
+ box-shadow: none;
326
+ border: 1px solid #f3f3f3;
327
+ border-right: 1px solid #e0e0e0;
328
+ text-shadow: none;
329
+ font-size: 1.2em;
330
+ font-weight: normal;
331
+ color: #414141;
332
+ padding-top: 7px;
333
+ padding-bottom: 7px;
334
+
335
+ &:last-child {
336
+ border-right: 1px solid #f3f3f3;
337
+ }
338
+
339
+ &.sortable {
340
+ border-left: none;
341
+
342
+ a {
343
+ background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAKCAMAAABPErQ/AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWF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iA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PhPa+t0AAAAGUExURZlwl////0b14YQAAAACdFJOU/8A5bcwSgAAACRJREFUeNpiYGRkZIBgBgYQAaIYoCSYBQFwGi4OJeH6IBggwAAGQAAn00pOhQAAAABJRU5ErkJggg==) no-repeat scroll 0 4px;
344
+ }
345
+
346
+ &.sorted-asc {
347
+ a {
348
+ background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAECAMAAAB1GNVPAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MTdGOEY3RUI1ODE1MTFFMjlGOUM4QjM1RkQyMUI1OUIiIHhtcE1N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cC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6MDYwQkVBNjA1ODI4MTFFMjlGOUM4QjM1RkQyMUI1OUIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MDYwQkVBNjE1ODI4MTFFMjlGOUM4QjM1RkQyMUI1OUIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDowNjBCRUE1RTU4MjgxMUUyOUY5QzhCMzVGRDIxQjU5QiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDowNjBCRUE1RjU4MjgxMUUyOUY5QzhCMzVGRDIxQjU5QiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PrgwzYgAAAAGUExURZlwl////0b14YQAAAACdFJOU/8A5bcwSgAAABdJREFUeNpiYIACRijJCGIwgmgwBggwAACQAA3KWolpAAAAAElFTkSuQmCC) no-repeat scroll 0 7px;
355
+ }
356
+ }
357
+ }
358
+ }
359
+ }
360
+ }
361
+
362
+ //
363
+ // CONTENT TABLES WRAPPER
364
+ //
365
+ .attributes_table {
366
+ table {
367
+ th {
368
+ text-transform: none;
369
+ font-size: 1.2em;
370
+ color: #414141;
371
+ font-weight: normal;
372
+ width: 205px;
373
+ }
374
+
375
+ td {
376
+ font-size: 1.2em;
377
+ color: #414141;
378
+ }
379
+
380
+ th, td {
381
+ padding: 10px 1px;
382
+ border-bottom: 1px solid #ededed;
383
+ }
384
+
385
+ tr:last-child {
386
+ th, td {
387
+ border-bottom: none;
388
+ }
389
+ }
390
+ }
391
+ }
392
+
393
+ //
394
+ // PANEL, SECTION
395
+ //
396
+ .section,
397
+ .panel {
398
+ background: #f9f6f9;
399
+ -webkit-border-radius: 0;
400
+ -moz-border-radius: 0;
401
+ border-radius: 0;
402
+ box-shadow: none;
403
+ -moz-box-shadow: none;
404
+ -webkit-box-shadow: none;
405
+
406
+ & > h3 {
407
+ font-weight: normal;
408
+ font-size: 1.2em;
409
+ margin-bottom: 0 !important;
410
+ color: #414141;
411
+ padding: 8px 10px 8px 13px;
412
+ border: 1px solid #f3f3f3;
413
+ -webkit-box-shadow: none;
414
+ box-shadow: none;
415
+ text-shadow: none;
416
+ margin-bottom: 0.2em;
417
+ background: #f9f6f9;
418
+ background: -moz-linear-gradient(top, #f9f6f9 0%, #f0edf0 100%);
419
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f6f9), color-stop(100%,#f0edf0));
420
+ background: -webkit-linear-gradient(top, #f9f6f9 0%,#f0edf0 100%);
421
+ background: -o-linear-gradient(top, #f9f6f9 0%,#f0edf0 100%);
422
+ background: -ms-linear-gradient(top, #f9f6f9 0%,#f0edf0 100%);
423
+ background: linear-gradient(to bottom, #f9f6f9 0%,#f0edf0 100%);
424
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9f6f9', endColorstr='#f0edf0',GradientType=0 );
425
+ }
426
+ }
427
+
428
+ //
429
+ // SIDEBAR
430
+ //
431
+ .sidebar_section {
432
+ label {
433
+ text-transform: none;
434
+ color: #414141;
435
+ font-size: 1.2em;
436
+ font-weight: normal;
437
+ }
438
+
439
+ .panel_contents {
440
+ padding-top: 9px;
441
+ }
442
+ }
443
+
444
+ //
445
+ // MAIN CONTENT
446
+ //
447
+ #main_content {
448
+ .panel_contents {
449
+ padding-bottom: 10px;
450
+
451
+ & > table {
452
+ margin-bottom: 0;
453
+ }
454
+ }
455
+ }
456
+
457
+ //
458
+ // BUTTONS
459
+ //
460
+ #title_bar .action_items a,
461
+ form input[type="submit"],
462
+ a.button, a:link.button, a:visited.button {
463
+ font-family: 'PT_Sans-Web', Arial, sans-serif;
464
+ -webkit-border-radius: 5px;
465
+ -moz-border-radius: 5px;
466
+ border-radius: 5px;
467
+ background: #896587;
468
+ background: -moz-linear-gradient(top, #896587 0%, #714d6f 100%);
469
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#896587), color-stop(100%,#714d6f));
470
+ background: -webkit-linear-gradient(top, #896587 0%,#714d6f 100%);
471
+ background: -o-linear-gradient(top, #896587 0%,#714d6f 100%);
472
+ background: -ms-linear-gradient(top, #896587 0%,#714d6f 100%);
473
+ background: linear-gradient(to bottom, #896587 0%,#714d6f 100%);
474
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#896587', endColorstr='#714d6f',GradientType=0 );
475
+ border: 1px solid #7c547a !important;
476
+ -webkit-box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.37) inset;
477
+ box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.37) inset;
478
+ font-weight: bold;
479
+ color: #ffffff;
480
+ text-shadow: none;
481
+ font-size: 1.2em;
482
+
483
+ &:not(.disabled):hover {
484
+ background: #916e8f;
485
+ background: -moz-linear-gradient(top, #916e8f 0%, #735071 100%);
486
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#916e8f), color-stop(100%,#735071));
487
+ background: -webkit-linear-gradient(top, #916e8f 0%,#735071 100%);
488
+ background: -o-linear-gradient(top, #916e8f 0%,#735071 100%);
489
+ background: -ms-linear-gradient(top, #916e8f 0%,#735071 100%);
490
+ background: linear-gradient(to bottom, #916e8f 0%,#735071 100%);
491
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#916e8f', endColorstr='#735071',GradientType=0 );
492
+ border: 1px solid #7c547a;
493
+ }
494
+
495
+ &:not(.disabled):active {
496
+ background: #795077;
497
+ background: -moz-linear-gradient(top, #795077 0%, #664264 100%);
498
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#795077), color-stop(100%,#664264));
499
+ background: -webkit-linear-gradient(top, #795077 0%,#664264 100%);
500
+ background: -o-linear-gradient(top, #795077 0%,#664264 100%);
501
+ background: -ms-linear-gradient(top, #795077 0%,#664264 100%);
502
+ background: linear-gradient(to bottom, #795077 0%,#664264 100%);
503
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#795077', endColorstr='#664264',GradientType=0 );
504
+ border: 1px solid #7c547a;
505
+ }
506
+ }
507
+
508
+ #title_bar .action_items a {
509
+ padding: 11px 18px;
510
+ }
511
+
512
+ form input[type="submit"],
513
+ form.filter_form a.clear_filters_btn,
514
+ a.button, a:link.button, a:visited.button,
515
+ form fieldset.buttons li.cancel a,
516
+ form fieldset.actions li.cancel a {
517
+ padding: 4px 18px;
518
+ line-height: 20px;
519
+ }
520
+
521
+ form.filter_form a.clear_filters_btn,
522
+ form fieldset.buttons li.cancel a,
523
+ form fieldset.actions li.cancel a {
524
+ font-family: 'PT_Sans-Web', Arial, sans-serif;
525
+ -webkit-border-radius: 5px;
526
+ -moz-border-radius: 5px;
527
+ border-radius: 5px;
528
+ background: #f6f6f6;
529
+ background: -moz-linear-gradient(top, #f6f6f6 0%, #dedede 100%);
530
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f6f6f6), color-stop(100%,#dedede));
531
+ background: -webkit-linear-gradient(top, #f6f6f6 0%,#dedede 100%);
532
+ background: -o-linear-gradient(top, #f6f6f6 0%,#dedede 100%);
533
+ background: -ms-linear-gradient(top, #f6f6f6 0%,#dedede 100%);
534
+ background: linear-gradient(to bottom, #f6f6f6 0%,#dedede 100%);
535
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6f6f6', endColorstr='#dedede',GradientType=0 );
536
+ border: 1px solid #cecece;
537
+ -webkit-box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.37) inset;
538
+ box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.37) inset;
539
+ font-weight: bold;
540
+ color: #333333;
541
+ text-shadow: none;
542
+ font-size: 1.2em;
543
+ float: right;
544
+
545
+ &:not(.disabled):hover {
546
+ background: #fcfcfc;
547
+ background: -moz-linear-gradient(top, #fcfcfc 0%, #eaeaea 100%);
548
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fcfcfc), color-stop(100%,#eaeaea));
549
+ background: -webkit-linear-gradient(top, #fcfcfc 0%,#eaeaea 100%);
550
+ background: -o-linear-gradient(top, #fcfcfc 0%,#eaeaea 100%);
551
+ background: -ms-linear-gradient(top, #fcfcfc 0%,#eaeaea 100%);
552
+ background: linear-gradient(to bottom, #fcfcfc 0%,#eaeaea 100%);
553
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfcfc', endColorstr='#eaeaea',GradientType=0 );
554
+ border: 1px solid #cecece;
555
+ }
556
+
557
+ &:not(.disabled):active {
558
+ background: #e5e5e5;
559
+ background: -moz-linear-gradient(top, #e5e5e5 0%, #d3d3d3 100%);
560
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e5e5e5), color-stop(100%,#d3d3d3));
561
+ background: -webkit-linear-gradient(top, #e5e5e5 0%,#d3d3d3 100%);
562
+ background: -o-linear-gradient(top, #e5e5e5 0%,#d3d3d3 100%);
563
+ background: -ms-linear-gradient(top, #e5e5e5 0%,#d3d3d3 100%);
564
+ background: linear-gradient(to bottom, #e5e5e5 0%,#d3d3d3 100%);
565
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e5e5e5', endColorstr='#d3d3d3',GradientType=0 );
566
+ border: 1px solid #cecece;
567
+ }
568
+ }
569
+
570
+ //
571
+ // CHOSEN
572
+ //
573
+ .chzn-container .chzn-results .highlighted {
574
+ background: #a1789e;
575
+ background: -moz-linear-gradient(top, #a1789e 0%, #724d71 100%);
576
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a1789e), color-stop(100%,#724d71));
577
+ background: -webkit-linear-gradient(top, #a1789e 0%,#724d71 100%);
578
+ background: -o-linear-gradient(top, #a1789e 0%,#724d71 100%);
579
+ background: -ms-linear-gradient(top, #a1789e 0%,#724d71 100%);
580
+ background: linear-gradient(to bottom, #a1789e 0%,#724d71 100%);
581
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a1789e', endColorstr='#724d71',GradientType=0 );
582
+ }
583
+
584
+ //
585
+ // QTIP
586
+ //
587
+ .qtip-dark {
588
+ background-color: #533750;
589
+ border-color: #533750;
590
+ }
591
+
592
+ //
593
+ // FOOTER
594
+ //
595
+ #footer {
596
+ border-top: 1px solid #ededed;
597
+ font-size: 1.2em;
598
+ padding: 32px 30px;
599
+
600
+ p {
601
+ padding: 0;
602
+ margin: 0;
603
+ }
604
+ }
605
+
606
+ //
607
+ // INDEX
608
+ //
609
+ .index_as_table {
610
+ td.id {
611
+ font-weight: bold;
612
+ }
613
+ }
614
+
615
+ div.nowrap {
616
+ white-space: nowrap;
617
+ }
618
+
619
+ div.centered {
620
+ text-align: center
621
+ }
622
+
623
+ div.important {
624
+ font-weight: bold;
625
+ }
626
+
627
+ div.error {
628
+ color: red;
629
+
630
+ a {
631
+ color: rgb(212, 95, 83);
632
+ }
633
+ }
634
+
635
+ .status_tag.raw {
636
+ background-color: #F0F0F0;
637
+ color: black;
638
+ }
639
+
640
+ //
641
+ // DATEPICKER
642
+ //
643
+ .ui-datepicker {
644
+ z-index: 1000 !important;
645
+ }
646
+
647
+ //
648
+ // FORMS
649
+ //
650
+ p.inline-errors {
651
+ text-transform: none !important;
652
+ }
653
+
654
+ form {
655
+ ul.errors {
656
+ background: lighten($error-color, 60%);
657
+ @include rounded(4px);
658
+ color: $error-color;
659
+ font-weight: bold;
660
+ margin-bottom: 10px;
661
+ padding: 10px;
662
+ list-style:square;
663
+ li { margin-left:15px; padding:0; border:none; display:list-item; }
664
+ }
665
+
666
+ fieldset.inputs {
667
+ margin-bottom: 10px;
668
+ padding-top: 5px;
669
+
670
+ li.input {
671
+ padding: 5px 10px;
672
+ padding-left: 10px;
673
+
674
+ select {
675
+ width: 70%;
676
+ }
677
+
678
+ &.phone, &.email, &.string, &.number, &.text, &.password {
679
+ input, textarea {
680
+ width: 70%;
681
+ -webkit-box-sizing: border-box;
682
+ -moz-box-sizing: border-box;
683
+ box-sizing: border-box;
684
+ }
685
+ }
686
+
687
+ &.boolean {
688
+ padding-bottom: 10px;
689
+ }
690
+
691
+ &.hidden {
692
+ padding: 0px;
693
+ }
694
+ }
695
+
696
+ div.has_many {
697
+ padding-bottom: 10px;
698
+
699
+ fieldset.has_many_fields {
700
+ margin-bottom: 10px;
701
+ }
702
+ }
703
+ }
704
+ }
705
+ }