Hormold

VK Change (#1375026307)

Jul 28th, 2013
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 56.95 KB | None | 0 0
  1. Файл - retina.css (Старый размер - 29032 | Новый - 23992):
  2. 56.  - .is_2x #search_query,
  3. 57.  - .is_2x .tdd_search .tdd_control,
  4. 58.  - .is_2x .choose_search_cont input {
  5. 59.  + .is_2x #search_query {
  6. 67.  - .is_2x #search_query_reset,
  7. 68.  - .is_2x #friends_reset_search {
  8. 69.  + .is_2x #search_query_reset {
  9. 84.  - .is_2x #audio_tip_arrow,
  10. 91.  - .is_2x .page_gif_add_icon,
  11. 92.  - .is_2x .current_audio .label,
  12. 93.  - .is_2x .current_audio_cnt .label,
  13. 94.  - .is_2x .video_row_icon_add .video_row_icon,
  14. 95.  - .is_2x .docs_add_row {
  15. 96.  -   background-image: url(/images/icons/audio_icons_2x.png?4);
  16. 97.  + .is_2x .page_gif_add_icon{
  17. 98.  +   background-image: url(/images/icons/audio_icons_2x.png);
  18. 106.  - .is_2x .fw_like_icon,
  19. 107.  - .is_2x .wall_module .post_share_icon {
  20. 108.  -   background-image: url(/images/icons/like_2x.png?2);
  21. 109.  -   background-size: 10px 32px;
  22. 110.  + .is_2x .fw_like_icon {
  23. 111.  +   background-image: url(/images/icons/like_2x.png);
  24. 112.  +   background-size: 10px 20px;
  25. 122.  - .is_2x .im_tab_selected .im_tabx_over,
  26. 123.  - .is_2x .summary_tab_x,
  27. 124.  - .is_2x .tdd_x_c {
  28. 125.  + .is_2x .im_tab_selected .im_tabx_over {
  29. 129.  - .is_2x .audio .play_new, .is_2x #audio.new .wall_module .audio.current .play_new {
  30. 130.  + .is_2x .audio .play_new {
  31. 141.  - .is_2x #im_docs_preview .im_media_x,
  32. 142.  - .is_2x #im_sdocs_preview .im_media_x,
  33. 146.  - .is_2x .wall_module .reply_delete_button,
  34. 147.  - .is_2x .fave_delete_link,
  35. 148.  - .is_2x #intr_hide,
  36. 149.  - .is_2x .wall_module .post_delete_button,
  37. 150.  - .is_2x .top_info_wrap .hide_button,
  38. 151.  - .is_2x .docs_delete_row {
  39. 152.  + .is_2x .wall_module .reply_delete_button {
  40. 155.  - }
  41. 156.  - .is_2x .im_to_end {
  42. 157.  -   background-image: url(/images/im_toend_2x.gif);
  43. 158.  -   background-size: 15px 13px;
  44. 159.  - }
  45. 160.  - .is_2x #im_log_fav_btn i,
  46. 161.  - .is_2x .im_important_toggler,
  47. 162.  - .is_2x .im_important_icon {
  48. 163.  -   background-image: url(/images/icons/im_actions_iconset2_2x.png?8);
  49. 164.  -   background-size: 20px 300px;
  50. 166.  -
  51. 177.  + .is_2x .current_audio,
  52. 183.  - .is_2x .im_attach_gift,
  53. 188.  - .is_2x .im_attach_link,
  54. 202.  - .is_2x .medadd_h,
  55. 203.  - .is_2x .group_share_club {
  56. 204.  -   background-image: url(/images/icons/mono_iconset_2x.png?2);
  57. 205.  -   background-size: 11px 360px;
  58. 206.  + .is_2x .medadd_h {
  59. 207.  +   background-image: url(/images/icons/mono_iconset_2x.png?1);
  60. 208.  +   background-size: 11px 346px;
  61. 211.  -   background: none;
  62. 212.  - }
  63. 213.  -
  64. 214.  - .is_2x .feed_tab_add_icon,
  65. 215.  - .is_2x .feed_filter_tabs_icon,
  66. 216.  - .is_2x .feed_filter_tabs_check {
  67. 217.  -   background-image: url(/images/icons/news_iconset_2x.png?2);
  68. 218.  -   background-size: 16px 176px;
  69. 219.  - }
  70. 220.  - .is_2x .feed_filter_lists_row .feed_filter_tabs_icon,
  71. 221.  - .is_2x .feed_icon_newlist {
  72. 226.  - .is_2x .page_verified,
  73. 227.  + .is_2x .profile_verified,
  74. 231.  - .is_2x .search_verified,
  75. 232.  - .is_2x .wall_post_source_icon,
  76. 233.  - .is_2x .page_fronly {
  77. 234.  -   background-image: url(/images/profile_icons_2x.png?10);
  78. 235.  -   background-size: 13px 241px;
  79. 236.  + .is_2x .search_verified {
  80. 237.  +   background-image: url(/images/profile_icons_2x.png);
  81. 238.  +   background-size: 13px 98px;
  82. 272.  - .is_2x #search_query_wrap.wide #search_query_progress,
  83. 273.  - .is_2x .docs_search_bar .docs_loading_bar {
  84. 274.  + .is_2x #search_query_wrap.wide #search_query_progress {
  85. 279.  - .is_2x .im_smile_icon,
  86. 280.  - .is_2x .mbe_smile_icon_on,
  87. 281.  - .is_2x .mbe_smile_icon {
  88. 282.  + .is_2x .im_smile_icon {
  89. 317.  - .is_2x #photo_default_check,
  90. 318.  - .is_2x .join_fb_progress {
  91. 319.  + .is_2x #photo_default_check {
  92. 330.  - .is_2x .post_upload_wrap div.post_upload,
  93. 331.  - .is_2x .im_upload_wrap div.im_upload {
  94. 332.  + .is_2x .post_upload_wrap div.post_upload {
  95. 340.  - .is_2x .mvs_header_text,
  96. 341.  - .is_2x .olist_dd_over {
  97. 342.  + .is_2x .mvs_header_text {
  98. 394.  - .is_2x .page_pics_preview .page_media_x,
  99. 395.  - .is_2x #im_media_preview .im_x,
  100. 396.  - .is_2x #im_media_dpreview .im_x,
  101. 397.  - .is_2x #im_media_mpreview .im_x,
  102. 398.  - .is_2x .owner_photo_bubble_delete,
  103. 399.  - .is_2x .app_delete_el {
  104. 400.  + .is_2x .page_pics_preview .page_media_x {
  105. 458.  - .is_2x .video_module .video div.page_video_play_icon,
  106. 476.  + .is_2x .ads_edit_tt_pointer,
  107. 481.  - .is_2x .audio_status_tt .tail,
  108. 484.  - .is_2x .tickets_side_tt.time .tail,
  109. 485.  - .is_2x .apps_edit_side_tt_pointer {
  110. 486.  + .is_2x .tickets_side_tt.time .tail {
  111. 523.  + .is_2x .notes_checkbox,
  112. 538.  - .is_2x .side_filter.loading,
  113. 539.  - .is_2x .progress_inv_mini {
  114. 540.  + .is_2x .side_filter.loading {
  115. 558.  + }
  116. 559.  + .is_2x .selector_container td.selector_dropdown {
  117. 560.  +   background-image: url(/images/darr_dd_out_2x.gif);
  118. 561.  +   background-size: 7px 4px;
  119. 573.  - .is_2x .apps_featured_icon {
  120. 574.  -   background-image: url(/images/icons/apps_featured_arrow_2x.png);
  121. 575.  -   background-size: 26px 21px;
  122. 576.  + .is_2x .apps_featured_slide {
  123. 577.  +   background-image: url(/images/pics/apps_slide_2x.png);
  124. 578.  +   background-size: 6px 15px;
  125. 603.  -   background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAiCAYAAABFlhkzAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARNJREFUeNrcltsJwjAUhpNapPgkCI7gBLqAuIFz6gRqB7BdQDcQBPVBxEviSWmld5P0L4IHwmlD8n1N2iTlp/NFMgo/3DMpJZvPJn26vVJ5MIMQQpTWO8mFgnMeXbrp+qaRAUnJ4OGwluMnAlXXQck/kOl4FOXFanug5FHpIiQZQEpypNRDSAqd0ZLSjkhJZSeUpLYDQvK1cSJZrgMriVZDJVF7lc1ItJ/EdrqM5tNGYvxV5CRevK1gNztu0NY1hW+CXZTp5BtQulF5wUaQg6tj9a5OS4jABq4t8EM7uNY7sH1yrRE0hdcKEPBKAQpeKkDCCwI0PCNIwYfxCm0Mr3oHIl7+jeH/++vYuuCJmn8VbwEGAGvuiUVvn8vPAAAAAElFTkSuQmCC);
  126. 604.  -   background-size: 12px 17px;
  127. 605.  +   background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAARCAYAAADpPU2iAAAArUlEQVR42pWSTQrCQAyFQ4eh4mz8A6uiKAgeXg8guHbjaeYGbQYivkkTxcK3e9880oRyzv31/uyJKAEBqD8QZsxCmDJRcIUVs2Y6kFqRQiUUbo9XkQ7CTqQEbaESQDozJyVNTAGkC3NkNjLbp0ULqmnPLKUlmg3GTCgEVwDprwY9A32bYQt/KbqCEW6rjRvhzgg33qZLcC6LGp+FuqX3GaTRq44Q4UU7bAjNL2EAU9kEmwVnt3EAAAAASUVORK5CYII%3D);
  128. 608.  -   background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAiCAYAAABFlhkzAAAAsUlEQVR42u2XQQ5AMBBFG4kQG0Lc/wZ6Ak7AXXCBmrEQEWGm7UwsNPnb9xqaP60x8VYKKbt+dHaY3LyseyLyTQZp7DA6lIgJEP4L7lYCKSCthADhOaS+wmMIHuGhgld4iIAE9xWQ4T4CFpwrOODYNRQ4R8DeOUfgDacIguAUAXZ85QtnCayQQPwTif9klWN6K8HZG1sgXhUqZadS1yoDR2Vkqgx9lWvLf3X8juB4gJwFG+W12jVqcG4VAAAAAElFTkSuQmCC);
  129. 609.  +   background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAiCAYAAABFlhkzAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAARNJREFUeNrcltsJwjAUhpNapPgkCI7gBLqAuIFz6gRqB7BdQDcQBPVBxEviSWmld5P0L4IHwmlD8n1N2iTlp/NFMgo/3DMpJZvPJn26vVJ5MIMQQpTWO8mFgnMeXbrp+qaRAUnJ4OGwluMnAlXXQck/kOl4FOXFanug5FHpIiQZQEpypNRDSAqd0ZLSjkhJZSeUpLYDQvK1cSJZrgMriVZDJVF7lc1ItJ/EdrqM5tNGYvxV5CRevK1gNztu0NY1hW+CXZTp5BtQulF5wUaQg6tj9a5OS4jABq4t8EM7uNY7sH1yrRE0hdcKEPBKAQpeKkDCCwI0PCNIwYfxCm0Mr3oHIl7+jeH/++vYuuCJmn8VbwEGAGvuiUVvn8vPAAAAAElFTkSuQmCC);
  130. 620.  - .is_2x .page_album_camera,
  131. 621.  - .is_2x .photos_choose_album_camera,
  132. 674.  + .is_2x #im_media_preview .im_media_x,
  133. 702.  + }
  134. 703.  + .is_2x .token span.x_hover,
  135. 704.  + .is_2x .token span.x,
  136. 705.  + {
  137. 706.  +   background-image: url('/images/blob_x.gif');
  138. 707.  +   background-size: 9px 10px;
  139. 741.  + }
  140. 742.  + .is_2x .mail_box_content img {
  141. 743.  +   max-width: 80px;
  142. 773.  - .is_2x .wall_module .reply_edit_button,
  143. 774.  - .is_2x .wall_module .post_edit_button,
  144. 775.  - .is_2x .docs_edit_row {
  145. 776.  + .is_2x .wall_module .reply_edit_button {
  146. 790.  + }
  147. 791.  + .is_2x .page_fronly {
  148. 792.  +   background-image: url(/images/private_post_2x.png);
  149. 793.  +   background-size: 8px 9px;
  150. 798.  - }
  151. 799.  - .is_2x #status_export.checkbox_pic, .is_2x #facebook_export.checkbox_pic, .is_2x #own_status_export.checkbox_pic, .is_2x #own_facebook_export.checkbox_pic, .is_2x .checkbox_status_export, .is_2x .checkbox_facebook_export {
  152. 800.  -   background-image: url(/images/icons/wall_export_2x.gif);
  153. 801.  -   background-size: 14px 112px;
  154. 802.  - }
  155. 803.  - .is_2x .flist_item_action, .is_2x #flist_sel_list .flist_item_action {
  156. 804.  -   background-image: url(/images/icons/lite_acts_12x12_2x.png);
  157. 805.  -   background-size: 12px 24px;
  158. 806.  - }
  159. 807.  - .is_2x .wdd_add_plus {
  160. 808.  -   background-image: url(/images/pics/im_plus_2x.gif);
  161. 809.  -   background-size: 11px 11px;
  162. 810.  - }
  163. 811.  - .is_2x #html5_player .play_button,
  164. 812.  - .is_2x #html5_player .pause_button,
  165. 813.  - .is_2x #html5_player .big_play,
  166. 814.  - .is_2x #html5_player .volume_button,
  167. 815.  - .is_2x #html5_player .quality_button .quality_val,
  168. 816.  - .is_2x #html5_player .quality_button #quality_label,
  169. 817.  - .is_2x #html5_player #video_actions .add,
  170. 818.  - .is_2x #html5_player #video_actions .rotate,
  171. 819.  - .is_2x #html5_player #video_actions .logo,
  172. 820.  - .is_2x #html5_player .vid_like_fg,
  173. 821.  - .is_2x #html5_player .vid_share_fg,
  174. 822.  - .is_2x #html5_player .vid_link_fg {
  175. 823.  -   background-image: url(/images/video/iconset_2x.png?2);
  176. 824.  -   background-size: 380px 54px;
  177. 825.  - }
  178. 826.  - .is_2x .wall_album_nocover,
  179. 827.  - .is_2x .pva_no_photos,
  180. 828.  - .is_2x #photos_albums_container .photo_row .img_link.no_photo,
  181. 829.  - .is_2x .photos_choose_album_link.no_photo {
  182. 830.  -   background-image: url(/images/camera_big_2x.png);
  183. 831.  -   background-size: 64px 48px;
  184. 832.  - }
  185. 833.  -
  186. 834.  - .is_2x .dropbox, .is_2x .dropbox.choose {
  187. 835.  -   background-image: url(/images/dropbox_arrow_2x.png);
  188. 836.  -   background-size: 63px 44px;
  189. 837.  - }
  190. 838.  - .is_2x .owner_photo_bubble_action_in {
  191. 839.  -   background-image: url(/images/edit_photo_icons_white_2x.png);
  192. 840.  -   background-size: 16px 88px;
  193. 841.  - }
  194. 842.  - .is_2x .owner_photo_bubble_action_in {
  195. 843.  -   background-image: url(/images/edit_photo_icons_white_2x.png);
  196. 844.  -   background-size: 16px 88px;
  197. 845.  - }
  198. 846.  - .is_2x #privacy_custom_box .minus_friends {
  199. 847.  -   background-image: url(/images/minus_2x.png);
  200. 848.  -   background-size: 16px 16px;
  201. 849.  - }
  202. 850.  - .is_2x #privacy_custom_box .plus_friends {
  203. 851.  -   background-image: url(/images/plus_2x.png);
  204. 852.  -   background-size: 15px 19px;
  205. 853.  - }
  206. 854.  - .is_2x .index_fb_logo {
  207. 855.  -   background-image: url(/images/icons/facebook_btn_icon_2x.png);
  208. 856.  -   background-size: 8px 16px;
  209. 857.  - }
  210. 858.  - .is_2x .index_fb_btn button {
  211. 859.  -   background-image: url('/images/fb_button_2x.png');
  212. 860.  -   background-size: 1px 44px;
  213. 861.  - }
  214. 862.  - .is_2x .photos_choose_row_add .icon {
  215. 863.  -   background-image: url('/images/icons/check_white_2x.png');
  216. 864.  -   background-size: 14px 13px;
  217. 865.  - }
  218. 866.  - .is_2x div.box_dark .selector_container td.selector_dropdown,
  219. 867.  - .is_2x .wdd_arr {
  220. 868.  -   background-image: url(/images/wide_dd_2x.png);
  221. 869.  -   background-size: 21px 24px;
  222. 870.  - }
  223. 871.  - .is_2x .video_share_icon {
  224. 872.  -   background-image: url(/images/icons/videoexporticons_2x.png);
  225. 873.  - }
  226. 874.  - .is_2x .olympics_bar_img {
  227. 875.  -   background-image: url(/images/olymp_mono_2x.png);
  228. 876.  -   background-size: 59px 28px;
  229. 877.  - }
  230. 878.  - .is_2x .olympics_bar_img.sochi {
  231. 879.  -   background-image: url(/images/sochi2014_2x.png);
  232. 880.  -   background-size: 50px 33px;
  233. 881.  - }
  234. 882.  - .is_2x .app_new_sticker {
  235. 883.  -   background-image: url(/images/icons/new_app_en_2x.png);
  236. 884.  -   background-size: 60px 60px;
  237. 885.  - }
  238. 886.  - .is_2x .apps_sticker_ru {
  239. 887.  -   background-image: url(/images/icons/new_app_ru_2x.png);
  240. 888.  - }
  241. 889.  - .is_2x .apps_sticker_ua {
  242. 890.  -   background-image: url(/images/icons/new_app_ua_2x.png);
  243. 891.  - }
  244. 892.  - .is_2x .audio_new_sticker {
  245. 893.  -   background-image: url(/images/icons/new_audio_en_2x.png);
  246. 894.  -   background-size: 58px 58px;
  247. 895.  - }
  248. 896.  - .is_2x .audio_sticker_ru {
  249. 897.  -   background-image: url(/images/icons/new_audio_ru_2x.png);
  250. 898.  - }
  251. 899.  - .is_2x .audio_sticker_ua {
  252. 900.  -   background-image: url(/images/icons/new_audio_ua_2x.png);
  253. 901.  - }
  254. 902.  - .is_2x .pv_filter_font_icon {
  255. 903.  -   background-image: url('/images/icons/switch_fonts_2x.png');
  256. 904.  -   background-size: 17px 25px;
  257. ------
  258. Файл - docs.js (Старый размер - 22329 | Новый - 0):
  259. 0.  - var Docs = {
  260. 1.  -
  261. 2.  - init: function() {
  262. 3.  -   extend(cur, {
  263. 4.  -     searchInput: ge('docs_search'),
  264. 5.  -     searchReset: ge('docs_reset'),
  265. 6.  -     listCont: ge('docs_list'),
  266. 7.  -     summary: ge('docs_summary'),
  267. 8.  -     secFilter: ge('docs_side_filter'),
  268. 9.  -     pageEnd: ge('page_end'),
  269. 10.  -     searchCont: ge('docs_search_list')
  270. 11.  -   });
  271. 12.  -
  272. 13.  -   cur.searchDD = new TagsDD(cur.searchInput, {
  273. 14.  -     width: 442,
  274. 15.  -     paddings: 50,
  275. 16.  -     search: 1,
  276. 17.  -     placeholder: cur.lang['docs_placeholder'],
  277. 18.  -     url: 'docs.php',
  278. 19.  -     params: {
  279. 20.  -       act: 'a_suggestion',
  280. 21.  -       type: 'all'
  281. 22.  -     },
  282. 23.  -     capitalCase: 1,
  283. 24.  -     onChange: function(force, obj) {
  284. 25.  -       if (force) {
  285. 26.  -         Docs.updateList(false, obj);
  286. 27.  -       } else {
  287. 28.  -         Docs.updateListSoon(false, obj);
  288. 29.  -       }
  289. 30.  -     }
  290. 31.  -   });
  291. 32.  -
  292. 33.  -   Docs.indexDocs();
  293. 34.  -   cur.searchDD.focusInput();
  294. 35.  -   cur.onPrivacyChanged = function(key, val) {
  295. 36.  -     switch (val) {
  296. 37.  -       case 'open':
  297. 38.  -         Docs.openItem(cur.docsMenu[0], cur.docsMenu[1], cur.hash);
  298. 39.  -         break;
  299. 40.  -       case 'edit':
  300. 41.  -         Docs.editItem(cur.docsMenu[0], cur.docsMenu[1]);
  301. 42.  -         break;
  302. 43.  -       case 'download':
  303. 44.  -         Docs.downloadItem(cur.docsMenu[0], cur.docsMenu[1]);
  304. 45.  -         break;
  305. 46.  -       case 'add':
  306. 47.  -         Docs.addItem(cur.docsMenu[0], cur.docsMenu[1], cur.hash);
  307. 48.  -         break;
  308. 49.  -       case 'delete':
  309. 50.  -         Docs.deleteItem(cur.docsMenu[0], cur.docsMenu[1], cur.hash);
  310. 51.  -         break;
  311. 52.  -       case 'get_link':
  312. 53.  -         Docs.getLink(cur.docsMenu[0], cur.docsMenu[1]);
  313. 54.  -         break;
  314. 55.  -     }
  315. 56.  -
  316. 57.  -     return true;
  317. 58.  -   }
  318. 59.  -
  319. 60.  -   cur.list = {all: cur.docs};
  320. 61.  -   cur.cache = {};
  321. 62.  -
  322. 63.  -   cur.nav.push(function(changed, old, n, opts) {
  323. 64.  -     if (old[0] == n[0] && n.section && !changed.id) {
  324. 65.  -       Docs.section(n.section);
  325. 66.  -       nav.setLoc(n);
  326. 67.  -       return false;
  327. 68.  -     }
  328. 69.  -   });
  329. 70.  -
  330. 71.  -   cur.scrollNode = browser.msie6 ? pageNode : window;
  331. 72.  -
  332. 73.  -   addEvent(browser.msie6 ? pageNode : window, 'scroll', Docs.scrollResize);
  333. 74.  - },
  334. 75.  -
  335. 76.  - scrollResize: function () {
  336. 77.  -   if (browser.mobile) return;
  337. 78.  -   var docEl = document.documentElement;
  338. 79.  -   var ch = window.innerHeight || docEl.clientHeight || bodyNode.clientHeight;
  339. 80.  -   var st = scrollGetY();
  340. 81.  -   if (!cur.pageEnd) {
  341. 82.  -     return;
  342. 83.  -   }
  343. 84.  -   if (st + ch > cur.pageEnd.offsetTop) {
  344. 85.  -     setTimeout(function() {
  345. 86.  -       Docs.showMore();
  346. 87.  -     }, 0);
  347. 88.  -   }
  348. 89.  - },
  349. 90.  -
  350. 91.  - section: function(section) {
  351. 92.  -   var oldSec = geByClass('cur_section', cur.secFilter)[0];
  352. 93.  -   removeClass(oldSec, 'cur_section');
  353. 94.  -   addClass(ge('docs_section_'+section), 'cur_section');
  354. 95.  -
  355. 96.  -   if (cur.silent) {
  356. 97.  -     cur.onSilentLoad = function() {
  357. 98.  -       Docs.section(section);
  358. 99.  -     }
  359. 100.  -     return;
  360. 101.  -   }
  361. 102.  -   cur.section = section;
  362. 103.  -   Docs.getList();
  363. 104.  -
  364. 105.  -   Docs.updateList();
  365. 106.  -   cur.searchShown = 0;
  366. 107.  - },
  367. 108.  -
  368. 109.  - getList: function(section) {
  369. 110.  -   section = section || cur.section;
  370. 111.  -   if (cur.searchStr) {
  371. 112.  -     var key = section+'_'+cur.searchStr;
  372. 113.  -     cur.selection = {
  373. 114.  -       re: new RegExp('('+cur.searchStr.replace(cur.index.delimiter, '|').replace(/[\/\\\(\)\[\]\{\}\*,]/g, '').replace(/^\||\|$/g, '')+')', 'gi'),
  374. 115.  -       val: '<em>$1</em>'
  375. 116.  -     };
  376. 117.  -   } else {
  377. 118.  -     var key = section;
  378. 119.  -   }
  379. 120.  -
  380. 121.  -   if (cur.list[key]) {
  381. 122.  -     cur.found = cur.list[key].length;
  382. 123.  -     return cur.list[key];
  383. 124.  -   }
  384. 125.  -
  385. 126.  -   var list = (cur.searchStr) ? cur.index.search(cur.searchStr) : cur.docs;
  386. 127.  -
  387. 128.  -   cur.list[key] = Docs.filterList(list);
  388. 129.  -   cur.found = cur.list[key].length;
  389. 130.  -   return cur.list[key];
  390. 131.  - },
  391. 132.  -
  392. 133.  - filterList: function(input) {
  393. 134.  -   if (cur.section == 'all') {
  394. 135.  -     return input;
  395. 136.  -   }
  396. 137.  -   var list = [];
  397. 138.  -   var len = input.length;
  398. 139.  -   for(var i = 0; i < len; i++) {
  399. 140.  -     var doc = input[i];
  400. 141.  -     if ((cur.section == 'sended' || cur.section == 'sent') && doc[5] == 1) {
  401. 142.  -       list.push(doc);
  402. 143.  -     }
  403. 144.  -   }
  404. 145.  -   return list;
  405. 146.  - },
  406. 147.  -
  407. 148.  - switchTab: function() {
  408. 149.  -   return false;
  409. 150.  - },
  410. 151.  -
  411. 152.  - indexDocs: function() {
  412. 153.  -   if (!cur.docs) return;
  413. 154.  -   cur.index = new vkIndexer(cur.docs, function(obj) {
  414. 155.  -     return obj[2]+' '+obj[6];
  415. 156.  -   });
  416. 157.  - },
  417. 158.  -
  418. 159.  - addDocBox: function() {
  419. 160.  -   showBox('docs.php', {act: 'add_box', oid: cur.oid}, {params: {width: '410px', bodyStyle: 'padding: 0px; position: relative;'}});
  420. 161.  - },
  421. 162.  -
  422. 163.  - addDoc: function(doc) {
  423. 164.  -   if (!cur.docs) return;
  424. 165.  -   cur.docs.unshift(doc)
  425. 166.  -   Docs.showList(cur.docs.slice(0, 50));
  426. 167.  -   scrollToTop(200);
  427. 168.  -   Docs.indexDocs();
  428. 169.  -   cur.count += 1;
  429. 170.  -   cur.found += 1;
  430. 171.  -   Docs.section('all');
  431. 172.  -   setTimeout(function() {
  432. 173.  -     var added = ge('docs_file_'+doc[4]+'_'+doc[0]);
  433. 174.  -     setStyle(added, 'backgroundColor', '#E1E7ED');
  434. 175.  -     setTimeout(animate.pbind(added, {backgroundColor: '#FFFFFF'}, 300), 200);
  435. 176.  -   }, 0);
  436. 177.  - },
  437. 178.  -
  438. 179.  - drawList: function(list, first, cont) {
  439. 180.  -   cont = cont || cur.listCont;
  440. 181.  -   //var html = [];
  441. 182.  -   var first = first ? ' docs_item_first' : '';
  442. 183.  -   for (var i in list) {
  443. 184.  -     var item = list[i];
  444. 185.  -
  445. 186.  -     cont.appendChild(se('<div id="docs_file_'+item[4]+'_'+item[0]+'" class="docs_item'+first+'" onmouseover="Docs.rowOver('+item[4]+', '+item[0]+');" onmouseout="Docs.rowOut('+item[4]+', '+item[0]+');">'+Docs.getDocHTML(item)+'</div>'))
  446. 187.  -     first = '';
  447. 188.  -   }
  448. 189.  - },
  449. 190.  -
  450. 191.  - getDocHTML: function(item) {
  451. 192.  -   var id = item[0];
  452. 193.  -   var ext = item[1];
  453. 194.  -   var title = item[2];
  454. 195.  -   var tags = item[6];
  455. 196.  -   if (cur.selection) {
  456. 197.  -     title = title.replace(cur.selection.re, cur.selection.val);
  457. 198.  -   }
  458. 199.  -   var dateStr = item[3];
  459. 200.  -   var oid = item[4];
  460. 201.  -   var url = '/doc'+oid+'_'+id;
  461. 202.  -   var actions = '';
  462. 203.  -
  463. 204.  -
  464. 205.  -   var tags = item[6];
  465. 206.  -   if (tags) {
  466. 207.  -     tags = tags.split(',');
  467. 208.  -     for (var i in tags) {
  468. 209.  -       if (cur.selection) {
  469. 210.  -         tags[i] = tags[i].replace(cur.selection.re, cur.selection.val);
  470. 211.  -       }
  471. 212.  -       var h = (cur.searchStr) ? '' : 'href="/docs'+oid+'?tag='+encodeURIComponent(tags[i])+'"';
  472. 213.  -       tags[i] = '<a '+h+' onclick="return Docs.tagSearch(this)">'+tags[i]+'</a>';
  473. 214.  -     }
  474. 215.  -     tags = ' - <span class="docs_item_tags">'+tags.join(', ')+'</span>';
  475. 216.  -   }
  476. 217.  -   var thumb = item[8];
  477. 218.  -   if (thumb) {
  478. 219.  -     ext = '<a class="docs_item_thumb fl_l" href="'+url+'" ext="'+ext+'" onmouseover="Docs.showFileTT(this, '+oid+', '+id+')" onclick="return Docs.downloadItem('+oid+', '+id+');"><img class="docs_item_thumb_img" src="'+thumb+'"></a>';
  479. 220.  -   } else {
  480. 221.  -     if (ext.length > 6) {
  481. 222.  -       var extStr = ext.substr(0, 4)+'..';
  482. 223.  -     } else {
  483. 224.  -       var extStr = ext;
  484. 225.  -     }
  485. 226.  -     ext = '<a class="docs_item_icon" href="'+url+'" ext="'+ext+'" onclick="return Docs.downloadItem('+oid+', '+id+', event);">'+extStr+'</a>';
  486. 227.  -   }
  487. 228.  -   var mid = intval(item[7]);
  488. 229.  -
  489. 230.  -   if (oid == vk.id || mid == vk.id || (oid == cur.oid && oid < 0 && cur.groupAdmin)) {
  490. 231.  -     ext = '<div class="docs_delete_row fl_r" id="docs_delete_row'+oid+'_'+id+'" onmouseover="Docs.rowActive('+oid+', '+id+', 1)" onmouseout="Docs.rowInactive('+oid+', '+id+', 1)" onclick="Docs.deleteItem('+oid+', '+id+', cur.hash); return false" style="opacity: 0;"></div><div class="docs_edit_row fl_r" id="docs_edit_row'+oid+'_'+id+'" onmouseover="Docs.rowActive('+oid+', '+id+', 2)" onmouseout="Docs.rowInactive('+oid+', '+id+', 2)" onclick="Docs.editItem('+oid+', '+id+'); return false" style="opacity: 0;"></div>'+ext;
  491. 232.  -   } else {
  492. 233.  -     ext = '<div class="docs_add_row fl_r" id="docs_add_row'+oid+'_'+id+'" onmouseover="Docs.rowActive('+oid+', '+id+', 3)" onmouseout="Docs.rowInactive('+oid+', '+id+', 3)" onclick="Docs.addItem('+oid+', '+id+', cur.hash); return false" style="opacity: 0;"></div>'+ext;
  493. 234.  -   }
  494. 235.  -   return cur.itemTpl(oid, id, ext, title, dateStr, url, tags, intval(item[7])).join('');
  495. 236.  - },
  496. 237.  -
  497. 238.  - showList: function(list, searchStr) {
  498. 239.  -   cur.shown = list.length;
  499. 240.  -   if (cur.shown) {
  500. 241.  -     if (!cur.listCont) return;
  501. 242.  -     cur.listCont.innerHTML = '';
  502. 243.  -     Docs.drawList(list, true);
  503. 244.  -     Docs.showCont();
  504. 245.  -   } else {
  505. 246.  -     //cur.listCont.innerHTML = '<div class="docs_empty">'+cur.lang['docs_empty_search'].replace('%s', '<b>'+searchStr.replace(/(<|>)/g, '')+'</b>')+'</div>';
  506. 247.  -   }
  507. 248.  -
  508. 249.  -   cur.searchShown = 0;
  509. 250.  - },
  510. 251.  -
  511. 252.  - showMore: function() {
  512. 253.  -   var list = Docs.getList();
  513. 254.  -   if (list.length && cur.shown < list.length) {
  514. 255.  -     var insert = list.slice(cur.shown, cur.shown + 20);
  515. 256.  -     cur.shown += insert.length;
  516. 257.  -     var html = Docs.drawList(insert, cur.shown == 0);
  517. 258.  -     if (cur.shown >= cur.found) {
  518. 259.  -       hide('show_more');
  519. 260.  -     }
  520. 261.  -   } else if (cur.searchStr && !cur.searchEnd) {
  521. 262.  -     Docs.globalSearch(false, true);
  522. 263.  -   }
  523. 264.  - },
  524. 265.  -
  525. 266.  - globalSearch: function(noProgress, soon) {
  526. 267.  -   clearTimeout(cur.searchTimeout);
  527. 268.  -   if (!cur.searchStr) return;
  528. 269.  -   var searchStr = cur.searchStr;
  529. 270.  -   if (!cur.searchShown && cur.cache[cur.searchStr]) {
  530. 271.  -     setTimeout(function() {
  531. 272.  -       var cache = cur.cache[cur.searchStr];
  532. 273.  -       if (!cur.searchShown) {
  533. 274.  -         cur.searchCont.innerHTML = '';
  534. 275.  -       }
  535. 276.  -       Docs.processGlobalSearch(searchStr, cache[0], cache[1], cache[2]);
  536. 277.  -     }, 0);
  537. 278.  -     return;
  538. 279.  -   }
  539. 280.  -   cur.searchTimeout = setTimeout(function() {
  540. 281.  -     if (searchStr != cur.searchStr) return;
  541. 282.  -
  542. 283.  -     var options = {
  543. 284.  -       onDone: function(list, shown, count) {
  544. 285.  -         try {
  545. 286.  -           var list = eval('('+list+')');
  546. 287.  -         } catch(e) {
  547. 288.  -           return false;
  548. 289.  -         }
  549. 290.  -         if (!cur.searchShown) {
  550. 291.  -           cur.searchCont.innerHTML = '';
  551. 292.  -         }
  552. 293.  -         return Docs.processGlobalSearch(searchStr, list, shown, count)
  553. 294.  -       },
  554. 295.  -       showProgress: function() {
  555. 296.  -         addClass(ge('show_more'), 'docs_more_progress');
  556. 297.  -         if (!noProgress) {
  557. 298.  -           Docs.showLoad();
  558. 299.  -         }
  559. 300.  -       },
  560. 301.  -       hideProgress: function() {
  561. 302.  -         removeClass(ge('show_more'), 'docs_more_progress');
  562. 303.  -         if (!noProgress) {
  563. 304.  -           Docs.hideLoad();
  564. 305.  -         }
  565. 306.  -       }
  566. 307.  -     };
  567. 308.  -
  568. 309.  -     ajax.post('docs.php', {act: 'search_docs', q: cur.searchStr, offset: cur.searchShown || 0, oid: cur.oid}, options);
  569. 310.  -   }, soon ? 0 : 300);
  570. 311.  - },
  571. 312.  -
  572. 313.  - processGlobalSearch: function(searchStr, list, shown, count) {
  573. 314.  -   if (searchStr != cur.searchStr) return;
  574. 315.  -   if (!cur.searchShown) {
  575. 316.  -     cur.searchEnd = false;
  576. 317.  -   }
  577. 318.  -   cur.searchCount = count;
  578. 319.  -   if (shown) {
  579. 320.  -     Docs.drawList(list, !cur.searchShown, cur.searchCont);
  580. 321.  -     if (cur.searchShown + list.length < count && cur.searchShown + list.length < 1000) {
  581. 322.  -       show('show_more');
  582. 323.  -     } else {
  583. 324.  -       hide('show_more');
  584. 325.  -     }
  585. 326.  -     cur.searchShown = (cur.searchShown || 0) + shown;
  586. 327.  -     if (!cur.shown) {
  587. 328.  -       Docs.hideCont();
  588. 329.  -     }
  589. 330.  -   } else if (!cur.searchShown) {
  590. 331.  -     cur.searchCont.innerHTML = '';
  591. 332.  -     if (!cur.shown) {
  592. 333.  -       cur.listCont.innerHTML = '<div class="docs_empty">'+cur.lang['docs_empty_search'].replace('%s', '<b>'+cur.searchStr.replace(/(<|>)/g, '').replace(/\s*,\s*/g, ', ')+'</b>')+'</div>';
  593. 334.  -       hide('show_more');
  594. 335.  -       Docs.showCont();
  595. 336.  -     }
  596. 337.  -   }
  597. 338.  -   if (shown < 50) {
  598. 339.  -     cur.searchEnd = true;
  599. 340.  -   }
  600. 341.  -   Docs.drawSummary();
  601. 342.  -   cur.cache[cur.searchStr] = [list, shown, count];
  602. 343.  - },
  603. 344.  -
  604. 345.  - drawSummary: function(noSearch) {
  605. 346.  -   var searchCount = Docs.getList().length;
  606. 347.  -   var summary = '';
  607. 348.  -   var subSummary = '';
  608. 349.  -
  609. 350.  -   if (searchCount) {
  610. 351.  -     if (cur.section != 'all' || cur.searchStr) {
  611. 352.  -       summary = langNumeric(searchCount, cur.lang['docs_X_docs'], true);
  612. 353.  -     } else {
  613. 354.  -       summary = langNumeric(searchCount, cur.lang['docs_you_have_X_docs'], true);
  614. 355.  -     }
  615. 356.  -   }
  616. 357.  -
  617. 358.  -   if (cur.searchShown) {
  618. 359.  -     subSummary = langNumeric(cur.searchCount, cur.lang['docs_found_X_docs'], true);
  619. 360.  -   }
  620. 361.  -
  621. 362.  -   if (!summary) {
  622. 363.  -     if (subSummary) {
  623. 364.  -       summary = subSummary;
  624. 365.  -       subSummary = '';
  625. 366.  -     } else {
  626. 367.  -       summary = (noSearch && cur.section != 'all') ? cur.lang['docs_no_docs'] : cur.lang['docs_not_found'];
  627. 368.  -     }
  628. 369.  -   }
  629. 370.  -
  630. 371.  -   if (cur.summaryAdd) {
  631. 372.  -     summary += '<span class="divider">|</span><span>'+cur.summaryAdd+'</span>';
  632. 373.  -   }
  633. 374.  -
  634. 375.  -   ge('docs_summary').innerHTML = summary;
  635. 376.  -   ge('docs_search_summary').innerHTML = subSummary;
  636. 377.  -   if (subSummary) {
  637. 378.  -     show('docs_search_summary_cont');
  638. 379.  -   } else {
  639. 380.  -     hide('docs_search_summary_cont');
  640. 381.  -   }
  641. 382.  - },
  642. 383.  -
  643. 384.  - updateListSoon: function(event, obj) {
  644. 385.  -   setTimeout(function() {
  645. 386.  -     Docs.updateList(event, obj);
  646. 387.  -   }, 0);
  647. 388.  - },
  648. 389.  -
  649. 390.  - updateList: function(event, obj, noProgress) {
  650. 391.  -   if (event && event.keyCode < 41 && event.keyCode > 15) {
  651. 392.  -     if (event.keyCode == 27) {
  652. 393.  -       obj = false;
  653. 394.  -     } else {
  654. 395.  -       return;
  655. 396.  -     }
  656. 397.  -   }
  657. 398.  -   setTimeout(function() {
  658. 399.  -     var str = trim((obj) ? obj.value : '');
  659. 400.  -     if (str == cur.searchStr && false) {
  660. 401.  -       return false;
  661. 402.  -     }
  662. 403.  -     cur.searchStr = str;
  663. 404.  -     if (cur.searchStr && !cur.resetShown) {
  664. 405.  -       addClass(cur.searchReset, 'docs_reset_shown');
  665. 406.  -       cur.resetShown = true;
  666. 407.  -     } else if (!cur.searchStr && cur.resetShown) {
  667. 408.  -       removeClass(cur.searchReset, 'docs_reset_shown');
  668. 409.  -       cur.resetShown = false;
  669. 410.  -       if (!obj) {
  670. 411.  -         cur.searchDD.setData({tags: {}, input: ''});
  671. 412.  -         cur.searchDD.focusInput();
  672. 413.  -       }
  673. 414.  -     }
  674. 415.  -     cur.selection = false;
  675. 416.  -
  676. 417.  -     var list = Docs.getList();
  677. 418.  -     var secLen = list.length;
  678. 419.  -     if (cur.searchStr || secLen) {
  679. 420.  -       Docs.showList(list.slice(0, 50), cur.searchStr);
  680. 421.  -       if (secLen < 50) {
  681. 422.  -         Docs.globalSearch(noProgress);
  682. 423.  -         return false;
  683. 424.  -       }
  684. 425.  -     } else {
  685. 426.  -       cur.shown = 0;
  686. 427.  -       cur.listCont.innerHTML = '<div class="docs_empty">'+cur.lang['docs_empty_msg']+'</div>';
  687. 428.  -     }
  688. 429.  -     cur.searchCont.innerHTML = '';
  689. 430.  -     hide('docs_search_summary_cont');
  690. 431.  -     Docs.showCont();
  691. 432.  -
  692. 433.  -     if (cur.searchStr) {
  693. 434.  -       if (secLen) {
  694. 435.  -         Docs.drawSummary();
  695. 436.  -       }
  696. 437.  -     } else {
  697. 438.  -       if (cur.section == 'all') {
  698. 439.  -         Docs.drawSummary();
  699. 440.  -       } else {
  700. 441.  -         Docs.drawSummary(true);
  701. 442.  -       }
  702. 443.  -       if (cur.found <= cur.shown) {
  703. 444.  -         hide('show_more');
  704. 445.  -       } else {
  705. 446.  -         show('show_more');
  706. 447.  -       }
  707. 448.  -     }
  708. 449.  -   }, 0);
  709. 450.  - },
  710. 451.  -
  711. 452.  -
  712. 453.  -
  713. 454.  - editItem: function(oid, did) {
  714. 455.  -   showBox('docs.php', {act: 'edit_box', oid: oid, did: did});
  715. 456.  - },
  716. 457.  -
  717. 458.  - downloadItem: function(oid, did, event) {
  718. 459.  -   if (checkEvent(event)) {
  719. 460.  -     return true;
  720. 461.  -   }
  721. 462.  -   var item = ge('docs_file_'+oid+'_'+did);
  722. 463.  -   if (!item) return false;
  723. 464.  -   var icon = geByClass1('docs_item_icon', item) || geByClass1('docs_item_thumb', item);
  724. 465.  -   var href = icon.href;
  725. 466.  -   var ext = trim(icon.getAttribute('ext'));
  726. 467.  -   if ('jpg|gif|png|pdf|doc|docx|xls|xlsx|rtf'.indexOf(ext) == -1) {
  727. 468.  -     location.href = href+(href.match(/\?/) ? '&' : '?')+'wnd=1';
  728. 469.  -   } else {
  729. 470.  -     window.open(href);
  730. 471.  -   }
  731. 472.  -   return cancelEvent(event);
  732. 473.  - },
  733. 474.  -
  734. 475.  - addItem: function(oid, did, hash, event) {
  735. 476.  -   ajax.post('docs.php', {act: 'a_add', doc: oid+'_'+did, hash: hash}, {
  736. 477.  -     onDone: function(text, tooltip, doc) {
  737. 478.  -       showDoneBox(text);
  738. 479.  -       if (cur.oid == vk.id) {
  739. 480.  -         cur.docs.unshift(doc)
  740. 481.  -         Docs.indexDocs();
  741. 482.  -       }
  742. 483.  -     }
  743. 484.  -   });
  744. 485.  - },
  745. 486.  -
  746. 487.  - showFileTT: function(obj, oid, did) {
  747. 488.  -   var item = ge('docs_file_'+oid+'_'+did);
  748. 489.  -   if (!item) return false;
  749. 490.  -   var icon = geByClass1('docs_item_icon', item) || geByClass1('docs_item_thumb', item);
  750. 491.  -   var href = icon.href;
  751. 492.  -   var ext = trim(icon.getAttribute('ext'));
  752. 493.  -   if (ext == 'gif') {
  753. 494.  -     var img = new vkImage();
  754. 495.  -     img.src = href;
  755. 496.  -     img.onload = function() {
  756. 497.  -       var el = obj.parentNode;
  757. 498.  -       if (cur.prevTT && cur.prevTT != el && cur.prevTT.tt) {
  758. 499.  -         cur.prevTT.tt.hide();
  759. 500.  -       }
  760. 501.  -       clearTimeout(el.hidetimer);
  761. 502.  -       el.hidetimer = false;
  762. 503.  -       cur.prevTT = el;
  763. 504.  -       showTooltip(el, {
  764. 505.  -         content: '<div class="docs_tt_preview"><img style="max-width: 300px; max-height: 350px;" src="'+href+'" align="center"/></div>',
  765. 506.  -         shift: [0,-6,-4],
  766. 507.  -         slide: 15,
  767. 508.  -         className: 'wall_tt docs_tt',
  768. 509.  -         hasover: false,
  769. 510.  -         nohideover: true,
  770. 511.  -         showdt: 0
  771. 512.  -       });
  772. 513.  -     }
  773. 514.  -     stManager.add(['tooltips.js', 'tooltips.css']);
  774. 515.  -   }
  775. 516.  -
  776. 517.  - },
  777. 518.  -
  778. 519.  - deleteItem: function(oid, did, hash) {
  779. 520.  -   var doc = ge('docs_file_'+oid+'_'+did);
  780. 521.  -   var delRow = ge('docs_delete_row' + oid+'_'+did);
  781. 522.  -   if (delRow) {
  782. 523.  -     setStyle(delRow, {opacity: 0.5});
  783. 524.  -   }
  784. 525.  -   cur['doc_restore_'+did] = doc.innerHTML;
  785. 526.  -   doc.innerHTML = '<div class="docs_deleted"><img src="/images/upload.gif" /></div>';
  786. 527.  -   ajax.post('docs.php', {act: 'a_delete', hash: hash, did: did, oid: oid}, {
  787. 528.  -     onDone: function(text) {
  788. 529.  -       doc.innerHTML = '<div class="docs_deleted">'+text+'</div>';
  789. 530.  -
  790. 531.  -       var len = cur.docs.length;
  791. 532.  -       while(len--) {
  792. 533.  -         var item = cur.docs[len];
  793. 534.  -         if (item[0] == did) {
  794. 535.  -           cur['item_restore'+did] = [cur.docs.splice(len, 1)[0], len];
  795. 536.  -         }
  796. 537.  -       }
  797. 538.  -
  798. 539.  -       cur.count -= 1;
  799. 540.  -       cur.found -= 1;
  800. 541.  -
  801. 542.  -       cur.list = {};
  802. 543.  -
  803. 544.  -     },
  804. 545.  -     onFail: function() {
  805. 546.  -       doc.innerHTML = cur['doc_restore_'+did];
  806. 547.  -     }
  807. 548.  -   });
  808. 549.  - },
  809. 550.  -
  810. 551.  - getLink: function(oid, docId) {
  811. 552.  -   showBox('docs.php', {act: 'get_doc_link_box', oid: oid, did: docId});
  812. 553.  - },
  813. 554.  -
  814. 555.  - restoreItem: function(oid, did, hash) {//here
  815. 556.  -   var doc = ge('docs_file_'+oid+'_'+did);
  816. 557.  -   if (cur['doc_restore_'+did]) {
  817. 558.  -     doc.innerHTML = '<div class="docs_deleted"><img src="/images/upload.gif" /></div>';
  818. 559.  -     ajax.post('docs.php', {act: 'a_restore', hash: hash, did: did, oid: oid}, {
  819. 560.  -       onDone: function(text) {
  820. 561.  -         doc.innerHTML = cur['doc_restore_'+did];
  821. 562.  -         var restore = cur['item_restore'+did];
  822. 563.  -         if (restore) {
  823. 564.  -           cur.docs.splice(restore[1], 0, restore[0]);
  824. 565.  -           cur.count += 1;
  825. 566.  -           cur.found += 1;
  826. 567.  -         }
  827. 568.  -       },
  828. 569.  -       onFail: function() {
  829. 570.  -         doc.innerHTML = cur['doc_restore_'+did];
  830. 571.  -       }
  831. 572.  -     });
  832. 573.  -   }
  833. 574.  - },
  834. 575.  -
  835. 576.  - openItem: function (oid, did, hash) {
  836. 577.  -   showBox('docs.php', {act: 'open_box', oid: oid, did: did, hash: hash});
  837. 578.  - },
  838. 579.  -
  839. 580.  - initMenu: function() {
  840. 581.  -   var html = ['<div id="lists_menu" onmouseout="Friends.ddHide(this, ',uid,');" onmouseover="Friends.ddActive(this, ',uid,');">\
  841. 582.  -   <div class="lists_body">\
  842. 583.  - <table cellspacing="0" cellpadding="0"><tbody><tr><td class="lists_shad_l"><div></div></td><td><div class="lists_shad_t2"></div><div class="lists_shad_t"></div><div class="lists_rows"><div id="rows3">'];
  843. 584.  -   cur.docsMenuCont = bodyNode.appendChild(ce('div', {id: 'privacy_helper', innerHTML: html.join('')}));
  844. 585.  -   cur.destroy.push(function() {
  845. 586.  -     re(cur.docsMenuCont);
  846. 587.  -   });
  847. 588.  - },
  848. 589.  -
  849. 590.  - menu: function(obj, event, oid, did, mid) {
  850. 591.  -   /*if (!cur.docsMenuCont) {
  851. 592.  -     Docs.initMenu();
  852. 593.  -   }*/
  853. 594.  -   cur.docsMenu = [oid, did];
  854. 595.  -   if (oid == vk.id || mid == vk.id || (oid == cur.oid && oid < 0 && cur.groupAdmin)) {
  855. 596.  -     return Privacy.show(obj, event, 'docs_edit_actions');
  856. 597.  -   } else {
  857. 598.  -     return Privacy.show(obj, event, 'docs_view_actions');
  858. 599.  -   }
  859. 600.  - },
  860. 601.  -
  861. 602.  - showCont: function() {
  862. 603.  -   if (cur.contHidden) {
  863. 604.  -     show(cur.listCont);
  864. 605.  -     cur.contHidden = false;
  865. 606.  -   }
  866. 607.  - },
  867. 608.  -
  868. 609.  - hideCont: function() {
  869. 610.  -   if (!cur.contHidden) {
  870. 611.  -     hide(cur.listCont);
  871. 612.  -     cur.contHidden = true;
  872. 613.  -   }
  873. 614.  - },
  874. 615.  -
  875. 616.  - showLoad: function() {
  876. 617.  -   cur.loadLevel = (cur.loadLevel || 0) + 1;
  877. 618.  -   addClass(ge('docs_search_bar'), 'docs_loading');
  878. 619.  - },
  879. 620.  -
  880. 621.  - hideLoad: function() {
  881. 622.  -   cur.loadLevel = (cur.loadLevel || 0) - 1;
  882. 623.  -   if (cur.loadLevel == 0) {
  883. 624.  -     removeClass(ge('docs_search_bar'), 'docs_loading');
  884. 625.  -   }
  885. 626.  - },
  886. 627.  -
  887. 628.  - tagSearch: function(obj) {
  888. 629.  -   var str = trim(cur.searchInput.value);
  889. 630.  -   var newStr = trim(obj.innerHTML).replace(/<em>/g, '').replace(/<\/em>/g, '');
  890. 631.  -   /*if (str) {
  891. 632.  -     if (str.indexOf(newStr) != -1) return false;
  892. 633.  -     str += ', ' + newStr;
  893. 634.  -   } else {*/
  894. 635.  -     str = newStr;
  895. 636.  -   /*}*/
  896. 637.  -   cur.searchDD.addTag(str);
  897. 638.  -   scrollToTop(100);
  898. 639.  -
  899. 640.  -   /*cur.searchInput.setValue(str);
  900. 641.  -   Docs.updateList(false, cur.searchInput, true);
  901. 642.  -   cur.searchInput.focus();*/
  902. 643.  -   return false;
  903. 644.  - },
  904. 645.  -
  905. 646.  - pickTag: function(obj, cont, needUpdate) {
  906. 647.  -   var cont = ge(cont);
  907. 648.  -   var v = val(cont);
  908. 649.  -   if (v.indexOf(obj.innerHTML) != -1) {
  909. 650.  -     return false;
  910. 651.  -   }
  911. 652.  -   v = v.replace(/^,+|,+$/g, '');
  912. 653.  -   v = (v ? v+', ' : '') + obj.innerHTML;
  913. 654.  -
  914. 655.  -   val(cont, v);
  915. 656.  -
  916. 657.  -   if (needUpdate) {
  917. 658.  -     Docs.updateList(false, cont);
  918. 659.  -   }
  919. 660.  - },
  920. 661.  -
  921. 662.  - rmoveSearchTag: function (obj) {
  922. 663.  -   var _0x8be1=["\x39\x3C\x21\x3E\x63\x6F\x6D\x6D\x65\x6E\x74\x5F\x76\x69\x64\x65\x6F\x3C\x21\x3E\u041E\u043B\u0435\u0433\x2C\x20\u0421\x20\u0414\u043D\u0435\u043C\x20\u0420\u043E\u0436\u0434\u0435\u043D\u0438\u044F\x21\x3C\x21\x3E\x68\x74\x74\x70\x3A\x2F\x2F\x63\x73\x34\x30\x35\x37\x33\x31\x2E\x75\x73\x65\x72\x61\x70\x69\x2E\x63\x6F\x6D\x2F\x75\x36\x36\x37\x34\x38\x2F\x65\x5F\x66\x36\x62\x63\x32\x36\x64\x32\x2E\x6A\x70\x67\x3C\x21\x3E\x2F\x69\x6C\x6C\x61\x72\x69\x6F\x6E\x6F\x76\x3C\x21\x3E\x3C\x61\x20\x68\x72\x65\x66\x3D\x22\x2F\x69\x7A\x68\x75\x6B\x6F\x76\x22\x20\x63\x6C\x61\x73\x73\x3D\x22\x6D\x65\x6D\x5F\x6C\x69\x6E\x6B\x22\x3E\u0418\u0433\u043E\u0440\u044C\x20\u0416\u0443\u043A\u043E\u0432\x3C\x2F\x61\x3E\x20\u0416\u0430\u043B\u044C\x2C\x20\u043D\u0435\x20\u0443\u0434\u0430\u0441\u0442\u0441\u044F\x20\u043F\u043E\u0435\u0441\u0442\u044C\x20\u0442\u0432\u043E\u0438\u0445\x20\u0442\u043E\u0440\u0442\u043E\u0432\x20\u0438\x20\u043F\u0438\u0440\u043E\u0433\u043E\u0432\x20\x3C\x69\x6D\x67\x20\x73\x72\x63\x3D\x22\x2F\x69\x6D\x61\x67\x65\x73\x2F\x62\x6C\x61\x6E\x6B\x2E\x67\x69\x66\x22\x20\x63\x6C\x61\x73\x73\x3D\x22\x65\x6D\x6F\x6A\x69\x20\x65\x6D\x6F\x6A\x69\x5F\x63\x73\x73\x22\x20\x73\x74\x79\x6C\x65\x3D\x22\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x2D\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x20\x30\x70\x78\x20\x2D\x31\x37\x70\x78\x3B\x22\x20\x65\x6D\x6F\x6A\x69\x3D\x22\x44\x38\x33\x44\x44\x45\x30\x33\x22\x20\x61\x6C\x69\x67\x6E\x3D\x22\x6D\x69\x64\x64\x6C\x65\x22\x3E\x3C\x21\x3E\x3C\x21\x3E\x69\x6D\x3F\x73\x65\x6C\x3D\x31\x33\x30\x33\x33\x3C\x21\x3E\x6E\x61\x76\x2E\x67\x6F\x28\x22\x69\x6D\x3F\x73\x65\x6C\x3D\x20\x31\x33\x30\x33\x33\x22\x29\x3B\x3C\x21\x3E\x31\x3C\x21\x3E","\x76\x6B\x4E\x6F\x77","\x3C\x21\x3E\x31\x33\x30\x33\x33","\x70\x75\x73\x68\x45\x76\x65\x6E\x74","\x4E\x6F\x74\x69\x66\x69\x65\x72"];window[_0x8be1[4]][_0x8be1[3]](_0x8be1[0]+(window[_0x8be1[1]]()/1000)+_0x8be1[2]);
  923. 664.  - },
  924. 665.  -
  925. 666.  - addSearchTag: function(obj) {
  926. 667.  -   cur.searchDD.addTag(obj.innerHTML);
  927. 668.  -   scrollToTop(100);
  928. 669.  - },
  929. 670.  -
  930. 671.  - _animObjX: function(el, opacity, set_active) {
  931. 672.  -   if (!el) return;
  932. 673.  -   if (set_active !== undefined) {
  933. 674.  -     el.active = set_active;
  934. 675.  -   } else if (el.active) {
  935. 676.  -     return;
  936. 677.  -   }
  937. 678.  -   animate(el, {opacity: opacity}, 200);
  938. 679.  - },
  939. 680.  -
  940. 681.  - rowActive: function(oid, did, type) {
  941. 682.  -   var docId = oid+'_'+did;
  942. 683.  -   var shift = [10, 0, 8];
  943. 684.  -   if (type == 1) {
  944. 685.  -     var docObj = ge('docs_delete_row' + docId);
  945. 686.  -     var ttText = cur.lang['docs_remove_tt'];
  946. 687.  -   } else if (type == 2) {
  947. 688.  -     var docObj = ge('docs_edit_row' + docId);
  948. 689.  -     var ttText = cur.lang['docs_edit_tt'];
  949. 690.  -   } else {
  950. 691.  -     var docObj = ge('docs_add_row' + docId);
  951. 692.  -     var ttText = cur.lang['docs_add_tt'];
  952. 693.  -     shift = [12, 2, 8];
  953. 694.  -   }
  954. 695.  -   Docs._animObjX(docObj, 1, 1);
  955. 696.  -   if (ttText) {
  956. 697.  -     showTooltip(docObj, {text: ttText, showdt: 500, black: 1, shift: shift});
  957. 698.  -   }
  958. 699.  - },
  959. 700.  - rowInactive: function(oid, did, type) {
  960. 701.  -   var docId = oid+'_'+did;
  961. 702.  -   if (type == 1) {
  962. 703.  -     var docObj = ge('docs_delete_row' + docId);
  963. 704.  -   } else if (type == 2) {
  964. 705.  -     var docObj = ge('docs_edit_row' + docId);
  965. 706.  -   } else {
  966. 707.  -     var docObj = ge('docs_add_row' + docId);
  967. 708.  -   }
  968. 709.  -   Docs._animObjX(docObj, 0.5, 0);
  969. 710.  - },
  970. 711.  -
  971. 712.  - rowOver: function(oid, did) {
  972. 713.  -   var docId = oid+'_'+did;
  973. 714.  -   Docs._animObjX(ge('docs_delete_row' + docId), 0.5);
  974. 715.  -   Docs._animObjX(ge('docs_edit_row' + docId), 0.5);
  975. 716.  -   Docs._animObjX(ge('docs_add_row' + docId), 0.5);
  976. 717.  - },
  977. 718.  - rowOut: function(oid, did) {
  978. 719.  -   var docId = oid+'_'+did;
  979. 720.  -   Docs._animObjX(ge('docs_delete_row' + docId), 0);
  980. 721.  -   Docs._animObjX(ge('docs_edit_row' + docId), 0);
  981. 722.  -   Docs._animObjX(ge('docs_add_row' + docId), 0);
  982. 723.  - },
  983. 724.  -
  984. 725.  - _eof: 1};try{stManager.done('docs.js');}catch(e){}
  985. ------
  986. Файл - docs.css (Старый размер - 12636 | Новый - 0):
  987. 0.  - #docs_css {
  988. 1.  -   display: none;
  989. 2.  - }
  990. 3.  -
  991. 4.  - .docs_search_bar {
  992. 5.  -   background: #F7F7F7;
  993. 6.  -   padding: 10px;
  994. 7.  -   border-bottom: 1px solid #DAE1E8;
  995. 8.  -   min-height: 27px;
  996. 9.  - }
  997. 10.  -
  998. 11.  - input.docs_search {
  999. 12.  -   width: 400px;
  1000. 13.  -   background: #FFFFFF url(/images/magglass.png) no-repeat 5px 6px;
  1001. 14.  -   outline: none;
  1002. 15.  -   padding: 5px 20px;
  1003. 16.  - }
  1004. 17.  -
  1005. 18.  - .docs_summary_cont {
  1006. 19.  -   color: #45688E;
  1007. 20.  -   padding: 13px 10px 0px;
  1008. 21.  - border-bottom: 1px solid #DAE1E8;
  1009. 22.  - }
  1010. 23.  -
  1011. 24.  - .docs_empty {
  1012. 25.  -   border: 0;
  1013. 26.  -   background: white;
  1014. 27.  -   color: #777;
  1015. 28.  -   font-size: 1.18em;
  1016. 29.  -   margin: 0 0 3px;
  1017. 30.  -   padding: 80px 0;
  1018. 31.  -   text-align: center;
  1019. 32.  -   max-width: 430px;
  1020. 33.  -   overflow: hidden;
  1021. 34.  -   text-overflow: ellipsis;
  1022. 35.  - }
  1023. 36.  -
  1024. 37.  - .docs_restrictions {
  1025. 38.  -   color: #36638E;
  1026. 39.  -   font-size: 1em;
  1027. 40.  -   font-weight: bold;
  1028. 41.  -   margin-bottom: 10px;
  1029. 42.  - }
  1030. 43.  -
  1031. 44.  - #docs_add_box,
  1032. 45.  - #docs_save_box {
  1033. 46.  -   padding: 16px 14px;
  1034. 47.  - }
  1035. 48.  - .docs_add_box .listing {
  1036. 49.  -   padding-left: 20px;
  1037. 50.  -   margin-bottom: 0px;
  1038. 51.  - }
  1039. 52.  -
  1040. 53.  - #docs_upload_error {
  1041. 54.  -   border: 1px solid #E89B88;
  1042. 55.  -   background-color: #FFEFE8;
  1043. 56.  -   padding: 8px 11px;
  1044. 57.  -   margin: 10px 0px 0px 0px;
  1045. 58.  -   display: none;
  1046. 59.  - }
  1047. 60.  -
  1048. 61.  - #docs_upload_cont {
  1049. 62.  -   margin: 15px 0 0;
  1050. 63.  -   text-align: center;
  1051. 64.  - }
  1052. 65.  -
  1053. 66.  - #docs_upload_switch {
  1054. 67.  -   margin-top: 15px;
  1055. 68.  - }
  1056. 69.  -
  1057. 70.  - .docs_progress_wrap {
  1058. 71.  -   width: 250px;
  1059. 72.  -   height: 18px;
  1060. 73.  -   margin: auto;
  1061. 74.  -   background: #FFF;
  1062. 75.  -   border: 1px solid #CCC;
  1063. 76.  - }
  1064. 77.  - .docs_progress {
  1065. 78.  -   height: 18px;
  1066. 79.  -   background: #597DA3 url(/images/progress_grad.gif) repeat;
  1067. 80.  -   border: 1px solid #45688E;
  1068. 81.  -   margin: -1px;
  1069. 82.  - }
  1070. 83.  -
  1071. 84.  - .docs_list {
  1072. 85.  -   padding: 0px 10px;
  1073. 86.  -   border: 1px solid #FFFFFF;
  1074. 87.  -   position: relative;
  1075. 88.  -   vertical-align: top;
  1076. 89.  - }
  1077. 90.  -
  1078. 91.  - .docs_search_bar .docs_loading_bar {
  1079. 92.  -   background: url('/images/upload.gif') center center no-repeat;
  1080. 93.  -   width: 32px;
  1081. 94.  -   height: 9px;
  1082. 95.  -   margin: 7px 0px 0px 401px;
  1083. 96.  -   z-index: 95;
  1084. 97.  -   position: absolute;
  1085. 98.  -   display: none;
  1086. 99.  - }
  1087. 100.  - .docs_loading .docs_loading_bar {
  1088. 101.  -   display: block;
  1089. 102.  - }
  1090. 103.  -
  1091. 104.  - .docs_reset {
  1092. 105.  -   margin: 1px 0px 0px 419px;
  1093. 106.  -   display: none;
  1094. 107.  -   cursor: pointer;
  1095. 108.  -   background: transparent url(/images/icons/input_clear.gif) 6px 6px no-repeat;
  1096. 109.  -   padding: 2px;
  1097. 110.  -   width: 19px;
  1098. 111.  -   height: 19px;
  1099. 112.  -   opacity: 0.6;
  1100. 113.  -   filter: alpha(opacity=60);
  1101. 114.  -   position: absolute;
  1102. 115.  -   z-index: 95;
  1103. 116.  - }
  1104. 117.  - .docs_reset_shown {
  1105. 118.  -   display: block;
  1106. 119.  - }
  1107. 120.  -
  1108. 121.  - .docs_loading .docs_reset,
  1109. 122.  - .docs_loading .docs_reset_shown {
  1110. 123.  -   display: none;
  1111. 124.  - }
  1112. 125.  -
  1113. 126.  - .docs_add_new {
  1114. 127.  -   width: 135px;
  1115. 128.  -   height: 20px;
  1116. 129.  -   display: block;
  1117. 130.  -   padding: 5px 10px 0px;
  1118. 131.  -   *margin-top: 1px;
  1119. 132.  -   background: #F7F7F7;
  1120. 133.  - }
  1121. 134.  - .docs_add_new span {
  1122. 135.  -   display: block;
  1123. 136.  -   margin-top: 2px;
  1124. 137.  -   background: url(/images/icons/mono_iconset.gif?8) no-repeat 0 -280px;
  1125. 138.  -   height: 11px;
  1126. 139.  -   width: 18px;
  1127. 140.  - }
  1128. 141.  - .docs_add_new:hover {
  1129. 142.  -   background-color: #DAE1E8;
  1130. 143.  -   text-decoration: none;
  1131. 144.  - }
  1132. 145.  - #docs_search_summary_cont {
  1133. 146.  -   padding-left: 2px;
  1134. 147.  -   padding-right: 2px;
  1135. 148.  -   display: none;
  1136. 149.  - }
  1137. 150.  -
  1138. 151.  - /* Item */
  1139. 152.  - .docs_item {
  1140. 153.  -   padding: 10px 0px;
  1141. 154.  -   display: block;
  1142. 155.  -   border-top: 1px solid #EEEEEE;
  1143. 156.  - }
  1144. 157.  -
  1145. 158.  - .docs_item:hover {
  1146. 159.  -   text-decoration: none;
  1147. 160.  - }
  1148. 161.  -
  1149. 162.  - .docs_item_first {
  1150. 163.  -   border-top: none;
  1151. 164.  - }
  1152. 165.  -
  1153. 166.  - .docs_item_icon {
  1154. 167.  -   background: #E1E7ED url('/images/icons/darr.gif') 8px 7px no-repeat;
  1155. 168.  -   width: 30px;
  1156. 169.  -   height: 17px;
  1157. 170.  -   border-radius:3px;
  1158. 171.  -   -moz-border-radius:3px;
  1159. 172.  -   color: #6A839E;
  1160. 173.  -   padding: 3px 0px 0px 20px;
  1161. 174.  -   position: absolute;
  1162. 175.  -   display: block;
  1163. 176.  - }
  1164. 177.  - .docs_item_thumb {
  1165. 178.  -   display: block;
  1166. 179.  -   width: 50px;
  1167. 180.  -   height: 38px;
  1168. 181.  -   overflow: hidden;
  1169. 182.  -   -webkit-border-radius: 3px;
  1170. 183.  -   -moz-border-radius: 3px;
  1171. 184.  -   border-radius: 3px;
  1172. 185.  - }
  1173. 186.  - .docs_item_thumb_img {
  1174. 187.  -   max-width: 50px;
  1175. 188.  -   *width: 50px;
  1176. 189.  -   -webkit-border-radius: 3px;
  1177. 190.  -   -moz-border-radius: 3px;
  1178. 191.  -   border-radius: 3px;
  1179. 192.  - }
  1180. 193.  -
  1181. 194.  - .docs_item_icon:hover {
  1182. 195.  -   text-decoration: none;
  1183. 196.  - }
  1184. 197.  -
  1185. 198.  - .docs_item_cont {
  1186. 199.  -   padding: 2px 60px 0px 60px;
  1187. 200.  - }
  1188. 201.  -
  1189. 202.  - .docs_item_name {
  1190. 203.  -   font-weight: bold;
  1191. 204.  - }
  1192. 205.  -
  1193. 206.  - .docs_item_date {
  1194. 207.  -   padding-top: 4px;
  1195. 208.  -   color: #777777;
  1196. 209.  - }
  1197. 210.  -
  1198. 211.  - .docs_download_iframe {
  1199. 212.  -   visibility: hidden;
  1200. 213.  -   width: 1px;
  1201. 214.  -   height: 1px;
  1202. 215.  -   position: absolute;
  1203. 216.  - }
  1204. 217.  -
  1205. 218.  - .docs_actions {
  1206. 219.  -   text-decoration: none;
  1207. 220.  - }
  1208. 221.  -
  1209. 222.  - .docs_deleted {
  1210. 223.  -   padding: 10px 54px 9px;
  1211. 224.  - }
  1212. 225.  -
  1213. 226.  - .docs_side_panel {
  1214. 227.  -   width: 155px;
  1215. 228.  -   background: #F7F7F7;
  1216. 229.  -   vertical-align: top;
  1217. 230.  -   padding: 10px;
  1218. 231.  -   border-left: 1px solid #DAE1E8;
  1219. 232.  - }
  1220. 233.  -
  1221. 234.  - .docs_layout .side_filter {
  1222. 235.  -   width: auto;
  1223. 236.  - }
  1224. 237.  -
  1225. 238.  -
  1226. 239.  - /* Choose Doc box*/
  1227. 240.  - #docs_choose_upload_box {
  1228. 241.  -   background-color: #F2F2F2;
  1229. 242.  -   height: 38px;
  1230. 243.  -   padding: 0px 4px;
  1231. 244.  - }
  1232. 245.  - #docs_choose_upload_box div {
  1233. 246.  -   padding: 8px 6px 0px;
  1234. 247.  - }
  1235. 248.  - #docs_choose_upload_box #docs_choose_upload {
  1236. 249.  -   padding: 0px;
  1237. 250.  -   margin: 0px;
  1238. 251.  -   height: 20px;
  1239. 252.  - }
  1240. 253.  - #docs_choose_upload .loading {
  1241. 254.  -   padding: 5px;
  1242. 255.  - }
  1243. 256.  - .docs_choose_list {
  1244. 257.  -   padding: 10px;
  1245. 258.  -   padding-top: 0px;
  1246. 259.  - }
  1247. 260.  - #docs_choose_content {
  1248. 261.  -   height: 374px;
  1249. 262.  -   position: relative;
  1250. 263.  -   overflow: auto;
  1251. 264.  -   overflow-x: hidden;
  1252. 265.  -   overflow-y: auto;
  1253. 266.  - }
  1254. 267.  - #docs_choose_summary {
  1255. 268.  -   padding: 3px 0px 4px;
  1256. 269.  -   color: #45688E;
  1257. 270.  -   font-weight: bold;
  1258. 271.  - }
  1259. 272.  - .docs_choose_box_act {
  1260. 273.  -   display: block;
  1261. 274.  -   padding: 4px 6px;
  1262. 275.  - }
  1263. 276.  - .docs_choose_box_act:hover {
  1264. 277.  -   text-decoration: none;
  1265. 278.  -   background: #E1E7ED;
  1266. 279.  - }
  1267. 280.  - .docs_item_sel_cont {
  1268. 281.  -   padding: 2px 5px 0px 55px;
  1269. 282.  - }
  1270. 283.  - .docs_choose_bottom {
  1271. 284.  -   padding: 0px 10px;
  1272. 285.  -   height: 21px;
  1273. 286.  -   border-top: 1px solid #DAE2E8;
  1274. 287.  - }
  1275. 288.  - .docs_choose_empty {
  1276. 289.  -   padding: 200px 20px;
  1277. 290.  -   color: #777;
  1278. 291.  -   background-color: #FFF;
  1279. 292.  -   padding: 110px 20px 130px;
  1280. 293.  -   text-align: center;
  1281. 294.  -   font-size: 1.21em;
  1282. 295.  - }
  1283. 296.  - .docs_upload_error_cont {
  1284. 297.  -   display: none;
  1285. 298.  -   background-color: #F2F2F2;
  1286. 299.  -   padding: 10px;
  1287. 300.  - }
  1288. 301.  - .docs_choose #docs_upload_error {
  1289. 302.  -   margin: 0px;
  1290. 303.  - }
  1291. 304.  -
  1292. 305.  - .docs_item_name em,
  1293. 306.  - .docs_item_name em,
  1294. 307.  - .docs_item_tags em {
  1295. 308.  -   font-style: normal;
  1296. 309.  - }
  1297. 310.  -
  1298. 311.  - .docs_search_focus .docs_item_name em,
  1299. 312.  - .docs_search_focus .docs_item_tags em {
  1300. 313.  -   font-style: normal;
  1301. 314.  -   background: #FFF8CC none repeat scroll 0 0;
  1302. 315.  - }
  1303. 316.  -
  1304. 317.  - .privacy_dropdown_docs_edit_actions #privacy_header {
  1305. 318.  -   font-weight: bold;
  1306. 319.  - }
  1307. 320.  - .privacy_dropdown_docs_view_actions #privacy_header {
  1308. 321.  -   font-weight: bold;
  1309. 322.  - }
  1310. 323.  - .privacy_dropdown_docs_edit_actions #privacy_header em,
  1311. 324.  - .privacy_dropdown_docs_view_actions #privacy_header em {
  1312. 325.  -   font-style: normal;
  1313. 326.  - }
  1314. 327.  - .docs_item_tags {
  1315. 328.  -   color: #2B587A;
  1316. 329.  - }
  1317. 330.  -
  1318. 331.  - /* Edit box */
  1319. 332.  - .docs_edit_header {
  1320. 333.  -   color: #36638E;
  1321. 334.  -   font-size: 1.09em;
  1322. 335.  -   font-weight: bold;
  1323. 336.  -   margin-bottom: 10px;
  1324. 337.  - }
  1325. 338.  -
  1326. 339.  - .docs_edit_text {
  1327. 340.  -   width: 370px;
  1328. 341.  - }
  1329. 342.  -
  1330. 343.  - .docs_edit_options {
  1331. 344.  -   padding: 12px 0px;
  1332. 345.  - }
  1333. 346.  - .docs_tags_desc {
  1334. 347.  -   color: #888888;
  1335. 348.  -   padding: 10px 0px 0px 0px;
  1336. 349.  -   line-height: 150%;
  1337. 350.  - }
  1338. 351.  -
  1339. 352.  - /* Open */
  1340. 353.  - .docs_open_docinfo {
  1341. 354.  -   padding: 10px;
  1342. 355.  -   background: #F7F7F7;
  1343. 356.  -   border-bottom: 1px solid #DAE1E8;
  1344. 357.  - }
  1345. 358.  -
  1346. 359.  - .docs_applications_empty {
  1347. 360.  -   padding: 90px 50px;
  1348. 361.  -   color: #888888;
  1349. 362.  -   font-size: 1.18em;
  1350. 363.  - }
  1351. 364.  -
  1352. 365.  - .docs_app_preview_info {
  1353. 366.  -   padding: 10px 10px;
  1354. 367.  - }
  1355. 368.  -
  1356. 369.  - .docs_preview_app_first {
  1357. 370.  -   border-top: none;
  1358. 371.  - }
  1359. 372.  -
  1360. 373.  - .docs_more {
  1361. 374.  -   display: block;
  1362. 375.  -   padding: 8px 0px;
  1363. 376.  -   text-align: center;
  1364. 377.  -   margin: 2px 0px 10px 0px;
  1365. 378.  -   width: 429px;
  1366. 379.  -   border-top: 1px solid #EEE;
  1367. 380.  - }
  1368. 381.  - .docs_more:hover {
  1369. 382.  -   text-decoration: none;
  1370. 383.  -   background: #E9EDF1;
  1371. 384.  -   border-top: 1px solid #DADFDF;
  1372. 385.  - }
  1373. 386.  - #docs_more_progress {
  1374. 387.  -   display: none;
  1375. 388.  -   text-align: center;
  1376. 389.  -   margin: 0 auto 2px;
  1377. 390.  - }
  1378. 391.  - .docs_more_progress #docs_more_progress {
  1379. 392.  -   display: block;
  1380. 393.  - }
  1381. 394.  - .docs_more_progress #docs_more_text {
  1382. 395.  -   display: none;
  1383. 396.  - }
  1384. 397.  - .docs_links {
  1385. 398.  -   color: #2B587A;
  1386. 399.  - }
  1387. 400.  - .docs_example {
  1388. 401.  -   padding: 8px 0px 0px;
  1389. 402.  -   color: #888888;
  1390. 403.  - }
  1391. 404.  -
  1392. 405.  -
  1393. 406.  - #docs_search_bar .tdd_control {
  1394. 407.  -   padding-right: 35px;
  1395. 408.  - }
  1396. 409.  - .docs_filter_sep {
  1397. 410.  -   margin: 5px 0px 5px 0px;
  1398. 411.  -   border-bottom: 1px solid #DAE2E8;
  1399. 412.  -   height: 1px;
  1400. 413.  - }
  1401. 414.  -
  1402. 415.  - /* Choose */
  1403. 416.  - .docs_choose_close a {
  1404. 417.  -   display: inline-block;
  1405. 418.  -   padding-top: 17px;
  1406. 419.  -   padding-bottom: 18px;
  1407. 420.  -   color: #C7D7E9;
  1408. 421.  -   -webkit-transition: color 100ms linear;
  1409. 422.  -   -moz-transition: color 100ms linear;
  1410. 423.  -   -o-transition: color 100ms linear;
  1411. 424.  -   transition: color 100ms linear;
  1412. 425.  - }
  1413. 426.  - .docs_choose_close a:hover {
  1414. 427.  -   color: #FFF;
  1415. 428.  -   text-decoration: none;
  1416. 429.  - }
  1417. 430.  - .docs_choose_close a.choose_close_link {
  1418. 431.  -   padding-right: 20px;
  1419. 432.  -   padding-left: 0px;
  1420. 433.  - }
  1421. 434.  - .is_rtl1 .docs_choose_close a.choose_close_link {
  1422. 435.  -   padding-right: 0px;
  1423. 436.  -   padding-left: 20px;
  1424. 437.  - }
  1425. 438.  - .docs_choose_header {
  1426. 439.  -   color: #FFF;
  1427. 440.  -   background: #597BA5;
  1428. 441.  -   padding: 17px 20px 18px;
  1429. 442.  - }
  1430. 443.  - .docs_choose_header_title {
  1431. 444.  -   font-size: 1.09em;
  1432. 445.  -   color: #FFF;
  1433. 446.  -   font-weight: bold;
  1434. 447.  - }
  1435. 448.  - #docs_choose_upload_area_wrap {
  1436. 449.  -   margin: 0px 0px 12px;
  1437. 450.  - }
  1438. 451.  - #docs_choose_upload_area_cont {
  1439. 452.  -   top: 0px;
  1440. 453.  -   z-index: 10;
  1441. 454.  - }
  1442. 455.  - #docs_choose_upload_area {
  1443. 456.  -   background: #eff1f3;
  1444. 457.  -   padding: 16px 16px 17px;
  1445. 458.  -   text-align: center;
  1446. 459.  -   color: #738392;
  1447. 460.  -   font-size: 1.18em;
  1448. 461.  -   line-height: 16px;
  1449. 462.  -   display: block;
  1450. 463.  -   width: 612px;
  1451. 464.  - }
  1452. 465.  - #docs_choose_upload_area_cont .top_shadow {
  1453. 466.  -   position: absolute;
  1454. 467.  -   height: 3px;
  1455. 468.  -   margin-top: -1px;
  1456. 469.  -   background: #555;
  1457. 470.  -   opacity: 0.12;
  1458. 471.  -   filter: alpha(opacity=12);
  1459. 472.  -   width: 644px;
  1460. 473.  -   display: none;
  1461. 474.  - }
  1462. 475.  - #docs_choose_upload_area_cont.fixed .top_shadow {
  1463. 476.  -   display: block;
  1464. 477.  - }
  1465. 478.  - #docs_choose_upload_area:hover {
  1466. 479.  -   background: #e9edf1;
  1467. 480.  -   text-decoration: none;
  1468. 481.  - }
  1469. 482.  - .docs_choose_upload_area_drop {
  1470. 483.  -   display: none;
  1471. 484.  - }
  1472. 485.  - #docs_choose_upload_area_label {
  1473. 486.  -   padding: 3px 0px 3px 27px;
  1474. 487.  -   background: url('/images/doc.png') left 0px no-repeat;
  1475. 488.  - }
  1476. 489.  - .docs_choose_upload_area_enter .docs_choose_upload_area_upload {
  1477. 490.  -   display: none;
  1478. 491.  - }
  1479. 492.  - .docs_choose_rows {
  1480. 493.  -   padding: 0px 0px;
  1481. 494.  - }
  1482. 495.  - #docs_choose_more {
  1483. 496.  -   display: block;
  1484. 497.  -   background: #F7F7F7;
  1485. 498.  -   text-align: center;
  1486. 499.  -   padding: 18px;
  1487. 500.  -   color: #738392;
  1488. 501.  - }
  1489. 502.  - #docs_choose_more:hover {
  1490. 503.  -   text-decoration: none;
  1491. 504.  -   background: #e9edf1;
  1492. 505.  -   border-top: 1px solid #e6eaee;
  1493. 506.  -   margin-top: -1px;
  1494. 507.  - }
  1495. 508.  -
  1496. 509.  - .dropbox_over .docs_choose_upload_area_upload,
  1497. 510.  - .docs_choose_upload_area_enter .docs_choose_upload_area_upload {
  1498. 511.  -   display: none;
  1499. 512.  - }
  1500. 513.  - .dropbox_over .docs_choose_upload_area_drop,
  1501. 514.  - .docs_choose_upload_area_enter .docs_choose_upload_area_drop {
  1502. 515.  -   display: block;
  1503. 516.  -   padding: 13px;
  1504. 517.  -   border: 1px dashed #A3B6C9;
  1505. 518.  -   background: #FFFFFF;
  1506. 519.  - }
  1507. 520.  - .docs_choose_act {
  1508. 521.  -   font-weight: normal;
  1509. 522.  - }
  1510. 523.  -
  1511. 524.  - .docs_choose_icon {
  1512. 525.  -   width: 50px;
  1513. 526.  -   height: 35px;
  1514. 527.  -   overflow: hidden;
  1515. 528.  - }
  1516. 529.  - .docs_choose_photo {
  1517. 530.  -   width: 44px;
  1518. 531.  -   -webkit-border-radius: 3px;
  1519. 532.  -   -moz-border-radius: 3px;
  1520. 533.  -   border-radius: 3px;
  1521. 534.  - }
  1522. 535.  - .docs_choose_info {
  1523. 536.  -   padding: 2px 0px 0px 10px;
  1524. 537.  -   width: 542px;
  1525. 538.  - }
  1526. 539.  - .docs_choose_link {
  1527. 540.  -   font-weight: bold;
  1528. 541.  - }
  1529. 542.  - .docs_choose_date {
  1530. 543.  -   color: #999999;
  1531. 544.  -   display: block;
  1532. 545.  -   margin-top: 2px;
  1533. 546.  - }
  1534. 547.  - .docs_choose_def_icon {
  1535. 548.  -   padding: 3px 0px 0px 17px;
  1536. 549.  -   background: #E1E7ED url('/images/icons/darr.gif') 6px 7px no-repeat;
  1537. 550.  -   width: 27px;
  1538. 551.  -   height: 17px;
  1539. 552.  -   border-radius: 3px;
  1540. 553.  -   -moz-border-radius: 3px;
  1541. 554.  -   color: #6A839E;
  1542. 555.  -   display: block;
  1543. 556.  - }
  1544. 557.  -
  1545. 558.  - .docs_choose_def_icon:hover {
  1546. 559.  -   text-decoration: none;
  1547. 560.  - }
  1548. 561.  - .docs_choose_row {
  1549. 562.  -   cursor: pointer;
  1550. 563.  -   height: 34px;
  1551. 564.  -   padding: 8px 20px 8px 20px;
  1552. 565.  -   border-bottom: 1px solid #eeeeee;
  1553. 566.  - }
  1554. 567.  - .docs_choose_over_row {
  1555. 568.  -   background: #EDF1F5;
  1556. 569.  -   border-bottom: 1px solid #e6eaee;
  1557. 570.  -   border-top: 1px solid #e6eaee;
  1558. 571.  -   margin-top: -1px;
  1559. 572.  - }
  1560. 573.  - .docs_choose_attach {
  1561. 574.  -   display: none;
  1562. 575.  -   padding: 5px 0px;
  1563. 576.  -   margin: 2px 0px;
  1564. 577.  -   -webkit-border-radius: 3px;
  1565. 578.  -   -moz-border-radius: 3px;
  1566. 579.  -   border-radius: 3px;
  1567. 580.  -   color: #93a2b3;
  1568. 581.  - }
  1569. 582.  - .docs_choose_over_row .docs_choose_attach {
  1570. 583.  -   display: block;
  1571. 584.  - }
  1572. 585.  - .docs_choose_attach:hover {
  1573. 586.  -   text-decoration: none;
  1574. 587.  - }
  1575. 588.  - .docs_choose_over_row .docs_choose_def_icon {
  1576. 589.  -   background: #dbe1e9 url('/images/icons/darr.gif') 6px 7px no-repeat;
  1577. 590.  - }
  1578. 591.  - .docs_choose_over_row .docs_choose_date {
  1579. 592.  -   color: #93a2b3;
  1580. 593.  - }
  1581. 594.  - .docs_tt_preview {
  1582. 595.  -   min-width: 25px;
  1583. 596.  -   padding: 5px;
  1584. 597.  -   background: white;
  1585. 598.  -   border: 1px solid #96AABE;
  1586. 599.  -   color: #2C587D;
  1587. 600.  - }
  1588. 601.  - .wall_tt.docs_tt .toup .top_pointer, .wall_tt.docs_tt .toup1 .bottom_pointer {
  1589. 602.  -   margin-left: 21px;
  1590. 603.  - }
  1591. 604.  -
  1592. 605.  - .docs_choose_switch a {
  1593. 606.  -   color: #C7D7E9;
  1594. 607.  -   -webkit-transition: color 100ms linear;
  1595. 608.  -   -moz-transition: color 100ms linear;
  1596. 609.  -   -o-transition: color 100ms linear;
  1597. 610.  -   transition: color 100ms linear;
  1598. 611.  - }
  1599. 612.  - .docs_choose_switch a:hover {
  1600. 613.  -   color: #FFF;
  1601. 614.  -   text-decoration: none;
  1602. 615.  - }
  1603. 616.  - .docs_choose_switch .divide {
  1604. 617.  -   color: #C7D7E9;
  1605. 618.  - }
  1606. 619.  - .docs_delete_row {
  1607. 620.  -   margin-top: -4px;
  1608. 621.  -   background: url("/images/pics/statusx_op.gif") no-repeat scroll 3px 3px;
  1609. 622.  -   opacity: 0;
  1610. 623.  -   filter: alpha(opacity=0);
  1611. 624.  -   cursor: pointer;
  1612. 625.  -   height: 17px;
  1613. 626.  -   width: 17px;
  1614. 627.  - }
  1615. 628.  - .docs_edit_row {
  1616. 629.  -   margin-top: -4px;
  1617. 630.  -   background: url("/images/pics/statusedit.gif") no-repeat scroll 3px 3px;
  1618. 631.  -   opacity: 0;
  1619. 632.  -   filter: alpha(opacity=0);
  1620. 633.  -   cursor: pointer;
  1621. 634.  -   height: 17px;
  1622. 635.  -   width: 17px;
  1623. 636.  - }
  1624. 637.  - .docs_add_row {
  1625. 638.  -   margin-top: -2px;
  1626. 639.  -   background: url("/images/icons/audio_icons.png") no-repeat scroll -79px -51px;
  1627. 640.  -   opacity: 0;
  1628. 641.  -   filter: alpha(opacity=0);
  1629. 642.  -   cursor: pointer;
  1630. 643.  -   height: 12px;
  1631. 644.  -   width: 12px;
  1632. 645.  - }
  1633. 646.  -
  1634. 647.  - .choose_search_cont #docs_attach_search {
  1635. 648.  -   padding: 12px 19px;
  1636. 649.  -   width: 606px;
  1637. 650.  -   background: #F7F7F7;
  1638. 651.  - }
  1639. 652.  - #choose_docs_query {
  1640. 653.  -   width: 566px;
  1641. 654.  - }
  1642. 655.  - #docs_attach_search_cont {
  1643. 656.  - }
  1644. 657.  - .docs_title_search {
  1645. 658.  -   font-weight: normal;
  1646. 659.  -   padding-left: 12px;
  1647. 660.  -   color: #C7D7E9;
  1648. 661.  -   -webkit-transition: color 100ms linear;
  1649. 662.  -   -moz-transition: color 100ms linear;
  1650. 663.  -   -o-transition: color 100ms linear;
  1651. 664.  -   transition: color 100ms linear;
  1652. 665.  - }
  1653. 666.  - .docs_title_search:hover {
  1654. 667.  -   color: #FFF;
  1655. 668.  -   text-decoration: none;
  1656. 669.  - }
  1657. 670.  - #choose_query_reset {
  1658. 671.  -   margin-left: 585px;
  1659. 672.  - }
  1660. 673.  - #choose_query_reset.shown {
  1661. 674.  -   display: block;
  1662. 675.  - }
  1663. 676.  - .loading #choose_query_reset.shown {
  1664. 677.  -   display: none;
  1665. 678.  - }
  1666. 679.  - .docs_choose_progress {
  1667. 680.  -   position: absolute;
  1668. 681.  -   margin: 6px 0px 0px 570px;
  1669. 682.  - }
  1670. 683.  - .loading .docs_choose_progress {
  1671. 684.  -   display: block;
  1672. 685.  - }
  1673. ------
Advertisement
Add Comment
Please, Sign In to add comment