redde 0.1.18 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (362) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +2 -0
  3. data/.hound.yml +2 -0
  4. data/.rubocop.yml +19 -0
  5. data/.travis.yml +5 -4
  6. data/Gemfile +8 -5
  7. data/MIT-LICENSE +20 -0
  8. data/README.md +96 -105
  9. data/Rakefile +20 -1
  10. data/app/assets/fonts/redde-admin.eot +0 -0
  11. data/app/assets/fonts/redde-admin.svg +12 -0
  12. data/app/assets/fonts/redde-admin.ttf +0 -0
  13. data/app/assets/fonts/redde-admin.woff +0 -0
  14. data/app/assets/images/redde/close-hover.svg +4 -0
  15. data/app/assets/images/redde/close.svg +6 -0
  16. data/app/assets/images/redde/enter.svg +4 -0
  17. data/app/assets/images/redde/eye.svg +5 -0
  18. data/app/assets/images/redde/eye_disactive.svg +5 -0
  19. data/app/assets/images/redde/main-menu/cog.svg +8 -0
  20. data/app/assets/images/redde/main-menu/cog_active.svg +8 -0
  21. data/app/assets/images/redde/main-menu/folder.svg +4 -0
  22. data/app/assets/images/redde/main-menu/folder_active.svg +4 -0
  23. data/app/assets/images/redde/main-menu/home.svg +4 -0
  24. data/app/assets/images/redde/main-menu/home_active.svg +4 -0
  25. data/app/assets/images/redde/main-menu/list.svg +4 -0
  26. data/app/assets/images/redde/main-menu/list_active.svg +4 -0
  27. data/app/assets/images/redde/next.svg +7 -0
  28. data/app/assets/images/redde/plus.svg +3 -0
  29. data/app/assets/images/redde/sel.svg +6 -0
  30. data/app/assets/images/redde/user.svg +12 -0
  31. data/app/assets/javascripts/redde/fileapi.js.coffee +17 -0
  32. data/app/assets/javascripts/redde/index.js.coffee +12 -0
  33. data/app/assets/javascripts/redde/redactor/index.coffee +8 -0
  34. data/{lib/generators/redde/layout/templates/assets/redactor/javascripts/jquery-migrate-1.2.1.js → app/assets/javascripts/redde/redactor/jquery-migrate-1.3.0.js} +215 -34
  35. data/{lib/generators/redde/layout/templates/assets/redactor/javascripts → app/assets/javascripts/redde}/redactor/redactor.js.erb +250 -250
  36. data/app/assets/javascripts/redde/sortTree/index.js.coffee +47 -0
  37. data/app/assets/javascripts/redde/sortable.coffee +47 -0
  38. data/{spec/dummy/app/assets/stylesheets/admin → app/assets/stylesheets/redde}/blocks/error-msg.sass +4 -2
  39. data/app/assets/stylesheets/redde/blocks/flash-msg.sass +22 -0
  40. data/app/assets/stylesheets/redde/blocks/list-v2.sass +96 -0
  41. data/app/assets/stylesheets/redde/blocks/photos-uploader.sass +21 -0
  42. data/app/assets/stylesheets/redde/blocks/photos.sass +56 -0
  43. data/app/assets/stylesheets/redde/blocks/redde-form.sass +55 -0
  44. data/app/assets/stylesheets/redde/blocks/sort-tree.sass +46 -0
  45. data/app/assets/stylesheets/redde/defaults/btn.sass +30 -0
  46. data/app/assets/stylesheets/redde/defaults/del.sass +23 -0
  47. data/app/assets/stylesheets/redde/defaults/index.sass +87 -0
  48. data/app/assets/stylesheets/redde/defaults/inp.sass +20 -0
  49. data/app/assets/stylesheets/redde/defaults/reset.sass +25 -0
  50. data/app/assets/stylesheets/redde/defaults/sbm.sass +32 -0
  51. data/app/assets/stylesheets/redde/defaults/sel.sass +29 -0
  52. data/app/assets/stylesheets/redde/fonts.sass +42 -0
  53. data/app/assets/stylesheets/redde/index.scss +5 -0
  54. data/app/assets/stylesheets/redde/layouts/header.sass +63 -0
  55. data/app/assets/stylesheets/redde/layouts/main-menu.sass +63 -0
  56. data/app/assets/stylesheets/redde/layouts/main.sass +48 -0
  57. data/app/assets/stylesheets/redde/layouts/page-header.sass +34 -0
  58. data/app/assets/stylesheets/redde/layouts/page-sidebar.sass +9 -0
  59. data/app/assets/stylesheets/redde/mixins.sass +10 -0
  60. data/{spec/dummy/app/assets/stylesheets → app/assets/stylesheets/redde}/redactor/index.scss +46 -49
  61. data/app/assets/stylesheets/redde-admin/blocks/list-v2.sass +96 -0
  62. data/app/assets/stylesheets/redde-admin/defaults/del.sass +23 -0
  63. data/app/controllers/admin/base_controller.rb +81 -0
  64. data/{lib/generators/redde/layout/templates/controllers → app/controllers/admin}/managers_controller.rb +10 -6
  65. data/app/controllers/admin/redde_photos_controller.rb +31 -0
  66. data/app/controllers/admin/system_commands_controller.rb +11 -0
  67. data/app/form_builders/redde_form_builder.rb +106 -0
  68. data/app/helpers/redde/admin_helper.rb +33 -0
  69. data/app/helpers/redde/form_helper.rb +59 -0
  70. data/app/helpers/redde/index_helper.rb +61 -0
  71. data/{lib/redde/concerns/layout.rb → app/models/concerns/redde/layouts.rb} +1 -1
  72. data/app/models/concerns/redde/photoable.rb +5 -0
  73. data/{lib/redde/concerns → app/models/concerns/redde}/sluggable.rb +6 -3
  74. data/app/models/concerns/redde/tree_sortable.rb +40 -0
  75. data/{lib/redde/concerns → app/models/concerns/redde}/with_photo.rb +5 -5
  76. data/app/models/redde/photo.rb +16 -0
  77. data/app/models/redde/system_command.rb +43 -0
  78. data/{lib → app/models}/redde/url_generator.rb +7 -3
  79. data/{lib/generators/redde/photo/templates/uploader.rb → app/uploaders/photo_uploader.rb} +4 -4
  80. data/app/views/admin/base/_tree_item.html.haml +10 -0
  81. data/app/views/admin/base/edit.html.haml +21 -0
  82. data/app/views/admin/base/index.html.haml +68 -0
  83. data/app/views/admin/base/tree.html.haml +14 -0
  84. data/app/views/admin/managers/edit.html.haml +11 -0
  85. data/app/views/admin/managers/index.html.haml +17 -0
  86. data/{lib/generators/redde/layout/templates/base → app/views/admin/redde}/_header.html.haml +5 -6
  87. data/app/views/admin/redde/_main_menu.html.haml +12 -0
  88. data/app/views/admin/redde/_page_header.html.haml +3 -0
  89. data/app/views/admin/redde/_sidebar.html.haml +16 -0
  90. data/{lib/generators/redde/layout/templates/base → app/views/admin/redde}/_validate.haml +2 -2
  91. data/app/views/admin/redde_photos/_photo.haml +11 -0
  92. data/app/views/admin/redde_photos/_photos.haml +28 -0
  93. data/app/views/admin/system_commands/index.html.haml +25 -0
  94. data/app/views/kaminari/redde/_first_page.html.haml +9 -0
  95. data/app/views/kaminari/redde/_gap.html.haml +8 -0
  96. data/app/views/kaminari/redde/_last_page.html.haml +9 -0
  97. data/app/views/kaminari/redde/_next_page.html.haml +9 -0
  98. data/app/views/kaminari/redde/_page.html.haml +10 -0
  99. data/app/views/kaminari/redde/_paginator.html.haml +18 -0
  100. data/app/views/kaminari/redde/_prev_page.html.haml +9 -0
  101. data/{lib/generators/redde/layout/templates → app/views}/layouts/admin.html.haml +28 -29
  102. data/{lib/generators/redde/layout/templates → app/views}/layouts/login.html.haml +32 -32
  103. data/bin/rails +12 -0
  104. data/config/locales/paginate.ru.yml +9 -0
  105. data/config/routes.rb +8 -0
  106. data/db/migrate/20160121152706_create_redde_photos.rb +16 -0
  107. data/lib/generators/redde/layout/layout_generator.rb +3 -26
  108. data/lib/generators/redde/layout/templates/assets/javascripts/admin.js +1 -0
  109. data/lib/generators/redde/layout/templates/assets/stylesheets/admin.css +15 -0
  110. data/lib/generators/redde/scaffold/scaffold_generator.rb +45 -8
  111. data/lib/generators/redde/scaffold/templates/controllers/controller.rb +2 -45
  112. data/lib/generators/redde/scaffold/templates/edit.html.haml +4 -9
  113. data/lib/generators/redde/scaffold/templates/index.html.haml +2 -6
  114. data/lib/generators/redde/scaffold/templates/ru.yml +14 -0
  115. data/lib/redde/engine.rb +16 -0
  116. data/lib/redde/version.rb +1 -1
  117. data/lib/redde.rb +20 -4
  118. data/lib/tasks/redde_tasks.rake +4 -0
  119. data/redde.gemspec +44 -22
  120. metadata +482 -455
  121. data/Guardfile +0 -24
  122. data/LICIENSE.md +0 -21
  123. data/lib/generators/redde/layout/templates/assets/images/admin/del.png +0 -0
  124. data/lib/generators/redde/layout/templates/assets/images/admin/folder_.png +0 -0
  125. data/lib/generators/redde/layout/templates/assets/javascripts/admin/index.js +0 -20
  126. data/lib/generators/redde/layout/templates/assets/redactor/javascripts/redactor/index.coffee +0 -4
  127. data/lib/generators/redde/layout/templates/assets/redactor/stylesheets/redactor/index.scss +0 -369
  128. data/lib/generators/redde/layout/templates/assets/stylesheets/admin/blocks/error-msg.sass +0 -47
  129. data/lib/generators/redde/layout/templates/assets/stylesheets/admin/blocks/notice.scss +0 -39
  130. data/lib/generators/redde/layout/templates/assets/stylesheets/admin/blocks/photos.scss +0 -31
  131. data/lib/generators/redde/layout/templates/assets/stylesheets/admin/blocks/sortable.sass +0 -44
  132. data/lib/generators/redde/layout/templates/assets/stylesheets/admin/custom/index.scss +0 -1
  133. data/lib/generators/redde/layout/templates/assets/stylesheets/admin/defaults/index.scss +0 -131
  134. data/lib/generators/redde/layout/templates/assets/stylesheets/admin/defaults/input.sass +0 -35
  135. data/lib/generators/redde/layout/templates/assets/stylesheets/admin/defaults/reset.sass +0 -33
  136. data/lib/generators/redde/layout/templates/assets/stylesheets/admin/defaults/table.scss +0 -24
  137. data/lib/generators/redde/layout/templates/assets/stylesheets/admin/index.scss +0 -6
  138. data/lib/generators/redde/layout/templates/assets/stylesheets/admin/layouts/header.sass +0 -50
  139. data/lib/generators/redde/layout/templates/assets/stylesheets/admin/layouts/launchbar.sass +0 -23
  140. data/lib/generators/redde/layout/templates/assets/stylesheets/admin/layouts/main.sass +0 -38
  141. data/lib/generators/redde/layout/templates/assets/stylesheets/admin/layouts/page-header.sass +0 -22
  142. data/lib/generators/redde/layout/templates/assets/stylesheets/admin/layouts/page-sidebar.sass +0 -24
  143. data/lib/generators/redde/layout/templates/base/_launchbar.html.haml +0 -11
  144. data/lib/generators/redde/layout/templates/base/_sidebar.html.haml +0 -14
  145. data/lib/generators/redde/layout/templates/controllers/base_controller.rb +0 -28
  146. data/lib/generators/redde/layout/templates/form_builders/redde_form_builder.rb +0 -63
  147. data/lib/generators/redde/layout/templates/helpers/admin_helper.rb +0 -94
  148. data/lib/generators/redde/photo/photo_generator.rb +0 -35
  149. data/lib/generators/redde/photo/templates/controller.rb +0 -20
  150. data/lib/generators/redde/photo/templates/create_photos.rb +0 -16
  151. data/lib/generators/redde/photo/templates/photo.rb +0 -4
  152. data/lib/generators/redde/photo/templates/photos/_photo.haml +0 -5
  153. data/lib/generators/redde/photo/templates/photos/_photos.haml +0 -19
  154. data/lib/generators/redde/photo/templates/photos/create.js.erb +0 -1
  155. data/lib/redde/concerns/photoable.rb +0 -17
  156. data/spec/dummy/.rspec +0 -1
  157. data/spec/dummy/README.rdoc +0 -28
  158. data/spec/dummy/Rakefile +0 -6
  159. data/spec/dummy/app/assets/images/admin/addphoto.png +0 -0
  160. data/spec/dummy/app/assets/images/admin/ajaxloader2.gif +0 -0
  161. data/spec/dummy/app/assets/images/admin/arrow_down.png +0 -0
  162. data/spec/dummy/app/assets/images/admin/arrow_enter.png +0 -0
  163. data/spec/dummy/app/assets/images/admin/arrow_right.png +0 -0
  164. data/spec/dummy/app/assets/images/admin/coins.png +0 -0
  165. data/spec/dummy/app/assets/images/admin/confirm.png +0 -0
  166. data/spec/dummy/app/assets/images/admin/del.png +0 -0
  167. data/spec/dummy/app/assets/images/admin/delete.png +0 -0
  168. data/spec/dummy/app/assets/images/admin/email.png +0 -0
  169. data/spec/dummy/app/assets/images/admin/error-label-triangle.png +0 -0
  170. data/spec/dummy/app/assets/images/admin/error.png +0 -0
  171. data/spec/dummy/app/assets/images/admin/favicon.png +0 -0
  172. data/spec/dummy/app/assets/images/admin/fio.png +0 -0
  173. data/spec/dummy/app/assets/images/admin/folder.png +0 -0
  174. data/spec/dummy/app/assets/images/admin/folder_.png +0 -0
  175. data/spec/dummy/app/assets/images/admin/icon_eye.gif +0 -0
  176. data/spec/dummy/app/assets/images/admin/lightbox/css/jquery.lightbox-0.5.css +0 -101
  177. data/spec/dummy/app/assets/images/admin/lightbox/images/lightbox-blank.gif +0 -0
  178. data/spec/dummy/app/assets/images/admin/lightbox/images/lightbox-btn-close.gif +0 -0
  179. data/spec/dummy/app/assets/images/admin/lightbox/images/lightbox-btn-next.gif +0 -0
  180. data/spec/dummy/app/assets/images/admin/lightbox/images/lightbox-btn-prev.gif +0 -0
  181. data/spec/dummy/app/assets/images/admin/lightbox/images/lightbox-ico-loading.gif +0 -0
  182. data/spec/dummy/app/assets/images/admin/lightbox/js/jquery.js +0 -32
  183. data/spec/dummy/app/assets/images/admin/lightbox/js/jquery.lightbox-0.5.js +0 -477
  184. data/spec/dummy/app/assets/images/admin/lightbox/js/jquery.lightbox-0.5.min.js +0 -42
  185. data/spec/dummy/app/assets/images/admin/lightbox/js/jquery.lightbox-0.5.pack.js +0 -14
  186. data/spec/dummy/app/assets/images/admin/logo.png +0 -0
  187. data/spec/dummy/app/assets/images/admin/logo_reddeshop.png +0 -0
  188. data/spec/dummy/app/assets/images/admin/move_handler.png +0 -0
  189. data/spec/dummy/app/assets/images/admin/phone.png +0 -0
  190. data/spec/dummy/app/assets/images/admin/photo_ico.png +0 -0
  191. data/spec/dummy/app/assets/images/admin/print.png +0 -0
  192. data/spec/dummy/app/assets/images/admin/refresh.png +0 -0
  193. data/spec/dummy/app/assets/images/admin/submit.png +0 -0
  194. data/spec/dummy/app/assets/images/admin/submit_hover.png +0 -0
  195. data/spec/dummy/app/assets/images/admin/view.png +0 -0
  196. data/spec/dummy/app/assets/images/admin/view_mk.png +0 -0
  197. data/spec/dummy/app/assets/images/redactor/icons.png +0 -0
  198. data/spec/dummy/app/assets/images/redactor/plugins/file.html +0 -3
  199. data/spec/dummy/app/assets/images/redactor/plugins/image.html +0 -39
  200. data/spec/dummy/app/assets/images/redactor/plugins/image_edit.html +0 -35
  201. data/spec/dummy/app/assets/images/redactor/plugins/link.html +0 -74
  202. data/spec/dummy/app/assets/images/redactor/plugins/table.html +0 -25
  203. data/spec/dummy/app/assets/images/redactor/plugins/video.html +0 -15
  204. data/spec/dummy/app/assets/javascripts/admin/jquery.mjs.nestedSortable.js +0 -429
  205. data/spec/dummy/app/assets/javascripts/admin.js +0 -21
  206. data/spec/dummy/app/assets/javascripts/application.js +0 -14
  207. data/spec/dummy/app/assets/javascripts/jquery-migrate-1.2.1.js +0 -521
  208. data/spec/dummy/app/assets/javascripts/redactor/langs/en.js +0 -76
  209. data/spec/dummy/app/assets/javascripts/redactor/langs/ru.js +0 -75
  210. data/spec/dummy/app/assets/javascripts/redactor/redactor.js.erb +0 -2248
  211. data/spec/dummy/app/assets/javascripts/redactor/toolbars/default.js +0 -219
  212. data/spec/dummy/app/assets/stylesheets/admin/blocks/list.scss +0 -22
  213. data/spec/dummy/app/assets/stylesheets/admin/blocks/notice.scss +0 -39
  214. data/spec/dummy/app/assets/stylesheets/admin/blocks/orders.scss +0 -22
  215. data/spec/dummy/app/assets/stylesheets/admin/blocks/paginate.sass +0 -28
  216. data/spec/dummy/app/assets/stylesheets/admin/blocks/pagination.scss +0 -28
  217. data/spec/dummy/app/assets/stylesheets/admin/blocks/partners.scss +0 -15
  218. data/spec/dummy/app/assets/stylesheets/admin/blocks/phead-tabs.sass +0 -27
  219. data/spec/dummy/app/assets/stylesheets/admin/blocks/photos.scss +0 -31
  220. data/spec/dummy/app/assets/stylesheets/admin/blocks/sortable.sass +0 -44
  221. data/spec/dummy/app/assets/stylesheets/admin/custom/index.scss +0 -1
  222. data/spec/dummy/app/assets/stylesheets/admin/defaults/index.scss +0 -131
  223. data/spec/dummy/app/assets/stylesheets/admin/defaults/input.sass +0 -35
  224. data/spec/dummy/app/assets/stylesheets/admin/defaults/reset.sass +0 -33
  225. data/spec/dummy/app/assets/stylesheets/admin/defaults/table.scss +0 -24
  226. data/spec/dummy/app/assets/stylesheets/admin/index.scss +0 -6
  227. data/spec/dummy/app/assets/stylesheets/admin/layouts/header.sass +0 -50
  228. data/spec/dummy/app/assets/stylesheets/admin/layouts/launchbar.sass +0 -23
  229. data/spec/dummy/app/assets/stylesheets/admin/layouts/login.sass +0 -25
  230. data/spec/dummy/app/assets/stylesheets/admin/layouts/main.sass +0 -38
  231. data/spec/dummy/app/assets/stylesheets/admin/layouts/page-header.sass +0 -22
  232. data/spec/dummy/app/assets/stylesheets/admin/layouts/page-sidebar.sass +0 -24
  233. data/spec/dummy/app/assets/stylesheets/admin/layouts/sidebar.sass +0 -30
  234. data/spec/dummy/app/assets/stylesheets/admin/shop/_filter.scss +0 -16
  235. data/spec/dummy/app/assets/stylesheets/admin/shop/_order-sh.scss +0 -59
  236. data/spec/dummy/app/assets/stylesheets/admin/shop/_pe.scss +0 -43
  237. data/spec/dummy/app/assets/stylesheets/redactor/wym.css +0 -136
  238. data/spec/dummy/app/controllers/admin/base_controller.rb +0 -28
  239. data/spec/dummy/app/controllers/admin/managers_controller.rb +0 -36
  240. data/spec/dummy/app/controllers/application_controller.rb +0 -6
  241. data/spec/dummy/app/controllers/articles_controller.rb +0 -8
  242. data/spec/dummy/app/controllers/managers/registrations_controller.rb +0 -21
  243. data/spec/dummy/app/helpers/admin_helper.rb +0 -94
  244. data/spec/dummy/app/models/article.rb +0 -4
  245. data/spec/dummy/app/models/article_category.rb +0 -2
  246. data/spec/dummy/app/models/photo.rb +0 -3
  247. data/spec/dummy/app/views/admin/base/_header.html.haml +0 -12
  248. data/spec/dummy/app/views/admin/base/_launchbar.html.haml +0 -11
  249. data/spec/dummy/app/views/admin/base/_sidebar.html.haml +0 -14
  250. data/spec/dummy/app/views/admin/base/_validate.haml +0 -8
  251. data/spec/dummy/app/views/admin/base/welcome.haml +0 -2
  252. data/spec/dummy/app/views/admin/photos/_photo.haml +0 -5
  253. data/spec/dummy/app/views/admin/photos/_photos.haml +0 -19
  254. data/spec/dummy/app/views/admin/photos/create.js.erb +0 -1
  255. data/spec/dummy/app/views/admin/photos/destroy.js.erb +0 -1
  256. data/spec/dummy/app/views/articles/show.html.haml +0 -2
  257. data/spec/dummy/app/views/layouts/admin.html.haml +0 -29
  258. data/spec/dummy/app/views/layouts/application.html.erb +0 -15
  259. data/spec/dummy/app/views/layouts/login.html.haml +0 -32
  260. data/spec/dummy/bin/bundle +0 -3
  261. data/spec/dummy/bin/rails +0 -4
  262. data/spec/dummy/bin/rake +0 -4
  263. data/spec/dummy/config/application.rb +0 -33
  264. data/spec/dummy/config/boot.rb +0 -5
  265. data/spec/dummy/config/database.yml +0 -25
  266. data/spec/dummy/config/environment.rb +0 -5
  267. data/spec/dummy/config/environments/development.rb +0 -29
  268. data/spec/dummy/config/environments/production.rb +0 -80
  269. data/spec/dummy/config/environments/test.rb +0 -36
  270. data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  271. data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  272. data/spec/dummy/config/initializers/inflections.rb +0 -16
  273. data/spec/dummy/config/initializers/mime_types.rb +0 -5
  274. data/spec/dummy/config/initializers/secret_token.rb +0 -12
  275. data/spec/dummy/config/initializers/session_store.rb +0 -3
  276. data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
  277. data/spec/dummy/config/locales/en.yml +0 -36
  278. data/spec/dummy/config/routes.rb +0 -4
  279. data/spec/dummy/config.ru +0 -4
  280. data/spec/dummy/db/migrate/20130908123351_create_articles.rb +0 -9
  281. data/spec/dummy/db/migrate/20140128152208_create_article_categories.rb +0 -11
  282. data/spec/dummy/db/migrate/20140607122532_create_photos.rb +0 -16
  283. data/spec/dummy/db/schema.rb +0 -98
  284. data/spec/dummy/public/404.html +0 -58
  285. data/spec/dummy/public/422.html +0 -58
  286. data/spec/dummy/public/500.html +0 -57
  287. data/spec/dummy/public/favicon.ico +0 -0
  288. data/spec/generators/layout_generator_spec.rb +0 -42
  289. data/spec/generators/photo_generator_spec.rb +0 -32
  290. data/spec/generators/scaffold_generator_spec.rb +0 -58
  291. data/spec/models/sluggable_spec.rb +0 -42
  292. data/spec/models/url_generator_spec.rb +0 -18
  293. data/spec/models/with_photo_spec.rb +0 -25
  294. data/spec/spec_helper.rb +0 -52
  295. /data/{lib/generators/redde/layout/templates/assets/redactor → app/assets}/images/.keep +0 -0
  296. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/addphoto.png +0 -0
  297. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/ajaxloader2.gif +0 -0
  298. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/arrow_down.png +0 -0
  299. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/arrow_enter.png +0 -0
  300. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/arrow_right.png +0 -0
  301. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/coins.png +0 -0
  302. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/confirm.png +0 -0
  303. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/delete.png +0 -0
  304. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/email.png +0 -0
  305. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/error.png +0 -0
  306. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/favicon.png +0 -0
  307. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/fio.png +0 -0
  308. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/icon_eye.gif +0 -0
  309. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/lightbox/css/jquery.lightbox-0.5.css +0 -0
  310. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/lightbox/images/lightbox-blank.gif +0 -0
  311. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/lightbox/images/lightbox-btn-close.gif +0 -0
  312. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/lightbox/images/lightbox-btn-next.gif +0 -0
  313. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/lightbox/images/lightbox-btn-prev.gif +0 -0
  314. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/lightbox/images/lightbox-ico-loading.gif +0 -0
  315. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/lightbox/js/jquery.js +0 -0
  316. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/lightbox/js/jquery.lightbox-0.5.js +0 -0
  317. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/lightbox/js/jquery.lightbox-0.5.min.js +0 -0
  318. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/lightbox/js/jquery.lightbox-0.5.pack.js +0 -0
  319. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/logo_reddeshop.png +0 -0
  320. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/phone.png +0 -0
  321. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/photo_ico.png +0 -0
  322. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/print.png +0 -0
  323. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/refresh.png +0 -0
  324. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/submit.png +0 -0
  325. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/submit_hover.png +0 -0
  326. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/view.png +0 -0
  327. /data/{lib/generators/redde/layout/templates → app}/assets/images/admin/view_mk.png +0 -0
  328. /data/{lib/generators/redde/layout/templates/assets/images/admin → app/assets/images/redde}/error-label-triangle.png +0 -0
  329. /data/{lib/generators/redde/layout/templates/assets/images/admin → app/assets/images/redde}/folder.png +0 -0
  330. /data/{lib/generators/redde/layout/templates/assets/images/admin → app/assets/images/redde}/logo.png +0 -0
  331. /data/{lib/generators/redde/layout/templates/assets/images/admin/move_handler.png → app/assets/images/redde/move-handler.png} +0 -0
  332. /data/{lib/generators/redde/layout/templates/assets/redactor/images → app/assets/images/redde}/redactor/icons.png +0 -0
  333. /data/{lib/generators/redde/layout/templates/assets/redactor/images → app/assets/images/redde}/redactor/plugins/file.html +0 -0
  334. /data/{lib/generators/redde/layout/templates/assets/redactor/images → app/assets/images/redde}/redactor/plugins/image.html +0 -0
  335. /data/{lib/generators/redde/layout/templates/assets/redactor/images → app/assets/images/redde}/redactor/plugins/image_edit.html +0 -0
  336. /data/{lib/generators/redde/layout/templates/assets/redactor/images → app/assets/images/redde}/redactor/plugins/link.html +0 -0
  337. /data/{lib/generators/redde/layout/templates/assets/redactor/images → app/assets/images/redde}/redactor/plugins/table.html +0 -0
  338. /data/{lib/generators/redde/layout/templates/assets/redactor/images → app/assets/images/redde}/redactor/plugins/video.html +0 -0
  339. /data/{lib/generators/redde/layout/templates/assets/redactor/javascripts → app/assets/javascripts/redde}/redactor/langs/en.js +0 -0
  340. /data/{lib/generators/redde/layout/templates/assets/redactor/javascripts → app/assets/javascripts/redde}/redactor/langs/ru.js +0 -0
  341. /data/{lib/generators/redde/layout/templates/assets/redactor/javascripts → app/assets/javascripts/redde}/redactor/toolbars/default.js +0 -0
  342. /data/{lib/generators/redde/layout/templates/assets/javascripts/admin → app/assets/javascripts/redde/sortTree}/jquery.mjs.nestedSortable.js +0 -0
  343. /data/{lib/generators/redde/layout/templates/assets/stylesheets/admin → app/assets/stylesheets/redde}/blocks/list.scss +0 -0
  344. /data/{lib/generators/redde/layout/templates/assets/stylesheets/admin → app/assets/stylesheets/redde}/blocks/orders.scss +0 -0
  345. /data/{lib/generators/redde/layout/templates/assets/stylesheets/admin → app/assets/stylesheets/redde}/blocks/paginate.sass +0 -0
  346. /data/{lib/generators/redde/layout/templates/assets/stylesheets/admin → app/assets/stylesheets/redde}/blocks/pagination.scss +0 -0
  347. /data/{lib/generators/redde/layout/templates/assets/stylesheets/admin → app/assets/stylesheets/redde}/blocks/partners.scss +0 -0
  348. /data/{lib/generators/redde/layout/templates/assets/stylesheets/admin → app/assets/stylesheets/redde}/blocks/phead-tabs.sass +0 -0
  349. /data/{lib/generators/redde/layout/templates/assets/stylesheets/admin → app/assets/stylesheets/redde}/layouts/login.sass +0 -0
  350. /data/{lib/generators/redde/layout/templates/assets/stylesheets/admin → app/assets/stylesheets/redde}/layouts/sidebar.sass +0 -0
  351. /data/{lib/generators/redde/layout/templates/assets/redactor/stylesheets → app/assets/stylesheets/redde}/redactor/wym.css +0 -0
  352. /data/{lib/generators/redde/layout/templates/assets/stylesheets/admin → app/assets/stylesheets/redde}/shop/_filter.scss +0 -0
  353. /data/{lib/generators/redde/layout/templates/assets/stylesheets/admin → app/assets/stylesheets/redde}/shop/_order-sh.scss +0 -0
  354. /data/{lib/generators/redde/layout/templates/assets/stylesheets/admin → app/assets/stylesheets/redde}/shop/_pe.scss +0 -0
  355. /data/{spec/dummy/app/assets/images → app/controllers}/.keep +0 -0
  356. /data/{lib/generators/redde/layout/templates → app}/controllers/managers/registrations_controller.rb +0 -0
  357. /data/{spec/dummy/app/models → app/helpers}/.keep +0 -0
  358. /data/{spec/dummy/lib/assets → app/mailers}/.keep +0 -0
  359. /data/{spec/dummy/log → app/models}/.keep +0 -0
  360. /data/{spec/dummy/app/assets/stylesheets/application.css.scss → app/views/.keep} +0 -0
  361. /data/{lib/generators/redde/layout/templates → app/views/admin}/base/welcome.haml +0 -0
  362. /data/{lib/generators/redde/photo/templates/photos → app/views/admin/redde_photos}/destroy.js.erb +0 -0
@@ -1,219 +0,0 @@
1
- if (typeof RTOOLBAR == 'undefined') var RTOOLBAR = {};
2
-
3
- RTOOLBAR['default'] =
4
- {
5
- html:
6
- {
7
- title: RLANG.html,
8
- func: 'toggle',
9
- separator: true
10
- },
11
- styles:
12
- {
13
- title: RLANG.styles,
14
- func: 'show',
15
- dropdown:
16
- {
17
- p:
18
- {
19
- title: RLANG.paragraph,
20
- exec: 'formatblock',
21
- param: '<p>'
22
- },
23
- blockquote:
24
- {
25
- title: RLANG.quote,
26
- exec: 'formatblock',
27
- param: '<blockquote>',
28
- style: 'font-style: italic; color: #666; padding-left: 10px;'
29
- },
30
- pre:
31
- {
32
- title: RLANG.code,
33
- exec: 'formatblock',
34
- param: '<pre>',
35
- style: 'font-family: monospace, sans-serif;'
36
- },
37
- h1:
38
- {
39
- title: RLANG.header1,
40
- exec: 'formatblock',
41
- param: '<h1>',
42
- style: 'font-size: 30px; line-height: 36px; font-weight: bold;'
43
- },
44
- h2:
45
- {
46
- title: RLANG.header2,
47
- exec: 'formatblock',
48
- param: '<h2>',
49
- style: 'font-size: 24px; line-height: 36px; font-weight: bold;'
50
- },
51
- h3:
52
- {
53
- title: RLANG.header3,
54
- exec: 'formatblock',
55
- param: '<h3>',
56
- style: 'font-size: 20px; line-height: 30px; font-weight: bold;'
57
- },
58
- h4:
59
- {
60
- title: RLANG.header4,
61
- exec: 'formatblock',
62
- param: '<h3>',
63
- style: 'font-size: 16px; line-height: 26px; font-weight: bold;'
64
- }
65
- },
66
- separator: true
67
- },
68
- format: {
69
- exec: 'removeformat',
70
- name: 'removeformat',
71
- title: RLANG.removeformat
72
- },
73
- bold:
74
- {
75
- title: RLANG.bold,
76
- exec: 'Bold',
77
- param: false
78
- },
79
- italic:
80
- {
81
- title: RLANG.italic,
82
- exec: 'italic',
83
- param: null
84
- },
85
- deleted:
86
- {
87
- title: RLANG.deleted,
88
- exec: 'strikethrough',
89
- param: null,
90
- separator: true
91
- },
92
- insertunorderedlist:
93
- {
94
- title: '&bull; ' + RLANG.unorderedlist,
95
- exec: 'insertunorderedlist',
96
- param: null
97
- },
98
- insertorderedlist:
99
- {
100
- title: '1. ' + RLANG.orderedlist,
101
- exec: 'insertorderedlist',
102
- param: null
103
- },
104
- outdent:
105
- {
106
- title: '< ' + RLANG.outdent,
107
- exec: 'outdent',
108
- param: null
109
- },
110
- indent:
111
- {
112
- title: '> ' + RLANG.indent,
113
- exec: 'indent',
114
- param: null,
115
- separator: true
116
- },/*
117
- image:
118
- {
119
- title: RLANG.image,
120
- func: 'showImage'
121
- },
122
- video:
123
- {
124
- title: RLANG.video,
125
- func: 'showVideo'
126
- },
127
- file:
128
- {
129
- title: RLANG.file,
130
- func: 'showFile'
131
- }, */
132
- table:
133
- {
134
- title: RLANG.table,
135
- func: 'show',
136
- dropdown:
137
- {
138
- insert_table: { name: 'insert_table', title: RLANG.insert_table, func: 'showTable' },
139
- separator_drop1: { name: 'separator' },
140
- insert_row_above: { name: 'insert_row_above', title: RLANG.insert_row_above, func: 'insertRowAbove' },
141
- insert_row_below: { name: 'insert_row_below', title: RLANG.insert_row_below, func: 'insertRowBelow' },
142
- insert_column_left: { name: 'insert_column_left', title: RLANG.insert_column_left, func: 'insertColumnLeft' },
143
- insert_column_right: { name: 'insert_column_right', title: RLANG.insert_column_right, func: 'insertColumnRight' },
144
- separator_drop2: { name: 'separator' },
145
- add_head: { name: 'add_head', title: RLANG.add_head, func: 'addHead' },
146
- delete_head: { name: 'delete_head', title: RLANG.delete_head, func: 'deleteHead' },
147
- separator_drop3: { name: 'separator' },
148
- delete_column: { name: 'insert_table', title: RLANG.delete_column, func: 'deleteColumn' },
149
- delete_row: { name: 'delete_row', title: RLANG.delete_row, func: 'deleteRow' },
150
- delete_table: { name: 'delete_table', title: RLANG.delete_table, func: 'deleteTable' }
151
- }
152
- },
153
- link:
154
- {
155
- title: RLANG.link,
156
- func: 'show',
157
- dropdown:
158
- {
159
- link:
160
- {
161
- title: RLANG.link_insert,
162
- func: 'showLink'
163
- },
164
- unlink:
165
- {
166
- title: RLANG.unlink,
167
- exec: 'unlink',
168
- param: null
169
- }
170
- },
171
- separator: true
172
- },
173
- fontcolor:
174
- {
175
- title: RLANG.fontcolor,
176
- func: 'show'
177
- },
178
- backcolor:
179
- {
180
- title: RLANG.backcolor,
181
- func: 'show',
182
- separator: true
183
- },
184
- justifyleft:
185
- {
186
- exec: 'JustifyLeft',
187
- name: 'JustifyLeft',
188
- title: RLANG.align_left
189
- },
190
- justifycenter:
191
- {
192
- exec: 'JustifyCenter',
193
- name: 'JustifyCenter',
194
- title: RLANG.align_center
195
- },
196
- justifyright:
197
- {
198
- exec: 'JustifyRight',
199
- name: 'JustifyRight',
200
- title: RLANG.align_right
201
- },
202
- justify:
203
- {
204
- exec: 'justifyfull',
205
- name: 'justifyfull',
206
- title: RLANG.align_justify, separator: true
207
- },
208
- horizontalrule:
209
- {
210
- exec: 'inserthorizontalrule',
211
- name: 'horizontalrule',
212
- title: RLANG.horizontalrule
213
- },
214
- fullscreen:
215
- {
216
- title: RLANG.fullscreen,
217
- func: 'fullscreen'
218
- }
219
- };
@@ -1,22 +0,0 @@
1
- table.list {
2
- margin-left:0; width:auto; border-collapse:collapse;
3
- td {border:1px solid #ededed; border-width:1px 0;}
4
- col.w1 { width:1%;}
5
- a:hover {color:#737300;}
6
- td, th {vertical-align:middle; width:auto; padding:0 5px 0 0;}
7
- th {background:#ededed; letter-spacing:1px;}
8
- .handle {border-color:#fff;}
9
- td * {vertical-align:middle;}
10
- td.show {
11
- a {border-radius:10px; border:1px solid transparent; display:inline-block; width:20px; height:20px; background:image-url("admin/icon_eye.gif") no-repeat 1px 1px;}
12
- a.not-show {opacity:0.4; filter:progid:DXImageTransform.Microsoft.Alpha(opacity=40);}
13
- }
14
- tr:hover {
15
- td {background:#ffc;}
16
- }
17
- .green {color:green; font-weight:bold; text-shadow:0 0 10px green;}
18
- }
19
-
20
- table.sortable {
21
- margin-left:-18px;
22
- }
@@ -1,39 +0,0 @@
1
- .notice, .alert {
2
- padding:7px 15px;
3
- margin:10px 30px;
4
- border-radius:4px;
5
- border:1px solid;
6
- border-color:rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
7
- font-size:13px;
8
- line-height:18px;
9
- color:#fff;
10
- text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);
11
- background-repeat: repeat-x;
12
- z-index:1000;
13
- position:relative;
14
- }
15
-
16
- .notice {
17
- background-color:#57A957;
18
- background-image: -khtml-gradient(linear, left top, left bottom, from(#62c462), to(#57a957));
19
- background-image: -moz-linear-gradient(top, #62c462, #57a957);
20
- background-image: -ms-linear-gradient(top, #62c462, #57a957);
21
- background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #62c462), color-stop(100%, #57a957));
22
- background-image: -webkit-linear-gradient(top, #62c462, #57a957);
23
- background-image: -o-linear-gradient(top, #62c462, #57a957);
24
- background-image: linear-gradient(top, #62c462, #57a957);
25
- behavior:url("/PIE.htc");
26
- }
27
-
28
- .alert {
29
- background-color: #c43c35;
30
- background-image: -khtml-gradient(linear, left top, left bottom, from(#ee5f5b), to(#c43c35));
31
- background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35);
32
- background-image: -ms-linear-gradient(top, #ee5f5b, #c43c35);
33
- background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ee5f5b), color-stop(100%, #c43c35));
34
- background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35);
35
- background-image: -o-linear-gradient(top, #ee5f5b, #c43c35);
36
- background-image: linear-gradient(top, #ee5f5b, #c43c35);
37
- border-color: #c43c35 #c43c35 #882a25;
38
- behavior:url("/PIE.htc");
39
- }
@@ -1,22 +0,0 @@
1
- .orders {
2
- border-collapse:collapse; width:100%;
3
- th {background:#AE4C4C; color:#fff; padding:2px 5px; text-align:left; font-size:24px; font-weight:normal; font-family:Verdana; }
4
- th.green {background:#65C2BB;}
5
- td {padding:5px 6px; vertical-align:baseline; width:auto;}
6
- tr:hover td {background:#ffc; cursor:pointer;}
7
- .i3, .i4 {text-align:right;}
8
- .i1 {
9
- width:1px; white-space:nowrap;
10
- strong {font-weight:bold; font-size:16px;}
11
- em {font-style:normal; font-size:10px; }
12
- }
13
- .i2 {color:#999; line-height:16px;}
14
- .i3 {font-size:10px;}
15
- .i4 {vertical-align:top; border-left:1px solid #EDEDED; width:1%;}
16
- a { color:#000; }
17
- a:hover {text-decoration:underline;}
18
- p {padding-right:22px; font-size:11px; line-height:18px;}
19
- p.name {background:url(admin/fio.png) no-repeat 100% 0; font-weight:bold;}
20
- p.email {background:url(admin/email.png) no-repeat 100% 0;}
21
- p.phone {background:url(admin/phone.png) no-repeat 100% 0;}
22
- }
@@ -1,28 +0,0 @@
1
- .pagination
2
- margin: 20px 0 0
3
- .page,
4
- .last,
5
- .next,
6
- .prev,
7
- .first
8
- &.current,
9
- a
10
- display: inline-block
11
- text-align: center
12
- color: #005782
13
- color: #666
14
- min-width: 14px
15
- padding: 0 5px
16
- line-height: 24px
17
- background: linear-gradient(to bottom, #fff, #dedede)
18
- border: 1px solid #bbb
19
- box-shadow: 0 1px 2px #ccc
20
- border-radius: 4px
21
- font-weight: bold
22
- text-decoration: none
23
- a:active
24
- box-shadow: inset 0 1px 2px #333
25
- background: linear-gradient(to top, #fff, #dedede)
26
- &.current
27
- color: #fff
28
- background: linear-gradient(to bottom, #A9DCF5, #257DA8)
@@ -1,28 +0,0 @@
1
- .pagination {
2
- margin: 20px 0 0;
3
- .page, .last, .next, .prev, .first {
4
- &.current, a {
5
- display: inline-block;
6
- text-align: center;
7
- color: #005782;
8
- color: #666;
9
- min-width: 14px;
10
- padding: 0 5px;
11
- line-height: 24px;
12
- background:linear-gradient(to bottom, #fff, #dedede);
13
- border: 1px solid #bbb;
14
- box-shadow: 0 1px 2px #ccc;
15
- border-radius: 4px;
16
- font-weight: bold;
17
- text-decoration: none;
18
- }
19
- a:active {
20
- box-shadow: inset 0 1px 2px #333;
21
- background:linear-gradient(to top, #fff, #dedede);
22
- }
23
- &.current {
24
- color: #fff;
25
- background:linear-gradient(to bottom, #A9DCF5, #257DA8);
26
- }
27
- }
28
- }
@@ -1,15 +0,0 @@
1
- table.partners {
2
- border-collapse:collapse; line-height:normal; width:100%;
3
- th, td {border-top:1px solid #ededed; vertical-align:baseline; padding-top:10px; padding-bottom:10px;}
4
- .txt {
5
- font-size:16px;
6
- p {font-size:11px; line-height:16px;}
7
- }
8
- th:first-child {
9
- padding:10px 15px 10px 5px; vertical-align:top;
10
- img {padding:1px; border:1px solid #E6E6E6; display:block;}
11
- }
12
- td.last {text-align:right;}
13
- .lnk {color:#0047B3; font-size:16px; line-height:100%; text-decoration:none; font-weight:700;}
14
- .lnk:hover { text-decoration:underline; }
15
- }
@@ -1,27 +0,0 @@
1
- .phead-tabs
2
- display: block
3
- clear: both
4
- font-size: 12px
5
- padding-top: 15px
6
- margin-bottom: -16px
7
-
8
- .phead-tabs__link
9
- padding: 0.5em (5em/6)
10
- display: inline-block
11
- border: 1px solid transparent
12
- border-radius: 3px 3px 0 0
13
- margin-left: -1px
14
- &:link
15
- text-decoration: underline // по дефолту прописано a:hover, в дальнейшем убрать
16
- &:first-child
17
- margin-left: -(5em/6)
18
- &:hover
19
- background: #ddd
20
- background-clip: padding-box
21
- &._active
22
- text-decoration: none
23
- color: #000
24
- font-weight: bold
25
- background: #fff
26
- border-color: #ddd
27
- border-bottom-color: #fff
@@ -1,31 +0,0 @@
1
- ul.photos {
2
- margin:5px 0 5px -3px; overflow:hidden; list-style:none;
3
- li {width:119px; height:119px; border:1px solid #ccc; float:left; margin:0 0 3px 3px; position:relative;}
4
- li.ui-sortable-helper {
5
- &, & > * {cursor:crosshair;}
6
- }
7
- a {text-decoration:none;}
8
- a:first-child {display:block; width:100%; height:100%; background:#ccc; background-repeat:no-repeat; background-position:center; position:relative;}
9
- em {
10
- font-style:normal; display:block; position:absolute; background:rgba(#000,0.7); color:#fff; padding:0 3px;
11
- border-radius:3px; left:0; bottom:0; max-width:93px;
12
- }
13
- a.del {width:0; overflow:hidden; text-indent:-9999px; position:absolute; display:block; bottom:0; right:0;}
14
- img {display:block;}
15
- }
16
-
17
- ul.photos1 {
18
- li {width:229px; height:115px; overflow:hidden;}
19
- li.hide {opacity:0.7;}
20
- li.hide:hover {opacity:1;}
21
- a, img {display:inline-block; width:229px; height:115px;}
22
- a.del {top:94px;}
23
- }
24
-
25
- ul.photos2 {
26
- li {height:135px; overflow:hidden; width:auto;}
27
- li.hide {opacity:0.7;}
28
- li.hide:hover {opacity:1;}
29
- a, img {display:inline-block; height:135px;}
30
- a.del {top:auto; bottom:0; height:20px;}
31
- }
@@ -1,44 +0,0 @@
1
- .placeholder
2
- background-color: #CCFF99
3
- outline: 1px dashed green
4
-
5
- .mjs-nestedSortable-error
6
- background: #fbe3e4
7
- outline: 1px dashed red
8
-
9
- ol
10
- padding-left: 30px
11
-
12
- ol.sortable, ol.sortable ol
13
- padding: 0
14
- margin: 0
15
- list-style-type: none
16
-
17
- ol.sortable ol
18
- margin: 0 0 0 25px
19
-
20
- .sortable li div
21
- background: image-url("admin/folder.png") no-repeat 0 2px
22
- padding-left: 25px
23
- cursor: move
24
- position: relative
25
- &:hover
26
- background-color: #ffc
27
- a
28
- line-height: 20px
29
- p
30
- position: absolute
31
- right: 0
32
- margin: 0
33
- line-height: 20px
34
- z-index: 1
35
- top: 0
36
- a, img
37
- display: inline-block
38
- vertical-align: middle
39
- line-height: 20px
40
- a
41
- text-decoration: none
42
- color: #999
43
- a.not-show
44
- opacity: 0.4
@@ -1 +0,0 @@
1
- //= require_tree .
@@ -1,131 +0,0 @@
1
- //= require admin/defaults/reset
2
- //= require_self
3
- //= require_directory .
4
-
5
- a.del {
6
- background:image-url("admin/del.png") no-repeat 100% 0; display:inline-block; height:20px; line-height:20px; padding:0 22px 0 0;
7
- &:hover {background-position:100% -80px;}
8
- }
9
-
10
- .actions {margin:10px 0;}
11
-
12
- .ac_results {
13
- padding: 0px;
14
- border: 1px solid black;
15
- background-color: white;
16
- overflow: hidden;
17
- z-index: 99999;
18
- }
19
-
20
- .ac_results ul {width: 100%;list-style-position: outside;list-style: none;padding: 0;margin: 0;}
21
-
22
- .ac_results li {
23
- margin: 0px;
24
- padding: 2px 5px;
25
- cursor: default;
26
- display: block;
27
- /*
28
- if width will be 100% horizontal scrollbar will apear
29
- when scroll mode will be used
30
- */
31
- /*width: 100%;*/
32
- font: menu;
33
- font-size: 12px;
34
- /*
35
- it is very important, if line-height not setted or setted
36
- in relative units scroll will be broken in firefox
37
- */
38
- line-height: 16px;
39
- overflow: hidden;
40
- color:#004D83;
41
- }
42
-
43
- /*.ac_results li strong {color:#4490BC;}
44
- */
45
- .ac_loading {
46
- background: white image-url('admin/ajaxloader2.gif') right center no-repeat;
47
- }
48
-
49
- .ac_odd {
50
- background-color: #eee;
51
- }
52
-
53
- .ac_over {
54
- background-color: #4490BC;
55
- color: #fff !important;
56
- }
57
-
58
- .ac_results2 {min-width:333px; max-width:600px; width:auto !important;}
59
-
60
- table.lang {
61
- td {text-align:right;}
62
- a.selected {color:#000;}
63
- }
64
-
65
- #main #page-header {
66
- h1.partner {font-size:22px; line-height:22px; font-weight:normal; float:none;}
67
- p.partner {color:#777; float:none; }
68
- a.partner-lnk { font-size:12px; color:#0047B3; line-height:12px; }
69
- }
70
-
71
- .edit-box {
72
- float:right; margin-left:-100%;
73
- a.red {color:#f00;}
74
- }
75
-
76
- .full #page_sidebar {display:none;}
77
-
78
- .order-list {list-style-position: inside}
79
-
80
- .tbl {
81
- border-collapse:collapse; width:100%;
82
- .for_img {width:1px; text-align:left; padding-right:5px; border-bottom:3px solid #EDEDED; vertical-align:bottom; }
83
- tr.bot {
84
- th, td {border-bottom-width:3px;}
85
- th {vertical-align:top;}
86
- }
87
- th, td {vertical-align:middle;}
88
- th {padding:5px 10px 5px 5px; width:1%;}
89
- td {width:auto; padding-top:4px; }
90
- td.handle { width:25px; text-align:left; vertical-align:middle;}
91
- th.handle {width:auto;}
92
- td.handle img {display:block;}
93
- th {width:auto;}
94
- td.last {text-align:right; width:1px;}
95
- }
96
-
97
- .tusers {
98
- tr:hover td {background:#ffc; cursor:pointer;}
99
- .plast { width:1px; text-align:left; padding-left:10px; padding-right:10px; border-left:1px solid #ededed;}
100
- }
101
-
102
- .tmenu {
103
- .i2 {width:40%;}
104
- }
105
-
106
- .article {
107
- clear:both; overflow:hidden; margin-bottom:10px;
108
- p.delete-link {clear:both;}
109
- }
110
-
111
- #showcases {
112
- .red {color:#f00;}
113
- .green {color:green;}
114
- }
115
-
116
- #sales_sortable {
117
- td,th {vertical-align:middle;}
118
- }
119
- #sale_product_ids {
120
- optgroup option {
121
- margin-left:17px;
122
- &.red {
123
- background:red !important; color:#fff !important;
124
- &:after {content:"*"};
125
- }
126
- }
127
- }
128
-
129
- .vam {vertical-align:middle !important;}
130
- .vab {vertical-align:bottom !important;}
131
-
@@ -1,35 +0,0 @@
1
- input[type=submit]
2
- cursor: pointer
3
- padding: 3px 17px
4
- font-family: Helvetica, Arial, sans-serif
5
- font-weight: bold
6
- color: #444
7
- background: image-url("admin/submit.png") repeat-x 0 50%
8
- background: linear-gradient(to bottom, #f2f2f2 0%, #ebebeb 50%, #dddddd 51%, #cfcfcf 100%)
9
- border: 1px solid #707070
10
- border-radius: 2px
11
- text-shadow: 0 1px 1px rgba(255, 255, 255, 0.85)
12
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 1px 1px 0 #fff inset, -1px -1px 0 #fff inset
13
-
14
- &[value=Сохранить],
15
- &[value=Применить]
16
- padding-left: 37px
17
- &[value=Сохранить]
18
- background: image-url("admin/arrow_enter.png") 4px -102px no-repeat, linear-gradient(to bottom, #f2f2f2 0%, #ebebeb 50%, #dddddd 51%, #cfcfcf 100%) 0 0
19
- &:hover
20
- background: image-url("admin/arrow_enter.png") 4px -1px no-repeat, linear-gradient(to bottom, #eaf6fd 0%, #d9f0fc 50%, #bee6fd 51%, #a7d9f5 100%) 0 0
21
- &[value=Применить]
22
- background: image-url("admin/arrow_down.png") 4px -102px no-repeat, linear-gradient(to bottom, #f2f2f2 0%, #ebebeb 50%, #dddddd 51%, #cfcfcf 100%) 0 0
23
- &:hover
24
- background: image-url("admin/arrow_down.png") 4px -1px no-repeat, linear-gradient(to bottom, #eaf6fd 0%, #d9f0fc 50%, #bee6fd 51%, #a7d9f5 100%) 0 0
25
- &[value=Далее]
26
- padding-right: 37px
27
- background: image-url("admin/arrow_right.png") right -100px no-repeat, linear-gradient(to bottom, #f2f2f2 0%, #ebebeb 50%, #dddddd 51%, #cfcfcf 100%) 0 0
28
- &:hover
29
- background: image-url("admin/arrow_right.png") right 2px no-repeat, linear-gradient(to bottom, #eaf6fd 0%, #d9f0fc 50%, #bee6fd 51%, #a7d9f5 100%) 0 0
30
- &:hover
31
- background-image:image-url("admin/submit_hover.png")
32
- background: linear-gradient(to bottom, #eaf6fd 0%, #d9f0fc 50%, #bee6fd 51%, #a7d9f5 100%)
33
- border-color: #3c7fb1
34
- box-shadow: 0 1px 6px rgb(44, 146, 193)
35
- color: #025984
@@ -1,33 +0,0 @@
1
- *
2
- margin: 0
3
- padding: 0
4
-
5
- th
6
- text-align: left
7
-
8
- a
9
- color: #0047B3
10
- &:hover
11
- text-decoration:none
12
-
13
- html,
14
- body
15
- width: 100%
16
- height: 100%
17
-
18
- body
19
- min-width: 1000px
20
- overflow-y: scroll
21
- background-color: #F3F1EC
22
- text-align: left
23
- font: 12px "Lucida Grande", "Lucida Sans Unicode", helvetica, arial, verdana, sans-serif
24
-
25
- label
26
- font-size: 14px
27
- font-weight: bold
28
- textarea
29
- width: 100%
30
- min-width: 275px
31
- font-size: 12px
32
- input
33
- font-size: 18px