Hormold

VK Change (#1382375717)

Oct 21st, 2013
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 233.46 KB | None | 0 0
  1. Файл - rtl.css (Старый размер - 36091 | Новый - 0):
  2. 0.  - #rtl_css {
  3. 1.  -   display: none;
  4. 2.  - }
  5. 3.  -
  6. 4.  - body.is_rtl1 {
  7. 5.  -   direction: rtl;
  8. 6.  -   unicode-bidi: embed;
  9. 7.  - }
  10. 8.  - .is_rtl1 .scroll_fix,
  11. 9.  - .is_rtl1 #layer,
  12. 10.  - .is_rtl1 #box_layer,
  13. 11.  - .is_rtl1 #wk_layer {
  14. 12.  -   direction: rtl;
  15. 13.  -   text-align: right;
  16. 14.  - }
  17. 15.  - .is_rtl1 .box_controls .button_wrap,
  18. 16.  - .is_rtl1 .box_x_button {
  19. 17.  -   float: left;
  20. 18.  - }
  21. 19.  - .is_rtl1 .flat_tab_on, .flat_tab, .is_rtl1 .flat_tab_on a, .flat_tab a {
  22. 20.  -   float: right;
  23. 21.  - }
  24. 22.  - .is_rtl1 .fl_l { float: right; }
  25. 23.  - .is_rtl1 .fl_r { float: left; }
  26. 24.  - .is_rtl1 .ta_l { text-align: right; }
  27. 25.  - .is_rtl1 .ta_r { text-align: left; }
  28. 26.  - .is_rtl1 .homelink, .is_rtl1 .shah, .is_rtl1 .unl {
  29. 27.  -   left: auto;
  30. 28.  -   right: 0px;
  31. 29.  -   padding: 8px 14px 0px 0px;
  32. 30.  - }
  33. 31.  - .is_rtl1 .vklink {
  34. 32.  -   padding: 11px 17px 10px;
  35. 33.  - }
  36. 34.  - .is_rtl1 .shah.vklink {
  37. 35.  -   padding-top: 12px;
  38. 36.  - }
  39. 37.  - .is_rtl1 .unl { padding-top: 0px; }
  40. 38.  - .is_rtl1 .checkbox div, .is_rtl1 .radiobtn div {
  41. 39.  -   float: right;
  42. 40.  -   margin-right: 0px;
  43. 41.  -   margin-left: 5px;
  44. 42.  - }
  45. 43.  -
  46. 44.  - .is_rtl1 #side_bar { padding: 5px 4px 10px 0px; }
  47. 45.  - .is_rtl1 #page_body { padding: 0px 0px 0px 15px; }
  48. 46.  - .is_rtl1 #fmenu {
  49. 47.  -   right: auto;
  50. 48.  -   left: 0px;
  51. 49.  - }
  52. 50.  -
  53. 51.  - .is_rtl1 #gsearch {
  54. 52.  -   right: auto;
  55. 53.  -   left: 14px;
  56. 54.  - }
  57. 55.  -
  58. 56.  - .is_rtl1 #search_ext_cont {
  59. 57.  -   right: auto;
  60. 58.  -   left: 14px;
  61. 59.  - }
  62. 60.  -
  63. 61.  - .is_rtl1 .top_feed {
  64. 62.  -   right: 50px;
  65. 63.  - }
  66. 64.  -
  67. 65.  - .is_rtl1 #search_menu a {
  68. 66.  -   text-align: left;
  69. 67.  - }
  70. 68.  -
  71. 69.  - .is_rtl1 #search_menu_header {
  72. 70.  -   text-align: left;
  73. 71.  -   padding: 2px 0px 4px 4px;
  74. 72.  - }
  75. 73.  -
  76. 74.  - .is_rtl1 #search_darr {
  77. 75.  -   background: #fff url("/images/darrRTL.gif") no-repeat right 4px;
  78. 76.  - }
  79. 77.  -
  80. 78.  - .is_rtl1 #search_a_menu:hover #search_darr,
  81. 79.  - .is_rtl1 #search_a_menu.hover #search_darr {
  82. 80.  -   background: #fff url("/images/darrRTL.gif") no-repeat right -22px;
  83. 81.  - }
  84. 82.  -
  85. 83.  - .is_rtl1 #quick_search div.s_photo {
  86. 84.  -   margin: 1px 0px 0px 10px;
  87. 85.  - }
  88. 86.  -
  89. 87.  - .is_rtl1 #search_sub_menu .p_item {
  90. 88.  -   padding: 6px 7px 0px 0px;
  91. 89.  -   border-right: none;
  92. 90.  - }
  93. 91.  - .is_rtl1 #search_sub_menu .p_item.p_right {
  94. 92.  -   padding: 6px 7px 0px 0px;
  95. 93.  -   border-right: 1px solid #CCD3DA;
  96. 94.  - }
  97. 95.  - .is_rtl1 div.search_shadow_right1 {
  98. 96.  -   top: auto;
  99. 97.  - }
  100. 98.  - .is_rtl1 #quick_search .s_down_text {
  101. 99.  -   float: right;
  102. 100.  - }
  103. 101.  - .is_rtl1 div.search_shadow_right2 {
  104. 102.  -   top: auto;
  105. 103.  - }
  106. 104.  - .is_rtl1 .profile_info_link, .is_rtl1 #profile_groups_link {
  107. 105.  -   padding: 8px 127px 8px 0px;
  108. 106.  - }
  109. 107.  - .is_rtl1 #profile_view_as .info {
  110. 108.  -   margin-left: 0px;
  111. 109.  -   margin-right: 145px;
  112. 110.  - }
  113. 111.  -
  114. 112.  - .is_rtl1 .wall_module .like_wrap div.no_likes {
  115. 113.  -   margin-right: 3px;
  116. 114.  -   margin-left: 0px;
  117. 115.  - }
  118. 116.  - .is_rtl1 .wall_module .like_count {
  119. 117.  -   margin-right: 0px;
  120. 118.  -   margin-left: 3px;
  121. 119.  - }
  122. 120.  - .is_rtl1 .wall_module .published_by {
  123. 121.  -   padding-right: 12px;
  124. 122.  - }
  125. 123.  - .is_rtl1 .wall_tt div.thumb {
  126. 124.  -   margin-right: 0px;
  127. 125.  -   margin-left: 10px;
  128. 126.  - }
  129. 127.  - .is_rtl1 .share_tt table.toup .top_pointer {
  130. 128.  -   margin-left: 0px;
  131. 129.  -   margin-right: 15px;
  132. 130.  - }
  133. 131.  - .is_rtl1 .wall_tt table.toup .top_pointer,
  134. 132.  - .is_rtl1 .wall_tt table.toup1 .bottom_pointer {
  135. 133.  -   margin-left: 0px;
  136. 134.  -   margin-right: 64px;
  137. 135.  - }
  138. 136.  - .is_rtl1 .mobile_tt table.toup .top_pointer,
  139. 137.  - .is_rtl1 .mobile_tt table.toup1 .bottom_pointer {
  140. 138.  -   margin-left: 0px;
  141. 139.  -   margin-right: 32px;
  142. 140.  - }
  143. 141.  - .is_rtl1 .mobile_tt_right table.toup .top_pointer,
  144. 142.  - .is_rtl1 .mobile_tt_right table.toup1 .bottom_pointer {
  145. 143.  -   margin-left: 0px;
  146. 144.  -   margin-right: 275px;
  147. 145.  - }
  148. 146.  - .is_rtl1 .fwd_reply_tt table.toup .top_pointer,
  149. 147.  - .is_rtl1 .fwd_reply_tt table.toup1 .bottom_pointer {
  150. 148.  -   margin-left: 0px;
  151. 149.  -   margin-right: 309px;
  152. 150.  - }
  153. 151.  - .is_rtl1 .gifts_tt .toup .top_pointer,
  154. 152.  - .is_rtl1 .gifts_tt .toup1 .bottom_pointer {
  155. 153.  -   margin-left: 0px;
  156. 154.  -   margin-right: 91px;
  157. 155.  - }
  158. 156.  - .is_rtl1 .module_inverted_loading #gifts_module_header,
  159. 157.  - .is_rtl1 .gifts_inverted_loading .profile_gifts_send {
  160. 158.  -   background-position: left 5px;
  161. 159.  -   padding-right: 2px;
  162. 160.  -   padding-left: 23px;
  163. 161.  - }
  164. 162.  -
  165. 163.  - .is_rtl1 .wall_module .media_preview .share b,
  166. 164.  - .is_rtl1 .wall_module .media_preview .poll b,
  167. 165.  - .is_rtl1 .wall_module .media_desc b {
  168. 166.  -   background-position: right -237px;
  169. 167.  - }
  170. 168.  - .is_rtl1 .wall_module .media_preview b.postpone {
  171. 169.  -   background-position: right -334px;
  172. 170.  - }
  173. 171.  - .is_rtl1 .wall_module .media_desc b.topic {
  174. 172.  -   background-position: right -192px;
  175. 173.  - }
  176. 174.  - .is_rtl1 .wall_module .media_desc b.group {
  177. 175.  -   background-position: right -45px;
  178. 176.  - }
  179. 177.  - .is_rtl1 .wall_module .media_preview .poll b {
  180. 178.  -   background-position: right -208px;
  181. 179.  - }
  182. 180.  - .is_rtl1 .wall_module .media_desc .video {
  183. 181.  -   background-position: right -75px;
  184. 182.  - }
  185. 183.  - .is_rtl1 .wall_module .media_desc b.doc {
  186. 184.  -   background-position: right -280px;
  187. 185.  - }
  188. 186.  - .is_rtl1 .wall_module .media_desc b.note,
  189. 187.  - .is_rtl1 .wall_module .media_preview .note b {
  190. 188.  -   background-position: right -134px;
  191. 189.  - }
  192. 190.  - .is_rtl1 .wall_module .page_media_video .video div.video_play_inline,
  193. 191.  - .is_rtl1 .wall_module .page_media_full_video .video div.video_play_inline {
  194. 192.  -   right: 150px;
  195. 193.  -   left: auto;
  196. 194.  - }
  197. 195.  - .is_rtl1 .wide_wall_module .page_media_video .video div.video_play_inline,
  198. 196.  - .is_rtl1 .wall_module .page_media_full_video .video div.video_play_inline {
  199. 197.  -   right: 225px;
  200. 198.  -   left: auto;
  201. 199.  - }
  202. 200.  -
  203. 201.  - .is_rtl1 .wall_module .post_thumbs_num1 .page_media_thumb1,
  204. 202.  - .is_rtl1 .wall_module .post_thumbs_num3 .page_media_thumb1,
  205. 203.  - .is_rtl1 .wall_module .post_thumbs_num4 .page_media_thumb1,
  206. 204.  - .is_rtl1 .wall_module .post_thumbs_num2 .page_media_thumb1,
  207. 205.  - .is_rtl1 .wall_module .post_thumbs_num2 .page_media_thumb2 {
  208. 206.  -   float: right;
  209. 207.  - }
  210. 208.  -
  211. 209.  - .wall_module .dld {
  212. 210.  -   padding-left: 4px;
  213. 211.  -   padding-right: 60px;
  214. 212.  - }
  215. 213.  - .is_rtl1 .wall_module .reply .dld {
  216. 214.  -   padding-left: 4px;
  217. 215.  -   padding-right: 41px;
  218. 216.  - }
  219. 217.  - .is_rtl1 .pv_comment .dld {
  220. 218.  -   padding-left: 4px;
  221. 219.  -   padding-right: 41px;
  222. 220.  - }
  223. 221.  -
  224. 222.  - .is_rtl1 .other_acts .header span.other {
  225. 223.  -   padding-right: 0px;
  226. 224.  -   padding-left: 12px;
  227. 225.  - }
  228. 226.  - .is_rtl1 .head_nav #qsearch_border {
  229. 227.  -   background: none;
  230. 228.  - }
  231. 229.  - .is_rtl1 .head_nav {
  232. 230.  -   padding: 0px 0px 0px 8px;
  233. 231.  - }
  234. 232.  - .is_rtl1 #page_header .left,
  235. 233.  - .is_rtl1 #page_header.p_head1 .left {
  236. 234.  -   width: 10px;
  237. 235.  - }
  238. 236.  - .is_rtl1 #page_header .right {
  239. 237.  -   width: 134px;
  240. 238.  - }
  241. 239.  - .is_rtl1 #page_header.p_head1 .right {
  242. 240.  -   width: 48px;
  243. 241.  -   background: #4E729A url(/images/hat_vk_rtl.gif) 100% -1px;
  244. 242.  - }
  245. 243.  - .is_rtl1 .wall_module .author {
  246. 244.  -   padding-right: 0px;
  247. 245.  -   padding-left: 4px;
  248. 246.  - }
  249. 247.  - .is_rtl1 .wall_module .published_by {
  250. 248.  -   margin-right: 0px;
  251. 249.  -   margin-left: 2px;
  252. 250.  -   padding-left: 0px;
  253. 251.  -   padding-right: 12px;
  254. 252.  -   background: url(/images/icons/published_rtl.gif) no-repeat right 3px;
  255. 253.  - }
  256. 254.  - .is_rtl1 #profile_actions a span.other {
  257. 255.  -   padding-right: 0px;
  258. 256.  -   padding-left: 12px;
  259. 257.  -   background-position: left 6px;
  260. 258.  - }
  261. 259.  - .is_rtl1 .other_acts .header span {
  262. 260.  -   padding-right: 0px;
  263. 261.  -   padding-left: 12px;
  264. 262.  -   background-position: left 6px;
  265. 263.  - }
  266. 264.  - .is_rtl1 .pv_cont .narrow_column {
  267. 265.  -   margin-left: 0px;
  268. 266.  -   border-left: 0px;
  269. 267.  -   padding-left: 0px;
  270. 268.  -   margin-right: 20px;
  271. 269.  -   border-right: 1px solid #CCC;
  272. 270.  -   padding-right: 20px;
  273. 271.  - }
  274. 272.  - .is_rtl1 #stl_text {
  275. 273.  -   background-position: right 3px;
  276. 274.  -   margin: 0 15px 0 31px;
  277. 275.  - }
  278. 276.  -
  279. 277.  - .is_rtl1 #stl_left .down {
  280. 278.  -   background-position: right -7px;
  281. 279.  - }
  282. 280.  - .is_rtl1 #stl_left .back {
  283. 281.  -   background-position: right -40px;
  284. 282.  - }
  285. 283.  -
  286. 284.  - .is_rtl1 #privacy_dropdown .header div {
  287. 285.  -   padding-right: 4px;
  288. 286.  -   padding-left: 21px;
  289. 287.  -   background-position: 0px 2px;
  290. 288.  - }
  291. 289.  - .is_rtl1 #privacy_dropdown .to_up .header div {
  292. 290.  -   background-position: 0px -75px;
  293. 291.  - }
  294. 292.  - .is_rtl1 #privacy_dropdown .to_up .l_header div {
  295. 293.  -   background-position: 0px -58px;
  296. 294.  - }
  297. 295.  - .is_rtl1 #privacy_dropdown .item, .is_rtl1 #privacy_dropdown .item_sel, .is_rtl1 #privacy_dropdown .item_sel_plus {
  298. 296.  -   padding-right: 5px;
  299. 297.  -   padding-left: 21px;
  300. 298.  - }
  301. 299.  - .is_rtl1 #privacy_dropdown .item_sel, .is_rtl1 #privacy_dropdown .item_sel_plus {
  302. 300.  -   padding-right: 5px;
  303. 301.  -   padding-left: 21px;
  304. 302.  - }
  305. 303.  - .is_rtl1 #privacy_dropdown .item_sel_plus {
  306. 304.  -   background-position: 5px -32px;
  307. 305.  - }
  308. 306.  - .is_rtl1 #privacy_dropdown .l_header div {
  309. 307.  -   padding-right: 4px;
  310. 308.  -   padding-left: 16px;
  311. 309.  -   background-position: 0px -16px;
  312. 310.  - }
  313. 311.  - .is_rtl1 #privacy_dropdown .l_item, .is_rtl1 #privacy_dropdown .l_item_sel {
  314. 312.  -   padding-right: 22px;
  315. 313.  -   padding-left: 3px;
  316. 314.  - }
  317. 315.  - .is_rtl1 #privacy_dropdown .l_item_sel {
  318. 316.  -   background-image: url(/images/dropdead_checkRTL.gif);
  319. 317.  -   background-position: 100% 2px;
  320. 318.  - }
  321. 319.  - .is_rtl1 #privacy_custom_box .plus_friends, .is_rtl1 #privacy_custom_box .minus_friends {
  322. 320.  -   padding-right: 20px;
  323. 321.  -   padding-left: 0px;
  324. 322.  - }
  325. 323.  - .is_rtl1 #privacy_custom_box .plus_friends {
  326. 324.  -   background-position: 100% -3px;
  327. 325.  - }
  328. 326.  - .is_rtl1 #privacy_custom_box .minus_friends {
  329. 327.  -   background-position: 100% -1px;
  330. 328.  - }
  331. 329.  -
  332. 330.  - .is_rtl1 .left_hide_button {
  333. 331.  -   margin: 4px 117px 0px 0px;
  334. 332.  - }
  335. 333.  -
  336. 334.  - .is_rtl1 .places_module .place_row {
  337. 335.  -   padding: 5px 10px 6px 0px;
  338. 336.  - }
  339. 337.  - .is_rtl1 .places_module .icon {
  340. 338.  -   background-position: right -165px;
  341. 339.  - }
  342. 340.  - .is_rtl1 .places_module .place_title small {
  343. 341.  -   margin-left: 0px;
  344. 342.  -   margin-right: 3px;
  345. 343.  - }
  346. 344.  - .is_rtl1 .public_places_list .title span.type {
  347. 345.  -   margin-left: 0px;
  348. 346.  -   margin-right: 5px;
  349. 347.  - }
  350. 348.  - .is_rtl1 .page_add_place_box .label {
  351. 349.  -   padding-right: 0px;
  352. 350.  -   padding-left: 10px;
  353. 351.  - }
  354. 352.  -
  355. 353.  - .is_rtl1 #friends .main_panel {
  356. 354.  -   border-right: none;
  357. 355.  -   border-left: 1px solid #D9E1E7;
  358. 356.  - }
  359. 357.  - .is_rtl1 #friends .common .common_friends_label,
  360. 358.  - .is_rtl1 #friends .common .common_friends,
  361. 359.  - .is_rtl1 #friends .common .controls {
  362. 360.  -   padding-left: 0px;
  363. 361.  -   padding-right: 60px;
  364. 362.  - }
  365. 363.  - .is_rtl1 #friends .create_list {
  366. 364.  -   margin-left: 0px;
  367. 365.  -   margin-right: 550px;
  368. 366.  - }
  369. 367.  - .is_rtl1 #friends .user_block .info {
  370. 368.  -   padding-left: 0px;
  371. 369.  -   padding-right: 10px;
  372. 370.  - }
  373. 371.  -
  374. 372.  - .is_rtl1 #friends .sections_block .side_filter {
  375. 373.  -   background-position: 8px center;
  376. 374.  - }
  377. 375.  -
  378. 376.  - /* Tabs */
  379. 377.  - .is_rtl1 ul.t0 li {
  380. 378.  -   float: right;
  381. 379.  - }
  382. 380.  - .is_rtl1 ul.t0 a {
  383. 381.  -   margin-right: 0px;
  384. 382.  -   margin-left: 5px;
  385. 383.  -   float: right;
  386. 384.  - }
  387. 385.  - .is_rtl1 ul.t0 .t_r {
  388. 386.  -   float: left;
  389. 387.  - }
  390. 388.  -
  391. 389.  - .is_rtl1 #profile_class_hint .pointer {
  392. 390.  -   background-position: right top;
  393. 391.  - }
  394. 392.  - .is_rtl1 #profile_class_hint .content {
  395. 393.  -   border-width: 1px 0px 1px 1px;
  396. 394.  - }
  397. 395.  - .is_rtl1 .photo_edit_result {
  398. 396.  -   padding: 15px 160px 15px 25px;
  399. 397.  - }
  400. 398.  -
  401. 399.  - .is_rtl1 #top_back_link {
  402. 400.  -   padding-left: 9px;
  403. 401.  -   padding-right: 25px;
  404. 402.  -   background-position: right -115px;
  405. 403.  - }
  406. 404.  - .is_rtl1 #invite_hint_close {
  407. 405.  -   right: auto;
  408. 406.  -   left: 3px;
  409. 407.  - }
  410. 408.  -
  411. 409.  - .is_rtl1 #wk_content {
  412. 410.  -   clear: right;
  413. 411.  - }
  414. 412.  - .is_rtl1 .wk_right {
  415. 413.  -   padding-right: 0px;
  416. 414.  -   padding-left: 1px;
  417. 415.  - }
  418. 416.  - .is_rtl1 .wall_module #submit_post .checkbox {
  419. 417.  -   margin-left: 0px;
  420. 418.  -   margin-right: 10px;
  421. 419.  - }
  422. 420.  -
  423. 421.  - .is_rtl1 .page_actions a span.other {
  424. 422.  -   background-position: left 6px;
  425. 423.  -   padding-right: 0px;
  426. 424.  -   padding-left: 12px;
  427. 425.  - }
  428. 426.  - .is_rtl1 .group_wiki_hider {
  429. 427.  -   padding-right: 125px;
  430. 428.  -   padding-left: 0px;
  431. 429.  - }
  432. 430.  - .is_rtl1 .priv_h_arrow_img {
  433. 431.  -   margin-left: -8px;
  434. 432.  - }
  435. 433.  - .is_rtl1 .priv_h_arrow {
  436. 434.  -   left: auto;
  437. 435.  -   right: 3px;
  438. 436.  - }
  439. 437.  - .is_rtl1 .group_edit_addr_label {
  440. 438.  -   padding-left: 0px;
  441. 439.  -   padding-right: 6px;
  442. 440.  - }
  443. 441.  - .is_rtl1 #group_edit_about_addr {
  444. 442.  -   padding-left: 0px;
  445. 443.  -   padding-right: 10px;
  446. 444.  - }
  447. 445.  -
  448. 446.  - .is_rtl1 #groups_list_search {
  449. 447.  -   padding-left: 40px;
  450. 448.  -   padding-right: 20px;
  451. 449.  -   background-position: 590px 6px;
  452. 450.  - }
  453. 451.  - .is_rtl1 #groups_loading {
  454. 452.  -   left: 0px;
  455. 453.  -   margin-left: 30px;
  456. 454.  - }
  457. 455.  - .is_rtl1 #groups_reset_search {
  458. 456.  -   left: 0px;
  459. 457.  -   margin-left: 27px;
  460. 458.  - }
  461. 459.  - .is_rtl1 .audio_list {
  462. 460.  -   padding: 10px 10px 10px 0px;
  463. 461.  - }
  464. 462.  - .is_rtl1 .audio_wrap .main_panel {
  465. 463.  -   border-right: none;
  466. 464.  -   border-left: 1px solid #DAE2E8;
  467. 465.  - }
  468. 466.  - .is_rtl1 .audio_add_new {
  469. 467.  -   padding: 5px 10px 0 0;
  470. 468.  - }
  471. 469.  - .is_rtl1 .audio_add_new span {
  472. 470.  -   background: url(/images/icons/audio_iconset.gif) 8px -15px no-repeat;
  473. 471.  - }
  474. 472.  - .is_rtl1 .audio_search .search_progress {
  475. 473.  -   margin-left: 0px;
  476. 474.  -   margin-right: -41px;
  477. 475.  - }
  478. 476.  - .is_rtl1 .audio_search .search_reset {
  479. 477.  -   margin-left: 0px;
  480. 478.  -   margin-right: -23px;
  481. 479.  - }
  482. 480.  - .is_rtl1 .audio_search .s_search {
  483. 481.  -   background: #FFF url(/images/magglassRTL.png) no-repeat 286px 6px;
  484. 482.  - }
  485. 483.  - .is_rtl1 .audio_filter.loading,
  486. 484.  - .is_rtl1 .audio_filter_selected.loading {
  487. 485.  -   background-position: 8px center;
  488. 486.  - }
  489. 487.  - .is_rtl1 .olist.audio_album {
  490. 488.  -   padding-right: 0px;
  491. 489.  -   padding-left: 5px;
  492. 490.  - }
  493. 491.  - .is_rtl1 #invite_hint_img {
  494. 492.  -   background-position: right top;
  495. 493.  - }
  496. 494.  -
  497. 495.  - .is_rtl1 .file_button .file_input {
  498. 496.  -   right: auto;
  499. 497.  -   left: 0px;
  500. 498.  - }
  501. 499.  - .is_rtl1 .photo_file_cancel {
  502. 500.  -   right: auto;
  503. 501.  -   left: 0px;
  504. 502.  - }
  505. 503.  - .is_rtl1 .group_voting_percent {
  506. 504.  -   border: solid #D8DFE5;
  507. 505.  -   border-width: 1px 0px 0px 1px;
  508. 506.  - }
  509. 507.  -
  510. 508.  - .is_rtl1 #fw_one_replies_wrap {
  511. 509.  -   padding: 8px 80px 0px 27px;
  512. 510.  - }
  513. 511.  - .is_rtl1 #fw_one_replies_wrap.fwn_replies {
  514. 512.  -   padding: 8px 20px 0px;
  515. 513.  - }
  516. 514.  - .is_rtl1 #fwr_form {
  517. 515.  -   padding-left: 27px;
  518. 516.  -   padding-right: 80px;
  519. 517.  - }
  520. 518.  - .is_rtl1 .fwr_note #fwr_form {
  521. 519.  -   padding-left: 20px;
  522. 520.  -   padding-right: 20px;
  523. 521.  - }
  524. 522.  -
  525. 523.  - /* apps */
  526. 524.  - .is_rtl1 .app_info, .app_search_info {
  527. 525.  -   padding-left: 0px;
  528. 526.  -   padding-right: 5px;
  529. 527.  - }
  530. 528.  - .is_rtl1 .app_hide {
  531. 529.  -   padding: 0px 6px 0px 3px;
  532. 530.  - }
  533. 531.  -
  534. 532.  - /* audioPlayer */
  535. 533.  - .is_rtl1 #gp_info {
  536. 534.  -   padding: 3px 0px 5px 8px;
  537. 535.  - }
  538. 536.  -
  539. 537.  - .is_rtl1 .board_tt table.toup .top_pointer {
  540. 538.  -   margin-right: 84px;
  541. 539.  -   margin-left: 0px;
  542. 540.  - }
  543. 541.  - .is_rtl1 .board_tt table.toup1 .bottom_pointer {
  544. 542.  -   margin-right: 84px;
  545. 543.  -   margin-left: 0px;
  546. 544.  - }
  547. 545.  -
  548. 546.  - /* profile_edit.css */
  549. 547.  - .is_rtl1 .pedit_general_label {
  550. 548.  -   padding: 4px 0 0 10px;
  551. 549.  - }
  552. 550.  -
  553. 551.  - .is_rtl1 .pedit_bday, .is_rtl1 .pedit_bmonth {
  554. 552.  -   padding: 0 0 0 5px;
  555. 553.  - }
  556. 554.  -
  557. 555.  - .is_rtl1 .selector_container .result_list,
  558. 556.  - .is_rtl1 .selector_container .result_list_shadow {
  559. 557.  -   left: auto;
  560. 558.  -   right: 0;
  561. 559.  - }
  562. 560.  -
  563. 561.  - .is_rtl1 .pedit_controls {
  564. 562.  -   padding: 15px 205px 0 0;
  565. 563.  - }
  566. 564.  -
  567. 565.  - .is_rtl1 #pedit_interests .pedit_controls {
  568. 566.  -   padding: 15px 170px 0 0;
  569. 567.  - }
  570. 568.  -
  571. 569.  - .is_rtl1 .pedit_label {
  572. 570.  -   padding: 4px 0 0 10px;
  573. 571.  - }
  574. 572.  -
  575. 573.  - .pedit_personal_label {
  576. 574.  -   padding: 4px 0 0 10px;
  577. 575.  - }
  578. 576.  -
  579. 577.  - .is_rtl1 .pedit_interests_label {
  580. 578.  -   padding: 4px 0 0 10px;
  581. 579.  - }
  582. 580.  -
  583. 581.  - .is_rtl1 .pit_bday, .pit_bmonth {
  584. 582.  -   padding-right: 0px;
  585. 583.  -   padding-left: 5px;
  586. 584.  - }
  587. 585.  - .is_rtl1 .login_sure {
  588. 586.  -   padding-left: 0px;
  589. 587.  -   padding-right: 90px;
  590. 588.  - }
  591. 589.  -
  592. 590.  - .is_rtl1 .top_info_bar .info .aligned_text {
  593. 591.  -   padding-left: 26px;
  594. 592.  -   padding-right: 157px;
  595. 593.  -   text-align: right;
  596. 594.  - }
  597. 595.  -
  598. 596.  -
  599. 597.  - /* Settings - settings.css */
  600. 598.  - .is_rtl1 .settings_section {
  601. 599.  -   margin: 0 113px 25px 0;
  602. 600.  - }
  603. 601.  - .is_rtl1 .settings_label {
  604. 602.  -   padding: 5px 0 3px 15px;
  605. 603.  - }
  606. 604.  - .is_rtl1 .settings_row_button_wrap {
  607. 605.  -   padding-left: 0;
  608. 606.  -   padding-right: 140px;
  609. 607.  - }
  610. 608.  - .is_rtl1 .settings_bl_name {
  611. 609.  -   padding: 5px 10px 0 0;
  612. 610.  - }
  613. 611.  - .is_rtl1 .settings_bl_label {
  614. 612.  -   padding-left: 0;
  615. 613.  -   padding-right: 2px;
  616. 614.  - }
  617. 615.  - .is_rtl1 .settings_all_services {
  618. 616.  -   padding: 4px 140px 0 0;
  619. 617.  - }
  620. 618.  -
  621. 619.  - /* Mail - mail.css */
  622. 620.  - .is_rtl1 #mail_bar #s_search {
  623. 621.  -   background: white url(/images/magglass.png) no-repeat 130px 6px;
  624. 622.  -   padding: 5px 20px 5px 5px;
  625. 623.  - }
  626. 624.  - .is_rtl1 .mail_attach_photo,
  627. 625.  - .is_rtl1 .mail_attach_video,
  628. 626.  - .is_rtl1 .mail_attach_audio,
  629. 627.  - .is_rtl1 .mail_attach_mail,
  630. 628.  - .is_rtl1 .mail_attach_doc,
  631. 629.  - .is_rtl1 .mail_attach_geo {
  632. 630.  -   margin: 3px 0 2px 5px;
  633. 631.  -   float: right;
  634. 632.  - }
  635. 633.  -
  636. 634.  - /* Feed - fee.css */
  637. 635.  - .is_rtl1 #feed_menu {
  638. 636.  -   left: auto;
  639. 637.  -   right: 470px;
  640. 638.  - }
  641. 639.  - .is_rtl1 .feed_post_field_wrap .post_upload_wrap {
  642. 640.  -   right: auto;
  643. 641.  -   left: 5px;
  644. 642.  - }
  645. 643.  - .is_rtl1 .feed_post_field_wrap .post_upload_min_wrap {
  646. 644.  -   right: auto;
  647. 645.  -   left: 0px
  648. 646.  - }
  649. 647.  - .is_rtl1 .feed_filter_icon {
  650. 648.  -   margin: 1px 4px 0 0;
  651. 649.  - }
  652. 650.  - .is_rtl1 b.feed_gr_icon,
  653. 651.  - .is_rtl1 b.feed_ev_icon,
  654. 652.  - .is_rtl1 b.feed_tp_icon,
  655. 653.  - .is_rtl1 b.feed_nt_icon {
  656. 654.  -   float: right;
  657. 655.  -   margin: 2px 0 0 4px;
  658. 656.  - }
  659. 657.  - .is_rtl1 .feed_filter_title {
  660. 658.  -   padding-left: 0;
  661. 659.  -   padding-right: 7px;
  662. 660.  - }
  663. 661.  - .is_rtl1 .feedback_grouped_row {
  664. 662.  -   padding: 10px 0 0 25px;
  665. 663.  - }
  666. 664.  - .is_rtl1 .feedback_row {
  667. 665.  -   padding: 8px 0 0 30px;
  668. 666.  - }
  669. 667.  - .is_rtl1 .feedback_like_wrap {
  670. 668.  -   margin: -15px 584px 0 0;
  671. 669.  - }
  672. 670.  - .is_rtl1 .feedback_del_wrap {
  673. 671.  -   margin: 1px 585px 0 0;
  674. 672.  - }
  675. 673.  - .is_rtl1 #feed_rate_slider_wrap {
  676. 674.  -   left: 32px;
  677. 675.  -   right: auto;
  678. 676.  - }
  679. 677.  - .is_rtl1 #feed_rate_slider {
  680. 678.  -   left: 0;
  681. 679.  -   position: absolute;
  682. 680.  - }
  683. 681.  -
  684. 682.  - /* IM - im.css */
  685. 683.  - .is_rtl1 .im_tab,
  686. 684.  - .is_rtl1 .im_tab_selected,
  687. 685.  - .is_rtl1 .im_tab_over {
  688. 686.  -   float: right;
  689. 687.  - }
  690. 688.  - .is_rtl1 div.dialogs_inline_chatter {
  691. 689.  -   margin: 0 0px 4px 4px;
  692. 690.  -   float: right;
  693. 691.  - }
  694. 692.  - .is_rtl1 .im_fwd_log_body div.wrapped,
  695. 693.  - .is_rtl1 .im_log_body div.wrapped {
  696. 694.  -   padding-left: 0px;
  697. 695.  -   padding-right: 4px;
  698. 696.  -   margin-left: 0px;
  699. 697.  -   margin-right: -4px;
  700. 698.  - }
  701. 699.  - .is_rtl1 .im_editable {
  702. 700.  -   padding: 3px 3px 3px 23px;
  703. 701.  - }
  704. 702.  - .is_rtl1 #im_smile {
  705. 703.  -   margin: 1px 333px 0px 0px;
  706. 704.  - }
  707. 705.  - .is_rtl1 .im_emoji_tt_wrap {
  708. 706.  -   margin: -128px 303px 0px 0px;
  709. 707.  - }
  710. 708.  - .is_rtl1 .im_emoji_bg {
  711. 709.  -   margin: -4px -4px 0px 0px;
  712. 710.  - }
  713. 711.  - .is_rtl1 .im_tab3 {
  714. 712.  -   padding-left: 5px;
  715. 713.  -   padding-right: 2px;
  716. 714.  - }
  717. 715.  - .is_rtl1 .dialogs_msg_body .dialogs_inline_author {
  718. 716.  -   margin: 3px 0 2px 10px;
  719. 717.  - }
  720. 718.  - .is_rtl1 #im_media_preview .im_media_x,
  721. 719.  - .is_rtl1 #im_media_dpreview .im_media_x,
  722. 720.  - .is_rtl1 #im_media_mpreview .im_media_x {
  723. 721.  -   margin-left: 0px;
  724. 722.  -   margin-right: -15px;
  725. 723.  - }
  726. 724.  - .is_rtl1 .im_send_cont {
  727. 725.  -   margin-right: 0px;
  728. 726.  -   margin-left: 2px;
  729. 727.  - }
  730. 728.  - .is_rtl1 .im_rcem_cont {
  731. 729.  -   padding-left: 0px;
  732. 730.  -   padding-right: 4px;
  733. 731.  - }
  734. 732.  - .is_rtl1 .dialogs_del_wrap {
  735. 733.  -   right: auto;
  736. 734.  -   left: 15px;
  737. 735.  - }
  738. 736.  - .is_rtl1 .im_fwd_log_wrap,
  739. 737.  - .is_rtl1 .im_wall_log_wrap {
  740. 738.  -   border-left: 0px;
  741. 739.  -   padding-left: 0px;
  742. 740.  -   border-right: 2px solid #C3D1E0;
  743. 741.  -   padding-right: 10px;
  744. 742.  - }
  745. 743.  - .is_rtl1 .im_attach_photo,
  746. 744.  - .is_rtl1 .im_attach_video,
  747. 745.  - .is_rtl1 .im_attach_doc,
  748. 746.  - .is_rtl1 .im_attach_mail,
  749. 747.  - .is_rtl1 .im_attach_audio,
  750. 748.  - .is_rtl1 .im_attach_geo {
  751. 749.  -   float: right;
  752. 750.  -   margin: 3px 0 2px 5px;
  753. 751.  - }
  754. 752.  - .is_rtl1 .im_fwd_log_author .im_log_author_chat_thumb {
  755. 753.  -   margin-right: 0;
  756. 754.  -   margin-left: 11px;
  757. 755.  - }
  758. 756.  - .is_rtl1 .im_fwd_log_date {
  759. 757.  -   padding-left: 0;
  760. 758.  -   padding-right: 5px;
  761. 759.  - }
  762. 760.  - .is_rtl1 #im_peer_controls {
  763. 761.  -   padding: 8px 67px 0 15px;
  764. 762.  - }
  765. 763.  - .is_rtl1 td#im_user_holder {
  766. 764.  -   padding-right: 0px;
  767. 765.  -   padding-left: 10px;
  768. 766.  - }
  769. 767.  - .is_rtl1 .im_status_online {
  770. 768.  -   margin-left: 17px;
  771. 769.  - }
  772. 770.  - .is_rtl1 td#im_peer_holders {
  773. 771.  -   padding-left: 0;
  774. 772.  -   padding-right: 10px;
  775. 773.  - }
  776. 774.  - .is_rtl1 .im_peer_mini_holder:nth-child(2) {
  777. 775.  -   margin-right: 0;
  778. 776.  -   margin-left: 60px;
  779. 777.  - }
  780. 778.  - .is_rtl1 .im_photo_holder {
  781. 779.  -   margin-right: 0;
  782. 780.  -   margin-left: 8px;
  783. 781.  - }
  784. 782.  - .is_rtl1 .im_peer_mini_holder .im_photo_holder {
  785. 783.  -   margin-right: 0;
  786. 784.  -   margin-left: 4px;
  787. 785.  - }
  788. 786.  - .is_rtl1 #im_status, .is_rtl1 #im_rcpt {
  789. 787.  -   padding: 6px 7px 0 0;
  790. 788.  - }
  791. 789.  - .is_rtl1 #im_filter {
  792. 790.  -   padding: 5px 20px 4px 20px;
  793. 791.  -   background: #FFF url(/images/magglass.png) no-repeat 328px 6px;
  794. 792.  - }
  795. 793.  - .is_rtl1 .im_submit_tail_wrap {
  796. 794.  -   left: auto;
  797. 795.  -   right: 233px;
  798. 796.  - }
  799. 797.  - .is_rtl1 .im_submit_tail {
  800. 798.  -   background-position: 0 0;
  801. 799.  - }
  802. 800.  - .is_rtl1 #im_submit_hint_opts .radiobtn div {
  803. 801.  -   margin-right: 0;
  804. 802.  -   margin-left: 5px;
  805. 803.  - }
  806. 804.  - .is_rtl1 .im_switch_notify_pointer {
  807. 805.  -   left: auto;
  808. 806.  -   right: 20px;
  809. 807.  - }
  810. 808.  -
  811. 809.  - .is_rtl1 #im_filter_reset {
  812. 810.  -   margin-left: 0;
  813. 811.  -   margin-right: -23px;
  814. 812.  - }
  815. 813.  - .is_rtl1 .media_mail_icon {
  816. 814.  -   float: right;
  817. 815.  -   margin-left: 0;
  818. 816.  -   margin-right: 3px;
  819. 817.  - }
  820. 818.  - .is_rtl1 .im_preview_mail_wrap .media_mail_icon {
  821. 819.  -   margin-left: 3px;
  822. 820.  - }
  823. 821.  - .is_rtl1 .im_friend img {
  824. 822.  -   padding-right: 0;
  825. 823.  -   padding-left: 6px;
  826. 824.  - }
  827. 825.  - .is_rtl1 #im_friends_all_wrap {
  828. 826.  -   border-right: 0;
  829. 827.  -   border-left: 1px solid #DBDEE5;
  830. 828.  - }
  831. 829.  -
  832. 830.  - /* Notifier - notifier.css */
  833. 831.  - .is_rtl1 .fc_tab_close_wrap, .is_rtl1 .fc_tab_min_wrap, .is_rtl1 .fc_tab_max_wrap {
  834. 832.  -   margin: 0 4px 0 0;
  835. 833.  - }
  836. 834.  - .is_rtl1 .fc_contact_name {
  837. 835.  -   padding: 0 8px 0 0;
  838. 836.  - }
  839. 837.  - .is_rtl1 div.fc_clist_filter_wrap {
  840. 838.  -   background: #FFF url(/images/magglass.png) no-repeat 182px 7px;
  841. 839.  -   padding: 6px 22px 4px 4px;
  842. 840.  - }
  843. 841.  - .is_rtl1 div.fc_clist_filter {
  844. 842.  -   padding-right: 0;
  845. 843.  -   padding-left: 15px;
  846. 844.  - }
  847. 845.  - .is_rtl1 .fc_clist_online {
  848. 846.  -   margin: -1px -15px 0 0;
  849. 847.  - }
  850. 848.  - .is_rtl1 .fc_msgs_date {
  851. 849.  -   padding: 0 4px 4px 0;
  852. 850.  - }
  853. 851.  - .is_rtl1 .fc_msg {
  854. 852.  -   padding: 0 3px 3px 0;
  855. 853.  - }
  856. 854.  - .is_rtl1 .fc_msg_author_name {
  857. 855.  -   padding: 0 3px 3px 0;
  858. 856.  - }
  859. 857.  -
  860. 858.  - /* Wall upload - page.css */
  861. 859.  - .is_rtl1 .wall_module a.published_by_photo {
  862. 860.  -   margin-right: 0;
  863. 861.  -   margin-left: 8px;
  864. 862.  - }
  865. 863.  - .is_rtl1 .wall_module #submit_post .checkbox, .is_rtl1 .wall_module #submit_post .checkbox_pic {
  866. 864.  -   margin: 6px 10px 0px 0;
  867. 865.  - }
  868. 866.  - .is_rtl1 .wall_module .delete_post {
  869. 867.  -   left: 0;
  870. 868.  -   right: auto;
  871. 869.  - }
  872. 870.  - .is_rtl1 .post_upload_wrap {
  873. 871.  -   right: auto;
  874. 872.  -   left: 10px;
  875. 873.  - }
  876. 874.  -
  877. 875.  - /* top search */
  878. 876.  - .is_rtl1 #ts_wrap {
  879. 877.  -   left: auto;
  880. 878.  -   right: 144px;
  881. 879.  - }
  882. 880.  - .is_rtl1 #ts_wrap.vk {
  883. 881.  -   left: 45px;
  884. 882.  -   right: auto;
  885. 883.  - }
  886. 884.  - .is_rtl1 #ts_cont_wrap {
  887. 885.  -   left: auto;
  888. 886.  -   right: 147px;
  889. 887.  - }
  890. 888.  - .is_rtl1 #ts_cont_wrap.vk {
  891. 889.  -   right: auto;
  892. 890.  -   left: 1px;
  893. 891.  - }
  894. 892.  - *:first-child+html .is_rtl1 #ts_cont_wrap,
  895. 893.  - * html .is_rtl1 #ts_cont_wrap {
  896. 894.  -   left: 0px;
  897. 895.  -   right: auto;
  898. 896.  - }
  899. 897.  - .is_rtl1 .ts_contact,
  900. 898.  - .is_rtl1 .ts_search_link {
  901. 899.  -   margin-right /*\**/: 1px\9
  902. 900.  - }
  903. 901.  - .is_rtl1 .ts_contact_name {
  904. 902.  -   padding: 0 8px 0 0;
  905. 903.  - }
  906. 904.  - .is_rtl1 #ts_friends_online {
  907. 905.  -   right: auto;
  908. 906.  -   left: 6px;
  909. 907.  -   padding: 4px 5px 4px 12px;
  910. 908.  -   background: url(/images/icons/online_friends.gif) left no-repeat;
  911. 909.  - }
  912. 910.  - .is_rtl1 #ts_input {
  913. 911.  -   padding: 4px 23px 3px 40px;
  914. 912.  -   background: url(/images/search_icon_d.gif) no-repeat 152px -11px;
  915. 913.  - }
  916. 914.  - .is_rtl1 .ts.dark #ts_input {
  917. 915.  -   background: url(/images/search_icon_d.gif) no-repeat 152px 5px;
  918. 916.  -   background: url(/images/search_icon_d.gif) no-repeat 152px -11px\9;
  919. 917.  - }
  920. 918.  - .is_rtl1 #ts_wrap.vk #ts_input {
  921. 919.  -   background: url(/images/search_icon.gif?1) no-repeat 112px 5px;
  922. 920.  - }
  923. 921.  - .is_rtl1 div.ts_input_wrap2 {
  924. 922.  -   margin-right: 0px;
  925. 923.  -   margin-left: 62px;
  926. 924.  - }
  927. 925.  - .is_rtl1 .ts_settings {
  928. 926.  -   padding: 12px 18px 15px 19px;
  929. 927.  -   background-position: 6px 9px;
  930. 928.  - }
  931. 929.  - .is_rtl1 .ts_contact_status {
  932. 930.  -   margin: -2px 4px 0 0;
  933. 931.  - }
  934. 932.  - .is_rtl1 .ts_search_link .ts_contact_status {
  935. 933.  -   margin-top: 0px;
  936. 934.  - }
  937. 935.  - .is_rtl1 .ts_contact.active.go .ts_contact_status {
  938. 936.  -   width: 12px;
  939. 937.  - }
  940. 938.  - .is_rtl1 .ts_contact.active.write .ts_contact_status,
  941. 939.  - .is_rtl1 .ts_search_link .ts_contact_status {
  942. 940.  -   width: 12px;
  943. 941.  -   right: auto;
  944. 942.  -   left: 9px;
  945. 943.  - }
  946. 944.  - .is_rtl1 .ts_contact_online .ts_contact_status {
  947. 945.  -   right: auto;
  948. 946.  -   left: 10px;
  949. 947.  - }
  950. 948.  - .is_rtl1 .ts_contact_mobile .ts_contact_status {
  951. 949.  -   right: auto;
  952. 950.  -   left: 9px;
  953. 951.  - }
  954. 952.  -
  955. 953.  - .is_rtl1 .login_blocked_activity_info {
  956. 954.  -   margin-left: 0px;
  957. 955.  -   margin-right: 40px;
  958. 956.  - }
  959. 957.  -
  960. 958.  - .is_rtl1 .request_result_msg {
  961. 959.  -   text-align: right;
  962. 960.  - }
  963. 961.  - .is_rtl1 #search_query_wrap.wide .search_submit {
  964. 962.  -   margin-left: 0px;
  965. 963.  -   margin-right: 8px;
  966. 964.  - }
  967. 965.  - .is_rtl1 #search_query {
  968. 966.  -   padding: 5px 20px 5px 40px;
  969. 967.  -   background-position: 493px 6px;
  970. 968.  - }
  971. 969.  - .is_rtl1 #search_query_reset {
  972. 970.  -   margin: 0 -18px 0 0;
  973. 971.  - }
  974. 972.  - .is_rtl1 #search_query_wrap.wide #search_query_progress {
  975. 973.  -   margin-left: 0;
  976. 974.  -   margin-right: -41px;
  977. 975.  - }
  978. 976.  - .is_rtl1 .search_subtab1 {
  979. 977.  -   margin: 10px 0 0 5px;
  980. 978.  - }
  981. 979.  - .is_rtl1 .search_subtab1.fl_r {
  982. 980.  -   margin: 10px 5px 0 0;
  983. 981.  - }
  984. 982.  - .is_rtl1 .videos_row .info {
  985. 983.  -   padding: 2px 10px 0 0;
  986. 984.  - }
  987. 985.  - .is_rtl1 .video_addition_options .checkbox div {
  988. 986.  - margin: 0px 0px 0px 8px;
  989. 987.  - }
  990. 988.  - .is_rtl1 #results .groups_row .info,
  991. 989.  - .is_rtl1 #results .three_col_row .info {
  992. 990.  -   padding-left: 0px;
  993. 991.  -   padding-right: 10px;
  994. 992.  - }
  995. 993.  - .is_rtl1 .group_row_info {
  996. 994.  -   padding-left: 0px;
  997. 995.  -   padding-right: 10px;
  998. 996.  - }
  999. 997.  - .is_rtl1 #search_content .audios_row {
  1000. 998.  -   padding: 10px 20px 0 4px;
  1001. 999.  - }
  1002. 1000.  - .is_rtl1 #search_content .audios_row .repeat_wrap {
  1003. 1001.  -   left: auto;
  1004. 1002.  -   right: -3px;
  1005. 1003.  - }
  1006. 1004.  - .is_rtl1 #search_content .area .audio_add_wrap {
  1007. 1005.  -   margin: 4px 0px 4px 4px;
  1008. 1006.  - }
  1009. 1007.  - .is_rtl1 .search_results td.results,
  1010. 1008.  - .is_rtl1 .search_people td.results {
  1011. 1009.  -   border-right: none;
  1012. 1010.  -   border-left: 1px solid #DAE2E8;
  1013. 1011.  - }
  1014. 1012.  - .is_rtl1 .filter_shut div.arrow,
  1015. 1013.  - .is_rtl1 .filter_open div.arrow {
  1016. 1014.  -   padding-left: 0px;
  1017. 1015.  -   padding-right: 6px;
  1018. 1016.  - }
  1019. 1017.  - .is_rtl1 #audio.new .audio .play_new {
  1020. 1018.  -   margin: 0px;
  1021. 1019.  - }
  1022. 1020.  - .is_rtl1 .audio .duration {
  1023. 1021.  -   padding: 8px 0px 7px 7px;
  1024. 1022.  - }
  1025. 1023.  - .is_rtl1 .audio .area .actions {
  1026. 1024.  -   right: auto;
  1027. 1025.  -   left: 0px;
  1028. 1026.  - }
  1029. 1027.  - .is_rtl1 .checkbox_container table td.checkbox_label,
  1030. 1028.  - .is_rtl1 .radiobtn_container table td.radiobtn_label {
  1031. 1029.  -   text-align: right;
  1032. 1030.  - }
  1033. 1031.  -
  1034. 1032.  - .is_rtl1 .login_blocked_reason_info {
  1035. 1033.  -   margin-left: 0;
  1036. 1034.  -   margin-right: 45px;
  1037. 1035.  - }
  1038. 1036.  -
  1039. 1037.  - /* Profile profile.css */
  1040. 1038.  - .is_rtl1 .profile_msg_split .cut_left {
  1041. 1039.  -   float: right;
  1042. 1040.  - }
  1043. 1041.  - .is_rtl1 .profile_msg_split .cut_right {
  1044. 1042.  -   float: right;
  1045. 1043.  - }
  1046. 1044.  - .is_rtl1 .profile_msg_split .profile_btn_cut_left {
  1047. 1045.  -   border-left: 1px solid #7496B9;
  1048. 1046.  -   border-right: none;
  1049. 1047.  -   -webkit-border-radius: 2px;
  1050. 1048.  -   -khtml-border-radius: 2px;
  1051. 1049.  -   -moz-border-radius: 2px;
  1052. 1050.  -   border-radius: 2px;
  1053. 1051.  -   -webkit-border-bottom-left-radius: 0;
  1054. 1052.  -   -webkit-border-top-left-radius: 0;
  1055. 1053.  -   -khtml-border-bottom-left-radius: 0;
  1056. 1054.  -   -khtml-border-top-left-radius: 0;
  1057. 1055.  -   -moz-border-bottom-left-radius: 0;
  1058. 1056.  -   -moz-border-top-left-radius: 0;
  1059. 1057.  -   border-bottom-left-radius: 0;
  1060. 1058.  -   border-top-left-radius: 0;
  1061. 1059.  - }
  1062. 1060.  - .is_rtl1 .profile_msg_split .profile_btn_cut_right {
  1063. 1061.  -   border-right: 1px solid #5E82A7;
  1064. 1062.  -   border-left: none;
  1065. 1063.  -   -webkit-border-radius: 2px;
  1066. 1064.  -   -khtml-border-radius: 2px;
  1067. 1065.  -   -moz-border-radius: 2px;
  1068. 1066.  -   border-radius: 2px;
  1069. 1067.  -   -webkit-border-bottom-right-radius: 0;
  1070. 1068.  -   -webkit-border-top-right-radius: 0;
  1071. 1069.  -   -khtml-border-bottom-right-radius: 0;
  1072. 1070.  -   -khtml-border-top-right-radius: 0;
  1073. 1071.  -   -moz-border-bottom-right-radius: 0;
  1074. 1072.  -   -moz-border-top-right-radius: 0;
  1075. 1073.  -   border-bottom-right-radius: 0;
  1076. 1074.  -   border-top-right-radius: 0;
  1077. 1075.  - }
  1078. 1076.  - .is_rtl1 div.olist_select_wrap button {
  1079. 1077.  -   -webkit-border-radius: 2px;
  1080. 1078.  -   -khtml-border-radius: 2px;
  1081. 1079.  -   -moz-border-radius: 2px;
  1082. 1080.  -   border-radius: 2px;
  1083. 1081.  -   -webkit-border-bottom-left-radius: 0;
  1084. 1082.  -   -webkit-border-top-left-radius: 0;
  1085. 1083.  -   -khtml-border-bottom-left-radius: 0;
  1086. 1084.  -   -khtml-border-top-left-radius: 0;
  1087. 1085.  -   -moz-border-bottom-left-radius: 0;
  1088. 1086.  -   -moz-border-top-left-radius: 0;
  1089. 1087.  -   border-bottom-left-radius: 0;
  1090. 1088.  -   border-top-left-radius: 0;
  1091. 1089.  - }
  1092. 1090.  - .is_rtl1 .profile_calls_btn {
  1093. 1091.  -   margin-left: 0;
  1094. 1092.  -   margin-right: 4px;
  1095. 1093.  - }
  1096. 1094.  -
  1097. 1095.  - .is_rtl1 .audio_search div.abutton_wrap button,
  1098. 1096.  - .is_rtl1 #pad_audio_search div.abutton_wrap button {
  1099. 1097.  -   -webkit-border-radius: 2px;
  1100. 1098.  -   -khtml-border-radius: 2px;
  1101. 1099.  -   -moz-border-radius: 2px;
  1102. 1100.  -   border-radius: 2px;
  1103. 1101.  -   -webkit-border-bottom-right-radius: 0;
  1104. 1102.  -   -webkit-border-top-right-radius: 0;
  1105. 1103.  -   -khtml-border-bottom-right-radius: 0;
  1106. 1104.  -   -khtml-border-top-right-radius: 0;
  1107. 1105.  -   -moz-border-bottom-right-radius: 0;
  1108. 1106.  -   -moz-border-top-right-radius: 0;
  1109. 1107.  -   border-bottom-right-radius: 0;
  1110. 1108.  -   border-top-right-radius: 0;
  1111. 1109.  - }
  1112. 1110.  -
  1113. 1111.  - .is_rtl1 .wall_module .post_info {
  1114. 1112.  -   margin-left: 0px;
  1115. 1113.  -   margin-right: 60px;
  1116. 1114.  - }
  1117. 1115.  -
  1118. 1116.  - .is_rtl1 .wall_module .reply_info {
  1119. 1117.  -   margin-left: 0px;
  1120. 1118.  -   margin-right: 39px;
  1121. 1119.  - }
  1122. 1120.  - .is_rtl1 .wide_wall_module .reply_info {
  1123. 1121.  -   margin-left: 0px;
  1124. 1122.  -   margin-right: 61px;
  1125. 1123.  - }
  1126. 1124.  - .is_rtl1 .wall_module .reply_box_open .reply_box {
  1127. 1125.  -   margin-left: 0;
  1128. 1126.  -   margin-right: -6px;
  1129. 1127.  - }
  1130. 1128.  - .is_rtl1 .wall_module .reply_box_open .reply_form {
  1131. 1129.  -   margin-left: 0px;
  1132. 1130.  -   margin-right: 38px;
  1133. 1131.  - }
  1134. 1132.  - .is_rtl1 .wide_wall_module .reply_box_open .reply_form {
  1135. 1133.  -   margin-left: 0px;
  1136. 1134.  -   margin-right: 62px;
  1137. 1135.  - }
  1138. 1136.  - .is_rtl1 .wall_module .reply_field_tail {
  1139. 1137.  -   display: none;
  1140. 1138.  - }
  1141. 1139.  - .reply_button_wrap {
  1142. 1140.  -   padding-right: 0;
  1143. 1141.  -   padding-left: 5px;
  1144. 1142.  -   zoom: 1;
  1145. 1143.  - }
  1146. 1144.  - .is_rtl1 #reply_submit_hint_opts .radiobtn div {
  1147. 1145.  -   margin: 2px 0 6px 5px;
  1148. 1146.  - }
  1149. 1147.  - .is_rtl1 div.feed_post_field {
  1150. 1148.  -   margin-left: 0;
  1151. 1149.  -   margin-right: 42px;
  1152. 1150.  - }
  1153. 1151.  -
  1154. 1152.  - .is_rtl1 .post_like {
  1155. 1153.  -   right: auto;
  1156. 1154.  -   left: 0px;
  1157. 1155.  - }
  1158. 1156.  - .is_rtl1 .wall_module div.page_media_link_desc_wrap {
  1159. 1157.  -   padding-left: 0;
  1160. 1158.  -   padding-right: 10px;
  1161. 1159.  - }
  1162. 1160.  - .is_rtl1 .wall_module .page_media_thumbed_link {
  1163. 1161.  -   margin: 5px 3px 5px 0;
  1164. 1162.  -   border-left: 0;
  1165. 1163.  -   border-right: 2px solid #C3D1E0;
  1166. 1164.  -   padding-left: 0;
  1167. 1165.  -   padding-right: 5px;
  1168. 1166.  - }
  1169. 1167.  -
  1170. 1168.  -
  1171. 1169.  - .is_rtl1 .wall_module .like_wrap i.no_likes,
  1172. 1170.  - .is_rtl1 .wall_module .post_like i.no_likes {
  1173. 1171.  -   margin-right: 3px;
  1174. 1172.  -   margin-left: 0px;
  1175. 1173.  - }
  1176. 1174.  - .is_rtl1 div.fc_tab_txt_self {
  1177. 1175.  -   margin-left: 0px;
  1178. 1176.  -   margin-right: -36px;
  1179. 1177.  - }
  1180. 1178.  - .is_rtl1 div.fc_tab_txt {
  1181. 1179.  -   padding: 3px 39px 3px 3px;
  1182. 1180.  - }
  1183. 1181.  -
  1184. 1182.  -
  1185. 1183.  - .is_rtl1 .wide_wall_module a.page_post_thumb_wrap,
  1186. 1184.  - .is_rtl1 .wide_wall_module a.page_post_thumb_unsized {
  1187. 1185.  -   margin: 0 0 6px 6px;
  1188. 1186.  - }
  1189. 1187.  - .is_rtl1 a.page_post_thumb_wrap,
  1190. 1188.  - .is_rtl1 a.page_post_thumb_unsized,
  1191. 1189.  - .is_rtl1 .feedback_row a.page_post_thumb_wrap,
  1192. 1190.  - .is_rtl1 .feedback_row a.page_post_thumb_unsized {
  1193. 1191.  -   margin: 0 0 3px 3px;
  1194. 1192.  - }
  1195. 1193.  - .is_rtl1 .page_post_sized_thumbs a.page_post_thumb_last_column,
  1196. 1194.  - .is_rtl1 .feedback_row  a.page_post_thumb_last_column {
  1197. 1195.  -   margin-left: 0;
  1198. 1196.  - }
  1199. 1197.  - .is_rtl1 .page_post_sized_thumbs a.page_post_thumb_last_row,
  1200. 1198.  - .is_rtl1 .page_post_sized_thumbs span.page_post_thumb_last_row {
  1201. 1199.  -   margin-bottom: 0;
  1202. 1200.  - }
  1203. 1201.  - .is_rtl1 .wall_album_photos {
  1204. 1202.  -   margin-left: 0;
  1205. 1203.  -   margin-right: 3px;
  1206. 1204.  - }
  1207. 1205.  - .is_rtl1 .wide_wall_module .wall_album_photos {
  1208. 1206.  -   margin-left: 0;
  1209. 1207.  -   margin-right: 6px;
  1210. 1208.  - }
  1211. 1209.  -
  1212. 1210.  - .is_rtl1 .login_mobile_new {
  1213. 1211.  -   margin-left: 0px;
  1214. 1212.  -   margin-right: 7px;
  1215. 1213.  - }
  1216. 1214.  - .is_rtl1 .login_mobile_top_new {
  1217. 1215.  -   padding-left: 0px;
  1218. 1216.  -   padding-right: 5px;
  1219. 1217.  - }
  1220. 1218.  -
  1221. 1219.  - .is_rtl1 #audio.new .audio_list {
  1222. 1220.  -   padding: 0 13px 13px 0;
  1223. 1221.  - }
  1224. 1222.  - .is_rtl1 .audio_list .actions {
  1225. 1223.  -   padding-left: 0px;
  1226. 1224.  -   padding-right: 10px;
  1227. 1225.  - }
  1228. 1226.  - .is_rtl1 .audio_friend_name,
  1229. 1227.  - .is_rtl1 .audio_friend_name_now,
  1230. 1228.  - .is_rtl1 .audio_friend_now {
  1231. 1229.  -   padding: 0 8px 0 0;
  1232. 1230.  - }
  1233. 1231.  - .is_rtl1 .audio_table .audio .title_wrap {
  1234. 1232.  -   float: right;
  1235. 1233.  - }
  1236. 1234.  - .is_rtl1 #pad_audio_search {
  1237. 1235.  -   margin-left: -1px;
  1238. 1236.  -   margin-right: 0px;
  1239. 1237.  - }
  1240. 1238.  - .is_rtl1 .audio_search div.abutton_wrap,
  1241. 1239.  - .is_rtl1 #pad_audio_search div.abutton_wrap {
  1242. 1240.  -   left: 1px;
  1243. 1241.  - }
  1244. 1242.  - .is_rtl1 .audio_search div.abutton_wrap .button_blue,
  1245. 1243.  - .is_rtl1 #pad_audio_search div.abutton_wrap .button_blue {
  1246. 1244.  -   -webkit-border-radius: 2px 0 0 2px;
  1247. 1245.  -   -khtml-border-radius: 2px 0 0 2px;
  1248. 1246.  -   -moz-border-radius: 2px 0 0 2px;
  1249. 1247.  -   border-radius: 2px 0 0 2px;
  1250. 1248.  - }
  1251. 1249.  - .is_rtl1 .abutton_wrap .arrow,
  1252. 1250.  - .is_rtl1 .dd_menu_stype_act .arrow {
  1253. 1251.  -   margin-left: 0px;
  1254. 1252.  -   margin-right: 6px;
  1255. 1253.  - }
  1256. 1254.  - .is_rtl1 #audio.new .actions {
  1257. 1255.  -   right: auto;
  1258. 1256.  -   left: 0px;
  1259. 1257.  - }
  1260. 1258.  - .is_rtl1 #audio.new .audio_edit_wrap,
  1261. 1259.  - .is_rtl1 #audio.new .audio_remove_wrap,
  1262. 1260.  - .is_rtl1 #audio.new .audio_add_wrap {
  1263. 1261.  -   margin: 6px 0 6px 6px;
  1264. 1262.  - }
  1265. 1263.  - .is_rtl1 .audio_filter div.icon_wrap {
  1266. 1264.  -   right: auto;
  1267. 1265.  -   left: -1px;
  1268. 1266.  - }
  1269. 1267.  - .is_rtl1 .audio_filter.loading,
  1270. 1268.  - .is_rtl1 .audio_filter.selected.loading {
  1271. 1269.  -   background-position: 7px center;
  1272. 1270.  - }
  1273. 1271.  -
  1274. 1272.  - .is_rtl1 #ac_play,
  1275. 1273.  - .is_rtl1 #pd_play {
  1276. 1274.  -   margin: 0 2px 0 4px;
  1277. 1275.  - }
  1278. 1276.  - .is_rtl1 .audio_current .info {
  1279. 1277.  -   margin-left: 0px;
  1280. 1278.  -   margin-right: 10px;
  1281. 1279.  - }
  1282. 1280.  - .is_rtl1 #ac_vol,
  1283. 1281.  - .is_rtl1 #pd_vol {
  1284. 1282.  -   margin-left: 0px;
  1285. 1283.  -   margin-right: 11px;
  1286. 1284.  - }
  1287. 1285.  - .is_rtl1 .ac_slider {
  1288. 1286.  -   right: auto;
  1289. 1287.  -   left: -4px;
  1290. 1288.  - }
  1291. 1289.  - .is_rtl1 #ac .info,
  1292. 1290.  - .is_rtl1 #pd .info {
  1293. 1291.  -   margin-left: 0px;
  1294. 1292.  -   margin-right: 10px;
  1295. 1293.  - }
  1296. 1294.  - .is_rtl1 #ac .duration,
  1297. 1295.  - .is_rtl1 #pd .duration {
  1298. 1296.  -   margin-left: 66px;
  1299. 1297.  -   margin-right: 0px;
  1300. 1298.  - }
  1301. 1299.  -
  1302. 1300.  - .is_rtl1 .ttb .top_pointer,
  1303. 1301.  - .is_rtl1 .ttb .bottom_pointer {
  1304. 1302.  -   float: right;
  1305. 1303.  - }
  1306. 1304.  -
  1307. 1305.  - .is_rtl1 #pad_arrow {
  1308. 1306.  -   left: auto;
  1309. 1307.  -   right: -10px;
  1310. 1308.  -   background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAARCAYAAADpPU2iAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAEHSURBVHjaYvgPBGt3Hf/PwMDACsRMQMwMooHCDNgwQACBFCADZgYCACCAWJDYbEAMsokRiH8xMjKCTPyHrgEggECCYLBu7xmQYiEgFgRiDiBmhzqTGdlJAAEE14CkSQKqkRtJE9xPAAGEogFJkxS6JpgGgADC0IBDEytME0AAYdWApEkSiAWAmAumASCAcGpA0iQMswWkASCACNkgh6wBFGIAAYTPDypALItuA0AA4QoldSBWQPcDyAaAAGLAYbIiEEsjhRIHLAIBAogBi5vl0BRzIcc4QAAxIKVWESAWR4ppLmzJAyCAkBPfHyCGJbYfQPwbmtZ+I6c9gABC1oAs8RNX8gYIMAB16z+vM7O/CQAAAABJRU5ErkJggg==);
  1311. 1309.  - }
  1312. 1310.  - .is_rtl1 #pad_arrow.right {
  1313. 1311.  -   width: 12px;
  1314. 1312.  -   height: 17px;
  1315. 1313.  -   left: -10px;
  1316. 1314.  -   right: auto;
  1317. 1315.  -   top: 17px;
  1318. 1316.  -   background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAARCAYAAADpPU2iAAAAr0lEQVR42pWSTQoCMQxGS0NROpuxCv7hoCB4eD2A4NqNp+kNZr5KAyHYMA48uvleMmnqXPvzgOoZ7s/3mHMe3QwhzBF8DXYglrMlcMUFWIIVSI/X5xvWghfhUjmBnQxrQYcPOiyFIP65GdZCGa4H+1ZYC6X62gqzQFIAw18dwAlcrRlIzwDO4GbdEtVF8S0dweVXJ73hqKRBz9R6FpE3DbZgYz2+ILqlSm8JJOgYFiaDlASbG44/fAAAAABJRU5ErkJggg%3D%3D) no-repeat;
  1319. 1317.  - }
  1320. 1318.  - .is_rtl1 #pad_arrow.left {
  1321. 1319.  -   width: 12px;
  1322. 1320.  -   height: 17px;
  1323. 1321.  -   left: auto;
  1324. 1322.  -   right: -10px;
  1325. 1323.  -   top: 15px;
  1326. 1324.  -   background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAARCAYAAADpPU2iAAAArUlEQVR42pWSTQrCQAyFQ4eh4mz8A6uiKAgeXg8guHbjaeYGbQYivkkTxcK3e9880oRyzv31/uyJKAEBqD8QZsxCmDJRcIUVs2Y6kFqRQiUUbo9XkQ7CTqQEbaESQDozJyVNTAGkC3NkNjLbp0ULqmnPLKUlmg3GTCgEVwDprwY9A32bYQt/KbqCEW6rjRvhzgg33qZLcC6LGp+FuqX3GaTRq44Q4UU7bAjNL2EAU9kEmwVnt3EAAAAASUVORK5CYII%3D) no-repeat;
  1327. 1325.  - }
  1328. 1326.  - .is_rtl1 #pad_audio_search input.pad_search {
  1329. 1327.  -   background-position: 349px 6px
  1330. 1328.  - }
  1331. 1329.  - body.pads.is_rtl1 #side_bar a.left_row {
  1332. 1330.  -   padding: 0px 6px 0px 0px;
  1333. 1331.  - }
  1334. 1332.  - .is_rtl1 .pad_fr_info {
  1335. 1333.  -   margin-left: 0px;
  1336. 1334.  -   margin-right: 85px;
  1337. 1335.  - }
  1338. 1336.  - .is_rtl1 .pad_gr_info {
  1339. 1337.  -   margin-left: 0px;
  1340. 1338.  -   margin-right: 110px;
  1341. 1339.  - }
  1342. 1340.  - .is_rtl1 .pad_ph_tagger,
  1343. 1341.  - .is_rtl1 .pad_vid_tagger {
  1344. 1342.  -   margin-left: 8px;
  1345. 1343.  -   margin-right: 0;
  1346. 1344.  - }
  1347. 1345.  - .is_rtl1 .pad_msg_data {
  1348. 1346.  -   margin-right: 60px;
  1349. 1347.  -   margin-left: 0;
  1350. 1348.  - }
  1351. 1349.  - .is_rtl1 .pad_msga_data,
  1352. 1350.  - .is_rtl1 .pad_nwsa_data {
  1353. 1351.  -   margin-left: 0;
  1354. 1352.  -   margin-right: 49px;
  1355. 1353.  - }
  1356. 1354.  - .is_rtl1 .pad_msga_arrow,
  1357. 1355.  - .is_rtl1 .pad_nwsa_arrow {
  1358. 1356.  -   left: auto;
  1359. 1357.  -   right: 20px;
  1360. 1358.  - }
  1361. 1359.  -
  1362. 1360.  - .is_rtl1 div.im_chatbox_mem_photo {
  1363. 1361.  -   padding-right: 0px;
  1364. 1362.  -   padding-left: 15px;
  1365. 1363.  - }
  1366. 1364.  - .is_rtl1 .lang_box_row {
  1367. 1365.  -   padding-left: 0px;
  1368. 1366.  -   margin-left: 0px;
  1369. 1367.  -   padding-right: 50px;
  1370. 1368.  -   margin-right: 10px;
  1371. 1369.  -   background-position: right center;
  1372. 1370.  - }
  1373. 1371.  - .is_rtl1 .pad_ap_right {
  1374. 1372.  -   margin: 0px 10px 10px 0px;
  1375. 1373.  - }
  1376. 1374.  - .is_rtl1 .pad_decl {
  1377. 1375.  -   margin-left: 0px;
  1378. 1376.  -   margin-right: 10px;
  1379. 1377.  - }
  1380. 1378.  - .is_rtl1 .pad_ph_info,
  1381. 1379.  - .is_rtl1 .pad_vid_info {
  1382. 1380.  -   margin-left: 0px;
  1383. 1381.  -   margin-right: 60px;
  1384. 1382.  - }
  1385. 1383.  -
  1386. 1384.  - .is_rtl1 #reg_bar_content {
  1387. 1385.  -   padding: 10px 120px 10px 0px;
  1388. 1386.  - }
  1389. 1387.  - .is_rtl1 #reg_bar_btn {
  1390. 1388.  -   padding-right: 14px;
  1391. 1389.  -   padding-left: 2px;
  1392. 1390.  - }
  1393. 1391.  - .is_rtl1 #reg_bar_with_arr {
  1394. 1392.  -   padding-right: 0px;
  1395. 1393.  -   padding-left: 25px;
  1396. 1394.  - }
  1397. 1395.  -
  1398. 1396.  - .is_rtl1 #mail_box_topic {
  1399. 1397.  -   margin-left: 0px;
  1400. 1398.  -   margin-right: 26px;
  1401. 1399.  - }
  1402. 1400.  - .is_rtl1 #mail_box_ava .wdd_img_half .wdd_img {
  1403. 1401.  -   margin-left: 0px;
  1404. 1402.  -   margin-right: -8px;
  1405. 1403.  - }
  1406. 1404.  - .is_rtl1 #dark_box_ava {
  1407. 1405.  -   margin-left: 0px;
  1408. 1406.  -   margin-right: -26px;
  1409. 1407.  - }
  1410. 1408.  - .is_rtl1 #dark_box_ava .wdd_img_half .wdd_img {
  1411. 1409.  -   margin-left: 0px;
  1412. 1410.  -   margin-right: -8px;
  1413. 1411.  - }
  1414. 1412.  -
  1415. 1413.  - .is_rtl1 .im_photo_holder {
  1416. 1414.  -   margin-left: 8px;
  1417. 1415.  -   margin-right: 0px;
  1418. 1416.  - }
  1419. 1417.  - .is_rtl1 #owner_photo_bubble_in {
  1420. 1418.  -   padding-left: 0px;
  1421. 1419.  -   padding-right: 20px;
  1422. 1420.  -   background-position: right -1px;
  1423. 1421.  - }
  1424. 1422.  - .is_rtl1 #owner_photo_rotate_c {
  1425. 1423.  -   right: auto;
  1426. 1424.  -   left: 0px;
  1427. 1425.  - }
  1428. 1426.  - .is_rtl1 .pv_filter_icon,
  1429. 1427.  - .is_rtl1 .pv_filter_blur .pv_filter_icon {
  1430. 1428.  -   margin-left: 0px;
  1431. 1429.  -   margin-right: 8px;
  1432. 1430.  - }
  1433. 1431.  - .is_rtl1 .pv_crop_cancel {
  1434. 1432.  -   margin: 11px 56px 0px 0px;
  1435. 1433.  - }
  1436. 1434.  -
  1437. 1435.  - .is_rtl1 #docs_choose_upload_area_label {
  1438. 1436.  -   padding-left: 0px;
  1439. 1437.  -   padding-right: 27px;
  1440. 1438.  -   background-position: right 0px;
  1441. 1439.  - }
  1442. 1440.  - .is_rtl1 .docs_add_new span {
  1443. 1441.  -   background-position: 7px -280px;
  1444. 1442.  - }
  1445. 1443.  - .is_rtl1 .docs_item_icon {
  1446. 1444.  -   padding: 3px 17px 0px 0px;
  1447. 1445.  -   background-position: 32px 7px;
  1448. 1446.  - }
  1449. 1447.  - .is_rtl1 .olist_actions .olist_filter {
  1450. 1448.  -   border-left-width: 1px;
  1451. 1449.  -   border-right-width: 0px;
  1452. 1450.  - }
  1453. 1451.  - .is_rtl1 input.olist_filter {
  1454. 1452.  -   padding: 5px 20px 4px 4px;
  1455. 1453.  -   background-position: 150px 6px;
  1456. 1454.  - }
  1457. 1455.  - .is_rtl1 div.olist_select_wrap .button_blue {
  1458. 1456.  -   -webkit-border-radius: 0 2px 2px 0;
  1459. 1457.  -   -khtml-border-radius: 0 2px 2px 0;
  1460. 1458.  -   -moz-border-radius: 0 2px 2px 0;
  1461. 1459.  -   border-radius: 0 2px 2px 0;
  1462. 1460.  - }
  1463. 1461.  -
  1464. 1462.  - .is_rtl1 .join_finish_tt_pointer {
  1465. 1463.  -   left: auto;
  1466. 1464.  -   right: -7px;
  1467. 1465.  -   background-position: -8px 0px;
  1468. 1466.  - }
  1469. 1467.  - .is_rtl1 .page_media_poll .page_poll_row_percent {
  1470. 1468.  -   padding: 2px 6px 0 0;
  1471. 1469.  - }
  1472. 1470.  - .is_rtl1 .wk_poll_stats_wrap .wk_poll_row_percent {
  1473. 1471.  -   padding-left: 0px;
  1474. 1472.  -   padding-right: 4px;
  1475. 1473.  - }
  1476. 1474.  - .is_rtl1 .wk_poll_usr {
  1477. 1475.  -   margin-left: 6px;
  1478. 1476.  -   margin-right: 0px;
  1479. 1477.  - }
  1480. 1478.  - .is_rtl1 .like_tt table.toup1 .bottom_pointer,
  1481. 1479.  - .is_rtl1 .mention_tt table.toup1 .bottom_pointer,
  1482. 1480.  - .is_rtl1 .poll_tt table.toup1 .bottom_pointer {
  1483. 1481.  -   margin-right: 64px;
  1484. 1482.  -   margin-left: 0px;
  1485. 1483.  - }
  1486. 1484.  - .is_rtl1 .like_tt table.toup .top_pointer,
  1487. 1485.  - .is_rtl1 .mention_tt table.toup .top_pointer,
  1488. 1486.  - .is_rtl1 .poll_tt table.toup .top_pointer {
  1489. 1487.  -   margin-right: 64px;
  1490. 1488.  -   margin-left: 0px;
  1491. 1489.  - }
  1492. 1490.  -
  1493. 1491.  - .is_rtl1 .medadd_h,
  1494. 1492.  - .is_rtl1 .medadd_c {
  1495. 1493.  -   padding-left: 0px;
  1496. 1494.  -   padding-right: 20px;
  1497. 1495.  - }
  1498. 1496.  - .is_rtl1 .medadd_aud {
  1499. 1497.  -   padding-right: 0px;
  1500. 1498.  -   padding-left: 10px;
  1501. 1499.  - }
  1502. 1500.  - .is_rtl1 .medadd_aud_play {
  1503. 1501.  -   margin-right: 0px;
  1504. 1502.  -   margin-left: 8px;
  1505. 1503.  - }
  1506. 1504.  -
  1507. 1505.  - .is_rtl1 .wall_module #wall_postponed_link .wall_postponed_link_arrow {
  1508. 1506.  -   background-position: 0px -34px;
  1509. 1507.  - }
  1510. 1508.  - .is_rtl1 .wall_module #wall_postponed_msg_hide .wall_postponed_link_arrow {
  1511. 1509.  -   background-position: 0px -22px;
  1512. 1510.  - }
  1513. 1511.  - .is_rtl1 .post_media_link_preview_wrap .button_blue {
  1514. 1512.  -   margin: -4px 10px 0 0;
  1515. 1513.  - }
  1516. 1514.  - .is_rtl1 .medadd_h_note {
  1517. 1515.  -   background-position: right -132px;
  1518. 1516.  - }
  1519. 1517.  - .is_rtl1 .medadd_h_doc {
  1520. 1518.  -   background-position: right -278px;
  1521. 1519.  - }
  1522. 1520.  - .is_rtl1 .medadd_h_poll {
  1523. 1521.  -   background-position: right -206px;
  1524. 1522.  - }
  1525. 1523.  - .is_rtl1 .medadd_h_link,
  1526. 1524.  - .is_rtl1 .medadd_h_page {
  1527. 1525.  -   background-position: right -235px;
  1528. 1526.  - }
  1529. 1527.  - .is_rtl1 .medadd_h_timer {
  1530. 1528.  -   background-position: right -332px;
  1531. 1529.  - }
  1532. 1530.  - .is_rtl1 .medadd_h_mail {
  1533. 1531.  -   background-position: right -292px;
  1534. 1532.  - }
  1535. 1533.  - .is_rtl1 .datepicker_control {
  1536. 1534.  -   background-position: left center;
  1537. 1535.  - }
  1538. 1536.  - .is_rtl1 .medadd_c_timersett .checkbox_status_export,
  1539. 1537.  - .is_rtl1 .medadd_c_timersett .checkbox_facebook_export,
  1540. 1538.  - .is_rtl1 .medadd_c_timersett .checkbox {
  1541. 1539.  -   margin-left: 10px;
  1542. 1540.  -   margin-right: 0px;
  1543. 1541.  - }
  1544. 1542.  -
  1545. 1543.  - .is_rtl1 .docs_choose_def_icon {
  1546. 1544.  -   background-position: 31px 7px;
  1547. 1545.  -   padding: 3px 17px 0px 0px;
  1548. 1546.  - }
  1549. 1547.  - .is_rtl1 #layer_stl_text {
  1550. 1548.  -   margin: 0 15px 0 31px;
  1551. 1549.  -   background-position: right 3px;
  1552. 1550.  - }
  1553. 1551.  - .is_rtl1 #layer_stl_text.down {
  1554. 1552.  -   background-position: right -9px;
  1555. 1553.  - }
  1556. 1554.  - .is_rtl1 .page_media_poll_desc {
  1557. 1555.  -   padding-left: 0px;
  1558. 1556.  -   padding-right: 5px;
  1559. 1557.  - }
  1560. 1558.  - .is_rtl1 .page_album_title {
  1561. 1559.  -   margin-left: 0px;
  1562. 1560.  -   margin-right: 6px;
  1563. 1561.  - }
  1564. 1562.  -
  1565. 1563.  - .is_rtl1 #quick_login {
  1566. 1564.  -   padding: 3px 9px 0px 0px;
  1567. 1565.  - }
  1568. 1566.  - .is_rtl1 #pv_reply_as_group {
  1569. 1567.  -   margin-left: 0px;
  1570. 1568.  -   margin-right: 10px;
  1571. 1569.  - }
  1572. 1570.  - .is_rtl1 .im_to_end {
  1573. 1571.  -   background-position: left 0px;
  1574. 1572.  - }
  1575. 1573.  -
  1576. 1574.  - .is_rtl1 #page_header.p_head1 .right {
  1577. 1575.  -   width: 48px;
  1578. 1576.  -   background: #4E729A url(/images/hatf_vk_rtl.gif?1) 100% -1px;
  1579. 1577.  - }
  1580. 1578.  - .is_rtl1 #ts_input {
  1581. 1579.  -   padding: 4px 20px 3px 41px;
  1582. 1580.  -   background-position: 149px -11px;
  1583. 1581.  - }
  1584. 1582.  - .is_rtl1 .index_fb_logo {
  1585. 1583.  -   border-right: 0;
  1586. 1584.  -   border-left: 1px solid #5B78A4;
  1587. 1585.  - }
  1588. 1586.  - .is_rtl1 .index_fb_l {
  1589. 1587.  -   padding-left: 5px;
  1590. 1588.  -   padding-right: 10px;
  1591. 1589.  -   margin-right: 27px;
  1592. 1590.  -   margin-left: 0;
  1593. 1591.  -   text-align: right;
  1594. 1592.  -   border-left: 0;
  1595. 1593.  -   border-right: 1px solid #6985B4;
  1596. 1594.  - }
  1597. 1595.  - .is_rtl1 .index_fb_btn button:hover .index_fb_logo {
  1598. 1596.  -   border-right: 0;
  1599. 1597.  -   border-left: 1px solid #5B78A4;
  1600. 1598.  - }
  1601. 1599.  - .is_rtl1 .index_fb_btn button:active .index_fb_logo {
  1602. 1600.  -   border-right: 0;
  1603. 1601.  -   border-left: 1px solid #5B78A4;
  1604. 1602.  - }
  1605. 1603.  - .is_rtl1 .index_fb_btn button:active .index_fb_l {
  1606. 1604.  -   border-left: 0;
  1607. 1605.  -   border-right: 1px solid #6985B4;
  1608. 1606.  -   margin-left: 0;
  1609. 1607.  -   margin-right: 25px;
  1610. 1608.  -   padding-left: 10px;
  1611. 1609.  -   padding-right: 12px;
  1612. 1610.  - }
  1613. 1611.  - .is_rtl1 .index_or {
  1614. 1612.  -   margin-left: 0;
  1615. 1613.  -   margin-right: 185px;
  1616. 1614.  - }
  1617. 1615.  - .is_rtl1 #box_layer_wrap.box_layer_hidden,
  1618. 1616.  - .is_rtl1 .box_layer_hidden {
  1619. 1617.  -   left: auto;
  1620. 1618.  -   right: -10000px;
  1621. 1619.  - }
  1622. 1620.  - .is_rtl1 .wall_module .post_actions,
  1623. 1621.  - .is_rtl1 .wall_module .reply_actions,
  1624. 1622.  - .is_rtl1 .post_full_like {
  1625. 1623.  -   right: auto;
  1626. 1624.  -   left: 0;
  1627. 1625.  - }
  1628. ------
  1629. Файл - feed.js (Старый размер - 96445 | Новый - 0):
  1630. 0.  - var Feed = {
  1631. 1.  -   update: function (afterPost) {
  1632. 2.  -     if (cur.feedUpdateLoading) return;
  1633. 3.  -     if (cur.add_queue && window.Notifier &&
  1634. 4.  -         Notifier.addKey(cur.add_queue, feed.updated) &&
  1635. 5.  -         cur.section != 'news') {
  1636. 6.  -       return;
  1637. 7.  -     }
  1638. 8.  -     if (cur.subsection == 'top' || inArray(cur.section, ['search', 'photos_search', 'mentions', 'articles', 'articles_search', 'likes'])) {
  1639. 9.  -       return;
  1640. 10.  -     }
  1641. 11.  -     var rnd = Math.random();
  1642. 12.  -     if (cur.section != 'news' && cur.section != 'comments' && rnd > 0.3 ||
  1643. 13.  -         cur.section == 'news' && (afterPost || rnd > 0.05)) {
  1644. 14.  -       return;
  1645. 15.  -     }
  1646. 16.  -     cur.feedUpdateLoading = true;
  1647. 17.  -     ajax.post('al_feed.php?au_' + cur.section, extend(feed.getSectionParams(cur.section), {timestamp: cur.timestamp, posted: afterPost ? 1 : '', queue: cur.add_queue ? 1 : 0}), {
  1648. 18.  -       onDone: function (options, rows, updates_timestamp) {
  1649. 19.  -         cur.feedUpdateLoading = false;
  1650. 20.  -         if (afterPost == 1 &&
  1651. 21.  -             (!rows || rows.indexOf(vk.id + '') == -1)) {
  1652. 22.  -           setTimeout(feed.update.pbind(2), 2000);
  1653. 23.  -           return;
  1654. 24.  -         }
  1655. 25.  -         if (options.section != cur.section ||
  1656. 26.  -             options.timestamp < cur.timestamp ||
  1657. 27.  -             updates_timestamp < cur.timestamp) {
  1658. 28.  -           return;
  1659. 29.  -         }
  1660. 30.  -         options.count += cur.count;
  1661. 31.  -         var feed_rows = cur.rowsCont, au = ce('div'), el, postEl, post_raw, startST, updH = 0;
  1662. 32.  -         if (cur.section == 'news') {
  1663. 33.  -           startST = scrollGetY()
  1664. 34.  -           if (rows) {
  1665. 35.  -             au.innerHTML = rows;
  1666. 36.  -             while (au.lastChild) {
  1667. 37.  -               feed_rows.insertBefore(au.lastChild, feed_rows.firstChild);
  1668. 38.  -             }
  1669. 39.  -             each(geByClass('ts' + updates_timestamp, feed_rows), function() {
  1670. 40.  -               var self = this;
  1671. 41.  -               updH += this.offsetHeight;
  1672. 42.  -               self.style.backgroundColor = '#FEFAE4';
  1673. 43.  -               animate(self, {backgroundColor: '#FFF'}, 6000);
  1674. 44.  -               cur.feedUnreadCount++;
  1675. 45.  -             });
  1676. 46.  -           }
  1677. 47.  -           if (updH && startST > 100) {
  1678. 48.  -             scrollToY(startST + updH, 0);
  1679. 49.  -           }
  1680. 50.  -         } else {
  1681. 51.  -           if (rows) {
  1682. 52.  -             au.innerHTML = rows;
  1683. 53.  -             while (el = au.lastChild) {
  1684. 54.  -               if (el.tagName != 'DIV') {
  1685. 55.  -                 au.removeChild(el);
  1686. 56.  -                 continue;
  1687. 57.  -               }
  1688. 58.  -               post_raw = el.firstChild.id.substr(4);
  1689. 59.  -               if (post_raw && cur.wallLayer == post_raw) {
  1690. 60.  -                 continue;
  1691. 61.  -               }
  1692. 62.  -               if (!(postEl = ge('post' + post_raw))) {
  1693. 63.  -                 startST = scrollGetY();
  1694. 64.  -                 feed_rows.insertBefore(el, feed_rows.firstChild);
  1695. 65.  -                 el.style.backgroundColor = '#FEFAE4';
  1696. 66.  -                 animate(el, {backgroundColor: '#FFF'}, 6000);
  1697. 67.  -                 updH = el.offsetHeight;
  1698. 68.  -                 if (startST > 100) {
  1699. 69.  -                   scrollToY(startST + updH, 0);
  1700. 70.  -                 }
  1701. 71.  -               } else {
  1702. 72.  -                 if (!hasClass(postEl.parentNode, 'feed_row')) {
  1703. 73.  -                   debugLog('insert fail', postEl.parentNode);
  1704. 74.  -                   return;
  1705. 75.  -                 }
  1706. 76.  -                 var repliesCont = ge('replies' + post_raw), openEl = repliesCont.nextSibling, cnt = 0;
  1707. 77.  -                 each ([].slice.call(geByClass('reply', el, 'div')), function () {
  1708. 78.  -                   if (ge(this.id)) return;
  1709. 79.  -                   addClass(this, 'new_reply');
  1710. 80.  -                   repliesCont.appendChild(this);
  1711. 81.  -                   cnt++;
  1712. 82.  -                 });
  1713. 83.  -                 if (cnt) {
  1714. 84.  -                   var stDelta = postEl.parentNode.offsetHeight, newCnt = geByClass('new_reply', repliesCont, 'div').length;
  1715. 85.  -                   if (!openEl || openEl.className != 'replies_open') {
  1716. 86.  -                     openEl = ce('div', {className: 'replies_open', onclick: wall.openNewComments.pbind(post_raw)});
  1717. 87.  -                     repliesCont.parentNode.insertBefore(openEl, repliesCont.nextSibling);
  1718. 88.  -                   }
  1719. 89.  -                   openEl.innerHTML = getLang('wall_x_new_replies_more', Math.min(100, newCnt));
  1720. 90.  -                   openEl.newCnt = newCnt;
  1721. 91.  -
  1722. 92.  -                   var st = scrollGetY(),
  1723. 93.  -                       ch = window.innerHeight || document.documentElement.clientHeight || bodyNode.clientHeight,
  1724. 94.  -                       btnY = getXY(openEl)[1],
  1725. 95.  -                       h = postEl.parentNode.offsetHeight;
  1726. 96.  -
  1727. 97.  -                   stDelta = h - stDelta;
  1728. 98.  -
  1729. 99.  -                   if (!inArray(post_raw, cur.feedUnread)) {
  1730. 100.  -                     cur.feedUnread.unshift(post_raw);
  1731. 101.  -                   }
  1732. 102.  -                   if (!cur.idleManager.isIdle && btnY > st + 100 && btnY < st + ch + 100) {
  1733. 103.  -                     debugLog('delaySorting');
  1734. 104.  -                     feed_rows.insertBefore(ge('post_ph' + post_raw) || ce('div', {id: 'post_ph' + post_raw}), feed_rows.firstChild);
  1735. 105.  -                     if (!inArray(post_raw, cur.feedToSort)) {
  1736. 106.  -                       cur.feedToSort.push(post_raw);
  1737. 107.  -                     }
  1738. 108.  -                   } else {
  1739. 109.  -                     debugLog('sort now', btnY, st + 100, st + ch + 100, stDelta);
  1740. 110.  -                     // debugLog(postEl.parentNode, feed_rows);
  1741. 111.  -                     re(postEl.parentNode);
  1742. 112.  -                     // debugLog(postEl.parentNode, feed_rows);
  1743. 113.  -                     feed_rows.insertBefore(postEl.parentNode, feed_rows.firstChild);
  1744. 114.  -                     if (btnY > st + ch + 100) {
  1745. 115.  -                       stDelta = h;
  1746. 116.  -                     }
  1747. 117.  -                     if (stDelta) {
  1748. 118.  -                       debugLog('moving st', stDelta);
  1749. 119.  -                       scrollToY(scrollGetY() + stDelta, 0);
  1750. 120.  -                     }
  1751. 121.  -                   }
  1752. 122.  -                   cur.feedUnreadCount += cnt;
  1753. 123.  -                 }
  1754. 124.  -                 au.removeChild(el);
  1755. 125.  -               }
  1756. 126.  -             }
  1757. 127.  -           }
  1758. 128.  -         }
  1759. 129.  -         feed.applyOptions(options);
  1760. 130.  -         feed.updateTitle();
  1761. 131.  -       },
  1762. 132.  -       onFail: function () {
  1763. 133.  -         cur.feedUpdateLoading = false;
  1764. 134.  -         return false;
  1765. 135.  -       },
  1766. 136.  -       showProgress: function () {
  1767. 137.  -         cur.feedUpdateLoading = true;
  1768. 138.  -       },
  1769. 139.  -       hideProgress: function () {
  1770. 140.  -         cur.feedUpdateLoading = false;
  1771. 141.  -       }
  1772. 142.  -     });
  1773. 143.  -   },
  1774. 144.  -   getNewQKey: function (to) {
  1775. 145.  -     var params = {
  1776. 146.  -       act: 'a_get_key',
  1777. 147.  -       only_update: cur.add_queue ? 1 : 0,
  1778. 148.  -       need_ignore: !isArray(cur.ignore_owners) ? 1 : 0
  1779. 149.  -     };
  1780. 150.  -     var options = {onDone: onDone, local: 1};
  1781. 151.  -     ajax.post('al_feed.php?queue', extend(feed.getSectionParams(cur.section), params), options);
  1782. 152.  -     function onDone(key, ignore_owners) {
  1783. 153.  -       if (key) {
  1784. 154.  -         cur.add_queue = key;
  1785. 155.  -         setTimeout(feed.update.pbind(0), 0);
  1786. 156.  -       } else if (!params.only_update) {
  1787. 157.  -         var ts = ignore_owners;
  1788. 158.  -         cur.timestamp = (ts || (vkNow() / 1000)) - to;
  1789. 159.  -         return;
  1790. 160.  -       }
  1791. 161.  -       if (isArray(ignore_owners)) {
  1792. 162.  -         cur.ignore_owners = ignore_owners;
  1793. 163.  -       }
  1794. 164.  -     }
  1795. 165.  -   },
  1796. 166.  -   updated: function (key, data) {
  1797. 167.  -     if ((cur.section != 'search' && cur.section != 'news' && cur.section) || !cur.add_queue || cur.add_queue.key != key) {
  1798. 168.  -       return;
  1799. 169.  -     }
  1800. 170.  -     if (data.failed) {
  1801. 171.  -       cur.add_queue = false;
  1802. 172.  -       var timeout = curNotifier.error_timeout || 1;
  1803. 173.  -       clearTimeout(cur.lp_error_to);
  1804. 174.  -       cur.lp_error_to = setTimeout(feed.getNewQKey.bind(feed).pbind(timeout), timeout * 1000);
  1805. 175.  -       return;
  1806. 176.  -     }
  1807. 177.  -     if (!isArray(data.events) || !data.events.length) {
  1808. 178.  -       return;
  1809. 179.  -     }
  1810. 180.  - //    debugLog('feed updated', data);
  1811. 181.  -     cur.add_queue.ts = data.ts;
  1812. 182.  -     if (data.key) {
  1813. 183.  -       cur.add_queue.key = data.key;
  1814. 184.  -     }
  1815. 185.  -     var startST = scrollGetY(),
  1816. 186.  -         updH = 0;
  1817. 187.  -
  1818. 188.  -     each(data.events, function () {
  1819. 189.  -       updH += feed.pushEvent(this.split('<!>'), startST);
  1820. 190.  -     });
  1821. 191.  -     var endST = scrollGetY();
  1822. 192.  -     if (updH && startST > 100 && Math.abs(startST - endST) < 100) {
  1823. 193.  -       scrollToY(endST + updH, 0);
  1824. 194.  -     }
  1825. 195.  -     feed.updateTitle();
  1826. 196.  -   },
  1827. 197.  -   pushEvent: function (ev, st) {
  1828. 198.  -     var ev_ver = ev[0],
  1829. 199.  -         ev_type = ev[1],
  1830. 200.  -         post_id = ev[2],
  1831. 201.  -         el = ge('post' + post_id),
  1832. 202.  -         s = cur.section,
  1833. 203.  -         flags = s != 'search' ? intval(ev.pop()) : 0,
  1834. 204.  -         deltaH = 0;
  1835. 205.  -
  1836. 206.  -     if (!cur.options || ev_ver != cur.options.qversion) {
  1837. 207.  -       // location.reload();
  1838. 208.  -       return;
  1839. 209.  -     }
  1840. 210.  -     // debugLog(ev_type, post_id, el, ev[ev.length - 1]);
  1841. 211.  -     switch (ev_type) {
  1842. 212.  -       case 'new_post':
  1843. 213.  -         if (el) break;
  1844. 214.  -         var adminLevel = 0;
  1845. 215.  -         if (intval(ev[11]) && intval(ev[11]) != vk.id) { // own reply owner
  1846. 216.  -           ajax.post('al_feed.php', {act: 'a_need_own_reply', oid: intval(ev[11])}, {
  1847. 217.  -             onDone: function(need) {
  1848. 218.  -               if (need) {
  1849. 219.  -                 ev[11] = 0;
  1850. 220.  -                 feed.pushEvent(ev);
  1851. 221.  -               }
  1852. 222.  -             }
  1853. 223.  -           });
  1854. 224.  -           return;
  1855. 225.  -         }
  1856. 226.  -         if (s != 'search') {
  1857. 227.  -           var oid = post_id.split('_')[0];
  1858. 228.  -           ev[8] = (intval(ev[8]) > 0 && (flags & 4) == 4) ? 1 : 0;
  1859. 229.  -           if (oid < 0) {
  1860. 230.  -             adminLevel = (flags & 8) ? 2 : ((flags & 2) ? 1 : 0);
  1861. 231.  -           }
  1862. 232.  -           // debugLog(oid, flags, adminLevel, ev[8]);
  1863. 233.  -         }
  1864. 234.  -         var cont = cur.rowsCont,
  1865. 235.  -             cnodes = cont.childNodes,
  1866. 236.  -             postHTML = wall.getNewPostHTML(ev, adminLevel, feed.feedPostRepl),
  1867. 237.  -             place = ev[12],
  1868. 238.  -             newEl, grouped, first, others, moreLink, singleOthers;
  1869. 239.  -
  1870. 240.  -         if (place) { // Client-side grouping posts
  1871. 241.  -           if (cur.ignore_owners.length && inArray(intval(place), cur.ignore_owners)) {
  1872. 242.  -             break;
  1873. 243.  -           }
  1874. 244.  -           if (grouped = geByClass1('feed_reposts_wrap' + place, cont, 'div')) {
  1875. 245.  -             first = geByClass1('feed_reposts_first', grouped, 'div').firstChild;
  1876. 246.  -             others = geByClass1('feed_reposts_group', grouped, 'div');
  1877. 247.  -             moreLink = geByClass1('feed_reposts_more_link', grouped, 'a');
  1878. 248.  -             if (st > getXY(first)[1]) {
  1879. 249.  -               deltaH -= first.offsetHeight;
  1880. 250.  -             }
  1881. 251.  -             first.parentNode.replaceChild(newEl = se(postHTML), first);
  1882. 252.  -             others.insertBefore(first, others.firstChild);
  1883. 253.  -             if (!isVisible(others)) {
  1884. 254.  -               val(moreLink, getLang('news_show_X_reposts', others.childNodes.length));
  1885. 255.  -             }
  1886. 256.  -             grouped = grouped.parentNode;
  1887. 257.  -             if (cont.firstChild != grouped) {
  1888. 258.  -               cont.insertBefore(grouped, cont.firstChild);
  1889. 259.  -             }
  1890. 260.  -             if (st > getXY(grouped)[1]) {
  1891. 261.  -               deltaH += grouped.offsetHeight;
  1892. 262.  -             }
  1893. 263.  -             grouped.bits = 0;
  1894. 264.  -           } else if ((singleOthers = geByClass('feed_repost' + place, cont, 'div')) && singleOthers.length) {
  1895. 265.  -             postHTML = rs(cur.wallTpl.grouped_posts, {
  1896. 266.  -               place: place,
  1897. 267.  -               random: irand(100000000, 200000000),
  1898. 268.  -               first: postHTML,
  1899. 269.  -               other: '',
  1900. 270.  -               label: getLang('news_show_X_reposts', singleOthers.length)
  1901. 271.  -             });
  1902. 272.  -             var frow = se('<div class="feed_row">' + postHTML + '</div>');
  1903. 273.  -             cont.insertBefore(frow, cont.firstChild);
  1904. 274.  -             if (st > getXY(frow)[1]) {
  1905. 275.  -               deltaH += frow.offsetHeight;
  1906. 276.  -             }
  1907. 277.  -             grouped = frow.firstChild;
  1908. 278.  -             newEl = geByClass1('feed_reposts_first', grouped, 'div');
  1909. 279.  -             others = geByClass1('feed_reposts_group', grouped, 'div');
  1910. 280.  -             each(clone(singleOthers), function () {
  1911. 281.  -               if (st > getXY(this)[1]) {
  1912. 282.  -                 deltaH -= this.offsetHeight;
  1913. 283.  -               }
  1914. 284.  -               re(this.parentNode);
  1915. 285.  -               others.appendChild(this.firstChild);
  1916. 286.  -             });
  1917. 287.  -           } else {
  1918. 288.  -             newEl = se('<div class="feed_row"><div class="feed_repost' + place + '">' + postHTML + '</div></div>');
  1919. 289.  -             cont.insertBefore(newEl, cont.firstChild);
  1920. 290.  -             if (st > getXY(newEl)[1]) {
  1921. 291.  -               deltaH += newEl.offsetHeight;
  1922. 292.  -             }
  1923. 293.  -           }
  1924. 294.  -         } else {
  1925. 295.  -           newEl = se('<div class="feed_row">' + postHTML + '</div>');
  1926. 296.  -           cont.insertBefore(newEl, cont.firstChild);
  1927. 297.  -           if (st > getXY(newEl)[1]) {
  1928. 298.  -             deltaH += newEl.offsetHeight;
  1929. 299.  -           }
  1930. 300.  -         }
  1931. 301.  -         if (ge('post_poll_id' + post_id)) {
  1932. 302.  -           wall.updatePoll(post_id);
  1933. 303.  -         }
  1934. 304.  -         cur.feedUnreadCount++;
  1935. 305.  -         if (s != 'search') {
  1936. 306.  -           setStyle(newEl, {backgroundColor: '#FEFAE4'});
  1937. 307.  -           animate(newEl, {backgroundColor: '#FFF'}, 6000);
  1938. 308.  -         }
  1939. 309.  -         if (cnodes.length > 300) {
  1940. 310.  -           cont.removeChild(cnodes[300]);
  1941. 311.  -         } else if (cnodes.length <= 1) {
  1942. 312.  -           hide('feed_empty');
  1943. 313.  -         }
  1944. 314.  -         Wall.updateMentionsIndex();
  1945. 315.  -         break;
  1946. 316.  -
  1947. 317.  -       case 'new_post_reply':
  1948. 318.  -         if (el) break;
  1949. 319.  -         var cont = cur.rowsCont,
  1950. 320.  -             cnodes = cont.childNodes,
  1951. 321.  -             postHTML = wall.getNewPostHTML(ev, false, feed.feedPostRepl),
  1952. 322.  -             newEl = se('<div class="feed_row">' + postHTML + '</div>');
  1953. 323.  -
  1954. 324.  -         cont.insertBefore(newEl, cont.firstChild);
  1955. 325.  -         if (st > getXY(newEl)[1]) {
  1956. 326.  -           deltaH += newEl.offsetHeight;
  1957. 327.  -         }
  1958. 328.  -         cur.feedUnreadCount++;
  1959. 329.  -         if (cnodes.length > 300) {
  1960. 330.  -           cont.removeChild(cnodes[300]);
  1961. 331.  -         } else if (cnodes.length <= 1) {
  1962. 332.  -           hide('feed_empty');
  1963. 333.  -         }
  1964. 334.  -         break;
  1965. 335.  -
  1966. 336.  -       case 'edit_post':
  1967. 337.  -         var editEl = ge('wpt' + post_id),
  1968. 338.  -             stUnder;
  1969. 339.  -         if (!isVisible(el) || !editEl) break;
  1970. 340.  -
  1971. 341.  -         if (stUnder = (st > getXY(editEl)[1])) {
  1972. 342.  -           deltaH -= editEl.offsetHeight;
  1973. 343.  -         }
  1974. 344.  -         var text = psr(rs(ev[3], {
  1975. 345.  -           poll_hash: cur.wallTpl.poll_hash
  1976. 346.  -         }));
  1977. 347.  -         val(editEl, text);
  1978. 348.  -         if (ge('post_poll_id' + post_id)) {
  1979. 349.  -           wall.updatePoll(post_id);
  1980. 350.  -         }
  1981. 351.  -         if (stUnder) {
  1982. 352.  -           deltaH += editEl.offsetHeight;
  1983. 353.  -         }
  1984. 354.  -
  1985. 355.  -         setStyle(editEl, {backgroundColor: '#FEFAE4'});
  1986. 356.  -         animate(editEl, {backgroundColor: '#FFF'}, 6000);
  1987. 357.  -         break;
  1988. 358.  -
  1989. 359.  -       case 'edit_reply':
  1990. 360.  -         var reply_id = ev[3],
  1991. 361.  -             editEl = ge('wpt' + reply_id);
  1992. 362.  -         if (!isVisible('post' + reply_id) || !editEl) break;
  1993. 363.  -
  1994. 364.  -         updH = -editEl.offsetHeight;
  1995. 365.  -         updY = getXY(editEl)[1];
  1996. 366.  -         val(editEl, psr(ev[4]));
  1997. 367.  -         updH += editEl.offsetHeight;
  1998. 368.  -         setStyle(editEl, {backgroundColor: '#FEFAE4'});
  1999. 369.  -         animate(editEl, {backgroundColor: '#FFF'}, 6000);
  2000. 370.  -         break;
  2001. 371.  -
  2002. 372.  -       case 'post_parsed_link':
  2003. 373.  -         if (!el) break;
  2004. 374.  -         var btnWrap = geByClass1('wall_postlink_preview_btn_disabled', el);
  2005. 375.  -         if (!btnWrap) break;
  2006. 376.  -         if (intval(ev[3])) {
  2007. 377.  -           removeClass(btnWrap, 'wall_postlink_preview_btn_disabled');
  2008. 378.  -         } else {
  2009. 379.  -           re(btnWrap);
  2010. 380.  -         }
  2011. 381.  -         break;
  2012. 382.  -
  2013. 383.  -       case 'del_post':
  2014. 384.  -         if (el) {
  2015. 385.  -           if (!cur.wallMyDeleted[post_id]) {
  2016. 386.  -             if (st > getXY(el)[1]) {
  2017. 387.  -               deltaH -= el.offsetHeight;
  2018. 388.  -             }
  2019. 389.  -             revertLastInlineVideo(el);
  2020. 390.  -             hide(el);
  2021. 391.  -           }
  2022. 392.  -           cur.options.offset--;
  2023. 393.  -         }
  2024. 394.  -         break;
  2025. 395.  -
  2026. 396.  -       case 'res_post':
  2027. 397.  -         el && cur.options.offset++;
  2028. 398.  -         break;
  2029. 399.  -
  2030. 400.  -       case 'new_reply':
  2031. 401.  -         if (!el || cur.wallMyReplied[post_id] || ge('post' + ev[3])) break;
  2032. 402.  -
  2033. 403.  -         var repliesEl = ge('replies' + post_id),
  2034. 404.  -             repliesWrap = ge('replies_wrap' + post_id),
  2035. 405.  -             startH = el.offsetHeight,
  2036. 406.  -             oid = post_id.split('_')[0],
  2037. 407.  -             adminLevel = (oid < 0) ? ((flags & 8) ? 2 : ((flags & 2) ? 1 : 0)) : 0,
  2038. 408.  -             newEl = se(wall.getNewReplyHTML(ev, adminLevel)),
  2039. 409.  -             highlight = false;
  2040. 410.  -
  2041. 411.  -         if (!isVisible(repliesEl) || !isVisible(repliesWrap) || isVisible('reply_link' + post_id)) {
  2042. 412.  -           re('reply_link' + post_id);
  2043. 413.  -           show(repliesWrap, repliesEl);
  2044. 414.  -           highlight = true;
  2045. 415.  -         } else {
  2046. 416.  -           var openEl = repliesEl.nextSibling,
  2047. 417.  -               newCnt = geByClass('new_reply', repliesEl, 'div').length + 1;
  2048. 418.  -
  2049. 419.  -           if (!cur.wallMyOpened[post_id]) {
  2050. 420.  -             addClass(newEl, 'new_reply');
  2051. 421.  -             if (!openEl || openEl.className != 'replies_open') {
  2052. 422.  -               openEl = ce('div', {className: 'replies_open', onclick: wall.openNewComments.pbind(post_id)});
  2053. 423.  -               repliesEl.parentNode.insertBefore(openEl, repliesEl.nextSibling);
  2054. 424.  -             }
  2055. 425.  -             openEl.innerHTML = getLang('wall_x_new_replies_more', Math.min(100, newCnt));
  2056. 426.  -             openEl.newCnt = newCnt;
  2057. 427.  -           } else {
  2058. 428.  -             if (openEl && openEl.className == 'replies_open') re(openEl);
  2059. 429.  -             highlight = true;
  2060. 430.  -             var headerEl = geByClass1('wr_header', repliesEl, 'a'),
  2061. 431.  -                 shown = geByClass('reply', repliesEl, 'div').length + 1,
  2062. 432.  -                 total = shown;
  2063. 433.  -             if (headerEl) {
  2064. 434.  -               total = intval(headerEl.getAttribute('offs').split('/')[1]) + 1;
  2065. 435.  -             }
  2066. 436.  -             if (total > 5 || shown < total) {
  2067. 437.  -               if (!headerEl) {
  2068. 438.  -                 repliesEl.insertBefore(headerEl = ce('a', {className: 'wr_header'}), repliesEl.firstChild);
  2069. 439.  -               }
  2070. 440.  -               wall.updateRepliesHeader(post_id, headerEl, shown, total);
  2071. 441.  -             }
  2072. 442.  -           }
  2073. 443.  -         }
  2074. 444.  -         if (post_id.split('_')[0] == vk.id) {
  2075. 445.  -           cur.feedUnreadCount++;
  2076. 446.  -         }
  2077. 447.  -         repliesEl.appendChild(newEl);
  2078. 448.  -         if (st > getXY(highlight ? newEl : openEl)[1]) {
  2079. 449.  -           deltaH += el.offsetHeight - startH;
  2080. 450.  -         }
  2081. 451.  -         if (highlight) {
  2082. 452.  -           setStyle(newEl, {backgroundColor: '#FEFAE4'});
  2083. 453.  -           animate(newEl, {backgroundColor: '#FFF'}, 6000);
  2084. 454.  -         }
  2085. 455.  -         Wall.repliesSideSetup(post_id);
  2086. 456.  -         Wall.updateMentionsIndex();
  2087. 457.  -         break;
  2088. 458.  -
  2089. 459.  -       case 'del_reply':
  2090. 460.  -         if (!cur.wallMyDeleted[post_id] && el) {
  2091. 461.  -           if (st > getXY(el)[1]) {
  2092. 462.  -             deltaH -= el.offsetHeight;
  2093. 463.  -           }
  2094. 464.  -
  2095. 465.  -           var post = el.parentNode.id.match(/replies(-?\d+_\d+)/);
  2096. 466.  -           revertLastInlineVideo(el);
  2097. 467.  -           re(el);
  2098. 468.  -           if (post) {
  2099. 469.  -             Wall.repliesSideSetup(post[1]);
  2100. 470.  -           }
  2101. 471.  -         }
  2102. 472.  -         break;
  2103. 473.  -
  2104. 474.  -       case 'like_post':
  2105. 475.  -       case 'like_reply':
  2106. 476.  -         if (!el) break;
  2107. 477.  -           var likePost = ev_type == 'like_reply' ? post_id.replace('_', '_wall_reply') : post_id,
  2108. 478.  -               cntEl = ge('like_count' + likePost),
  2109. 479.  -               iconEl = ge('like_icon' + likePost),
  2110. 480.  -               ttEl = iconEl && iconEl.parentNode,
  2111. 481.  -               cnum = intval(val(cntEl)),
  2112. 482.  -               num = intval(ev[3]);
  2113. 483.  -
  2114. 484.  -         animateCount(cntEl, num);
  2115. 485.  -         val('like_real_count_wall' + post_id, num);
  2116. 486.  -         toggleClass(iconEl, 'no_likes', num <= 0);
  2117. 487.  -         if (ttEl && ttEl.tt && !isVisible(ttEl.tt.container)) {
  2118. 488.  -           ttEl && ttEl.tt && ttEl.tt.destroy();
  2119. 489.  -         }
  2120. 490.  -         setStyle(iconEl, {opacity: '', visibility: ''});
  2121. 491.  -         break;
  2122. 492.  -
  2123. 493.  -       case 'vote_poll':
  2124. 494.  -         if (!el) break;
  2125. 495.  -         wall.updatePollResults(post_id, ev[3]);
  2126. 496.  -         break;
  2127. 497.  -
  2128. 498.  -       case 'new_photos_private':
  2129. 499.  -         break;
  2130. 500.  -         ajax.post('al_feed.php', {act: 'a_get_private', oid: ev[2], key: ev[3], hash: ev[4], num: ev[5]}, {
  2131. 501.  -           onDone: function (ev) {
  2132. 502.  -             if (isArray(ev) && ev.length) {
  2133. 503.  -               feed.pushEvent(ev);
  2134. 504.  -             }
  2135. 505.  -           }
  2136. 506.  -         });
  2137. 507.  -         break;
  2138. 508.  -
  2139. 509.  -
  2140. 510.  -       case 'new_photos':
  2141. 511.  -       case 'new_tagged':
  2142. 512.  -         break;
  2143. 513.  -         var cont = cur.rowsCont,
  2144. 514.  -             cnodes = cont.childNodes,
  2145. 515.  -             thumbs = ev.splice(7, ev.length - 7),
  2146. 516.  -             place = ev[2].split('_')[1] + '_' + (ev_type == 'new_photos' ? 1 : 3),
  2147. 517.  -             grouped, newEl;
  2148. 518.  -
  2149. 519.  -         if (grouped = geByClass1('post_photos' + place, cont, 'div')) {
  2150. 520.  -           if (st > getXY(grouped)[1]) {
  2151. 521.  -             deltaH -= grouped.offsetHeight;
  2152. 522.  -           }
  2153. 523.  -           var numEl = geByClass1('feed_photos_num', grouped, 'small'),
  2154. 524.  -               thumbsEl = geByClass1('post_media', grouped, 'div'),
  2155. 525.  -               num = intval(numEl.getAttribute('num')) + thumbs.length / 3,
  2156. 526.  -               thumbs_html = [], i;
  2157. 527.  -           val(numEl, getLang('news_x_photos', num) + ', ' + wall.getNowRelTime());
  2158. 528.  -           numEl.setAttribute('num', num);
  2159. 529.  -           for (i = 0; i < thumbs.length; i += 3) {
  2160. 530.  -             thumbs_html.push(cur.wallTpl.photo_thumb.replace(/%photo_id%/g, thumbs[i]).replace(/%thumb%/g, thumbs[i+1]).replace(/%temp%/g, thumbs[i+2].replace(/"/g, '&quot;')).replace('%full_id%', ev[2]));
  2161. 531.  -           }
  2162. 532.  -           if (thumbs_html.length >= 8) {
  2163. 533.  -             thumbs_html.splice(8, thumbs_html.length - 8);
  2164. 534.  -             val(thumbsEl, thumbs_html.join(' '));
  2165. 535.  -           } else {
  2166. 536.  -             var t = ce('div', {innerHTML: thumbs_html});
  2167. 537.  -             while (t.lastChild) {
  2168. 538.  -               thumbsEl.insertBefore(t.lastChild, thumbsEl.firstChild);
  2169. 539.  -               if (thumbsEl.childNodes.length > 8) {
  2170. 540.  -                 re(thumbsEl.lastChild);
  2171. 541.  -               }
  2172. 542.  -             }
  2173. 543.  -           }
  2174. 544.  -           newEl = grouped.parentNode;
  2175. 545.  -           if (cont.firstChild != newEl) {
  2176. 546.  -             cont.insertBefore(newEl, cont.firstChild);
  2177. 547.  -           }
  2178. 548.  -           if (st > getXY(newEl)[1]) {
  2179. 549.  -             deltaH += newEl.offsetHeight;
  2180. 550.  -           }
  2181. 551.  -         } else {
  2182. 552.  -           newEl = se('<div class="feed_row">' + wall.getNewPostHTML(ev, false, feed.feedPhotoRepl.pbind(thumbs)) + '</div>');
  2183. 553.  -           addClass(newEl.firstChild, 'post_photos post_photos' + place);
  2184. 554.  -           cont.insertBefore(newEl, cont.firstChild);
  2185. 555.  -           if (st > getXY(newEl)[1]) {
  2186. 556.  -             deltaH += newEl.offsetHeight;
  2187. 557.  -           }
  2188. 558.  -         }
  2189. 559.  -         if (s != 'search') {
  2190. 560.  -           setStyle(newEl, {backgroundColor: '#FEFAE4'});
  2191. 561.  -           animate(newEl, {backgroundColor: '#FFF'}, 6000);
  2192. 562.  -         }
  2193. 563.  -         if (cnodes.length > 300) {
  2194. 564.  -           cont.removeChild(cnodes[300]);
  2195. 565.  -         } else if (cnodes.length == 1) {
  2196. 566.  -           hide('feed_empty');
  2197. 567.  -         }
  2198. 568.  -         break;
  2199. 569.  -     }
  2200. 570.  -     return deltaH;
  2201. 571.  -   },
  2202. 572.  -   feedPostRepl: function (repl, ev) {
  2203. 573.  -     repl.replies = cur.wallTpl.post_replies;
  2204. 574.  -     var ext = {
  2205. 575.  -       full_id: ev[2],
  2206. 576.  -       item_id: 'wall_' + ev[2],
  2207. 577.  -       sec_name: stripHTML(ev[3]),
  2208. 578.  -       date: wall.getNowRelTime(),
  2209. 579.  -       del: /*ev[9] == vk.id ? cur.wallTpl.del : */cur.wallTpl.spam // always hiding from feed
  2210. 580.  -     };
  2211. 581.  -     if (cur.section == 'search' && cur.q) {
  2212. 582.  -       var text = repl.text || '',
  2213. 583.  -           q = cur.q, q_words = q.toLowerCase().split(/[\s.,:;!?()]/),
  2214. 584.  -           links = [];
  2215. 585.  -       text = text.replace(/<.+?>/g, function (tag) {
  2216. 586.  -         links.push(tag);
  2217. 587.  -         return "\x01";
  2218. 588.  -       });
  2219. 589.  -       var text_l = text.toLowerCase(), i, pos, word;
  2220. 590.  -       for (i = q_words.length - 1; i >= 0; i--) {
  2221. 591.  -         word = q_words[i];
  2222. 592.  -         if (!trim(word)) continue;
  2223. 593.  -         pos = 0;
  2224. 594.  -         while ((pos = text_l.indexOf(word, pos)) != -1) {
  2225. 595.  -           if (text.charAt(pos - 1) == String.fromCharCode(2)) {
  2226. 596.  -             pos += 2;
  2227. 597.  -             continue;
  2228. 598.  -           }
  2229. 599.  -           text = text.substr(0, pos) + "\x02" + i + "\x02" + text.substr(pos + word.length);
  2230. 600.  -           text_l = text_l.substr(0, pos) + "\x02" + i + "\x02" + text_l.substr(pos + word.length);
  2231. 601.  -         }
  2232. 602.  -       }
  2233. 603.  -       text = text.replace(/\x02(\d+)\x02/g, function (a, i) {
  2234. 604.  -         return '<span class="match">' + q_words[i] + '</span>';
  2235. 605.  -       });
  2236. 606.  -       text = text.replace(/\x01/g, function () {
  2237. 607.  -         return links.shift() || '';
  2238. 608.  -       });
  2239. 609.  -       ext.text = text;
  2240. 610.  -       if (ev[1] == 'new_post_reply') {
  2241. 611.  -         ext.date_postfix = ev[7];
  2242. 612.  -       }
  2243. 613.  -     }
  2244. 614.  -     return ext;
  2245. 615.  -   },
  2246. 616.  -   feedPhotoRepl: function (thumbs, repl, ev) {
  2247. 617.  -     var thumbs_html = [], i, ext, explain = '', cnt = 1;
  2248. 618.  -
  2249. 619.  -     for (i = 0; i < thumbs.length; i += 3) {
  2250. 620.  -       thumbs_html.push(cur.wallTpl.photo_thumb.replace(/%photo_id%/g, thumbs[i]).replace(/%thumb%/g, thumbs[i+1]).replace(/%temp%/g, thumbs[i+2].replace(/"/g, '&quot;')));
  2251. 621.  -     }
  2252. 622.  -     if (ev[1] == 'new_tagged') {
  2253. 623.  -       explain = cur.wallTpl.tagged_explain.replace('%explain_text%', langSex(ev[6], cur.lang.wall_user_was_tagged_on_photos));
  2254. 624.  -     } else {
  2255. 625.  -       cnt = ev[6];
  2256. 626.  -     }
  2257. 627.  -     ext = {
  2258. 628.  -       text: cur.wallTpl.photos,
  2259. 629.  -       reply_link: '',
  2260. 630.  -       reply_box: '',
  2261. 631.  -       oid: ev[2].split('_')[1],
  2262. 632.  -       explain: explain,
  2263. 633.  -       photos: thumbs_html.join(' '),
  2264. 634.  -       replies: cur.wallTpl.photo_replies.replace('%date%', getLang('news_x_photos', cnt) + ', ' + wall.getNowRelTime()),
  2265. 635.  -       count: cnt,
  2266. 636.  -       full_id: ev[2],
  2267. 637.  -       item_id: ev[2].replace(/^1_/, 'photos_').replace(/^3_/, 'tagged_'),
  2268. 638.  -       sec_name: stripHTML(ev[3])
  2269. 639.  -     };
  2270. 640.  -     return ext;
  2271. 641.  -   },
  2272. 642.  -   reSortItems: function () {
  2273. 643.  -     debugLog('resort', cur.feedToSort);
  2274. 644.  -     if (!cur.feedToSort || !cur.feedToSort.length) return;
  2275. 645.  -     each (cur.feedToSort, function (k, v) {
  2276. 646.  -       var ph = ge('post_ph' + v), el = ge('post' + v).parentNode;
  2277. 647.  -       if (ph && el) {
  2278. 648.  -         ph.parentNode.insertBefore(el, ph);
  2279. 649.  -         re(ph);
  2280. 650.  -       }
  2281. 651.  -     });
  2282. 652.  -     cur.feedToSort = [];
  2283. 653.  -     scrollToY(0, 0);
  2284. 654.  -   },
  2285. 655.  -   updateTitle: function () {
  2286. 656.  -     if (!cur.idleManager) return;
  2287. 657.  -     if (!cur.idleManager.isIdle) {
  2288. 658.  -       cur.feedUnreadCount = 0;
  2289. 659.  -     }
  2290. 660.  -     document.title = (cur.feedUnreadCount ? '('+ cur.feedUnreadCount + ') ' : '') + cur.feedInitialTitle;
  2291. 661.  -   },
  2292. 662.  -   toggleTabsMenu: function (on) {
  2293. 663.  -     var feedMenu = ge('feed_tab_add_menu');
  2294. 664.  -     if (on === undefined) {
  2295. 665.  -       on = !isVisible(feedMenu);
  2296. 666.  -     }
  2297. 667.  -     if (browser.mozilla) {
  2298. 668.  -       setStyle('page_body', {overflow: on ? 'visible' : ''});
  2299. 669.  -     }
  2300. 670.  -     toggle(feedMenu, on);
  2301. 671.  -     if (on) {
  2302. 672.  -       addEvent(document, 'mousedown', function (e) {
  2303. 673.  -         Feed.toggleTabsMenu(0);
  2304. 674.  -         removeEvent(document, 'mousedown', arguments.callee);
  2305. 675.  -       });
  2306. 676.  -     }
  2307. 677.  -   },
  2308. 678.  -   toggleMenu: function (on) {
  2309. 679.  -     var feedMenu = ge('feed_menu');
  2310. 680.  -     if (on === undefined) {
  2311. 681.  -       on = !isVisible(feedMenu);
  2312. 682.  -     }
  2313. 683.  -     val('feed_menu_toggler', on ? getLang('news_hide_menu') : getLang('news_show_menu'));
  2314. 684.  -     toggle(feedMenu, on);
  2315. 685.  -     if (on) {
  2316. 686.  -       addEvent(document, 'mousedown', function (e) {
  2317. 687.  -         var target = e.target;
  2318. 688.  -         while (target) {
  2319. 689.  -           if (hasClass(target, 'dd_menu_header')) {
  2320. 690.  -             return true;
  2321. 691.  -           }
  2322. 692.  -           target = target.parentNode;
  2323. 693.  -         }
  2324. 694.  -         Feed.toggleMenu(0);
  2325. 695.  -         removeEvent(document, 'mousedown', arguments.callee);
  2326. 696.  -       });
  2327. 697.  -     }
  2328. 698.  -   },
  2329. 699.  -   getSectionParams: function(section) {
  2330. 700.  -     var params = {section: section};
  2331. 701.  -     switch (section) {
  2332. 702.  -       case 'news':
  2333. 703.  -       case 'recommended':
  2334. 704.  -         if ((params.subsection = cur.subsections[section]) === undefined) {
  2335. 705.  -           delete params.subsection;
  2336. 706.  -         }
  2337. 707.  -         break;
  2338. 708.  -
  2339. 709.  -       case 'owner':
  2340. 710.  -         if (!(params.owner = cur.owner)) {
  2341. 711.  -           delete params.section;
  2342. 712.  -         }
  2343. 713.  -         break;
  2344. 714.  -
  2345. 715.  -       case 'source':
  2346. 716.  -         if (!(params.source = cur.source)) {
  2347. 717.  -           delete params.source;
  2348. 718.  -         }
  2349. 719.  -         break;
  2350. 720.  -
  2351. 721.  -       case 'list':
  2352. 722.  -         if (!(params.list = cur.list)) {
  2353. 723.  -           delete params.list;
  2354. 724.  -         }
  2355. 725.  -         break;
  2356. 726.  -
  2357. 727.  -       case 'notifications':
  2358. 728.  -         if (!(params.source = cur.source)) {
  2359. 729.  -           delete params.source;
  2360. 730.  -         }
  2361. 731.  -         break;
  2362. 732.  -
  2363. 733.  -       case 'articles':
  2364. 734.  -         params.percent = cur.periodPercent;
  2365. 735.  -         if ((params.subsection = cur.subsections[section]) === undefined) {
  2366. 736.  -           delete params.subsection;
  2367. 737.  -         }
  2368. 738.  -         break;
  2369. 739.  -
  2370. 740.  -       case 'search':
  2371. 741.  -       case 'photos_search':
  2372. 742.  -         if (!(params.q = trim(val('feed_search')))) {
  2373. 743.  -           delete params.section;
  2374. 744.  -         }
  2375. 745.  -         if (!(params.sort = intval(cur.searchSortMenu && cur.searchSortMenu.val()))) {
  2376. 746.  -           delete params.sort;
  2377. 747.  -         }
  2378. 748.  -         break;
  2379. 749.  -
  2380. 750.  -       case 'articles_search':
  2381. 751.  -         if (!(params.q = trim(val('feed_search')))) {
  2382. 752.  -           params.section = 'articles';
  2383. 753.  -         }
  2384. 754.  -         break;
  2385. 755.  -
  2386. 756.  -       case 'comments':
  2387. 757.  -         if (cur.reposts) {
  2388. 758.  -           params.reposts = cur.reposts;
  2389. 759.  -         }
  2390. 760.  -         break;
  2391. 761.  -
  2392. 762.  -       case 'mentions':
  2393. 763.  -         if (cur.mentionObj && cur.mentionObj != vk.id) {
  2394. 764.  -           params.obj = cur.mentionObj;
  2395. 765.  -         }
  2396. 766.  -         break;
  2397. 767.  -     }
  2398. 768.  -     debugLog(params, section);
  2399. 769.  -     return params;
  2400. 770.  -   },
  2401. 771.  -   switchSection: function(newSection, e) {
  2402. 772.  -     if (e && checkEvent(e)) {
  2403. 773.  -       return true;
  2404. 774.  -     }
  2405. 775.  -     if (newSection == 'search' && !trim(val('feed_search'))) {
  2406. 776.  -       if (cur.section != 'search') return false;
  2407. 777.  -       newSection = 'news';
  2408. 778.  -     }
  2409. 779.  -     if (newSection == 'photos_search' && !trim(val('feed_search'))) {
  2410. 780.  -       if (cur.section != 'photos_search') return false;
  2411. 781.  -       newSection = 'photos';
  2412. 782.  -     }
  2413. 783.  -     if (newSection == 'comments') {
  2414. 784.  -       cur.reposts = cur.options.reposts = '';
  2415. 785.  -     }
  2416. 786.  -     feed.setSection(newSection, 1);
  2417. 787.  -     var params = feed.getSectionParams(newSection || 'news');
  2418. 788.  -     delete cur.feedUpdateLoading;
  2419. 789.  -     delete cur.isFeedLoading;
  2420. 790.  -     nav.go(extend(params || {}, {'0': 'feed'}));
  2421. 791.  -     return false;
  2422. 792.  -   },
  2423. 793.  -   setSection: function (newSection, from) {
  2424. 794.  -     from = from || 0;
  2425. 795.  -     cur.prevSection = cur.section;
  2426. 796.  -     if (newSection == cur.section && from < 2 || !newSection) return;
  2427. 797.  -
  2428. 798.  -     var splitt = !!ge('feedtab_updates') || !ge('feedtab_news');
  2429. 799.  -
  2430. 800.  -     hide('feed_progress');
  2431. 801.  -
  2432. 802.  -     var feedBar = ge('feed_bar'),
  2433. 803.  -         curSection = cur.section,
  2434. 804.  -         curTopTab = 'news',
  2435. 805.  -         newTopTab = 'news',
  2436. 806.  -         curTab, newTab;
  2437. 807.  -
  2438. 808.  -     if (from >= 2 && newSection == cur.section) {
  2439. 809.  -       curSection = cur.prevSection || cur.section;
  2440. 810.  -     }
  2441. 811.  -     if (curSection == 'articles_search') {
  2442. 812.  -       curTab = 'articles';
  2443. 813.  -     } else if (curSection == 'photos_search') {
  2444. 814.  -       curTab = 'photos';
  2445. 815.  -     } else if (curSection == 'list') {
  2446. 816.  -       curTab = 'list' + (newSection == 'list' ? cur.prevList : cur.list);
  2447. 817.  -     } else {
  2448. 818.  -       curTab = curSection || '';
  2449. 819.  -     }
  2450. 820.  -
  2451. 821.  -     if (newSection == 'articles_search') {
  2452. 822.  -       newTab = 'articles';
  2453. 823.  -     } else if (newSection == 'photos_search') {
  2454. 824.  -       newTab = 'photos';
  2455. 825.  -     } else if (newSection == 'list') {
  2456. 826.  -       newTab = 'list' + cur.list;
  2457. 827.  -     } else {
  2458. 828.  -       newTab = newSection || '';
  2459. 829.  -     }
  2460. 830.  -
  2461. 831.  -     switch (cur.section) {
  2462. 832.  -       // case 'groups':
  2463. 833.  -       // case 'mentions':
  2464. 834.  -       // case 'articles':
  2465. 835.  -       // case 'articles_search':
  2466. 836.  -       //   curTopTab = 'custom';
  2467. 837.  -       //   break
  2468. 838.  -       case 'notifications':
  2469. 839.  -         curTopTab = 'notifications';
  2470. 840.  -         break;
  2471. 841.  -
  2472. 842.  -       case 'updates':
  2473. 843.  -         if (splitt) {
  2474. 844.  -           curTopTab = 'updates';
  2475. 845.  -           break;
  2476. 846.  -         }
  2477. 847.  -       case 'comments':
  2478. 848.  -         curTopTab = 'comments';
  2479. 849.  -         break;
  2480. 850.  -
  2481. 851.  -       case 'owner': curTopTab = 'owner'; break;
  2482. 852.  -       case 'source': curTopTab = 'source'; break;
  2483. 853.  -     }
  2484. 854.  -     switch (newSection) {
  2485. 855.  -       // case 'groups':
  2486. 856.  -       // case 'mentions':
  2487. 857.  -       // case 'articles':
  2488. 858.  -       // case 'articles_search':
  2489. 859.  -       //   newTopTab = 'custom';
  2490. 860.  -       //   break
  2491. 861.  -
  2492. 862.  -       case 'notifications':
  2493. 863.  -         newTopTab = 'notifications';
  2494. 864.  -         break;
  2495. 865.  -
  2496. 866.  -       case 'updates':
  2497. 867.  -       case 'comments':
  2498. 868.  -         if (splitt) {
  2499. 869.  -           newTopTab = 'updates';
  2500. 870.  -           break;
  2501. 871.  -         }
  2502. 872.  -         newTopTab = 'comments';
  2503. 873.  -         break;
  2504. 874.  -
  2505. 875.  -       case 'owner':
  2506. 876.  -         newTopTab = 'owner';
  2507. 877.  -         break;
  2508. 878.  -
  2509. 879.  -       case 'source':
  2510. 880.  -         newTopTab = 'source';
  2511. 881.  -         break;
  2512. 882.  -     }
  2513. 883.  -
  2514. 884.  -     var curTabEl = curTab && curTab != newTab && geByClass1('feed_tab_' + curTab, feedBar, 'div');
  2515. 885.  -         newTabEl = newTab && geByClass1('feed_tab_' + newTab, feedBar, 'div');
  2516. 886.  -
  2517. 887.  -     // debugLog('replace old', curTab, curTabEl, debugEl(curTabEl));
  2518. 888.  -     curTabEl && replaceClass(curTabEl, 'summary_tab_sel', 'summary_tab');
  2519. 889.  -
  2520. 890.  -     // debugLog('replace new', newTab, newTabEl, debugEl(newTabEl));
  2521. 891.  -     if (newTabEl) {
  2522. 892.  -       var tabLink = geByTag1('a', newTabEl),
  2523. 893.  -           tween = data(tabLink, 'tween');
  2524. 894.  -
  2525. 895.  -       if (tween && tween.isTweening) {
  2526. 896.  -         tween.stop(false);
  2527. 897.  -       }
  2528. 898.  -       tabLink.style.backgroundColor = '';
  2529. 899.  -       replaceClass(newTabEl, 'summary_tab', 'summary_tab_sel');
  2530. 900.  -     }
  2531. 901.  -
  2532. 902.  -     // debugLog(curTopTab, newTopTab, from);
  2533. 903.  -     if (curTopTab != newTopTab || from > 1) {
  2534. 904.  -       removeClass(ge('feedtab_' + curTopTab), 'active_link');
  2535. 905.  -       addClass(ge('feedtab_' + newTopTab), 'active_link');
  2536. 906.  -       if (from < 2) {
  2537. 907.  -         if (cur.section != 'owner') {
  2538. 908.  -           hide(feed.getTypesSection() + '_filters');
  2539. 909.  -         } else {
  2540. 910.  -           hide('person_filters', 'group_filters');
  2541. 911.  -         }
  2542. 912.  -         if (curTopTab == 'news' || cur.section == 'articles') {
  2543. 913.  -           hide('feed_rate_slider_wrap');
  2544. 914.  -         }
  2545. 915.  -         cur.section = newSection;
  2546. 916.  -         return;
  2547. 917.  -       }
  2548. 918.  -
  2549. 919.  -       toggle('feed_news_bar', newTopTab == 'news');
  2550. 920.  -       toggle('feed_comments_bar', newTopTab == 'comments');
  2551. 921.  -       toggle('feed_search_bar', inArray(newSection, ['articles_search', 'articles', 'notifications', 'search', 'photos_search', 'photos']));
  2552. 922.  -       if (splitt) {
  2553. 923.  -         toggle('feed_bar', newTopTab != 'updates' && newTopTab != 'notifications' && newTopTab != 'comments' && newTopTab != 'source');
  2554. 924.  -       } else {
  2555. 925.  -         toggle('feed_bar', newTopTab != 'source');
  2556. 926.  -       }
  2557. 927.  -
  2558. 928.  -       toggleClass('feed_bar', 'feed_bar_extended_search', newSection == 'search');
  2559. 929.  -     }
  2560. 930.  -
  2561. 931.  -     if (from > 1 && newSection.indexOf('search') == -1 && val('feed_search')) {
  2562. 932.  -       Feed.searchReset();
  2563. 933.  -     }
  2564. 934.  -
  2565. 935.  -     var oldFilters = ge(feed.getTypesSection() + '_filters');
  2566. 936.  -     cur.section = newSection;
  2567. 937.  -     if (from == 4) {
  2568. 938.  -       Feed.searchUpdate();
  2569. 939.  -       return;
  2570. 940.  -     }
  2571. 941.  -
  2572. 942.  -     if (cur.section != 'owner') {
  2573. 943.  -       hide(oldFilters);
  2574. 944.  -     } else {
  2575. 945.  -       hide('person_filters', 'group_filters');
  2576. 946.  -     }
  2577. 947.  -
  2578. 948.  -     var newFilters = ge(feed.getTypesSection() + '_filters');
  2579. 949.  -     if (newFilters) {
  2580. 950.  -       show(newFilters, 'feed_menu_toggle');
  2581. 951.  -     } else {
  2582. 952.  -       hide('feed_menu_toggle');
  2583. 953.  -     }
  2584. 954.  -     toggle('feed_edit_hidden', newSection == 'news' || newSection == 'photos');
  2585. 955.  -     toggle('feed_search_sort', inArray(newSection, ['search'/*, 'photos_search'*/]));
  2586. 956.  -     toggle('feed_period_select', newSection == 'articles' && cur.subsection == 'top');
  2587. 957.  -     toggle('feed_rate_slider_wrap', newSection == 'articles' && cur.subsection == 'top');
  2588. 958.  -
  2589. 959.  -     cur.editingHide = newSection == 'notifications' ? feed.notifyCheckHideReply : false;
  2590. 960.  -
  2591. 961.  -     if (inArray(newSection, ['search', 'photos_search']) && !cur.searchSortMenu) {
  2592. 962.  -       stManager.add(['ui_controls.js', 'ui_controls.css'], feed.initUi);
  2593. 963.  -     }
  2594. 964.  -   },
  2595. 965.  -   applyOptions: function(options, from) {
  2596. 966.  -     from = from || 0;
  2597. 967.  -     if (options.owner) {
  2598. 968.  -       cur.owner = options.owner;
  2599. 969.  -     }
  2600. 970.  -     cur.subsection = options.subsection || '';
  2601. 971.  -     feed.setSection(options.section, from);
  2602. 972.  -     if (!cur.options) cur.options = {reply_names: {}};
  2603. 973.  -     extend(cur.options.reply_names, options.reply_names);
  2604. 974.  -     delete options.reply_names;
  2605. 975.  -     extend(cur, options);
  2606. 976.  -
  2607. 977.  -     cur.subsections[cur.section] = cur.subsection;
  2608. 978.  -
  2609. 979.  -     if (options.loc && from == 2) {
  2610. 980.  -       nav.setLoc(options.loc);
  2611. 981.  -     }
  2612. 982.  -     if (options.summary) {
  2613. 983.  -       val('feed_summary', options.summary);
  2614. 984.  -     }
  2615. 985.  -     if (options.owner_name) {
  2616. 986.  -       val(geByTag1('nobr', ge('feedtab_owner')), options.owner_name);
  2617. 987.  -     }
  2618. 988.  -     if (options.source_name) {
  2619. 989.  -       val(geByTag1('nobr', ge('feedtab_source')), options.source_name);
  2620. 990.  -     }
  2621. 991.  -     if (options.htitle) {
  2622. 992.  -       cur.feedInitialTitle = document.title = replaceEntities(stripHTML(options.htitle));
  2623. 993.  -     }
  2624. 994.  -     if (options.add_queue !== undefined && options.add_queue !== null) {
  2625. 995.  -       if (from) {
  2626. 996.  -         if (options.add_queue === true) {
  2627. 997.  -           cur.add_queue = options.add_queue = false;
  2628. 998.  -         }
  2629. 999.  -         feed.getNewQKey(0);
  2630. 1000.  -       }
  2631. 1001.  -       if (cur.add_queue = options.add_queue) {
  2632. 1002.  -         setTimeout(feed.update.pbind(0), 0);
  2633. 1003.  -       }
  2634. 1004.  -     } else if (from && cur.section != 'search' && cur.section != 'news' && cur.section) {
  2635. 1005.  -       cur.add_queue = false;
  2636. 1006.  -     }
  2637. 1007.  -     if (options.q) {
  2638. 1008.  -       val('feed_search', replaceEntities(options.q));
  2639. 1009.  -       var query = options.q;
  2640. 1010.  -       if (query.length > 30) {
  2641. 1011.  -         query = trim(query.substr(0, 30)) + '...';
  2642. 1012.  -       }
  2643. 1013.  -     }
  2644. 1014.  -     Feed.searchUpdate();
  2645. 1015.  -     if (cur.section == 'comments' && !cur.reposts) {
  2646. 1016.  -       toggle('comments_filters', !cur.reposts);
  2647. 1017.  -     }
  2648. 1018.  -     if (cur.all_shown_text) {
  2649. 1019.  -       val('all_shown', cur.all_shown_text);
  2650. 1020.  -     }
  2651. 1021.  -     if (cur.empty_text) {
  2652. 1022.  -       val('feed_empty', cur.empty_text);
  2653. 1023.  -     }
  2654. 1024.  -     if (cur.percent !== undefined && cur.percent !== null) {
  2655. 1025.  -       feed.sliderUpdate(cur.percent, true);
  2656. 1026.  -       delete cur.percent;
  2657. 1027.  -     }
  2658. 1028.  -     if (cur.count >= 0) {
  2659. 1029.  -       re('feed_error_wrap');
  2660. 1030.  -     }
  2661. 1031.  -     var hasNews = geByClass1('feed_row', cur.rowsCont, 'div') || false,
  2662. 1032.  -         isEmpty = !hasNews,
  2663. 1033.  -         nextRows = ge('feed_rows_next');
  2664. 1034.  -
  2665. 1035.  -     if (isEmpty) {
  2666. 1036.  -       toggle('feed_empty', !isVisible('feed_error_wrap'));
  2667. 1037.  -       hide('all_shown');
  2668. 1038.  -       toggle('show_more_link', cur.count > 0 && !cur.all_shown);
  2669. 1039.  -     } else if (cur.all_shown && (!nextRows || !nextRows.firstChild)) {
  2670. 1040.  -       hide('feed_empty', 'show_more_link');
  2671. 1041.  -       show('all_shown');
  2672. 1042.  -       re(nextRows);
  2673. 1043.  -     } else {
  2674. 1044.  -       hide('feed_empty', 'all_shown');
  2675. 1045.  -       show('show_more_link');
  2676. 1046.  -     }
  2677. 1047.  -
  2678. 1048.  -     if (cur.section == 'notifications' && cur.notify) {
  2679. 1049.  -       var el = ge('feedback_row_' + cur.notify);
  2680. 1050.  -       if (el) {
  2681. 1051.  -         setTimeout(function () {el.onclick()}, browser.msie ? 100 : 0);
  2682. 1052.  -         delete cur.notify;
  2683. 1053.  -       }
  2684. 1054.  -     }
  2685. 1055.  -     Feed.applyUi();
  2686. 1056.  -   },
  2687. 1057.  -   showMore: function() {
  2688. 1058.  -     if (cur.isFeedLoading) return;
  2689. 1059.  -     cur.disableAutoMore = false;
  2690. 1060.  -     var nextRows = ge('feed_rows_next');
  2691. 1061.  -     if (nextRows) {
  2692. 1062.  -       if (nextRows.firstChild) {
  2693. 1063.  -         while (nextRows.firstChild) {
  2694. 1064.  -           cur.rowsCont.insertBefore(nextRows.firstChild, nextRows);
  2695. 1065.  -         }
  2696. 1066.  -       }
  2697. 1067.  -       re(nextRows);
  2698. 1068.  -     }
  2699. 1069.  -     if (cur.all_shown) {
  2700. 1070.  -       hide('show_more_link');
  2701. 1071.  -       show('all_shown');
  2702. 1072.  -     }
  2703. 1073.  -     hide('show_more');
  2704. 1074.  -     show('show_more_progress');
  2705. 1075.  -     var escPressed = false;
  2706. 1076.  -     var tmp = function (e) { if (e.keyCode == KEY.ESC) { escPressed = true; } };
  2707. 1077.  -     addEvent(document, 'keyup', tmp);
  2708. 1078.  -     var params = feed.getSectionParams(cur.section || 'news');
  2709. 1079.  -     extend(params, {offset: cur.offset, from: cur.from, part: 1, more: 1});
  2710. 1080.  -     ajax.post('al_feed.php?sm_' + cur.section, params, {
  2711. 1081.  -       onDone: function (options, rows) {
  2712. 1082.  -         removeEvent(document, 'keyup', tmp);
  2713. 1083.  -         if (escPressed) {
  2714. 1084.  -           show('show_more');
  2715. 1085.  -           hide('show_more_progress');
  2716. 1086.  -           cur.disableAutoMore = true;
  2717. 1087.  -           return;
  2718. 1088.  -         }
  2719. 1089.  -         if (rows) {
  2720. 1090.  -           var au = ce('div'), row;
  2721. 1091.  -           au.innerHTML = rows;
  2722. 1092.  -           while (row = au.firstChild) {
  2723. 1093.  -             if (!row.firstChild || !row.firstChild.id || ge(row.firstChild.id)) {
  2724. 1094.  -               au.removeChild(row);
  2725. 1095.  -               continue;
  2726. 1096.  -             }
  2727. 1097.  -             cur.rowsCont.appendChild(row);
  2728. 1098.  -           }
  2729. 1099.  -         }
  2730. 1100.  -         show('show_more');
  2731. 1101.  -         hide('show_more_progress');
  2732. 1102.  -         feed.applyOptions(options);
  2733. 1103.  -         setTimeout(feed.scrollCheck, 200);
  2734. 1104.  -       },
  2735. 1105.  -       showProgress: function () {
  2736. 1106.  -         cur.isFeedLoading = true;
  2737. 1107.  -       },
  2738. 1108.  -       hideProgress: function () {
  2739. 1109.  -         cur.isFeedLoading = false;
  2740. 1110.  -       },
  2741. 1111.  -       cache: 1
  2742. 1112.  -     });
  2743. 1113.  -   },
  2744. 1114.  -   getTypesSection: function () {
  2745. 1115.  -     switch (cur.section) {
  2746. 1116.  -       case 'owner':
  2747. 1117.  -         return (cur.owner > 0 ? 'person' : 'group');
  2748. 1118.  -
  2749. 1119.  -       default:
  2750. 1120.  -         return cur.section;
  2751. 1121.  -     }
  2752. 1122.  -   },
  2753. 1123.  -   checkTabsFilter: function (option, option_id) {
  2754. 1124.  -     switch (option) {
  2755. 1125.  -       case 'news': return false;
  2756. 1126.  -       case 'newlist': return Feed.addList();
  2757. 1127.  -       default:
  2758. 1128.  -         if (listMatches = option.match(/list(\d+)/)) {
  2759. 1129.  -           return Feed.editList(listMatches[1]);
  2760. 1130.  -         }
  2761. 1131.  -     }
  2762. 1132.  -
  2763. 1133.  -     var cont = ge('tabs_type_filter'),
  2764. 1134.  -         filter_row = ge('filter_' + option_id),
  2765. 1135.  -         my_types = cur.my_feed_types.tabs,
  2766. 1136.  -         types = cur.feed_types.tabs,
  2767. 1137.  -         found, pos, listMatches;
  2768. 1138.  -
  2769. 1139.  -     found = (pos = indexOf(my_types, option)) != -1;
  2770. 1140.  -     toggleClass(filter_row, 'checked', !found);
  2771. 1141.  -     if (found) {
  2772. 1142.  -       my_types.splice(pos, 1);
  2773. 1143.  -       if (cur.section == option) {
  2774. 1144.  -         feed.switchSection('news');
  2775. 1145.  -       }
  2776. 1146.  -     } else {
  2777. 1147.  -       my_types.push(option);
  2778. 1148.  -     }
  2779. 1149.  -
  2780. 1150.  -     // Feed.toggleTabsMenu(0);
  2781. 1151.  -     cur.my_feed_types.tabs = my_types;
  2782. 1152.  -     var tabEl = geByClass1('feed_tab_' + option, ge('feed_news_bar'))
  2783. 1153.  -         tabLink = geByTag1('a', tabEl),
  2784. 1154.  -         vis = isVisible(tabEl);
  2785. 1155.  -     toggleClass(tabEl, 'feed_tab_hidden', found);
  2786. 1156.  -     var onComplete = function () {
  2787. 1157.  -       debugLog('oncomplete ', tabEl);
  2788. 1158.  -       tabLink.style.backgroundColor = '';
  2789. 1159.  -     };
  2790. 1160.  -     if (!vis && !found) {
  2791. 1161.  -       setStyle(tabLink, {backgroundColor: '#E1E7ED'});
  2792. 1162.  -       debugLog('animate ', tabEl);
  2793. 1163.  -       animate(tabLink, {backgroundColor: '#F7F7F7'}, 1000, onComplete);
  2794. 1164.  -       tabLink.oncompleteTO = setTimeout(onComplete, 1000);
  2795. 1165.  -     } else {
  2796. 1166.  -       onComplete();
  2797. 1167.  -     }
  2798. 1168.  -     clearTimeout(cur.saveTabsTO);
  2799. 1169.  -     cur.saveTabsTO = setTimeout(Feed.saveTabs, 500);
  2800. 1170.  -   },
  2801. 1171.  -   checkFilter: function(option, option_id) {
  2802. 1172.  -     var typesSection = feed.getTypesSection(),
  2803. 1173.  -         cont = ge(typesSection + '_type_filter'),
  2804. 1174.  -         filter_row = ge('filter_' + option_id),
  2805. 1175.  -         my_types = cur.my_feed_types[typesSection],
  2806. 1176.  -         types = cur.feed_types[typesSection],
  2807. 1177.  -         found, pos;
  2808. 1178.  -
  2809. 1179.  -     if (my_types === true) {
  2810. 1180.  -       my_types = clone(cur.feed_types[typesSection]);
  2811. 1181.  -     }
  2812. 1182.  -     // debugLog(typesSection, cont, filter_row, my_types, types);
  2813. 1183.  -     found = (pos = indexOf(my_types, option)) != -1;
  2814. 1184.  -     if (found) {
  2815. 1185.  -       my_types.splice(pos, 1);
  2816. 1186.  -       removeClass(filter_row, 'checked');
  2817. 1187.  -     } else {
  2818. 1188.  -       my_types.push(option);
  2819. 1189.  -       if (my_types.length == types.length) {
  2820. 1190.  -         my_types = true;
  2821. 1191.  -       }
  2822. 1192.  -       addClass(filter_row, 'checked');
  2823. 1193.  -     }
  2824. 1194.  -
  2825. 1195.  -     cur.my_feed_types[typesSection] = my_types;
  2826. 1196.  -     feed.updateTypesCookie();
  2827. 1197.  -     feed.switchSection(cur.section);
  2828. 1198.  -   },
  2829. 1199.  -   setFilter: function (option, option_id) {
  2830. 1200.  -     var typesSection = feed.getTypesSection(),
  2831. 1201.  -         cont = ge(typesSection + '_type_filter'),
  2832. 1202.  -         filter_row = ge('filter_' + option_id),
  2833. 1203.  -         my_types = cur.my_feed_types[typesSection],
  2834. 1204.  -         types = cur.feed_types[typesSection],
  2835. 1205.  -         pos,
  2836. 1206.  -         all_unchecked = true;
  2837. 1207.  -
  2838. 1208.  -     each (geByClass('checked', cont, 'div'), function () {
  2839. 1209.  -       if (this != filter_row) return (all_unchecked = false);
  2840. 1210.  -     });
  2841. 1211.  -     if (all_unchecked) {
  2842. 1212.  -       cur.my_feed_types[typesSection] = true;
  2843. 1213.  -       each(geByClass('feed_filter_row', cont, 'div'), function () {
  2844. 1214.  -         addClass(this, 'checked');
  2845. 1215.  -       });
  2846. 1216.  -     } else {
  2847. 1217.  -       each([].slice.apply(geByClass('checked', cont, 'div')), function () {
  2848. 1218.  -         removeClass(this, 'checked');
  2849. 1219.  -       });
  2850. 1220.  -       cur.my_feed_types[typesSection] = [option];
  2851. 1221.  -       addClass(filter_row, 'checked');
  2852. 1222.  -     }
  2853. 1223.  -
  2854. 1224.  -     feed.updateTypesCookie();
  2855. 1225.  -     feed.switchSection(cur.section);
  2856. 1226.  -   },
  2857. 1227.  -   updateTypesCookie: function () {
  2858. 1228.  -     var new_cookie = [];
  2859. 1229.  -     each(cur.my_feed_types, function (section, types) {
  2860. 1230.  -       if (section == 'tabs') return;
  2861. 1231.  -       new_cookie.push(
  2862. 1232.  -         types === true ? '*' : types.join(',')
  2863. 1233.  -       );
  2864. 1234.  -     });
  2865. 1235.  -     setCookie('remixfeed', new_cookie.join('.'), 365);
  2866. 1236.  -   },
  2867. 1237.  -   flistToggleReposts: function (value, hash) {
  2868. 1238.  -     ajax.post('al_feed.php', {act: 'a_toggle_reposts', value: value, hash: hash}, {
  2869. 1239.  -       onDone: function () {
  2870. 1240.  -         feed.getNewQKey(0);
  2871. 1241.  -       }
  2872. 1242.  -     });
  2873. 1243.  -   },
  2874. 1244.  -   switchPhotos: function (loc, el, event) {
  2875. 1245.  -     if (wall.checkPostClick(el, event)) {
  2876. 1246.  -       return nav.go(loc, event);
  2877. 1247.  -     }
  2878. 1248.  -   },
  2879. 1249.  -   switchOwner: function (owner_id, owner_name, el, event) {
  2880. 1250.  -     if (el && event && !wall.checkPostClick(el, event)) return;
  2881. 1251.  -     var ownerLabel = geByTag1('nobr', ge('feedtab_owner')),
  2882. 1252.  -         loadCb = inArray(cur.section, ['comments', 'photos']) ? false : feed.onLocalTabLoad;
  2883. 1253.  -     val(ownerLabel, owner_name);
  2884. 1254.  -     cur.owner = owner_id;
  2885. 1255.  -     feed.setSection('owner', 1);
  2886. 1256.  -     feed.go(feed.getSectionParams(cur.section), loadCb);
  2887. 1257.  -   },
  2888. 1258.  -   switchSearch: function () {
  2889. 1259.  -     Feed.setSection('search', 4);
  2890. 1260.  -     Feed.searchToggleExtended(true);
  2891. 1261.  -     setTimeout(elfocus.pbind('feed_search'), 10);
  2892. 1262.  -   },
  2893. 1263.  -   switchList: function (list_id) {
  2894. 1264.  -     cur.prevList = cur.list;
  2895. 1265.  -     cur.list = list_id;
  2896. 1266.  -     feed.setSection('list', 1);
  2897. 1267.  -     feed.go(feed.getSectionParams(cur.section));
  2898. 1268.  -   },
  2899. 1269.  -   submitSearch: function (query, section) {
  2900. 1270.  -     if (query === undefined) {
  2901. 1271.  -       query = trim(val('feed_search'));
  2902. 1272.  -     } else {
  2903. 1273.  -       val('feed_search', query);
  2904. 1274.  -       Feed.searchUpdate();
  2905. 1275.  -     }
  2906. 1276.  -     var section = (section === undefined ? cur.section : section) || '',
  2907. 1277.  -         switchTo = 'search',
  2908. 1278.  -         switchToBad = 'news';
  2909. 1279.  -     if (!section.indexOf('articles')) {
  2910. 1280.  -       switchTo = 'articles_search';
  2911. 1281.  -       switchToBad = 'articles';
  2912. 1282.  -     } else if (!section.indexOf('photos')) {
  2913. 1283.  -       switchTo = 'photos_search';
  2914. 1284.  -       switchToBad = 'photos';
  2915. 1285.  -     }
  2916. 1286.  -     if (!query) {
  2917. 1287.  -       feed.switchSection(switchToBad);
  2918. 1288.  -       return;
  2919. 1289.  -     }
  2920. 1290.  -     var loadCb = false; // inArray(cur.section, ['comments', 'photos', 'search', 'articles_search']) ? false : feed.onLocalTabLoad;
  2921. 1291.  -     feed.setSection(switchTo, 1);
  2922. 1292.  -     feed.go(feed.getSectionParams(cur.section), loadCb);
  2923. 1293.  -   },
  2924. 1294.  -   onLocalTabLoad: function (content) {
  2925. 1295.  -     // debugLog('local tab load', content);
  2926. 1296.  -     if (window.wall) wall.cancelEdit();
  2927. 1297.  -     var _back = cur._back, wNode = cur.rowsCont, cur_loc = hab.getLoc();
  2928. 1298.  -     var newW = ce('div', {id: 'feed_rows', innerHTML: content}), st = scrollGetY();
  2929. 1299.  -     cur._back_local = {
  2930. 1300.  -       content: wNode.parentNode.replaceChild(newW, wNode),
  2931. 1301.  -       section: cur.prevSection || cur.section || 'news',
  2932. 1302.  -       subsection: cur.subsection,
  2933. 1303.  -       percent: cur.percent,
  2934. 1304.  -       owner: cur.owner,
  2935. 1305.  -       source: cur.source,
  2936. 1306.  -       q: cur.q,
  2937. 1307.  -       reposts: cur.reposts,
  2938. 1308.  -       add_queue: cur.add_queue,
  2939. 1309.  -       loc: cur_loc,
  2940. 1310.  -       scrollTop: st,
  2941. 1311.  -       back: (window._tbLink && _tbLink.loc) ? [_tbLink.loc, val(_tbLink), _tbLink.fast] : false,
  2942. 1312.  -       count: cur.count,
  2943. 1313.  -       offset: cur.offset,
  2944. 1314.  -       from: cur.from,
  2945. 1315.  -       timestamp: cur.timestamp,
  2946. 1316.  -       summary: cur.summary,
  2947. 1317.  -       // options: cur.options,
  2948. 1318.  -       all_shown: cur.all_shown,
  2949. 1319.  -       all_shown_text: cur.all_shown_text,
  2950. 1320.  -       empty_text: cur.empty_text,
  2951. 1321.  -       htitle: cur.feedInitialTitle
  2952. 1322.  -     };
  2953. 1323.  -     cur.rowsCont = newW;
  2954. 1324.  -     // cur.options = {};
  2955. 1325.  -     scrollToY(0, 0);
  2956. 1326.  -     showBackLink(cur._back_local.loc, getLang('news_return_to_news'), true);
  2957. 1327.  -   },
  2958. 1328.  -   returnToFeed: function (params, back) {
  2959. 1329.  -     if (!cur._back_local) {
  2960. 1330.  -       return true;
  2961. 1331.  -     }
  2962. 1332.  -
  2963. 1333.  -     var hist = cur._back_local;
  2964. 1334.  -     if (params !== false) {
  2965. 1335.  -       var next_section = params.section || 'news';
  2966. 1336.  -       if (hist.section != next_section) {
  2967. 1337.  -         return true;
  2968. 1338.  -       }
  2969. 1339.  -     } else {
  2970. 1340.  -       params = {section: hist.section};
  2971. 1341.  -     }
  2972. 1342.  -     setTimeout(function() {
  2973. 1343.  -       cur._back_local = false;
  2974. 1344.  -       var _back = cur._back, wNode = cur.rowsCont;
  2975. 1345.  -       cur.rowsCont = wNode.parentNode.replaceChild(hist.content, wNode);
  2976. 1346.  -       feed.applyOptions({
  2977. 1347.  -         section: hist.section,
  2978. 1348.  -         subsection: hist.subsection,
  2979. 1349.  -         percent: hist.percent,
  2980. 1350.  -         owner: hist.owner,
  2981. 1351.  -         source: hist.source,
  2982. 1352.  -         q: hist.q,
  2983. 1353.  -         reposts: hist.reposts,
  2984. 1354.  -         add_queue: hist.add_queue,
  2985. 1355.  -         count: hist.count,
  2986. 1356.  -         offset: hist.offset,
  2987. 1357.  -         from: hist.from,
  2988. 1358.  -         timestamp: hist.timestamp,
  2989. 1359.  -         options: hist.options,
  2990. 1360.  -         all_shown: hist.all_shown,
  2991. 1361.  -         all_shown_text: hist.all_shown_text,
  2992. 1362.  -         empty_text: hist.empty_text,
  2993. 1363.  -         htitle: hist.htitle,
  2994. 1364.  -         summary: hist.summary
  2995. 1365.  -       }, 3);
  2996. 1366.  -       if (hist.back) {
  2997. 1367.  -         showBackLink(hist.back[0], hist.back[1], hist.back[2]);
  2998. 1368.  -       } else {
  2999. 1369.  -         showBackLink(false);
  3000. 1370.  -       }
  3001. 1371.  -       nav.setLoc(hist.loc);
  3002. 1372.  -       if (back) {
  3003. 1373.  -         scrollToY(hist.scrollTop, 0);
  3004. 1374.  -       } else {
  3005. 1375.  -         scrollToY(0, 0);
  3006. 1376.  -         feed.go(params);
  3007. 1377.  -       }
  3008. 1378.  -     }, 10);
  3009. 1379.  -     return false;
  3010. 1380.  -   },
  3011. 1381.  -   notifyShowEditReply: function (item, opts) {
  3012. 1382.  -     if (cur.editing && cur.notifyReplyData && cur.notifyReplyData[cur.editing].disabled) {
  3013. 1383.  -       feed.notifyCheckHideReply(cur.editing, (window.event || {}).target);
  3014. 1384.  -     }
  3015. 1385.  -     var replyWrap = ge(item + '_reply_wrap');
  3016. 1386.  -     if (replyWrap) {
  3017. 1387.  -       if (isVisible(replyWrap)) {
  3018. 1388.  -         feed.notifyCheckHideReply(item, false);
  3019. 1389.  -       } else {
  3020. 1390.  -         show(replyWrap);
  3021. 1391.  -         removeClass(ge('feedback_row_' + item).parentNode, 'feedback_row_clickable');
  3022. 1392.  -         if (opts.disabled) {
  3023. 1393.  -           setTimeout(function() { cur.editing = item; }, 0);
  3024. 1394.  -         } else {
  3025. 1395.  -           val(item + '_field', opts.greet);
  3026. 1396.  -           var ta = ge(item + '_field');
  3027. 1397.  -           ta && ta.autosize && ta.autosize.update();
  3028. 1398.  -           setTimeout(elfocus.pbind(item + '_field'), 0);
  3029. 1399.  -         }
  3030. 1400.  -         feed.notifyRowOver(item, 0);
  3031. 1401.  -       }
  3032. 1402.  -       return;
  3033. 1403.  -     }
  3034. 1404.  -
  3035. 1405.  -     var itemEl = ge('feedback_row_' + item),
  3036. 1406.  -         acts = '',
  3037. 1407.  -         repl = {
  3038. 1408.  -           hint: opts.hint || '',
  3039. 1409.  -           bighint: opts.bighint || '',
  3040. 1410.  -           placeholder: opts.ph,
  3041. 1411.  -           submit: opts.btn,
  3042. 1412.  -           greeting: opts.greet,
  3043. 1413.  -           item: item
  3044. 1414.  -         };
  3045. 1415.  -
  3046. 1416.  -     removeClass(itemEl.parentNode, 'feedback_row_clickable');
  3047. 1417.  -
  3048. 1418.  -     if (cur.notifyReplyData === undefined) {
  3049. 1419.  -       cur.notifyReplyData = {};
  3050. 1420.  -     }
  3051. 1421.  -     cur.notifyReplyData[item] = opts;
  3052. 1422.  -     if (opts.disabled) {
  3053. 1423.  -       itemEl.parentNode.appendChild(se(rs(cur.options.feedback_dis, {item: item, text: opts.disabled})));
  3054. 1424.  -       setTimeout(function() { cur.editing = item; }, 0);
  3055. 1425.  -     } else {
  3056. 1426.  -       itemEl.parentNode.appendChild(se(rs(cur.options.feedback_form, repl)));
  3057. 1427.  -       var ta = ge(item + '_field');
  3058. 1428.  -       ta.onfocus = function () {cur.editing = item};
  3059. 1429.  -       autosizeSetup(ta, {minHeight: 31});
  3060. 1430.  -       setTimeout(elfocus.pbind(ta), 0);
  3061. 1431.  -       Wall.initComposer(ta, {
  3062. 1432.  -         lang: {
  3063. 1433.  -           introText: getLang('profile_mention_start_typing'),
  3064. 1434.  -           noResult: getLang('profile_mention_not_found')
  3065. 1435.  -         }
  3066. 1436.  -       });
  3067. 1437.  -     }
  3068. 1438.  -     feed.notifyRowOver(item, 0);
  3069. 1439.  -   },
  3070. 1440.  -   onNotifyReplySubmit: function (item, e) {
  3071. 1441.  -     var rf = ge(item + '_field');
  3072. 1442.  -     if (e.keyCode == KEY.RETURN || e.keyCode == 10) {
  3073. 1443.  -       var composer = data(rf, 'composer'),
  3074. 1444.  -           isListVisible = composer && composer.wdd && composer.wdd.listWrap && isVisible(composer.wdd.listWrap);
  3075. 1445.  -
  3076. 1446.  -       if (cur.wallTpl.reply_multiline && (e.ctrlKey || browser.mac && e.metaKey) ||
  3077. 1447.  -           !cur.wallTpl.reply_multiline && !e.shiftKey && !(e.ctrlKey || browser.mac && e.metaKey) && !isListVisible) {
  3078. 1448.  -         feed.notifySendReply(item);
  3079. 1449.  -         return cancelEvent(e);
  3080. 1450.  -       }
  3081. 1451.  -     }
  3082. 1452.  -     if (e.ctrlKey && e.keyCode == KEY.RETURN) {
  3083. 1453.  -       var v = val(rf),
  3084. 1454.  -           pos = Composer.getCursorPosition(rf);
  3085. 1455.  -
  3086. 1456.  -       val(rf, v.substr(0, pos) + "\n" + v.substr(pos));
  3087. 1457.  -       elfocus(rf, pos + 1, pos + 1);
  3088. 1458.  -
  3089. 1459.  -       rf.autosize.update();
  3090. 1460.  -       setTimeout(function () {
  3091. 1461.  -         rf.autosize.update();
  3092. 1462.  -       }, 0);
  3093. 1463.  -       return cancelEvent(e);
  3094. 1464.  -     }
  3095. 1465.  -   },
  3096. 1466.  -   notifySendReply: function (item) {
  3097. 1467.  -     var opts = cur.notifyReplyData[item];
  3098. 1468.  -     if (!opts || opts.sending) return;
  3099. 1469.  -
  3100. 1470.  -     var ta = ge(item + '_field'),
  3101. 1471.  -         btn = ge(item + '_btn'),
  3102. 1472.  -       params = {
  3103. 1473.  -       act: 'post',
  3104. 1474.  -       message: trim(val(ta)),
  3105. 1475.  -       from: 'feedback',
  3106. 1476.  -       item: item
  3107. 1477.  -     };
  3108. 1478.  -     extend(params, opts.params || {});
  3109. 1479.  -     if (!params.message || opts.greet && !opts.greet.indexOf(params.message)) {
  3110. 1480.  -       notaBene(ta);
  3111. 1481.  -       return;
  3112. 1482.  -     }
  3113. 1483.  -     opts.sending = 1;
  3114. 1484.  -     ajax.post('al_wall.php', params, {
  3115. 1485.  -       onDone: function (text, answer) {
  3116. 1486.  -         delete opts.sending;
  3117. 1487.  -         feed.notifyHideReply(item);
  3118. 1488.  -         if (answer) {
  3119. 1489.  -           var answerWrap = ge(item + '_answer_wrap');
  3120. 1490.  -           val(answerWrap, answer);
  3121. 1491.  -           show(answerWrap);
  3122. 1492.  -         } else if (text) {
  3123. 1493.  -           showDoneBox(text);
  3124. 1494.  -         }
  3125. 1495.  -       },
  3126. 1496.  -       onFail: function () {
  3127. 1497.  -         delete opts.sending;
  3128. 1498.  -       },
  3129. 1499.  -       showProgress: lockButton.pbind(btn),
  3130. 1500.  -       hideProgress: unlockButton.pbind(btn)
  3131. 1501.  -     });
  3132. 1502.  -   },
  3133. 1503.  -   notifyCheckHideReply: function (item, target) {
  3134. 1504.  -     var opts = cur.notifyReplyData[item],
  3135. 1505.  -         toggled = target === false;
  3136. 1506.  -     if (!opts || opts.sending || !isVisible(item + '_reply_wrap')) return;
  3137. 1507.  -
  3138. 1508.  -     var i = 8, foundGood = false;
  3139. 1509.  -     do {
  3140. 1510.  -       if (!target || (foundGood = (target.id == (item + '_reply_wrap') || target.id == ('feedback_row_' + item)))) {
  3141. 1511.  -         break;
  3142. 1512.  -       }
  3143. 1513.  -     } while (i-- && (target = target.parentNode));
  3144. 1514.  -     if (foundGood) {
  3145. 1515.  -       return;
  3146. 1516.  -     }
  3147. 1517.  -     cur.editing = false;
  3148. 1518.  -     if (!opts.disabled) {
  3149. 1519.  -       var ta = ge(item + '_field'), msg = trim(val(ta));
  3150. 1520.  -       if (msg && !opts.greet || opts.greet.indexOf(msg)) {
  3151. 1521.  -         return;
  3152. 1522.  -       }
  3153. 1523.  -     }
  3154. 1524.  -     feed.notifyHideReply(item, toggled);
  3155. 1525.  -   },
  3156. 1526.  -   notifyHideReply: function (item, toggled) {
  3157. 1527.  -     if (cur.editing == item) {
  3158. 1528.  -       cur.editing = false;
  3159. 1529.  -     }
  3160. 1530.  -     addClass(ge('feedback_row_' + item).parentNode, 'feedback_row_clickable');
  3161. 1531.  -     hide(item + '_reply_wrap');
  3162. 1532.  -     if (toggled) {
  3163. 1533.  -       feed.notifyRowOver(item, 1);
  3164. 1534.  -     }
  3165. 1535.  -   },
  3166. 1536.  -
  3167. 1537.  -   notifyRowOver: function (item, state) {
  3168. 1538.  -     var el = ge('feedback_row_' + item).parentNode,
  3169. 1539.  -         prevRow = el.parentNode.previousSibling,
  3170. 1540.  -         over = 2,
  3171. 1541.  -         likeEl;
  3172. 1542.  -
  3173. 1543.  -     while (prevRow && prevRow.nodeType == 3) { // skipping text nodes
  3174. 1544.  -       prevRow = prevRow.previousSibling;
  3175. 1545.  -     }
  3176. 1546.  -
  3177. 1547.  -     if (state && hasClass(el, 'feedback_row_clickable')) {
  3178. 1548.  -       if (prevRow && prevRow.className == 'feed_row' && isVisible(geByClass1('feedback_reply_row_wrap', prevRow, 'div'))) {
  3179. 1549.  -         over = 2;
  3180. 1550.  -       } else if (!prevRow) {
  3181. 1551.  -         over = 3;
  3182. 1552.  -       }
  3183. 1553.  -       addClass(el, 'feedback_row_clickable_over' + over);
  3184. 1554.  -       addClass(el, 'feedback_row_clickable_over');
  3185. 1555.  -     } else {
  3186. 1556.  -       removeClass(el, 'feedback_row_clickable_over1');
  3187. 1557.  -       removeClass(el, 'feedback_row_clickable_over2');
  3188. 1558.  -       removeClass(el, 'feedback_row_clickable_over3');
  3189. 1559.  -       removeClass(el, 'feedback_row_clickable_over');
  3190. 1560.  -       if (likeEl = geByTag1('div', geByClass1('like_wrap', ge(el), 'div'))) {
  3191. 1561.  -         var to = data(likeEl, 'likeoutTO'), tween = data(likeEl, 'tween');
  3192. 1562.  -         to && clearTimeout(to);
  3193. 1563.  -         tween && tween.stop(true);
  3194. 1564.  -         setStyle(likeEl, {display: '', opacity: ''});
  3195. 1565.  -       }
  3196. 1566.  -     }
  3197. 1567.  -   },
  3198. 1568.  -
  3199. 1569.  -   notifyPostTooltip: function(el, post, opts) {
  3200. 1570.  -     var reply = (opts || {}).reply, url = 'al_wall.php';
  3201. 1571.  -
  3202. 1572.  -     if (!post.indexOf('topic_comment')) {
  3203. 1573.  -       url = 'al_board.php';
  3204. 1574.  -       post = post.replace('topic_comment', '');
  3205. 1575.  -     } else {
  3206. 1576.  -       post = post.replace('wall_reply', '').replace('wall', '');
  3207. 1577.  -     }
  3208. 1578.  -
  3209. 1579.  -     showTooltip(el, {
  3210. 1580.  -       url: url,
  3211. 1581.  -       params: extend({act: 'post_tt', post: post, self: 1, from: 'feedback'}, opts || {}),
  3212. 1582.  -       slide: 15,
  3213. 1583.  -       shift: [35, -3, 0],
  3214. 1584.  -       ajaxdt: 100,
  3215. 1585.  -       showdt: 400,
  3216. 1586.  -       hidedt: 200,
  3217. 1587.  -       className: 'rich wall_tt'
  3218. 1588.  -     });
  3219. 1589.  -   },
  3220. 1590.  -   notifyDeleteOver: function(item, el, label) {
  3221. 1591.  -     showTooltip(el, {text: label});
  3222. 1592.  -     wall && wall._animDelX(1, item);
  3223. 1593.  -   },
  3224. 1594.  -   notifyDeleteOut: function (item) {
  3225. 1595.  -     wall && wall._animDelX(0.6, item);
  3226. 1596.  -   },
  3227. 1597.  -   notifyDelete: function (item, types, hash, el) {
  3228. 1598.  -     el.tt && el.tt.el && el.tt.hide();
  3229. 1599.  -     ajax.post('al_feed.php', {act: 'a_feedback_delete', item: item, hash: hash, types: types}, {
  3230. 1600.  -       onDone: function (html) {
  3231. 1601.  -         feed.notifyHideReply(item);
  3232. 1602.  -         var row = ge('feedback_row_' + item).parentNode;
  3233. 1603.  -         row.parentNode.replaceChild(se(html), row);
  3234. 1604.  -         cur.feedEntriesHTML['fb_' + item] = row;
  3235. 1605.  -       }
  3236. 1606.  -     })
  3237. 1607.  -   },
  3238. 1608.  -   notifyUndelete: function (item, types, hash) {
  3239. 1609.  -     ajax.post('al_feed.php', {act: 'a_feedback_undelete', item: item, hash: hash, types: types}, {
  3240. 1610.  -       onDone: function (text) {
  3241. 1611.  -         var row = ge('feedback_row_' + item);
  3242. 1612.  -         row.parentNode.replaceChild(cur.feedEntriesHTML['fb_' + item], row);
  3243. 1613.  -         delete cur.feedEntriesHTML['fb_' + item];
  3244. 1614.  -       }
  3245. 1615.  -     })
  3246. 1616.  -   },
  3247. 1617.  -   notifyDeleteAll: function (uid, hash, btn, item) {
  3248. 1618.  -     ajax.post('al_feed.php', {act: 'a_feedback_delete_all', uid: uid, item: item, hash: hash}, {
  3249. 1619.  -       onDone: function (text) {
  3250. 1620.  -         showDoneBox(text);
  3251. 1621.  -         // feed.go(feed.getSectionParams(cur.section), false, true);
  3252. 1622.  -         var rows = cur.rowsCont, row;
  3253. 1623.  -         if (rows && (row = rows.firstChild)) {
  3254. 1624.  -           var startY = false,
  3255. 1625.  -               st = scrollGetY(),
  3256. 1626.  -               h, y;
  3257. 1627.  -           do {
  3258. 1628.  -             if (row.className &&
  3259. 1629.  -                 hasClass(row, 'feed_row') &&
  3260. 1630.  -                 row.firstChild &&
  3261. 1631.  -                 uid == row.firstChild.getAttribute('author')) {
  3262. 1632.  -               h = row.offsetHeight;
  3263. 1633.  -               y = row.offsetTop;
  3264. 1634.  -               if (startY === false) {
  3265. 1635.  -                 startY = getXY(row.offsetParent)[1]
  3266. 1636.  -               }
  3267. 1637.  -               hide(row);
  3268. 1638.  -               if (y + startY < st) {
  3269. 1639.  -                 st -= h;
  3270. 1640.  -                 scrollToY(st, 0);
  3271. 1641.  -               }
  3272. 1642.  -             }
  3273. 1643.  -           } while (row = row.nextSibling);
  3274. 1644.  -
  3275. 1645.  -           if (cur.wasScroll === 0 || cur.wasScroll > 0) {
  3276. 1646.  -             cur.wasScroll = st;
  3277. 1647.  -           }
  3278. 1648.  -           feed.scrollCheck();
  3279. 1649.  -         }
  3280. 1650.  -       },
  3281. 1651.  -       showProgress: lockButton.pbind(btn),
  3282. 1652.  -       hideProgress: unlockButton.pbind(btn)
  3283. 1653.  -     })
  3284. 1654.  -   },
  3285. 1655.  -
  3286. 1656.  -
  3287. 1657.  -   ignoreItem: function (post_raw, feed_raw, hash) {
  3288. 1658.  -     triggerEvent(ge('post_delete' + post_raw), 'mouseout');
  3289. 1659.  -     revertLastInlineVideo('post' + post_raw);
  3290. 1660.  -     cur.feedEntriesHTML[post_raw] = val('post' + post_raw);
  3291. 1661.  -     ajax.post('/al_feed.php?misc', {act: 'a_ignore_item', post_raw: post_raw, feed_raw: feed_raw, hash: hash}, {
  3292. 1662.  -       onDone: function (html) {
  3293. 1663.  -         val('post' + post_raw, html);
  3294. 1664.  -       }
  3295. 1665.  -     });
  3296. 1666.  -   },
  3297. 1667.  -   unignoreItem: function (post_raw, feed_raw, hash) {
  3298. 1668.  -     ajax.post('/al_feed.php?misc', {act: 'a_unignore_item', post_raw: post_raw, feed_raw: feed_raw, hash: hash}, {
  3299. 1669.  -       onDone: function () {
  3300. 1670.  -         feed.restorePost(post_raw);
  3301. 1671.  -       }
  3302. 1672.  -     });
  3303. 1673.  -   },
  3304. 1674.  -   reportIgnoredItem: function (post, hash) {
  3305. 1675.  -     ajax.post('al_wall.php', {act: 'spam', post: post, hash: hash}, {
  3306. 1676.  -       onDone: function(msg) {
  3307. 1677.  -         var r = ge('post' + post), label = r && geByClass1('feed_post_report', r, 'div');
  3308. 1678.  -         val(label, msg);
  3309. 1679.  -       }
  3310. 1680.  -     });
  3311. 1681.  -   },
  3312. 1682.  -   ignoreOwner: function (post_raw, owner_id, hash, btn) {
  3313. 1683.  -     if (post_raw) {
  3314. 1684.  -       cur.feedEntriesHTML[post_raw + '_ignored'] = val('post' + post_raw);
  3315. 1685.  -     }
  3316. 1686.  -     ajax.post('/al_feed.php?misc', {act: 'a_ignore_owner', post_raw: post_raw, owner_id: owner_id, hash: hash, list: cur.section == 'list' && cur.list || 0}, {
  3317. 1687.  -       onDone:function(html) {
  3318. 1688.  -         val('post' + post_raw, html);
  3319. 1689.  -         each(geByClass('post', cur.rowsCont), function(i,v) {
  3320. 1690.  -           var ids = this.id.match(/post((-?\d+)_(-?\d+)(_\d+)?)/);
  3321. 1691.  -           if (ids[1] != post_raw && (!ids[4] && ids[2] == owner_id || ids[4] && ids[3] == owner_id)) {
  3322. 1692.  -             revertLastInlineVideo(this);
  3323. 1693.  -             hide(this.parentNode);
  3324. 1694.  -           }
  3325. 1695.  -         });
  3326. 1696.  -       },
  3327. 1697.  -       showProgress: btn && lockButton.pbind(btn),
  3328. 1698.  -       hideProgress: btn && unlockButton.pbind(btn)
  3329. 1699.  -     });
  3330. 1700.  -   },
  3331. 1701.  -   unignoreOwner: function (post_raw, owner_id, hash) {
  3332. 1702.  -     ajax.post('/al_feed.php?misc', {act: 'a_unignore_owner', post_raw: post_raw || '', owner_id: owner_id, hash: hash, list: cur.section == 'list' && cur.list || 0}, {
  3333. 1703.  -       onDone:function(html) {
  3334. 1704.  -         if (post_raw) {
  3335. 1705.  -           val('post' + post_raw, cur.feedEntriesHTML[post_raw + '_ignored']);
  3336. 1706.  -         } else {
  3337. 1707.  -           val('ignore_row' + owner_id, html);
  3338. 1708.  -         }
  3339. 1709.  -         each(geByClass('post', cur.rowsCont), function(i,v) {
  3340. 1710.  -           var ids = this.id.match(/post((-?\d+)_(-?\d+)(_\d+)?)/);
  3341. 1711.  -           if (!ids[4] && ids[2] == owner_id || ids[4] && ids[3] == owner_id) {
  3342. 1712.  -             show(this.parentNode);
  3343. 1713.  -           }
  3344. 1714.  -         });
  3345. 1715.  -       }
  3346. 1716.  -     });
  3347. 1717.  -   },
  3348. 1718.  -   unsubscribe: function (post_raw, hash) {
  3349. 1719.  -     triggerEvent(ge('post_delete' + post_raw), 'mouseout');
  3350. 1720.  -     cur.feedEntriesHTML[post_raw] = ge('post' + post_raw).innerHTML;
  3351. 1721.  -     var matches = post_raw.match(/(\-?\d+)_(photo|video|topic|note|)(\d+)/);
  3352. 1722.  -     if (!matches) return;
  3353. 1723.  -     ajax.post('al_feed.php', {act: 'unsubscribe', type: {'': 24, photo: 21, video: 22, topic: 20, note: 23}[matches[2]], owner_id: matches[1], place_id: matches[3], hash: hash, feed: 1}, {
  3354. 1724.  -       onDone: function(html) { ge('post' + post_raw).innerHTML = html.replace('%post_raw%', post_raw); }
  3355. 1725.  -     });
  3356. 1726.  -   },
  3357. 1727.  -   subscribe: function (post_raw, hash) {
  3358. 1728.  -     var matches = post_raw.match(/(\-?\d+)_(photo|video|topic|note|)(\d+)/);
  3359. 1729.  -     if (!matches) return;
  3360. 1730.  -     ajax.post('al_feed.php', {act: 'subscribe', type: {'': 24, photo: 21, video: 22, topic: 20, note: 23}[matches[2]], owner_id: matches[1], place_id: matches[3], hash: hash, feed: 1}, {
  3361. 1731.  -       onDone: feed.restorePost.pbind(post_raw)
  3362. 1732.  -     });
  3363. 1733.  -   },
  3364. 1734.  -   restorePost: function (post_raw) {
  3365. 1735.  -     ge('post' + post_raw).innerHTML = cur.feedEntriesHTML[post_raw];
  3366. 1736.  -     var ph_back = geByClass1('input_back', ge('post' + post_raw), 'div');
  3367. 1737.  -     var ta = geByTag1('textarea', ge('post' + post_raw));
  3368. 1738.  -     if (!ta) return;
  3369. 1739.  -     ta.placeholder = ph_back.innerHTML;
  3370. 1740.  -     ph_back.parentNode.removeChild(ph_back);
  3371. 1741.  -     placeholderSetup(ta);
  3372. 1742.  -   },
  3373. 1743.  -   toggleReposts: function (place, rand, e) {
  3374. 1744.  -     if (checkEvent(e)) return true;
  3375. 1745.  -
  3376. 1746.  -     var lnk = ge('feed_reposts_more' + place + '_' + rand),
  3377. 1747.  -         cont = ge('feed_reposts' + place + '_' + rand),
  3378. 1748.  -         h = 0,
  3379. 1749.  -         st = scrollGetY(),
  3380. 1750.  -         vis = isVisible(cont);
  3381. 1751.  -     if (!cont) {
  3382. 1752.  -       lnk && re(lnk.parentNode.parentNode);
  3383. 1753.  -       return;
  3384. 1754.  -     }
  3385. 1755.  -
  3386. 1756.  -     if (vis) {
  3387. 1757.  -       h -= cont.offsetHeight;
  3388. 1758.  -     } else {
  3389. 1759.  -       (domPN(domPN(cont)) || {}).bits = 0;
  3390. 1760.  -     }
  3391. 1761.  -     toggle(cont, !vis);
  3392. 1762.  -     val(lnk, !vis ? getLang('news_hide_reposts') : getLang('news_show_X_reposts', cont.childNodes.length));
  3393. 1763.  -     if (h) {
  3394. 1764.  -       scrollToY(st + h, 0);
  3395. 1765.  -     }
  3396. 1766.  -     return false;
  3397. 1767.  -   },
  3398. 1768.  -
  3399. 1769.  -   sliderScaleClick: function (e) {
  3400. 1770.  -     if (checkEvent(e)) return;
  3401. 1771.  -     var slider = ge('feed_rate_slider'),
  3402. 1772.  -         scale = slider.parentNode,
  3403. 1773.  -         maxX = (scale.clientWidth || 100) - slider.offsetWidth,
  3404. 1774.  -         margin = Math.max(0, Math.min(maxX, (e.offsetX || e.layerX) - slider.offsetWidth / 2)),
  3405. 1775.  -         percent = margin / maxX * 100;
  3406. 1776.  -
  3407. 1777.  -     setStyle('feed_rate_slider', 'marginLeft', margin);
  3408. 1778.  -     feed.sliderUpdate(percent);
  3409. 1779.  -     feed.sliderClick(e);
  3410. 1780.  -   },
  3411. 1781.  -   sliderClick: function (e) {
  3412. 1782.  -     if (checkEvent(e)) return;
  3413. 1783.  -     e.cancelBubble = true;
  3414. 1784.  -
  3415. 1785.  -     var startX = e.clientX || e.pageX,
  3416. 1786.  -         slider = ge('feed_rate_slider'),
  3417. 1787.  -         scale = slider.parentNode,
  3418. 1788.  -         startMargin = slider.offsetLeft || 0,
  3419. 1789.  -         maxX = (scale.clientWidth || 100) - slider.offsetWidth,
  3420. 1790.  -         selectEvent = 'mousedown selectstart',
  3421. 1791.  -         defPercent = intval(cur.default_percent),
  3422. 1792.  -         margin, percent;
  3423. 1793.  -
  3424. 1794.  -     var _temp = function (e) {
  3425. 1795.  -       margin = Math.max(0, Math.min(maxX, startMargin + (e.clientX || e.pageX)- startX));
  3426. 1796.  -       percent = margin / maxX * 100;
  3427. 1797.  -
  3428. 1798.  -       if (Math.abs(percent - 100) < 8) {
  3429. 1799.  -         percent = 100;
  3430. 1800.  -       }
  3431. 1801.  -       if (defPercent > 0 && Math.abs(percent - defPercent) < 3) {
  3432. 1802.  -         percent = defPercent;
  3433. 1803.  -       }
  3434. 1804.  -       percent = intval(percent);
  3435. 1805.  -       margin = maxX * percent / 100;
  3436. 1806.  -       slider.style.marginLeft = margin + 'px';
  3437. 1807.  -       feed.sliderUpdate(percent);
  3438. 1808.  -       return cancelEvent(e);
  3439. 1809.  -     }, _temp2 = function () {
  3440. 1810.  -       removeEvent(document, 'mousemove', _temp);
  3441. 1811.  -       removeEvent(document, 'mouseup', _temp2);
  3442. 1812.  -       removeEvent(document, selectEvent, cancelEvent);
  3443. 1813.  -       setStyle(bodyNode, 'cursor', '');
  3444. 1814.  -       setStyle(scale, 'cursor', '');
  3445. 1815.  -       feed.sliderApply();
  3446. 1816.  -     };
  3447. 1817.  -
  3448. 1818.  -     addEvent(document, 'mousemove', _temp);
  3449. 1819.  -     addEvent(document, 'mouseup', _temp2);
  3450. 1820.  -     addEvent(document, selectEvent, cancelEvent);
  3451. 1821.  -     setStyle(bodyNode, 'cursor', 'pointer');
  3452. 1822.  -     setStyle(scale, 'cursor', 'pointer');
  3453. 1823.  -     return false;
  3454. 1824.  -   },
  3455. 1825.  -   sliderSelectChanged: function (e) {
  3456. 1826.  -     var percent = ge(cur.section == 'articles' ? 'feed_period_select' : 'feed_rate_select').value;
  3457. 1827.  -     feed.sliderUpdate(percent);
  3458. 1828.  -     feed.sliderApply();
  3459. 1829.  -   },
  3460. 1830.  -   sliderUpdate: function (percent, upd) {
  3461. 1831.  -     percent = intval(percent);
  3462. 1832.  -     switch (cur.section) {
  3463. 1833.  -       case 'articles':
  3464. 1834.  -       case 'articles_search':
  3465. 1835.  -         cur.periodPercent = percent;
  3466. 1836.  -         var label = getLang('news_top_no_articles');
  3467. 1837.  -         each (cur.top_periods, function (p, key) {
  3468. 1838.  -           if (percent < p) {
  3469. 1839.  -             return false;
  3470. 1840.  -           }
  3471. 1841.  -           label = key;
  3472. 1842.  -         });
  3473. 1843.  -         val('feed_rate_slider_label', label);
  3474. 1844.  -         break;
  3475. 1845.  -     }
  3476. 1846.  -     if (upd) {
  3477. 1847.  -       if (isVisible('feed_rate_slider_wrap')) {
  3478. 1848.  -         var slider = ge('feed_rate_slider'),
  3479. 1849.  -             maxX = (slider.parentNode.clientWidth || 100) - slider.offsetWidth;
  3480. 1850.  -         setStyle('feed_rate_slider', 'marginLeft', maxX * percent / 100);
  3481. 1851.  -       }
  3482. 1852.  -       var wasSelected = false, select = ge('feed_period_select');
  3483. 1853.  -       each(select && select.childNodes || [], function () {
  3484. 1854.  -         if (this.tagName != 'OPTION') return;
  3485. 1855.  -         if (wasSelected === false && this.value >= percent) {
  3486. 1856.  -           this.setAttribute('selected', 'selected');
  3487. 1857.  -           select.value = this.value;
  3488. 1858.  -           wasSelected = true;
  3489. 1859.  -         } else {
  3490. 1860.  -           removeAttr(this, 'selected');
  3491. 1861.  -         }
  3492. 1862.  -       });
  3493. 1863.  -     }
  3494. 1864.  -   },
  3495. 1865.  -   sliderApply: function () {
  3496. 1866.  -     if (!cur.section.indexOf('articles')) {
  3497. 1867.  -       feed.switchSection(cur.section);
  3498. 1868.  -       return;
  3499. 1869.  -     }
  3500. 1870.  -   },
  3501. 1871.  -   sliderShowProgress: function () {
  3502. 1872.  -     addClass('feed_rate_slider_wrap', 'feed_rate_wait');
  3503. 1873.  -   },
  3504. 1874.  -   sliderHideProgress: function () {
  3505. 1875.  -     removeClass('feed_rate_slider_wrap', 'feed_rate_wait');
  3506. 1876.  -   },
  3507. 1877.  -
  3508. 1878.  -   editHidden: function () {
  3509. 1879.  -     showTabbedBox('al_settings.php', {act: 'a_edit_owners_list', list: 'feed', height: lastWindowHeight}, {stat: ['privacy.js', 'privacy.css', 'ui_controls.js', 'ui_controls.css', 'indexer.js']});
  3510. 1880.  -     cur.onOListSave = feed.onHiddenSave;
  3511. 1881.  -     return false;
  3512. 1882.  -   },
  3513. 1883.  -   onHiddenSave: function (white, black, list, options) {
  3514. 1884.  -     var box = curBox(), params = {act: 'a_ignore_olist', hash: options.hash};
  3515. 1885.  -     if (white.length < black.length) {
  3516. 1886.  -       params.White = white.join(',');
  3517. 1887.  -     } else {
  3518. 1888.  -       params.Black = black.join(',');
  3519. 1889.  -     }
  3520. 1890.  -     ajax.post('al_feed.php', params, {
  3521. 1891.  -       onDone: function(control, rules) {
  3522. 1892.  -         box.hide();
  3523. 1893.  -         feed.switchSection(cur.section == 'photos' ? 'photos' : 'news');
  3524. 1894.  -       },
  3525. 1895.  -       showProgress: box.showProgress,
  3526. 1896.  -       hiderogress: box.hideProgress
  3527. 1897.  -     });
  3528. 1898.  -     return false;
  3529. 1899.  -   },
  3530. 1900.  -
  3531. 1901.  -   addList: function () {
  3532. 1902.  -     Feed.toggleTabsMenu(0);
  3533. 1903.  -     showTabbedBox('al_settings.php', {act: 'a_edit_owners_list', list: 'feed', list_id: -1, height: lastWindowHeight}, {
  3534. 1904.  -       stat: ['privacy.js', 'privacy.css', 'ui_controls.js', 'ui_controls.css', 'indexer.js'],
  3535. 1905.  -       onFail: function (text) {
  3536. 1906.  -         setTimeout(showFastBox({title: getLang('global_error')}, text, getLang('global_close')).hide, 4500);
  3537. 1907.  -         return true;
  3538. 1908.  -       }
  3539. 1909.  -     });
  3540. 1910.  -     cur.onOListSave = feed.onListSave.pbind(-1);
  3541. 1911.  -     return false;
  3542. 1912.  -   },
  3543. 1913.  -   editList: function (list_id) {
  3544. 1914.  -     Feed.toggleTabsMenu(0);
  3545. 1915.  -     showTabbedBox('al_settings.php', {act: 'a_edit_owners_list', list: 'feed', list_id: list_id, height: lastWindowHeight}, {stat: ['privacy.js', 'privacy.css', 'ui_controls.js', 'ui_controls.css', 'indexer.js']});
  3546. 1916.  -     cur.onOListSave = feed.onListSave.pbind(list_id);
  3547. 1917.  -     return false;
  3548. 1918.  -   },
  3549. 1919.  -   onListSave: function (list_id, white, black, list, options) {
  3550. 1920.  -     var listName = val('feed_list_name');
  3551. 1921.  -     if (!trim(listName)) {
  3552. 1922.  -       notaBene('feed_list_name');
  3553. 1923.  -       return false;
  3554. 1924.  -     }
  3555. 1925.  -     if (!white.length) {
  3556. 1926.  -       return false;
  3557. 1927.  -     }
  3558. 1928.  -     var box = curBox();
  3559. 1929.  -     ajax.post('al_feed.php', {
  3560. 1930.  -       act: 'a_save_list',
  3561. 1931.  -       hash: cur.tabs_hash,
  3562. 1932.  -       White: white.join(','),
  3563. 1933.  -       title: listName,
  3564. 1934.  -       list_id: list_id,
  3565. 1935.  -       no_reposts: ge('feed_list_reposts') && !isChecked('feed_list_reposts') ? 1 : 0
  3566. 1936.  -     }, {
  3567. 1937.  -       onDone: function(new_list_id) {
  3568. 1938.  -         var topTab = geByClass1('feed_tab_list' + list_id, ge('feed_news_bar')),
  3569. 1939.  -             filterTab = ge('filter_t_list' + list_id);
  3570. 1940.  -         val(geByTag1('nobr', topTab), clean(listName));
  3571. 1941.  -         val(geByClass1('feed_filter_tabs_title', filterTab), clean(listName));
  3572. 1942.  -         box.hide();
  3573. 1943.  -         if (list_id > 0) {
  3574. 1944.  -           Feed.switchList(list_id);
  3575. 1945.  -         } else {
  3576. 1946.  -           nav.go({'0': 'feed', section: 'list', list: new_list_id}, null, {nocur: true});
  3577. 1947.  -         }
  3578. 1948.  -       },
  3579. 1949.  -       showProgress: box.showProgress,
  3580. 1950.  -       hiderogress: box.hideProgress
  3581. 1951.  -     });
  3582. 1952.  -     return false;
  3583. 1953.  -   },
  3584. 1954.  -   deleteList: function (list_id, force) {
  3585. 1955.  -     if (list_id <= 0) {
  3586. 1956.  -       return false;
  3587. 1957.  -     }
  3588. 1958.  -
  3589. 1959.  -     if (!force) {
  3590. 1960.  -       var box = showFastBox(getLang('news_delete_list_confirm_title'), getLang('news_delete_list_confirm'), getLang('box_yes'), function () {
  3591. 1961.  -         Feed.deleteList(list_id, true);
  3592. 1962.  -       }, getLang('box_no'), function () {
  3593. 1963.  -         box.hide();
  3594. 1964.  -       });
  3595. 1965.  -       return;
  3596. 1966.  -     }
  3597. 1967.  -     var box = curBox();
  3598. 1968.  -     ajax.post('al_feed.php', extend({act: 'a_delete_list', list_id: list_id, hash: cur.tabs_hash}), {
  3599. 1969.  -       onDone: function () {
  3600. 1970.  -         re(geByClass1('feed_tab_list' + list_id, ge('feed_news_bar')));
  3601. 1971.  -         re('filter_t_list' + list_id);
  3602. 1972.  -         boxQueue.hideAll();
  3603. 1973.  -         if (cur.section == 'list' && cur.list == list_id) {
  3604. 1974.  -           feed.switchSection('news');
  3605. 1975.  -         }
  3606. 1976.  -       },
  3607. 1977.  -       showProgress: box.showProgress,
  3608. 1978.  -       hideProgress: box.hideProgress
  3609. 1979.  -     });
  3610. 1980.  -   },
  3611. 1981.  -
  3612. 1982.  -   saveTabs: function () {
  3613. 1983.  -     ajax.post('al_feed.php', {act: 'a_save_tabs', hash: cur.tabs_hash, tabs: cur.my_feed_types.tabs.join(',')});
  3614. 1984.  -   },
  3615. 1985.  -
  3616. 1986.  -   statsShow: function (e, opts) {
  3617. 1987.  -     return showWiki({w: 'stats' + (cur.source || '')}, false, e);
  3618. 1988.  -   },
  3619. 1989.  -
  3620. 1990.  -   // scrollTop check
  3621. 1991.  -   scrollCheck: function() {
  3622. 1992.  -     if (!cur.idleManager || cur.isFeedLoading || cur.idleManager.isIdle || cur.disableAutoMore) return;
  3623. 1993.  -     var el = ge('show_more_link');
  3624. 1994.  -     if (!isVisible(el)) return;
  3625. 1995.  -
  3626. 1996.  -     var ch = window.innerHeight || document.documentElement.clientHeight || bodyNode.clientHeight,
  3627. 1997.  -         st = scrollGetY(), top, ntop = 0, el, nel, bits, posts = [];
  3628. 1998.  -
  3629. 1999.  -     if (st + ch + 1000 > el.offsetTop) {
  3630. 2000.  -       feed.showMore();
  3631. 2001.  -     }
  3632. 2002.  -
  3633. 2003.  -     if (
  3634. 2004.  -       domPN(cur.topRow) != cur.rowsCont ||
  3635. 2005.  -       (cur.topRow || {}).id == 'feed_rows_next'
  3636. 2006.  -     ) {
  3637. 2007.  -       cur.topRow = domFC(cur.rowsCont);
  3638. 2008.  -     }
  3639. 2009.  -     if (
  3640. 2010.  -       !vk.id ||
  3641. 2011.  -       !cur.topRow ||
  3642. 2012.  -       cur.topRow.id == 'feed_rows_next' ||
  3643. 2013.  -       cur.section != 'news' && cur.section != 'recommended' ||
  3644. 2014.  -       ((window.curNotifier || {}).idle_manager || {}).is_idle
  3645. 2015.  -     ) {
  3646. 2016.  -       return;
  3647. 2017.  -     }
  3648. 2018.  -     for (el = domPS(cur.topRow); el && cur.topRow.offsetTop > st; el = domPS(el)) cur.topRow = el;
  3649. 2019.  -     for (el = cur.topRow; el; el = nel) {
  3650. 2020.  -       top = ntop ? ntop : el.offsetTop;
  3651. 2021.  -       if (top >= st + ch) break;
  3652. 2022.  -
  3653. 2023.  -       nel = domNS(el);
  3654. 2024.  -       if ((nel || {}).id == 'feed_rows_next') nel = null;
  3655. 2025.  -
  3656. 2026.  -       ntop = nel ? nel.offsetTop : top + el.offsetHeight;
  3657. 2027.  -       if (ntop < st && nel) cur.topRow = nel;
  3658. 2028.  -
  3659. 2029.  -       bits = el.bits || 0;
  3660. 2030.  -       if (bits >= 3) continue;
  3661. 2031.  -
  3662. 2032.  -       bits |= ((top >= st && top < st + ch) ? 1 : 0) | ((ntop >= st && ntop < st + ch) ? 2 : 0);
  3663. 2033.  -       if (bits) {
  3664. 2034.  -         el.bits = bits;
  3665. 2035.  -         if (bits == 3) {
  3666. 2036.  -           posts.push(Feed.postsGetRaws(el));
  3667. 2037.  -         }
  3668. 2038.  -       }
  3669. 2039.  -     }
  3670. 2040.  -     Page.postsSeen(posts);
  3671. 2041.  -   },
  3672. 2042.  -
  3673. 2043.  -   postsGetRaws: function(el) {
  3674. 2044.  -     var f = domFC(el), c, m, p, r = /^post(-?\d+_\d+)$/, res = {};
  3675. 2045.  -     if (m = f.id.match(r)) {
  3676. 2046.  -       res[m[1]] = 1;
  3677. 2047.  -     } else {
  3678. 2048.  -       c = f.className;
  3679. 2049.  -       if (m = c.match(/feed_reposts_wrap(-?\d+_\d+)/)) {
  3680. 2050.  -         p = domFC(f);
  3681. 2051.  -         if (hasClass(domFC(p), 'post_copy')) {
  3682. 2052.  -           res[m[1]] = -1;
  3683. 2053.  -         }
  3684. 2054.  -         if (m = domFC(p).id.match(r)) {
  3685. 2055.  -           res[m[1]] = 1;
  3686. 2056.  -         }
  3687. 2057.  -         if (isVisible(p = domNS(p))) {
  3688. 2058.  -           for (p = domFC(p); p; p = domNS(p)) {
  3689. 2059.  -             if (m = p.id.match(r)) {
  3690. 2060.  -               res[m[1]] = 1;
  3691. 2061.  -             }
  3692. 2062.  -           }
  3693. 2063.  -         }
  3694. 2064.  -       } else if (m = c.match(/feed_repost(-?\d+_\d+)/)) {
  3695. 2065.  -         p = domFC(f);
  3696. 2066.  -         if (hasClass(p, 'post_copy')) {
  3697. 2067.  -           res[m[1]] = -1;
  3698. 2068.  -         }
  3699. 2069.  -         if (m = p.id.match(r)) {
  3700. 2070.  -           res[m[1]] = 1;
  3701. 2071.  -         }
  3702. 2072.  -       }
  3703. 2073.  -     }
  3704. 2074.  -     return res;
  3705. 2075.  -   },
  3706. 2076.  -   searchPreloadExtended: function () {
  3707. 2077.  -     if (cur.feedSearchExtendedLoaded || cur.feedSearchExtendedPreloaded) {
  3708. 2078.  -       return false;
  3709. 2079.  -     }
  3710. 2080.  -     cur.feedSearchExtendedPreloaded = true;
  3711. 2081.  -     ajax.post('al_feed.php', {act: 'a_get_search_extended'}, {cache: 1});
  3712. 2082.  -   },
  3713. 2083.  -   searchToggleExtended: function (enabled) {
  3714. 2084.  -     if (cur.feedSearchExtendedLoaded || !enabled) {
  3715. 2085.  -       toggle('feed_search_extform', enabled);
  3716. 2086.  -       return;
  3717. 2087.  -     }
  3718. 2088.  -     var visibleBefore = [isVisible('feed_menu_toggle'), isVisible('feed_edit_hidden'), isVisible('feed_search_sort')];
  3719. 2089.  -     ajax.post('al_feed.php', {act: 'a_get_search_extended'}, {
  3720. 2090.  -       stat: ['ui_controls.css', 'ui_controls.js'],
  3721. 2091.  -       showProgress: function () {
  3722. 2092.  -         show('feed_progress');
  3723. 2093.  -         hide('feed_menu_toggle', 'feed_edit_hidden', 'feed_search_sort');
  3724. 2094.  -       },
  3725. 2095.  -       hideProgress: function () {
  3726. 2096.  -         hide('feed_progress');
  3727. 2097.  -         toggle('feed_menu_toggle', visibleBefore[0]);
  3728. 2098.  -         toggle('feed_edit_hidden', visibleBefore[1]);
  3729. 2099.  -         toggle('feed_search_sort', visibleBefore[2]);
  3730. 2100.  -       },
  3731. 2101.  -       cache: 1,
  3732. 2102.  -       onDone: function (html, js) {
  3733. 2103.  -         cur.feedSearchExtendedLoaded = true;
  3734. 2104.  -         val('feed_search_extform', html);
  3735. 2105.  -         show('feed_search_extform');
  3736. 2106.  -         eval(js);
  3737. 2107.  -       }
  3738. 2108.  -     });
  3739. 2109.  -   },
  3740. 2110.  -   searchAppendTag: function (tag, pattern, nosubmit) {
  3741. 2111.  -     if (!trim(tag) && !pattern) {
  3742. 2112.  -       return;
  3743. 2113.  -     }
  3744. 2114.  -     var text = val('feed_search');
  3745. 2115.  -     try {
  3746. 2116.  -       text = text.replace(pattern || new RegExp('(^|\\s)' + tag + '(\\s|$)', 'i'), ' ');
  3747. 2117.  -     } catch (e) {};
  3748. 2118.  -     text += ' ' + tag + ' ';
  3749. 2119.  -     text = text.replace(/\s{2,}/g, ' ').replace(/^\s+/, '');
  3750. 2120.  -     val('feed_search', text);
  3751. 2121.  -     if (trim(text).length && !nosubmit) {
  3752. 2122.  -       Feed.submitSearch();
  3753. 2123.  -     }
  3754. 2124.  -     Feed.searchUpdate();
  3755. 2125.  -   },
  3756. 2126.  -   searchUnchooseGeoPoint: function () {
  3757. 2127.  -     var map = ge('feed_searchext_map'),
  3758. 2128.  -         x = ge('feed_searchext_map_delete_wrap');
  3759. 2129.  -
  3760. 2130.  -     removeClass(map, 'feed_searchext_map_selected');
  3761. 2131.  -     setStyle(map, {background: ''});
  3762. 2132.  -     x && x.tt && x.tt.hide && x.tt.hide();
  3763. 2133.  -     Feed.searchAppendTag('', /near:[0-9\.,\-\+]+/);
  3764. 2134.  -   },
  3765. 2135.  -   searchChooseGeoPoint: function () {
  3766. 2136.  -     var params = {act: 'a_choose_place_box', search: 1},
  3767. 2137.  -         text = val('feed_search'),
  3768. 2138.  -         currentPointMatches = text.match(/near\:(\-?\d{1,3}(?:\.\d+)?)\,(\-?\d{1,3}(?:\.\d+)?)(\+{0,4})/);
  3769. 2139.  -
  3770. 2140.  -     if (currentPointMatches) {
  3771. 2141.  -       params.lat = floatval(currentPointMatches[1]);
  3772. 2142.  -       params.lon = floatval(currentPointMatches[2]);
  3773. 2143.  -       params.zoom = [8, 11, 14, 17, 20][(currentPointMatches[3] || '').length]
  3774. 2144.  -     }
  3775. 2145.  -     showBox('al_places.php', params, {dark: 1});
  3776. 2146.  -     cur.chooseGeoPoint = function (lat, lon, zoom) {
  3777. 2147.  -       var num = 0;
  3778. 2148.  -       each([8, 11, 14, 17, 20], function (k, zoomLevel) {
  3779. 2149.  -         if (zoom <= zoomLevel) {
  3780. 2150.  -           return false;
  3781. 2151.  -         }
  3782. 2152.  -         num = k;
  3783. 2153.  -       });
  3784. 2154.  -       boxQueue.hideLast();
  3785. 2155.  -       var postfix = (new Array(num + 1)).join('+');
  3786. 2156.  -       var mult = Math.pow(10, 10);
  3787. 2157.  -       lat = Math.round(lat * mult) / mult;
  3788. 2158.  -       lon = Math.round(lon * mult) / mult;
  3789. 2159.  -
  3790. 2160.  -       var map = ge('feed_searchext_map');
  3791. 2161.  -       addClass(map, 'feed_searchext_map_selected');
  3792. 2162.  -       setStyle(map, {
  3793. 2163.  -         background: 'url(/maps?lat='+lat+'&lng='+lon+'&z='+zoom+'&'+(window.devicePixelRatio >= 2 ? 'w=260&h=160' : 'w=130&h=80')+')'
  3794. 2164.  -       });
  3795. 2165.  -       Feed.searchAppendTag('near:' + lat + ',' + lon + postfix, /near:[0-9\.,\-\+]+/);
  3796. 2166.  -     };
  3797. 2167.  -   },
  3798. 2168.  -   searchChooseFilter: function (filter, item) {
  3799. 2169.  -     var uiDropdown;
  3800. 2170.  -     switch (filter) {
  3801. 2171.  -       case 'type':
  3802. 2172.  -         uiDropdown = cur.uiSearchPostType; break;
  3803. 2173.  -       case 'has':
  3804. 2174.  -         uiDropdown = cur.uiSearchPostAttach; break;
  3805. 2175.  -       case 'likes':
  3806. 2176.  -         uiDropdown = cur.uiSearchPostLikes; break;
  3807. 2177.  -
  3808. 2178.  -       default: return false;
  3809. 2179.  -     }
  3810. 2180.  -     var sel = (uiDropdown.selectedItems() || [])[0];
  3811. 2181.  -
  3812. 2182.  -     Feed.searchAppendTag(sel && intval(sel[0]) ? (filter + ':' + (sel[3] || sel[0])) : '', new RegExp(filter + ':' + '[\\S]+', 'g'));
  3813. 2183.  -   },
  3814. 2184.  -   searchExcludeOnChange: function (input, nosubmit) {
  3815. 2185.  -     var exclude = trim(val(input));
  3816. 2186.  -     if (!exclude) {
  3817. 2187.  -       return false;
  3818. 2188.  -     }
  3819. 2189.  -     var words = trim(exclude).split(/[\s\,\.\/\!\@\#\$\%\^\&\*\(\)\-\=\:\~\;\'\"\|\}\{\+]+/),
  3820. 2190.  -         len = words.length,
  3821. 2191.  -         newTag = len > 0 && ('-' + words.join(' -')) || '';
  3822. 2192.  -
  3823. 2193.  -     Feed.searchAppendTag(newTag, /(?:\s|^)\-\S+/g, nosubmit);
  3824. 2194.  -   },
  3825. 2195.  -   searchUrlOnChange: function (fromTooltip) {
  3826. 2196.  -     var urlMatches = (val('feed_searchext_link') || '').match(urlInactiveExp),
  3827. 2197.  -         newTag = '';
  3828. 2198.  -
  3829. 2199.  -     if (urlMatches) {
  3830. 2200.  -       var url = urlMatches[4] + (urlMatches[5] || ''),
  3831. 2201.  -           domain = urlMatches[4],
  3832. 2202.  -           newTag = radioBtns.feed_searchext_domain.val ? ('domain:' + domain) : ('url:' + url);
  3833. 2203.  -     }
  3834. 2204.  -     Feed.searchAppendTag(newTag, cur.feedSearchPrevLinkTag);
  3835. 2205.  -     cur.feedSearchPrevLinkTag = newTag;
  3836. 2206.  -
  3837. 2207.  -     if (fromTooltip) {
  3838. 2208.  -       elfocus('feed_searchext_link');
  3839. 2209.  -     }
  3840. 2210.  -   },
  3841. 2211.  -   searchContentOnChange: function () {
  3842. 2212.  -     var urlMatches = (val('feed_searchext_content') || '').match(urlInactiveExp),
  3843. 2213.  -         domainMatches = urlMatches && urlMatches[4].match(/(^|\.|\/\/)vkontakte\.ru|vk\.com/),
  3844. 2214.  -         mediaMatches = domainMatches && urlMatches[5].match(/(?:#(photo)|^\/(photo|video|album|page|audio|wall)|z=(album|photo|video)|w=(page|wall))(-?\d+_)?(\d+)(?:\?reply=(\d+))?$/),
  3845. 2215.  -         newTag = '';
  3846. 2216.  -
  3847. 2217.  -     if (mediaMatches) {
  3848. 2218.  -       var mediaType = mediaMatches[1] || mediaMatches[2] || mediaMatches[3] || mediaMatches[4],
  3849. 2219.  -           mediaID = mediaMatches[5] + (mediaMatches[7] || mediaMatches[6]),
  3850. 2220.  -           newTag = 'copy:' + mediaType + mediaID;
  3851. 2221.  -     }
  3852. 2222.  -     Feed.searchAppendTag(newTag, /copy\:\S+/);
  3853. 2223.  -   },
  3854. 2224.  -   searchUpdate: function () {
  3855. 2225.  -     val(cur.searchPh, !cur.section.indexOf('photos') ? getLang('news_photo_search') : getLang('news_search'));
  3856. 2226.  -
  3857. 2227.  -     toggle('feed_query_reset', trim(val('feed_search')));
  3858. 2228.  -   },
  3859. 2229.  -   searchClickOutside: function (event) {
  3860. 2230.  -     if (val('feed_search') || !hasClass('feed_bar', 'feed_bar_extended_search') || isChecked('feed_search_extended_checkbox')) {
  3861. 2231.  -       return;
  3862. 2232.  -     }
  3863. 2233.  -     removeClass('feed_bar', 'feed_bar_extended_search');
  3864. 2234.  -   },
  3865. 2235.  -   searchReset: function (fire) {
  3866. 2236.  -     console.trace();
  3867. 2237.  -     val('feed_search', '');
  3868. 2238.  -     // removeClass('feed_bar', 'feed_bar_extended_search');
  3869. 2239.  -     each ([cur.uiSearchPostType, cur.uiSearchPostAttach, cur.uiSearchPostLikes], function () {
  3870. 2240.  -       this.val(0);
  3871. 2241.  -     });
  3872. 2242.  -     each(['feed_searchext_exclude', 'feed_searchext_link', 'feed_searchext_content'], function (k, input) {
  3873. 2243.  -       val(input, '');
  3874. 2244.  -     });
  3875. 2245.  -     Feed.searchUnchooseGeoPoint();
  3876. 2246.  -     Feed.searchUpdate();
  3877. 2247.  -     if (!fire) {
  3878. 2248.  -       return;
  3879. 2249.  -     }
  3880. 2250.  -
  3881. 2251.  -     var switchTo = 'news';
  3882. 2252.  -     switch (cur.section) {
  3883. 2253.  -       case 'articles':
  3884. 2254.  -       case 'articles_search':
  3885. 2255.  -         switchTo = 'articles';
  3886. 2256.  -         break;
  3887. 2257.  -
  3888. 2258.  -       case 'photos_search':
  3889. 2259.  -       case 'photos':
  3890. 2260.  -         switchTo = 'photos';
  3891. 2261.  -         break;
  3892. 2262.  -     }
  3893. 2263.  -     Feed.switchSection(switchTo);
  3894. 2264.  -   },
  3895. 2265.  -
  3896. 2266.  -   sinceOwnerOver: function (obj, oid, name) {
  3897. 2267.  -     if (!obj.nophoto) {
  3898. 2268.  -       Feed.sinceOwnerBigphOver(obj, oid);
  3899. 2269.  -     }
  3900. 2270.  -     showTooltip(obj, {
  3901. 2271.  -       text: name,
  3902. 2272.  -       showdt: 0,
  3903. 2273.  -       hidedt: 0,
  3904. 2274.  -       black: 1,
  3905. 2275.  -       shift: [12, 3, 3],
  3906. 2276.  -       forcetoup: true,
  3907. 2277.  -       // onCreate: function () {removeEvent(obj, 'mouseout');},
  3908. 2278.  -       className: 'feed_since_owner_tt'
  3909. 2279.  -     });
  3910. 2280.  -   },
  3911. 2281.  -   sinceOwnerBigphOver: function(obj, oid) {
  3912. 2282.  -     if (!cur.lang || !cur.lang.global_photo_full_size || browser.mobile) return;
  3913. 2283.  -     var o = obj.firstChild,
  3914. 2284.  -         ch = cur.phCache[oid];
  3915. 2285.  -     if (o.tagName != 'A' || o.className != 'feed_since_ownerph') {
  3916. 2286.  -       o = obj.insertBefore(ce('a', {className: 'feed_since_ownerph', href: ch && ch._id ? ('/photo' + ch._id + '?all=1') : ('/albums' + oid), innerHTML: '<span class="feed_since_ownerph_label">' + cur.lang.global_photo_full_size + '</span>'}), obj.firstChild);
  3917. 2287.  -       o.onclick = Feed.sinceOwnerBigphClick.pbind(oid, obj);
  3918. 2288.  -       o._oid = oid;
  3919. 2289.  -     }
  3920. 2290.  -
  3921. 2291.  -     clearTimeout(o.hideTO);
  3922. 2292.  -     animate(o, {marginTop: 65}, {duration: 200, transition: Fx.Transitions.easeOutCirc});
  3923. 2293.  -     cur.phShown[oid] = o;
  3924. 2294.  -
  3925. 2295.  -     if (!obj.onmouseout) obj.onmouseout = Feed.sinceOwnerBigphOut.pbind(obj);
  3926. 2296.  -   },
  3927. 2297.  -   sinceOwnerBigphOut: function(obj) {
  3928. 2298.  -     var o = obj.firstChild;
  3929. 2299.  -     if (!o || o.tagName != 'A' || o.className != 'feed_since_ownerph') return;
  3930. 2300.  -
  3931. 2301.  -     clearTimeout(o.hideTO);
  3932. 2302.  -     o.hideTO = setTimeout(function() {
  3933. 2303.  -       animate(o, {marginTop: 90}, 200);
  3934. 2304.  -       delete cur.phShown[o._oid];
  3935. 2305.  -     }, 150);
  3936. 2306.  -   },
  3937. 2307.  -   sinceOwnerBigphClick: function(oid, obj, ev) {
  3938. 2308.  -     if (checkEvent(ev) !== false) return;
  3939. 2309.  -
  3940. 2310.  -     obj && obj.tt && obj.tt.destroy();
  3941. 2311.  -     var ch = cur.phCache[oid]
  3942. 2312.  -         o = cur.phShown[oid],
  3943. 2313.  -         obj = domPN(o);
  3944. 2314.  -
  3945. 2315.  -     if (!o || !obj) return;
  3946. 2316.  -     if (ch === undefined) {
  3947. 2317.  -       ch = cur.phCache[oid] = 'show';
  3948. 2318.  -       ajax.post('al_photos.php', {act: 'fast_get_photo', oid: oid}, {onDone: function(res) {
  3949. 2319.  -         if (!res) {
  3950. 2320.  -           obj.onmouseover = function() {};
  3951. 2321.  -           re(o);
  3952. 2322.  -           return;
  3953. 2323.  -         }
  3954. 2324.  -         var sh = (cur.phCache[oid] == 'show');
  3955. 2325.  -         cur.phCache[oid] = res;
  3956. 2326.  -         o.href = '/photo' + res._id + '?all=1';
  3957. 2327.  -         if (sh) Feed.sinceOwnerBigphClick(oid, obj);
  3958. 2328.  -       }, onFail: function() {
  3959. 2329.  -         obj.nophoto = true;
  3960. 2330.  -         re(o);
  3961. 2331.  -         return true;
  3962. 2332.  -       }});
  3963. 2333.  -     }
  3964. 2334.  -     if (ch == 'show') {
  3965. 2335.  -       return cancelEvent(ev);
  3966. 2336.  -     }
  3967. 2337.  -     if (!ch) return;
  3968. 2338.  -     extend(ch, {
  3969. 2339.  -       jumpTo: {z: 'albums' + oid}
  3970. 2340.  -     });
  3971. 2341.  -     return showPhoto(ch._id, 'album' + oid + '_0/rev', ch, ev);
  3972. 2342.  -   },
  3973. 2343.  -
  3974. 2344.  -   go: function(params, onBeforeReplace, noscroll) {
  3975. 2345.  -     if (cur._back_local) {
  3976. 2346.  -       var hist = cur._back_local;
  3977. 2347.  -       if (hist.back) {
  3978. 2348.  -         showBackLink(hist.back[0], hist.back[1], hist.back[2]);
  3979. 2349.  -       } else {
  3980. 2350.  -         showBackLink(false);
  3981. 2351.  -       }
  3982. 2352.  -       cur._back_local = false;
  3983. 2353.  -     }
  3984. 2354.  -     if (cur.feedReq) {
  3985. 2355.  -       try {
  3986. 2356.  -         cur.feedReq.abort();
  3987. 2357.  -       } catch (e) {debugLog(e);}
  3988. 2358.  -     }
  3989. 2359.  -     var frame = 1, hideProgress = function () {
  3990. 2360.  -       cur.isFeedLoading = false;
  3991. 2361.  -     };
  3992. 2362.  -     if (browser.msie || noscroll) {
  3993. 2363.  -       frame = false;
  3994. 2364.  -       hideProgress = cur.onFrameBlocksDone;
  3995. 2365.  -     }
  3996. 2366.  -     cur.wasScroll = noscroll ? scrollGetY() : false;
  3997. 2367.  -     cur.feedReq = ajax.post('al_feed.php', extend(params, {part: 1}), {
  3998. 2368.  -       onDone: function (options, rows, js) {
  3999. 2369.  -         // debugLog(onBeforeReplace, options, rows.length, js);
  4000. 2370.  -         revertLastInlineVideo();
  4001. 2371.  -         if (window.tooltips) tooltips.destroyAll(ge('feed_rows'));
  4002. 2372.  -         boxQueue.hideAll();
  4003. 2373.  -         if (layers.fullhide) layers.fullhide(true);
  4004. 2374.  -
  4005. 2375.  -         if (frame) {
  4006. 2376.  -           ajax._framenext();
  4007. 2377.  -         }
  4008. 2378.  -         if (window.wall) wall.cancelEdit();
  4009. 2379.  -         boxQueue.hideAll();
  4010. 2380.  -         if (onBeforeReplace) {
  4011. 2381.  -           onBeforeReplace(rows || '');
  4012. 2382.  -         } else {
  4013. 2383.  -           val(cur.rowsCont, rows || '');
  4014. 2384.  -         }
  4015. 2385.  -         feed.applyOptions(options, 2);
  4016. 2386.  -         js && eval(js);
  4017. 2387.  -
  4018. 2388.  -         if (!params.norecom) {
  4019. 2389.  -           val('feed_recommends', options.recommends || '');
  4020. 2390.  -           var str = '/al_feed.php#' + ajx2q({act: 'recom'});
  4021. 2391.  -           if (ajaxCache[str]) delete(ajaxCache[str]);
  4022. 2392.  -           cur.recomPreload = false;
  4023. 2393.  -         }
  4024. 2394.  -         toggle('feed_recommends', cur.section == 'news' || cur.section == 'recommended');
  4025. 2395.  -
  4026. 2396.  -         // debugLog('init js:', js);
  4027. 2397.  -         var _a = window.audioPlayer, aid = currentAudioId();
  4028. 2398.  -         if (_a && aid && _a.showCurrentTrack) _a.showCurrentTrack();
  4029. 2399.  -         setTimeout(function () {
  4030. 2400.  -           var aid = currentAudioId();
  4031. 2401.  -           if (_a && aid && _a.showCurrentTrack) _a.showCurrentTrack();
  4032. 2402.  -         }, 100);
  4033. 2403.  -         setTimeout(feed.scrollCheck, 200);
  4034. 2404.  -       },
  4035. 2405.  -       onFail: function () {return false;},
  4036. 2406.  -       showProgress: function () {
  4037. 2407.  -         hide('feed_menu_toggle', 'feed_edit_hidden', 'feed_search_sort');
  4038. 2408.  -         if (cur.section == 'articles') {
  4039. 2409.  -           feed.sliderShowProgress();
  4040. 2410.  -         }
  4041. 2411.  -         show('feed_progress');
  4042. 2412.  -         cur.isFeedLoading = true;
  4043. 2413.  -       },
  4044. 2414.  -       frame: frame,
  4045. 2415.  -       ads: 1,
  4046. 2416.  -       hideProgress: hideProgress
  4047. 2417.  -     });
  4048. 2418.  -   },
  4049. 2419.  -
  4050. 2420.  -   init: function (options) {
  4051. 2421.  -     var searchEl = ge('feed_search');
  4052. 2422.  -     placeholderSetup(searchEl, {back: 1});
  4053. 2423.  -     cur.searchPh = geByClass1('input_back_content', ge('feed_isearch'));
  4054. 2424.  -
  4055. 2425.  -     FeedSearch.init(searchEl);
  4056. 2426.  -
  4057. 2427.  -     if (!window.Select) {
  4058. 2428.  -       addEvent(searchEl, 'focus', function (e) {
  4059. 2429.  -         stManager.add(['ui_controls.js', 'ui_controls.css'], feed.initUi);
  4060. 2430.  -         removeEvent(searchEl, 'focus', arguments.callee);
  4061. 2431.  -       });
  4062. 2432.  -     }
  4063. 2433.  -
  4064. 2434.  -     addEvent(searchEl, 'keydown focus', function (e) {
  4065. 2435.  -       if (e.type == 'focus') {
  4066. 2436.  -         if (cur.section.indexOf('articles') && cur.section.indexOf('photos')) {
  4067. 2437.  -           addClass('feed_bar', 'feed_bar_extended_search');
  4068. 2438.  -         }
  4069. 2439.  -         return;
  4070. 2440.  -       }
  4071. 2441.  -       if (e.keyCode == KEY.RETURN && (!FeedSearch.select || FeedSearch.select.active < 0)) {
  4072. 2442.  -         if (val(searchEl)) {
  4073. 2443.  -           feed.submitSearch();
  4074. 2444.  -         } else if (cur.section == 'search' || cur.section == 'articles_search') {
  4075. 2445.  -           if (feed.returnToFeed(false, false)) {
  4076. 2446.  -             feed.go(feed.getSectionParams(cur.section == 'search' ? 'news' : 'articles'));
  4077. 2447.  -           }
  4078. 2448.  -         }
  4079. 2449.  -         searchEl.blur();
  4080. 2450.  -         clearTimeout(cur.requestTimeout);
  4081. 2451.  -         return cancelEvent(e);
  4082. 2452.  -       }
  4083. 2453.  -       setTimeout(Feed.searchUpdate, 0);
  4084. 2454.  -     });
  4085. 2455.  -     setTimeout(function () {
  4086. 2456.  -       each(geByTag('textarea', cur.rowsCont), function() { placeholderSetup(this); });
  4087. 2457.  -     }, 200);
  4088. 2458.  -
  4089. 2459.  -     extend(cur, {
  4090. 2460.  -       oid: options.user_id,
  4091. 2461.  -       postTo: options.user_id,
  4092. 2462.  -       phCache: {},
  4093. 2463.  -       phShown: {},
  4094. 2464.  -       subsections: {},
  4095. 2465.  -       module: 'feed',
  4096. 2466.  -       isFeedLoading: false,
  4097. 2467.  -       wallPostCb: function () {
  4098. 2468.  -         if (cur.section == 'news') {
  4099. 2469.  -           setTimeout(feed.update.pbind(1), 1000);
  4100. 2470.  -         } else {
  4101. 2471.  -           setTimeout(feed.switchSection.pbind('news'), 1000);
  4102. 2472.  -         }
  4103. 2473.  -       },
  4104. 2474.  -       // Decomment
  4105. 2475.  -       // disableAutoMore: true,
  4106. 2476.  -
  4107. 2477.  -
  4108. 2478.  -       idleManager: (function () {
  4109. 2479.  -         var setIdleTo, checkIdleCb, checkIdleCbTo, onActive, onInActive, onFocusBlur, params = {
  4110. 2480.  -           isIdle: false,
  4111. 2481.  -           onIdle: null,
  4112. 2482.  -           onUnIdle: null,
  4113. 2483.  -           stop: function () {
  4114. 2484.  -             removeEvent(document, 'mousemove keydown', onActive);
  4115. 2485.  -             removeEvent(window, 'focus blur', onFocusBlur);
  4116. 2486.  -             // clearTimeout(setIdleTo);
  4117. 2487.  -             // clearTimeout(checkIdleCbTo);
  4118. 2488.  -           },
  4119. 2489.  -           start: function () {
  4120. 2490.  -             if (browser.mobile) return;
  4121. 2491.  -             // checkIdleCb = function () {
  4122. 2492.  -             //   if (!cur.idleManager) return;
  4123. 2493.  -             //   addEvent(document, 'mousemove keydown', onActive);
  4124. 2494.  -             //   clearTimeout(setIdleTo);
  4125. 2495.  -             //   setIdleTo = setTimeout(onBlur, 60000); // tab becomes idle in 30 secs without moving mouse or typing
  4126. 2496.  -             // };
  4127. 2497.  -             onActive = function () {
  4128. 2498.  -               if (!cur.idleManager) return;
  4129. 2499.  -               // clearTimeout(setIdleTo);
  4130. 2500.  -               if (params.isIdle) {
  4131. 2501.  -                 params.isIdle = false;
  4132. 2502.  -                 if (params.onUnIdle) params.onUnIdle();
  4133. 2503.  -                 debugLog('unidle');
  4134. 2504.  -               }
  4135. 2505.  -               // removeEvent(document, 'mousemove keydown', onAction);
  4136. 2506.  -               // clearTimeout(checkIdleCbTo);
  4137. 2507.  -               // checkIdleCbTo = setTimeout(checkIdleCb, 30000);
  4138. 2508.  -             };
  4139. 2509.  -             onInActive = function () {
  4140. 2510.  -               if (!cur.idleManager) return;
  4141. 2511.  -               params.isIdle = true;
  4142. 2512.  -               debugLog('idle');
  4143. 2513.  -               if (params.onIdle) params.onIdle();
  4144. 2514.  -             };
  4145. 2515.  -             onFocusBlur = function (e) {
  4146. 2516.  -               if (e.type == 'focus') {
  4147. 2517.  -                 onActive();
  4148. 2518.  -               } else {
  4149. 2519.  -                 onInActive();
  4150. 2520.  -               }
  4151. 2521.  -             };
  4152. 2522.  -             addEvent(window, 'focus blur', onFocusBlur);
  4153. 2523.  -             // clearTimeout(checkIdleCbTo);
  4154. 2524.  -             // checkIdleCbTo = setTimeout(checkIdleCb, 30000);
  4155. 2525.  -           }
  4156. 2526.  -         };
  4157. 2527.  -         return params;
  4158. 2528.  -       }()),
  4159. 2529.  -
  4160. 2530.  -       onFrameBlocksDone: /*vkLocal(*/function () {
  4161. 2531.  -         hide('feed_progress');
  4162. 2532.  -         feed.sliderHideProgress();
  4163. 2533.  -         toggle('feed_edit_hidden', cur.section == 'news' || cur.section == 'photos');
  4164. 2534.  -         toggle('feed_search_sort', cur.section == 'search'/* || cur.section == 'photos_search'*/);
  4165. 2535.  -         toggle('feed_menu_toggle', ge(feed.getTypesSection() + '_filters'));
  4166. 2536.  -         toggle('feed_rate_slider_wrap', cur.section == 'articles' && cur.subsection == 'top');
  4167. 2537.  -         cur.isFeedLoading = false;
  4168. 2538.  -         if (cur.wasScroll === 0 || cur.wasScroll > 0) {
  4169. 2539.  -           scrollToY(st, 0);
  4170. 2540.  -           cur.wasScroll = false;
  4171. 2541.  -         }
  4172. 2542.  -       }/*)*/,
  4173. 2543.  -
  4174. 2544.  -       // Cached entries' HTML
  4175. 2545.  -       feedEntriesHTML: {},
  4176. 2546.  -       feedUnreadCount: 0,
  4177. 2547.  -       feedInitialTitle: '',
  4178. 2548.  -       feedUnread: [],
  4179. 2549.  -       feedToSort: []
  4180. 2550.  -     });
  4181. 2551.  -
  4182. 2552.  -     cur.nav.push(function(changed, old, n, opts) {
  4183. 2553.  -       if (changed[0] !== undefined) return;
  4184. 2554.  -       var params = clone(n);
  4185. 2555.  -       delete(params[0]);
  4186. 2556.  -       var splitt = !!ge('feedtab_updates') || !ge('feedtab_news');
  4187. 2557.  -       if (splitt && changed.section !== undefined && ((cur.section == 'notifications' || cur.section == 'comments') &&changed.section != 'notifications' && changed.section != 'comments' || cur.section != 'notifications' && cur.section != 'comments' && (changed.section == 'notifications' || changed.section == 'comments'))) {
  4188. 2558.  -         return;
  4189. 2559.  -       }
  4190. 2560.  -       if ((cur.section == 'owner' || cur.section == 'search') && !feed.returnToFeed(params, opts.back || opts.hist)) {
  4191. 2561.  -         return false;
  4192. 2562.  -       }
  4193. 2563.  -       if (changed.q) {
  4194. 2564.  -         feed.submitSearch(changed.q, params.section || '');
  4195. 2565.  -         return false;
  4196. 2566.  -       }
  4197. 2567.  -       if (changed.list) {
  4198. 2568.  -         Feed.switchList(changed.list);
  4199. 2569.  -         return false;
  4200. 2570.  -       }
  4201. 2571.  -       feed.go(extend(params, opts.params || {}));
  4202. 2572.  -       return false;
  4203. 2573.  -     });
  4204. 2574.  -     cur.idleManager.onUnIdle = feed.updateTitle;
  4205. 2575.  -     cur.idleManager.onIdle = feed.reSortItems;
  4206. 2576.  -
  4207. 2577.  -     cur.options = cur.options || {};
  4208. 2578.  -     extend(cur.options, options);
  4209. 2579.  -     feed.applyOptions(options, 3);
  4210. 2580.  -
  4211. 2581.  -     // Extrnal static requred
  4212. 2582.  -     // page.js
  4213. 2583.  -     cur.rowsCont = options.wallCont = ge('feed_rows');
  4214. 2584.  -     wall.init(options);
  4215. 2585.  -
  4216. 2586.  -     // Scroll check routine
  4217. 2587.  -     feed.scrollNode = browser.msie6 ? pageNode : window;
  4218. 2588.  -
  4219. 2589.  -     cur._back = {
  4220. 2590.  -       text: getLang('news_return_to_news'),
  4221. 2591.  -       show: [feed.startEvents],
  4222. 2592.  -       hide: [function () {
  4223. 2593.  -         clearInterval(cur.updateInt);
  4224. 2594.  -         removeEvent(feed.scrollNode, 'scroll', feed.scrollCheck);
  4225. 2595.  -         removeEvent(window, 'resize', feed.scrollCheck);
  4226. 2596.  -         cur.idleManager.stop();
  4227. 2597.  -         clearTimeout(cur.lp_error_to);
  4228. 2598.  -         // removeEvent(document, 'click', Feed.searchClickOutside);
  4229. 2599.  -       }],
  4230. 2600.  -       loc: false
  4231. 2601.  -     };
  4232. 2602.  -     feed.startEvents();
  4233. 2603.  -     var _a = window.audioPlayer,
  4234. 2604.  -         aid = currentAudioId();
  4235. 2605.  -     if (_a && aid && _a.showCurrentTrack) _a.showCurrentTrack();
  4236. 2606.  -
  4237. 2607.  -     if (browser.mobile) {
  4238. 2608.  -       setStyle('feed_rate_slider_wrap', {width: 150});
  4239. 2609.  -       hide('feed_rate_full');
  4240. 2610.  -       show('feed_rate_mobile');
  4241. 2611.  -     }
  4242. 2612.  -
  4243. 2613.  -     setTimeout(feed.scrollCheck, 200);
  4244. 2614.  -   },
  4245. 2615.  -   startEvents: function () {
  4246. 2616.  -     // IDLE manager
  4247. 2617.  -     cur.idleManager.start();
  4248. 2618.  -
  4249. 2619.  -     // Feed update interval
  4250. 2620.  -     cur.updateInt = setInterval(function () {feed.update(0);}, 20000);
  4251. 2621.  -
  4252. 2622.  -     // Scroll check routine for auto preload next news
  4253. 2623.  -     addEvent(feed.scrollNode, 'scroll', feed.scrollCheck);
  4254. 2624.  -     addEvent(window, 'resize', feed.scrollCheck);
  4255. 2625.  -     // addEvent(document, 'click', Feed.searchClickOutside);
  4256. 2626.  -   },
  4257. 2627.  -   initUi: function () {
  4258. 2628.  -     cur.searchSortMenu = new DropdownMenu(cur.options.search_sorts, {
  4259. 2629.  -       target: ge('feed_search_sort_dd'),
  4260. 2630.  -       onSelect: function (e) {
  4261. 2631.  -         feed.submitSearch()
  4262. 2632.  -       },
  4263. 2633.  -       fadeSpeed: 0
  4264. 2634.  -     });
  4265. 2635.  -
  4266. 2636.  -     FeedSearch.initSelect();
  4267. 2637.  -     cur.destroy.push(function () {
  4268. 2638.  -       FeedSearch.destroy();
  4269. 2639.  -     });
  4270. 2640.  -   },
  4271. 2641.  -   applyUi: function () {
  4272. 2642.  -     // debugLog('apply ui');
  4273. 2643.  -     if (!cur.searchSortMenu) return;
  4274. 2644.  -     cur.searchSortMenu.setOptions({title: cur.search_sort[1]});
  4275. 2645.  -     cur.searchSortMenu.value = cur.search_sort[0];
  4276. 2646.  -     val('feed_search_sort_dd', cur.search_sort[1].replace(/\s+/g, '&nbsp;'));
  4277. 2647.  -   },
  4278. 2648.  -   mentionClick: function(el, ev) {
  4279. 2649.  -     var post = ((el.getAttribute('mention') || '').match(/^bp(-?\d+_\d+)$/) || {})[1];
  4280. 2650.  -     if (!post) return nav.go(el, ev);
  4281. 2651.  -
  4282. 2652.  -     post = post.split('_');
  4283. 2653.  -     for (; el; el = el.parentNode) {
  4284. 2654.  -       var m = (el.id || '').match(/^replies(-?\d+_topic\d+)$/);
  4285. 2655.  -       if (m) {
  4286. 2656.  -         var topic = m[1].split('_');
  4287. 2657.  -         if (topic[0] == post[0]) {
  4288. 2658.  -           return wall.showReply(m[1], post[0] + 'topic_' + post[1]);
  4289. 2659.  -         } else {
  4290. 2660.  -           break;
  4291. 2661.  -         }
  4292. 2662.  -       }
  4293. 2663.  -     }
  4294. 2664.  -     return nav.go(el, ev);
  4295. 2665.  -   },
  4296. 2666.  -
  4297. 2667.  -   recomPreload: function() {
  4298. 2668.  -     if (cur.recomPreload) return;
  4299. 2669.  -     cur.recomPreload = true;
  4300. 2670.  -     ajax.post('/al_feed.php', {act: 'recom'}, {cache: 1});
  4301. 2671.  -   },
  4302. 2672.  -   recomMore: function(ev) {
  4303. 2673.  -     if (checkEvent(ev) !== false) return;
  4304. 2674.  -     var cont = ge('feed_recom_rows'), lnk = ge('feed_recom_more');
  4305. 2675.  -     if (cont.childNodes.length > 2) {
  4306. 2676.  -       var old = getSize(cont)[1];
  4307. 2677.  -       while (cont.childNodes.length > 2) {
  4308. 2678.  -         cont.removeChild(cont.lastChild);
  4309. 2679.  -       }
  4310. 2680.  -       scrollToY(0, 0);
  4311. 2681.  -       hide(lnk.firstChild.nextSibling);
  4312. 2682.  -       show(lnk.firstChild);
  4313. 2683.  -       return cancelEvent(ev);
  4314. 2684.  -     }
  4315. 2685.  -
  4316. 2686.  -     ajax.post('/al_feed.php', {act: 'recom'}, {cache: 1, onDone: function(rows) {
  4317. 2687.  -       hide(lnk.firstChild);
  4318. 2688.  -       show(lnk.firstChild.nextSibling);
  4319. 2689.  -       var e = ce('div', {innerHTML: rows}), c = ge('feed_recom_rows'), el;
  4320. 2690.  -       while (el = e.firstChild) {
  4321. 2691.  -         if (ge(el.id)) {
  4322. 2692.  -           re(el);
  4323. 2693.  -         } else {
  4324. 2694.  -           c.appendChild(el);
  4325. 2695.  -         }
  4326. 2696.  -       }
  4327. 2697.  -       if (c.childNodes.length % 2) re(c.lastChild);
  4328. 2698.  -     }, showProgress: function() {
  4329. 2699.  -       hide(lnk.firstChild);
  4330. 2700.  -       show(lnk.lastChild);
  4331. 2701.  -     }, hideProgress: function() {
  4332. 2702.  -       show(lnk.firstChild);
  4333. 2703.  -       hide(lnk.lastChild);
  4334. 2704.  -     }});
  4335. 2705.  -     return cancelEvent(ev);
  4336. 2706.  -   },
  4337. 2707.  -   recomSubscribe: function(oid, btn) {
  4338. 2708.  -     ajax.post('/al_feed.php', {act: 'subscr', oid: oid, from: nav.objLoc.section, hash: val('feed_recom_hash')}, {
  4339. 2709.  -       onDone: function(text) {
  4340. 2710.  -         btn.parentNode.parentNode.replaceChild(ce('div', {className: 'feed_recom_done fl_l', innerHTML: text}), btn.parentNode);
  4341. 2711.  -         if (nav.objLoc.section != 'recommended') {
  4342. 2712.  -           nav.go(nav.objLoc, false, {params: {norecom: 1}});
  4343. 2713.  -         }
  4344. 2714.  -       },
  4345. 2715.  -       showProgress: lockButton.pbind(btn),
  4346. 2716.  -       hideProgress: unlockButton.pbind(btn)
  4347. 2717.  -     });
  4348. 2718.  -   }
  4349. 2719.  -
  4350. 2720.  - };
  4351. 2721.  - window.feed = Feed;
  4352. 2722.  -
  4353. 2723.  - FeedSearch =  {
  4354. 2724.  -   init: function (input, options) {
  4355. 2725.  -     return false;
  4356. 2726.  -     var self = this;
  4357. 2727.  -     this.input = input;
  4358. 2728.  -     this.cont = input.parentNode.parentNode;
  4359. 2729.  -     var resultContainer = ce('div', {className: 'results_container', innerHTML: '<div class="result_list"></div><div class="result_list_shadow"><div class="shadow1"></div><div class="shadow2"></div></div>'});
  4360. 2730.  -     this.cont.appendChild(resultContainer);
  4361. 2731.  -     this.resultList = geByClass('result_list', resultContainer)[0];
  4362. 2732.  -     this.resultListShadow = geByClass('result_list_shadow', resultContainer)[0];
  4363. 2733.  -     hide(this.resultList, this.resultListShadow);
  4364. 2734.  -
  4365. 2735.  -     if (browser.chrome) this.resultList.style.opacity = 1;
  4366. 2736.  -     else if (!browser.safari) setStyle(this.resultListShadow, 'top', browser.mozilla ? 0 : (browser.msie && browser.version < 8) ? 0 : -1);
  4367. 2737.  -     this.resultList.style.width = this.resultListShadow.style.width = resultContainer.style.width = '273px';
  4368. 2738.  -
  4369. 2739.  -     this.initSelect();
  4370. 2740.  -
  4371. 2741.  -     addEvent(input, 'keyup click mouseup', function (e) {
  4372. 2742.  -       if (!self.select) return;
  4373. 2743.  -       if (self.select.isVisible() && self.select.active > -1) {
  4374. 2744.  -         if (inArray(e.keyCode, [KEY.UP, KEY.DOWN, KEY.PAGEUP, KEY.PAGEDOWN, KEY.RETURN])) return cancelEvent(e);
  4375. 2745.  -       }
  4376. 2746.  -       clearTimeout(cur.requestTimeout);
  4377. 2747.  -       var term = val(input);
  4378. 2748.  -       self.currentTerm = term;
  4379. 2749.  -       var section = cur.section;
  4380. 2750.  -       if (!term) {
  4381. 2751.  -         self.select.hide();
  4382. 2752.  -         return;
  4383. 2753.  -       }
  4384. 2754.  -       cur.requestTimeout = setTimeout(function() {
  4385. 2755.  -         ajax.post('/hints.php?act=a_feed_hints', {q: term, section: section}, {
  4386. 2756.  -           onDone: function (data) {
  4387. 2757.  -             if (self.currentTerm === term) self.showSelectList(term, data);
  4388. 2758.  -           }, cache: 1
  4389. 2759.  -         });
  4390. 2760.  -       }, 300);
  4391. 2761.  -     });
  4392. 2762.  -     addEvent(input, 'blur', function () {
  4393. 2763.  -       clearTimeout(cur.requestTimeout);
  4394. 2764.  -       delete self.currentTerm;
  4395. 2765.  -       if (!self.select) return;
  4396. 2766.  -       self.select.hide();
  4397. 2767.  -     });
  4398. 2768.  -     addEvent(input, 'keypress keydown', function (e) {
  4399. 2769.  -       if (!self.select) return;
  4400. 2770.  -       if (!self.select || self.select.active < 0) return true;
  4401. 2771.  -
  4402. 2772.  -       if (e.keyCode == KEY.RETURN || e.keyCode == 10) {
  4403. 2773.  -         if (self.select && self.select.isVisible()) {
  4404. 2774.  -           triggerEvent(document, e.type, e);
  4405. 2775.  -           return cancelEvent(e);
  4406. 2776.  -         }
  4407. 2777.  -       } else if (e.keyCode == KEY.SPACE) {
  4408. 2778.  -         var el = self.select.list.childNodes[self.select.active], id = el ? el.getAttribute('val') : '', item;
  4409. 2779.  -         each(self.lastItems, function () {
  4410. 2780.  -           if (this[0] == id) {
  4411. 2781.  -             item = this;
  4412. 2782.  -           }
  4413. 2783.  -         });
  4414. 2784.  -         if (!item) return;
  4415. 2785.  -         val(input, item[3] + ' ');
  4416. 2786.  -         focusAtEnd(input);
  4417. 2787.  -         return cancelEvent(e);
  4418. 2788.  -       }
  4419. 2789.  -       return true;
  4420. 2790.  -     });
  4421. 2791.  -   },
  4422. 2792.  -   initSelect: function () {
  4423. 2793.  -     return false;
  4424. 2794.  -     if (this.select || !window.Select || !window._ui) return;
  4425. 2795.  -     if (!this.resultList || !this.resultListShadow) {
  4426. 2796.  -       debugLog('no containers', this.resultList, this.resultListShadow);
  4427. 2797.  -       return;
  4428. 2798.  -     }
  4429. 2799.  -     this.guid = _ui.reg(this);
  4430. 2800.  -     this.select = new Select(this.resultList, this.resultListShadow, {
  4431. 2801.  -       selectFirst: false,
  4432. 2802.  -       onItemSelect: this.onItemSelect.bind(this),
  4433. 2803.  -       onShow: _ui.sel.pbind(this.guid),
  4434. 2804.  -       onHide: _ui.sel.pbind(false),
  4435. 2805.  -       cycle: true
  4436. 2806.  -     });
  4437. 2807.  -     this.select.hide();
  4438. 2808.  -   },
  4439. 2809.  -   showSelectList: function (term, items) {
  4440. 2810.  -     var self = this;
  4441. 2811.  -     if (!this.select) return;
  4442. 2812.  -     items = isArray(items) && items.length ? items : [];
  4443. 2813.  -     if (!items.length) {
  4444. 2814.  -       self.select.hide();
  4445. 2815.  -       return;
  4446. 2816.  -     }
  4447. 2817.  -     this.select.clear();
  4448. 2818.  -     this.lastItems = items;
  4449. 2819.  -     this.select.content(items);
  4450. 2820.  -     this.select.show();
  4451. 2821.  -   },
  4452. 2822.  -   onItemSelect: function(id) {
  4453. 2823.  -     if (!this.select) return;
  4454. 2824.  -     this.select.hide();
  4455. 2825.  -     var item;
  4456. 2826.  -     each(this.lastItems, function () {
  4457. 2827.  -       if (this[0] == id) {
  4458. 2828.  -         item = this;
  4459. 2829.  -       }
  4460. 2830.  -     });
  4461. 2831.  -     if (!item) return;
  4462. 2832.  -     val(this.input, '');
  4463. 2833.  -     feed.switchOwner(item[4], item[3]);
  4464. 2834.  -     this.input.blur();
  4465. 2835.  -   },
  4466. 2836.  -   onEvent: function(e) {
  4467. 2837.  -     if (e.type == (browser.opera || browser.mozilla ? 'keypress' : 'keydown')) {
  4468. 2838.  -       this.select.handleKeyEvent(e);
  4469. 2839.  -     }
  4470. 2840.  -   },
  4471. 2841.  -   destroy: function (prevCur) {
  4472. 2842.  -     cleanElems(this.resultList, this.resultListShadow, this.input);
  4473. 2843.  -     clearTimeout(prevCur ? prevCur.requestTimeout : cur.requestTimeout);
  4474. 2844.  -     if (this.select) {
  4475. 2845.  -       this.select.destroy();
  4476. 2846.  -       delete this.select;
  4477. 2847.  -     }
  4478. 2848.  -     if (this.resultList) {
  4479. 2849.  -       re(this.resultList.parentNode);
  4480. 2850.  -     }
  4481. 2851.  -     delete this.lastItems;
  4482. 2852.  -     this.inited = false;
  4483. 2853.  -   }
  4484. 2854.  - }
  4485. 2855.  -
  4486. 2856.  - try{stManager.done('feed.js');}catch(e){}
  4487. ------
  4488. Файл - privacy.css (Старый размер - 15585 | Новый - 0):
  4489. 0.  - #privacy_css {
  4490. 1.  -   display: none;
  4491. 2.  - }
  4492. 3.  - .group1, .group2, .group3, .group4,
  4493. 4.  - .group5, .group6, .group7, .group8,
  4494. 5.  - .group9, .group10 {
  4495. 6.  -   margin: 3px 0px;
  4496. 7.  -   line-height: 175%;
  4497. 8.  -   white-space : nowrap;
  4498. 9.  - }
  4499. 10.  -
  4500. 11.  - .flist_search_input {
  4501. 12.  -   padding: 5px;
  4502. 13.  - }
  4503. 14.  -
  4504. 15.  - .group1 {
  4505. 16.  -   background-color: #F5E9E2;
  4506. 17.  -   color: #8B4C23;
  4507. 18.  - }
  4508. 19.  -
  4509. 20.  - .group2 {
  4510. 21.  -   background-color: #FAEAD8;
  4511. 22.  -   color: #764F14;
  4512. 23.  - }
  4513. 24.  -
  4514. 25.  - .group3 {
  4515. 26.  -   background-color: #FAF3D8;
  4516. 27.  -   color: #817945;
  4517. 28.  - }
  4518. 29.  -
  4519. 30.  - .group4 {
  4520. 31.  -   background-color: #E8F2DC;
  4521. 32.  -   color: #37702A;
  4522. 33.  - }
  4523. 34.  -
  4524. 35.  - .group5 {
  4525. 36.  -   background-color: #E0ECEA;
  4526. 37.  -   color: #4C7171;
  4527. 38.  - }
  4528. 39.  -
  4529. 40.  - .group6 {
  4530. 41.  -   background-color: #E4EBF1;
  4531. 42.  -   color: #0B5588;
  4532. 43.  - }
  4533. 44.  -
  4534. 45.  - .group7 {
  4535. 46.  -   background-color: #E4E7F2;
  4536. 47.  -   color: #2F54AA;
  4537. 48.  - }
  4538. 49.  -
  4539. 50.  - .group8 {
  4540. 51.  -   background-color: #EDE5F0;
  4541. 52.  -   color: #80478F;
  4542. 53.  - }
  4543. 54.  -
  4544. 55.  - .group9 {
  4545. 56.  -   background-color: #F5E9E2;
  4546. 57.  -   color: #8B4C23;
  4547. 58.  - }
  4548. 59.  -
  4549. 60.  - .group10 {
  4550. 61.  -   background-color: #FAEAD8;
  4551. 62.  -   color: #764F14;
  4552. 63.  - }
  4553. 64.  -
  4554. 65.  - .group1, .group2, .group3, .group4,
  4555. 66.  - .group5, .group6, .group7, .group8,
  4556. 67.  - .group9, .group10 {
  4557. 68.  -   margin:0px 0px;
  4558. 69.  -   padding: 1px 3px;
  4559. 70.  -   apadding:0px;
  4560. 71.  -   line-height: 160%;
  4561. 72.  -   aline-height: 140%;
  4562. 73.  -   white-space : nowrap;
  4563. 74.  -   abackground-color:#FFF;
  4564. 75.  -   abackground-color: #EEF2F6;
  4565. 76.  -   acolor: #2B587A;
  4566. 77.  -   acolor: #000;
  4567. 78.  - }
  4568. 79.  -
  4569. 80.  -
  4570. 81.  - /* Privacy box */
  4571. 82.  -
  4572. 83.  - .flist_empty {
  4573. 84.  -   background-color: #FFF;
  4574. 85.  -   color: #777777;
  4575. 86.  -   font-size: 1.18em;
  4576. 87.  -   text-align: center;
  4577. 88.  -   padding: 103px 0px 90px 0px;
  4578. 89.  -   margin: 10px 10px 12px 10px;
  4579. 90.  - }
  4580. 91.  -
  4581. 92.  -
  4582. 93.  - .privacy_control {
  4583. 94.  -   line-height:175%;
  4584. 95.  -   width:250px;
  4585. 96.  - }
  4586. 97.  -
  4587. 98.  - #box_layer .privacy_friends {
  4588. 99.  -   overflow: auto;
  4589. 100.  -   overflow-y: scroll;
  4590. 101.  -   overflow-x: hidden;
  4591. 102.  - }
  4592. 103.  - #flist_scroll_wrap {
  4593. 104.  -   overflow: hidden;
  4594. 105.  -   height: 420px;
  4595. 106.  - }
  4596. 107.  - .flist_col {
  4597. 108.  -   border: 0px;
  4598. 109.  -   width: 254px;
  4599. 110.  -   padding: 0px 11px 15px 11px;
  4600. 111.  -   vertical-align: top;
  4601. 112.  - }
  4602. 113.  - .flist_search_cont {
  4603. 114.  -   background: #F7F7F7;
  4604. 115.  -   padding: 10px;
  4605. 116.  -   border-bottom: 1px solid #DAE1E8;
  4606. 117.  -   width: 528px;
  4607. 118.  - }
  4608. 119.  - #flist_search {
  4609. 120.  -   width: 486px;
  4610. 121.  -   background: #FFFFFF url(/images/magglass.png) no-repeat 5px 6px;
  4611. 122.  -   outline: none;
  4612. 123.  -   padding: 5px 20px;
  4613. 124.  - }
  4614. 125.  - #flist_list_name {
  4615. 126.  -   display: none;
  4616. 127.  - }
  4617. 128.  - .flist_two_cols #flist_search {
  4618. 129.  -   width: 215px;
  4619. 130.  - }
  4620. 131.  - .flist_two_cols #flist_list_name {
  4621. 132.  -   display: block;
  4622. 133.  -   width: 245px;
  4623. 134.  -   position: absolute;
  4624. 135.  -   margin-left: 271px;
  4625. 136.  -   padding: 5px 5px;
  4626. 137.  - }
  4627. 138.  - #flist_cont {
  4628. 139.  -   position: relative;
  4629. 140.  - }
  4630. 141.  - .flist_left_col {
  4631. 142.  -   border-right: 1px solid #DBDEE5;
  4632. 143.  -   width: 253px;
  4633. 144.  - }
  4634. 145.  - #flist_right_col {
  4635. 146.  -   position: absolute;
  4636. 147.  -   top: 0;
  4637. 148.  -   left: 276px;
  4638. 149.  -   height: 405px;
  4639. 150.  -   overflow: hidden;
  4640. 151.  - }
  4641. 152.  - .flist_cell {
  4642. 153.  -   width: 253px;
  4643. 154.  -   border-bottom: 1px solid #E4E8ED;
  4644. 155.  -   cursor: pointer;
  4645. 156.  - }
  4646. 157.  - .flist_cell:hover {
  4647. 158.  -   background: #EDF1F5;
  4648. 159.  - }
  4649. 160.  - td.flist_item_img {
  4650. 161.  -   width: 32px;
  4651. 162.  -   height: 32px;
  4652. 163.  -   padding: 8px 9px 9px 9px;
  4653. 164.  - }
  4654. 165.  - td.flist_item_img img {
  4655. 166.  -   width: 32px;
  4656. 167.  -   height: 32px;
  4657. 168.  - }
  4658. 169.  - .flist_item_name {
  4659. 170.  -   font-weight: bold;
  4660. 171.  -   color: #45688E;
  4661. 172.  -   width: 173px;
  4662. 173.  -   overflow: hidden;
  4663. 174.  - }
  4664. 175.  - .flist_item_name em {
  4665. 176.  -   font-style: normal;
  4666. 177.  -   background: #FFF8CC none repeat scroll 0 0;
  4667. 178.  - }
  4668. 179.  - .flist_item_action {
  4669. 180.  -   width: 12px;
  4670. 181.  -   height: 12px;
  4671. 182.  -   background: url('/images/icons/lite_acts_12x12.png?2') no-repeat 0px 0px;
  4672. 183.  - }
  4673. 184.  - #flist_sel_list .flist_item_action {
  4674. 185.  -   background: url('/images/icons/lite_acts_12x12.png?2') no-repeat 0px -12px;
  4675. 186.  - }
  4676. 187.  - td.flist_item_act {
  4677. 188.  -   padding: 5px;
  4678. 189.  -   width: 12px;
  4679. 190.  - }
  4680. 191.  - .flist_full .flist_item_action{
  4681. 192.  -   background: none;
  4682. 193.  - }
  4683. 194.  - .flist_full .flist_cell {
  4684. 195.  -   cursor: default;
  4685. 196.  - }
  4686. 197.  - .flist_full .flist_cell:hover {
  4687. 198.  -   background: #FFFFFF;
  4688. 199.  - }
  4689. 200.  - .flist_more {
  4690. 201.  -   padding: 10px;
  4691. 202.  -   text-align: center;
  4692. 203.  -   cursor: pointer;
  4693. 204.  -   margin-bottom: 10px;
  4694. 205.  -   display: block;
  4695. 206.  - }
  4696. 207.  - .flist_more:hover {
  4697. 208.  -   background: #EDF1F5;
  4698. 209.  -   text-decoration: none;
  4699. 210.  - }
  4700. 211.  - .flist_info {
  4701. 212.  -   padding: 65px 30px;
  4702. 213.  -   color: #777777;
  4703. 214.  -   text-align: center;
  4704. 215.  -   font-size: 1.18em;
  4705. 216.  - }
  4706. 217.  - #flist_search_reset {
  4707. 218.  -   margin: 1px 0px 0px 505px;
  4708. 219.  -   display: none;
  4709. 220.  -   cursor: pointer;
  4710. 221.  -   background: transparent url(/images/icons/input_clear.gif) 6px 6px no-repeat;
  4711. 222.  -   padding: 2px;
  4712. 223.  -   width: 19px;
  4713. 224.  -   height: 19px;
  4714. 225.  -   opacity: 0.6;
  4715. 226.  -   filter: alpha(opacity=60);
  4716. 227.  -   position: absolute;
  4717. 228.  -   z-index: 95;
  4718. 229.  - }
  4719. 230.  - .flist_max_size_tt {
  4720. 231.  -   width: 200px;
  4721. 232.  - }
  4722. 233.  - .flist_info_tt {
  4723. 234.  -   width: 199px;
  4724. 235.  - }
  4725. 236.  - .flist_info_text {
  4726. 237.  -   color: #000000;
  4727. 238.  -   padding: 5px;
  4728. 239.  - }
  4729. 240.  - .flist_info_text b {
  4730. 241.  -   display: block;
  4731. 242.  -   margin-bottom: 8px;
  4732. 243.  - }
  4733. 244.  - .flist_tt_tail_wrap {
  4734. 245.  -   position: absolute;
  4735. 246.  -   top: 48px;
  4736. 247.  -   left: 198px;
  4737. 248.  -   z-index: 2001;
  4738. 249.  - }
  4739. 250.  - .flist_tt_tail {
  4740. 251.  -   width: 8px;
  4741. 252.  -   height: 11px;
  4742. 253.  -   background: url(/images/ddtooltip.png) -8px 0 no-repeat;
  4743. 254.  - }
  4744. 255.  - #flist_helper {
  4745. 256.  -   position: absolute;
  4746. 257.  -   margin-left: -200px;
  4747. 258.  -   margin-top: -43px;
  4748. 259.  -   opacity: 0;
  4749. 260.  -   filter: alpha(opacity=0);
  4750. 261.  - /*  display: none;*/
  4751. 262.  - }
  4752. 263.  -
  4753. 264.  -
  4754. 265.  - /* Drop down */
  4755. 266.  - #privacy_dropdown {
  4756. 267.  -   z-index: 1100;
  4757. 268.  -   cursor: pointer;
  4758. 269.  - }
  4759. 270.  - #privacy_dropdown .top_sh {
  4760. 271.  -   display: none;
  4761. 272.  - }
  4762. 273.  - #privacy_dropdown .to_up .top_sh {
  4763. 274.  -   display: table-row;
  4764. 275.  - }
  4765. 276.  - * html #privacy_dropdown .to_up .top_sh {
  4766. 277.  -   display: block;
  4767. 278.  - }
  4768. 279.  - #privacy_dropdown .to_up .bottom_sh {
  4769. 280.  -   display: none;
  4770. 281.  - }
  4771. 282.  - #privacy_dropdown .side {
  4772. 283.  -   background: #000;
  4773. 284.  -   opacity: 0.1;
  4774. 285.  -   filter: alpha(opacity=10);
  4775. 286.  - }
  4776. 287.  - #privacy_dropdown .side div {
  4777. 288.  -   width: 1px;
  4778. 289.  - }
  4779. 290.  - #privacy_dropdown .bottom, #privacy_dropdown .bottom2 {
  4780. 291.  -   background: #000;
  4781. 292.  -   height: 1px;
  4782. 293.  -   overflow: hidden;
  4783. 294.  -   position: relative;
  4784. 295.  -   opacity: 0.1;
  4785. 296.  -   filter: alpha(opacity=10);
  4786. 297.  - }
  4787. 298.  - #privacy_dropdown .bottom2 {
  4788. 299.  -   height: 1px;
  4789. 300.  -   opacity: 0.05;
  4790. 301.  -   filter: alpha(opacity=5);
  4791. 302.  - }
  4792. 303.  - #privacy_dropdown .header {
  4793. 304.  -   background: #EEF2F6;
  4794. 305.  -   border: solid #96AABE;
  4795. 306.  -   border-width: 1px 1px 0px;
  4796. 307.  - }
  4797. 308.  - #privacy_dropdown .header div {
  4798. 309.  -   padding: 1px 21px 3px 4px;
  4799. 310.  -   background: #EEF2F6 url(/images/flydead.gif?1) no-repeat 100% 2px;
  4800. 311.  -   border: 1px solid #EEF2F6;
  4801. 312.  -   color: #2C587D;
  4802. 313.  - }
  4803. 314.  - #privacy_dropdown .to_up .header {
  4804. 315.  -   border-width: 0px 1px 1px;
  4805. 316.  - }
  4806. 317.  - #privacy_dropdown .to_up .header div {
  4807. 318.  -   background-position: 100% -75px;
  4808. 319.  - }
  4809. 320.  - #privacy_dropdown .body {
  4810. 321.  -   background: #FFF;
  4811. 322.  -   border: solid #96AABE;
  4812. 323.  -   border-width: 0px 1px 1px;
  4813. 324.  - }
  4814. 325.  - #privacy_dropdown .to_up .body {
  4815. 326.  -   border-width: 1px 1px 0px;
  4816. 327.  - }
  4817. 328.  - #privacy_dropdown .item, #privacy_dropdown .item_sel, #privacy_dropdown .item_sel_plus {
  4818. 329.  -   padding: 2px 21px 4px 5px;
  4819. 330.  -   background: #FFF;
  4820. 331.  -   color: #2C587D;
  4821. 332.  -   overflow: hidden;
  4822. 333.  - }
  4823. 334.  - #privacy_dropdown .item_sel, #privacy_dropdown .item_sel_plus {
  4824. 335.  -   padding: 1px 21px 3px 5px;
  4825. 336.  -   background: #5e82a8;
  4826. 337.  -   border: 1px solid #476D96;
  4827. 338.  -   color: #FFF;
  4828. 339.  -   margin: 0px -1px;
  4829. 340.  - }
  4830. 341.  - #privacy_dropdown .last.item_sel, #privacy_dropdown .last.item_sel_plus {
  4831. 342.  -   border-bottom-color: #7C9ABA;
  4832. 343.  - }
  4833. 344.  - #privacy_dropdown .item_sel_plus {
  4834. 345.  -   background: #5e82a8 url(/images/flydead.gif?1) no-repeat 100% -32px;
  4835. 346.  - }
  4836. 347.  - #privacy_dropdown .l_header {
  4837. 348.  -   border: 1px solid #517295;
  4838. 349.  -   border-bottom-color: #5C82AB;
  4839. 350.  -   margin: -19px -1px 0px;
  4840. 351.  - }
  4841. 352.  - #privacy_dropdown .to_up .l_header {
  4842. 353.  -   margin: 0px -1px -19px;
  4843. 354.  - }
  4844. 355.  - #privacy_dropdown #privacy_lists {
  4845. 356.  -   position: relative;
  4846. 357.  - }
  4847. 358.  - #privacy_dropdown .l_header div {
  4848. 359.  -   padding: 0px 16px 3px 4px;
  4849. 360.  -   background: #5e82a8 url(/images/flydead.gif?1) no-repeat 100% -16px;
  4850. 361.  -   border: 1px solid #5e82a8;
  4851. 362.  -   border-bottom: 0px;
  4852. 363.  -   color: #FFF;
  4853. 364.  - }
  4854. 365.  - #privacy_dropdown .to_up .l_header div {
  4855. 366.  -   background-position: 100% -58px;
  4856. 367.  - }
  4857. 368.  - #privacy_dropdown .l_item, #privacy_dropdown .l_item_sel {
  4858. 369.  -   padding: 3px 3px 3px 22px;
  4859. 370.  -   background: #FFF;
  4860. 371.  -   color: #2C587D;
  4861. 372.  - }
  4862. 373.  - #privacy_dropdown .l_item_sel {
  4863. 374.  -   background: #FFF url(/images/dropdead_check.gif) no-repeat 4px 2px;
  4864. 375.  - }
  4865. 376.  - #privacy_dropdown .l_item:hover, #privacy_dropdown .l_item_sel:hover {
  4866. 377.  -   background-color: #EEF2F6;
  4867. 378.  - }
  4868. 379.  -
  4869. 380.  - #privacy_custom_box .show_to {
  4870. 381.  -   padding: 3px 0px;
  4871. 382.  - }
  4872. 383.  - #privacy_custom_box .header_mionus_friends {
  4873. 384.  -   margin: 15px 0px 5px;
  4874. 385.  - }
  4875. 386.  - #privacy_custom_box .dropdown_wrap {
  4876. 387.  -   padding: 5px 0px;
  4877. 388.  - }
  4878. 389.  - #privacy_custom_box h4 {
  4879. 390.  -   border-bottom: 1px solid #DAE2E8;
  4880. 391.  -   margin: 5px 0px;
  4881. 392.  -   padding: 0px 0px 1px;
  4882. 393.  - }
  4883. 394.  - #privacy_custom_box .plus_friends, #privacy_custom_box .minus_friends {
  4884. 395.  -   padding: 0px 0px 0px 20px;
  4885. 396.  - }
  4886. 397.  - #privacy_custom_box .plus_friends {
  4887. 398.  -   background: url(/images/plus.gif) no-repeat 0px -3px;
  4888. 399.  - }
  4889. 400.  - #privacy_custom_box .minus_friends {
  4890. 401.  -   background: url(/images/minus.gif) no-repeat 0px -1px;
  4891. 402.  - }
  4892. 403.  -
  4893. 404.  - #privacy_helper {
  4894. 405.  - /*  position: absolute; */
  4895. 406.  -   z-index: 1100;
  4896. 407.  -   display: none;
  4897. 408.  - }
  4898. 409.  - .priv_h_top_sh {
  4899. 410.  -   display: none;
  4900. 411.  - }
  4901. 412.  - .to_up .priv_h_top_sh {
  4902. 413.  -   display: table-row;
  4903. 414.  - }
  4904. 415.  - * html .to_up .priv_h_top_sh {
  4905. 416.  -   display: block;
  4906. 417.  - }
  4907. 418.  - .to_up .priv_h_bottom_sh {
  4908. 419.  -   display: none;
  4909. 420.  - }
  4910. 421.  - .priv_h_bottom {
  4911. 422.  -   background: #000;
  4912. 423.  -   height: 1px;
  4913. 424.  -   overflow: hidden;
  4914. 425.  -   opacity: 0.1;
  4915. 426.  -   filter: alpha(opacity=10);
  4916. 427.  - }
  4917. 428.  - .priv_h_bottom2 {
  4918. 429.  -   background: #000;
  4919. 430.  -   height: 1px;
  4920. 431.  -   overflow: hidden;
  4921. 432.  -   opacity: 0.05;
  4922. 433.  -   filter: alpha(opacity=5);
  4923. 434.  - }
  4924. 435.  - .priv_h_side_td {
  4925. 436.  -   background: #000;
  4926. 437.  -   opacity: 0.1;
  4927. 438.  -   filter: alpha(opacity=10);
  4928. 439.  - }
  4929. 440.  - .priv_h_side_td2 {
  4930. 441.  -   background: #000;
  4931. 442.  -   opacity: 0.05;
  4932. 443.  -   filter: alpha(opacity=5);
  4933. 444.  - }
  4934. 445.  - .priv_h_side {
  4935. 446.  -   width: 1px;
  4936. 447.  - }
  4937. 448.  - .priv_h_arrow_td {
  4938. 449.  -   vertical-align: middle;
  4939. 450.  - }
  4940. 451.  - .priv_h_arrow {
  4941. 452.  -   left: 3px;
  4942. 453.  -   width: 8px;
  4943. 454.  -   height: 11px;
  4944. 455.  -   position: relative;
  4945. 456.  -   overflow: hidden;
  4946. 457.  -   z-index: 10;
  4947. 458.  - }
  4948. 459.  - .priv_h_arrow_l {
  4949. 460.  -   left: -3px;
  4950. 461.  -   width: 8px;
  4951. 462.  -   height: 11px;
  4952. 463.  -   position: relative;
  4953. 464.  -   overflow: hidden;
  4954. 465.  -   z-index: 10;
  4955. 466.  - }
  4956. 467.  - .priv_h_arrow_l .priv_h_arrow_img {
  4957. 468.  -   margin-left: -8px;
  4958. 469.  - }
  4959. 470.  - .priv_h_rows {
  4960. 471.  -   width: 242px;
  4961. 472.  -   background: #FFF;
  4962. 473.  -   border: 1px solid #AEBDCC;
  4963. 474.  -   padding: 10px;
  4964. 475.  - }
  4965. 476.  -
  4966. 477.  - /* scrollbars */
  4967. 478.  - .scrollbar_cont {
  4968. 479.  -   width: 9px;
  4969. 480.  -   height: 100%;
  4970. 481.  -   margin-top: 0px;
  4971. 482.  -   position: absolute;
  4972. 483.  -   background: rgba(200, 200, 200, 0);
  4973. 484.  -   -webkit-transition: all 150ms linear;
  4974. 485.  -   -moz-transition: all 150ms linear;
  4975. 486.  -   -o-transition: all 150ms linear;
  4976. 487.  -   transition: all 150ms linear;
  4977. 488.  -   z-index: 1000;
  4978. 489.  -   cursor: pointer;
  4979. 490.  - }
  4980. 491.  - .scrollbar_cont.scrollbar_c_overed {
  4981. 492.  -   background: rgba(235, 235, 245, 0.4);
  4982. 493.  -   width: 11px;
  4983. 494.  - }
  4984. 495.  - .scrollbar_inner {
  4985. 496.  -   background: #DAE1E8;
  4986. 497.  -   width: 6px;
  4987. 498.  -   height: 26px;
  4988. 499.  -   margin-left: 1px;
  4989. 500.  -   -webkit-border-radius: 3px;
  4990. 501.  -   -moz-border-radius: 3px;
  4991. 502.  -   border-radius: 3px;
  4992. 503.  -   cursor: pointer;
  4993. 504.  -   -webkit-transition: width 150ms linear, background-color 200ms linear;
  4994. 505.  -   -moz-transition: width 150ms linear,  background-color 200ms linear;
  4995. 506.  -   -o-transition: width 150ms linear,  background-color 200ms linear;
  4996. 507.  -   transition: width 150ms linear,  background-color 200ms linear;
  4997. 508.  - }
  4998. 509.  - .scrollbar_c_overed .scrollbar_inner {
  4999. 510.  -   width: 8px;
  5000. 511.  -   -webkit-border-radius: 4px;
  5001. 512.  -   -moz-border-radius: 4px;
  5002. 513.  -   border-radius: 4px;
  5003. 514.  - }
  5004. 515.  - .scrollbar_inner:hover,
  5005. 516.  - .scrollbar_hovered {
  5006. 517.  -   background: #BEC8D3;
  5007. 518.  - }
  5008. 519.  - .scrollbar_top {
  5009. 520.  -   position: absolute;
  5010. 521.  -   height: 3px;
  5011. 522.  -   margin-top: -1px;
  5012. 523.  -   background: #555555;
  5013. 524.  -   opacity: 0.12;
  5014. 525.  -   filter: alpha(opacity=12);
  5015. 526.  -   display: none;
  5016. 527.  - }
  5017. 528.  - .scrollbar_bottom {
  5018. 529.  -   position: absolute;
  5019. 530.  -   height: 3px;
  5020. 531.  -   margin-top: -2px;
  5021. 532.  -   background: #555555;
  5022. 533.  -   opacity: 0.12;
  5023. 534.  -   filter: alpha(opacity=12);
  5024. 535.  - }
  5025. 536.  -
  5026. 537.  - /* New friends list */
  5027. 538.  - #box_layer .privacy_olist {
  5028. 539.  -   overflow: auto;
  5029. 540.  -   overflow-y: scroll;
  5030. 541.  -   overflow-x: hidden;
  5031. 542.  - }
  5032. 543.  - .olist_item_wrap,
  5033. 544.  - .olist_item_wrap_over,
  5034. 545.  - .olist_item_wrap_on {
  5035. 546.  -   display: block;
  5036. 547.  -   line-height: 0;
  5037. 548.  -   border: 1px solid #FFF;
  5038. 549.  -   margin: 3px 5px 0 5px;
  5039. 550.  -   zoom: 1;
  5040. 551.  - }
  5041. 552.  - .olist_item_wrap_over {
  5042. 553.  -   background: #E1E8ED;
  5043. 554.  -   border-color: #E1E8ED #E1E8ED #F4F4F4 #E1E8ED;
  5044. 555.  - }
  5045. 556.  - a.olist_item_wrap:hover,
  5046. 557.  - a.olist_item_wrap_over:hover,
  5047. 558.  - a.olist_item_wrap_on:hover {
  5048. 559.  -   text-decoration: none ! important;
  5049. 560.  - }
  5050. 561.  - .olist_item_wrap_on {
  5051. 562.  -   background: #6C8CAC;
  5052. 563.  -   border-color: #537698;
  5053. 564.  - }
  5054. 565.  - .olist_item_wrap_on .olist_checkbox,
  5055. 566.  - .olist_item_wrap_over .olist_checkbox {
  5056. 567.  -   display: block;
  5057. 568.  -   width: 18px;
  5058. 569.  -   height: 16px;
  5059. 570.  -   margin: 13px 5px;
  5060. 571.  -   background: url(/images/icons/check_follow.gif) 0 0 no-repeat;
  5061. 572.  - }
  5062. 573.  - .olist_item_wrap_over .olist_checkbox {
  5063. 574.  -   background-position: 0 -16px;
  5064. 575.  - }
  5065. 576.  - .olist_item {
  5066. 577.  -   height: 42px;
  5067. 578.  -   padding: 4px;
  5068. 579.  - }
  5069. 580.  - span.olist_item_photo {
  5070. 581.  -   display: block;
  5071. 582.  -   border: 1px solid #FFF;
  5072. 583.  - }
  5073. 584.  - .olist_item_wrap_over span.olist_item_photo {
  5074. 585.  -   border-color: #E1E8ED;
  5075. 586.  - }
  5076. 587.  - .olist_item_wrap_on span.olist_item_photo {
  5077. 588.  -   border-color: #537698;
  5078. 589.  - }
  5079. 590.  - img.olist_item_photo {
  5080. 591.  -   display: block;
  5081. 592.  -   overflow: hidden;
  5082. 593.  -   height: 40px;
  5083. 594.  -   width: 40px;
  5084. 595.  - }
  5085. 596.  - .olist_ignored .olist_item {
  5086. 597.  -   position: relative;
  5087. 598.  - }
  5088. 599.  - .olist_item_name,
  5089. 600.  - .olist_item_over_label,
  5090. 601.  - .olist_item_on_label {
  5091. 602.  -   white-space: nowrap;
  5092. 603.  -   line-height: 40px;
  5093. 604.  -   -o-text-overflow: ellipsis;
  5094. 605.  -   text-overflow: ellipsis;
  5095. 606.  - }
  5096. 607.  - .olist_item_over_label,
  5097. 608.  - .olist_item_on_label {
  5098. 609.  -   position: absolute;
  5099. 610.  -   margin: 1px 7px;
  5100. 611.  -   right: 4px;
  5101. 612.  -   top: 4px;
  5102. 613.  -   display: none;
  5103. 614.  -   color: #FFF;
  5104. 615.  - }
  5105. 616.  - .olist_item_name {
  5106. 617.  -   display: block;
  5107. 618.  -   font-weight: bold;
  5108. 619.  -   color: #2D5979;
  5109. 620.  -   overflow: hidden;
  5110. 621.  -   width: 200px;
  5111. 622.  -   height: 40px;
  5112. 623.  -   margin: 1px 10px;
  5113. 624.  - }
  5114. 625.  -
  5115. 626.  - .olist_item_wrap_on .olist_item_name {
  5116. 627.  -   color: #FFF;
  5117. 628.  - }
  5118. 629.  - .olist_item_wrap_over .olist_item_over_label {
  5119. 630.  -   display: block;
  5120. 631.  -   color: #2D5979;
  5121. 632.  - }
  5122. 633.  - .olist_item_wrap_on .olist_item_on_label {
  5123. 634.  -   display: block;
  5124. 635.  - }
  5125. 636.  - .olist_item_loading .olist_item_on_label,
  5126. 637.  - .olist_item_loading .olist_item_over_label {
  5127. 638.  -   display: none;
  5128. 639.  - }
  5129. 640.  - .olist_ignored {
  5130. 641.  -   padding-top: 5px;
  5131. 642.  - }
  5132. 643.  - .olist_ignored .olist_checkbox {
  5133. 644.  -   display: none;
  5134. 645.  - }
  5135. 646.  - .olist_item_loading .olist_item {
  5136. 647.  -   background-image: url(/images/upload.gif);
  5137. 648.  -   background-position: 98% 50%;
  5138. 649.  -   background-repeat: no-repeat;
  5139. 650.  - }
  5140. 651.  - .olist_item_wrap_on.olist_item_loading .olist_item {
  5141. 652.  -   background-image: url(/images/upload_inv.gif);
  5142. 653.  - }
  5143. 654.  -
  5144. 655.  - .olist_item_wrap em,
  5145. 656.  - .olist_item_wrap_on em,
  5146. 657.  - .olist_item_wrap_over em {
  5147. 658.  -   background-color: #D8DFEA;
  5148. 659.  -   font-style: normal;
  5149. 660.  -   font-weight: bold;
  5150. 661.  -   text-decoration: inherit;
  5151. 662.  - }
  5152. 663.  -
  5153. 664.  - .olist_item_wrap_on em {
  5154. 665.  -   background-color: #2F5C86;
  5155. 666.  - }
  5156. 667.  -
  5157. 668.  - .olist_item_wrap_over em {
  5158. 669.  -   background-color: #C0C7D2;
  5159. 670.  - }
  5160. 671.  -
  5161. 672.  - .olist_empty {
  5162. 673.  -   background-color: #FFF;
  5163. 674.  -   color: #777777;
  5164. 675.  -   font-size: 13px;
  5165. 676.  -   text-align: center;
  5166. 677.  -   padding: 103px 0px 90px 0px;
  5167. 678.  -   margin: 10px 10px 12px 10px;
  5168. 679.  -   overflow: hidden;
  5169. 680.  -   text-overflow: ellipsis;
  5170. 681.  - }
  5171. 682.  - .olist_actions {
  5172. 683.  -   padding: 12px 10px;
  5173. 684.  - }
  5174. 685.  - .olist_filter_wrap {
  5175. 686.  -   padding: 10px;
  5176. 687.  -   background: #F7F7F7;
  5177. 688.  - }
  5178. 689.  - .olist_actions .olist_filter_wrap {
  5179. 690.  -   padding: 0;
  5180. 691.  -   background: none;
  5181. 692.  - }
  5182. 693.  - input.olist_filter {
  5183. 694.  -   margin: 0;
  5184. 695.  -   padding: 5px 4px 4px 20px;
  5185. 696.  -   height: 14px;
  5186. 697.  -   width: 143px;
  5187. 698.  -   line-height: 1.27em;
  5188. 699.  -   background: #FFF url(/images/magglass.png) no-repeat 5px 6px;
  5189. 700.  -   outline: none;
  5190. 701.  - }
  5191. 702.  - .olist_actions .olist_filter {
  5192. 703.  -   border-left-width: 0;
  5193. 704.  -   width: 143px;
  5194. 705.  - }
  5195. 706.  - .olist_reposts_toggler {
  5196. 707.  -   padding: 6px 0 0 10px;
  5197. 708.  - }
  5198. 709.  - .olist_actions .olist_reposts_toggler {
  5199. 710.  -   display: none;
  5200. 711.  - }
  5201. 712.  - #olist_all,
  5202. 713.  - #olist_unsorted,
  5203. 714.  - #olist_selected,
  5204. 715.  - #olist_unselected {
  5205. 716.  -   color: #A6B5C6;
  5206. 717.  -   padding-left: 4px;
  5207. 718.  - }
  5208. 719.  - .summary_tab_sel #olist_all,
  5209. 720.  - .summary_tab_sel #olist_unsorted,
  5210. 721.  - .summary_tab_sel #olist_selected,
  5211. 722.  - .summary_tab_sel #olist_unselected {
  5212. 723.  -   color: #FFF;
  5213. 724.  - }
  5214. 725.  - #olist_blacklisted {
  5215. 726.  -   color: #A6B5C6;
  5216. 727.  -   font-weight: bold;
  5217. 728.  -   padding-left: 4px;
  5218. 729.  - }
  5219. 730.  -
  5220. 731.  - div.olist_select_wrap .button_blue {
  5221. 732.  -   vertical-align: top;
  5222. 733.  - }
  5223. 734.  - div.olist_select_wrap button {
  5224. 735.  -   width: 42px;
  5225. 736.  -   height: 25px;
  5226. 737.  -   line-height: 6px;
  5227. 738.  -   -webkit-border-bottom-right-radius: 0;
  5228. 739.  -   -webkit-border-top-right-radius: 0;
  5229. 740.  -   -khtml-border-bottom-right-radius: 0;
  5230. 741.  -   -khtml-border-top-right-radius: 0;
  5231. 742.  -   -moz-border-bottom-right-radius: 0;
  5232. 743.  -   -moz-border-top-right-radius: 0;
  5233. 744.  -   border-bottom-right-radius: 0;
  5234. 745.  -   border-top-right-radius: 0;
  5235. 746.  - }
  5236. 747.  - div.olist_select_wrap img {
  5237. 748.  -   position: relative;
  5238. 749.  -   top: -1px;
  5239. 750.  - }
  5240. 751.  - .olist_dd_over {
  5241. 752.  -   display: inline-block;
  5242. 753.  -   *display: inline;
  5243. 754.  -   zoom: 1;
  5244. 755.  -   background: url(/images/darr_dd_over.gif) no-repeat;
  5245. 756.  -   width: 7px;
  5246. 757.  -   height: 4px;
  5247. 758.  -   position: relative;
  5248. 759.  -   top: -1px;
  5249. 760.  - }
  5250. 761.  - .olist_ignored_actions {
  5251. 762.  -   display: none;
  5252. 763.  - }
  5253. 764.  - .dd_menu_olist_act .dd_menu_header {
  5254. 765.  -   -webkit-border-radius: 2px 0 0 2px;
  5255. 766.  -   -khtml-border-radius: 2px 0 0 2px;
  5256. 767.  -   -moz-border-radius: 2px 0 0 2px;
  5257. 768.  -   border-radius: 2px 0 0 2px;
  5258. 769.  - }
  5259. 770.  - .dd_menu_olist_act .dd_menu_header div {
  5260. 771.  -   border-color: #6D8FB3;
  5261. 772.  -   width: 37px;
  5262. 773.  -   text-align: center;
  5263. 774.  -   height: 11px;
  5264. 775.  -   line-height: 6px;
  5265. 776.  -   background-image: none;
  5266. 777.  -   padding: 7px 1px 3px 0px;
  5267. 778.  -   margin: 0;
  5268. 779.  - }
  5269. 780.  - .dd_menu_olist_act .dd_menu_header .olist_dd_over {
  5270. 781.  -   margin-top: 2px;
  5271. 782.  - }
  5272. 783.  -
  5273. 784.  - a.olist_more {
  5274. 785.  -   padding: 10px 0px;
  5275. 786.  -   text-align: center;
  5276. 787.  -   border-top: 1px solid #DAE1E8;
  5277. 788.  -   margin: 5px 5px 0;
  5278. 789.  -   display: block;
  5279. 790.  - }
  5280. 791.  - a.olist_more:hover {
  5281. 792.  -   text-decoration: none;
  5282. 793.  -   background: #E9EDF1;
  5283. 794.  - }
  5284. 795.  - a.olist_controls_ignored {
  5285. 796.  -   padding: 3px 0;
  5286. 797.  -   color: #45688E;
  5287. 798.  -   font-weight: bold;
  5288. 799.  - }
  5289. 800.  - a.olist_controls_ignored:hover {
  5290. 801.  -   text-decoration: none;
  5291. 802.  - }
  5292. ------
  5293. Файл - widget_comments.css (Старый размер - 32370 | Новый - 0):
  5294. 0.  - #widget_comments_css {
  5295. 1.  -   display: none;
  5296. 2.  - }
  5297. 3.  -
  5298. 4.  -
  5299. 5.  - /* Global wall styles (from page.css) */
  5300. 6.  - .wide_column {
  5301. 7.  -   padding-bottom: 10px;
  5302. 8.  -   width: 397px;
  5303. 9.  - }
  5304. 10.  -
  5305. 11.  - .narrow_column {
  5306. 12.  -   padding-bottom: 10px;
  5307. 13.  -   width: 200px;
  5308. 14.  - }
  5309. 15.  -
  5310. 16.  - .wall_module .more_link {
  5311. 17.  -   display: none;
  5312. 18.  -   padding: 8px 0px;
  5313. 19.  -   text-align: center;
  5314. 20.  -   border-top: 1px solid #DAE1E8;
  5315. 21.  -   margin-bottom: 10px;
  5316. 22.  - }
  5317. 23.  - .wall_module .module_header span.fl_r {
  5318. 24.  -   color: #2B587A;
  5319. 25.  - }
  5320. 26.  - .wall_module .module_header span.fl_r:hover {
  5321. 27.  -   text-decoration: underline;
  5322. 28.  - }
  5323. 29.  - .wall_module #page_wall_posts_count {
  5324. 30.  -   color: #99ADC2;
  5325. 31.  -   font-weight: bold;
  5326. 32.  -   padding: 0px 5px;
  5327. 33.  - }
  5328. 34.  - .wall_module #page_wall_posts_count:hover {
  5329. 35.  -   text-decoration: underline;
  5330. 36.  - }
  5331. 37.  - .wall_module .more_link:hover {
  5332. 38.  -   text-decoration: none;
  5333. 39.  -   background: #E9EDF1;
  5334. 40.  - }
  5335. 41.  - .wall_module .more_link .progress {
  5336. 42.  -   margin: 0px auto;
  5337. 43.  - }
  5338. 44.  - .wall_module .more_link div {
  5339. 45.  -   height: 13px;
  5340. 46.  - }
  5341. 47.  - .wall_module .ext_video img {
  5342. 48.  -   width: 120px;
  5343. 49.  -   height: 90px;
  5344. 50.  - }
  5345. 51.  - div.wall_module .ext_video div {
  5346. 52.  -   width: 120px;
  5347. 53.  -   margin-top: 75px;
  5348. 54.  - }
  5349. 55.  - .wall_module .video div {
  5350. 56.  -   bottom: 5px;
  5351. 57.  -   right: 0px;
  5352. 58.  -   position: absolute;
  5353. 59.  -   font-size: 0.9em;
  5354. 60.  -   z-index: 10;
  5355. 61.  - }
  5356. 62.  - .wall_module .video div span.bg {
  5357. 63.  -   background: #000;
  5358. 64.  -   color: #000;
  5359. 65.  -   opacity: 0.6;
  5360. 66.  -   filter: alpha(opacity=60);
  5361. 67.  - }
  5362. 68.  - .wall_module .video div span {
  5363. 69.  -   color: #FFF;
  5364. 70.  -   padding: 0px 3px 1px;
  5365. 71.  - }
  5366. 72.  -
  5367. 73.  - /* Posts */
  5368. 74.  - .wall_module .post {
  5369. 75.  -   padding: 3px 0;
  5370. 76.  -   border-top: 1px solid #DAE1E8;
  5371. 77.  -   *position: relative;
  5372. 78.  - }
  5373. 79.  - .wall_module .post:first-child {
  5374. 80.  -   border-top: none;
  5375. 81.  - }
  5376. 82.  - /* Actions */
  5377. 83.  - .wall_module .delete_post_wrap {
  5378. 84.  -   position: relative;
  5379. 85.  -   z-index: 10;
  5380. 86.  - }
  5381. 87.  - .wall_module .delete_post {
  5382. 88.  -   height: 13px;
  5383. 89.  -   width: 17px;
  5384. 90.  -   padding-top: 4px;
  5385. 91.  - }
  5386. 92.  - .wall_module .delete_post div {
  5387. 93.  -   background: url(/images/pics/statusx_op.gif) no-repeat;
  5388. 94.  -   opacity: 0;
  5389. 95.  -   filter: alpha(opacity=0);
  5390. 96.  -   cursor: pointer;
  5391. 97.  -   height: 17px;
  5392. 98.  -   width: 17px;
  5393. 99.  - }
  5394. 100.  -
  5395. 101.  - .wall_module .post_actions_wrap,
  5396. 102.  - .wall_module .reply_actions_wrap {
  5397. 103.  -   position: relative;
  5398. 104.  -   z-index: 10;
  5399. 105.  - }
  5400. 106.  - .wall_module .post_actions,
  5401. 107.  - .wall_module .reply_actions {
  5402. 108.  -   height: 11px;
  5403. 109.  -   width: 32px;
  5404. 110.  -   padding-top: 4px;
  5405. 111.  -   position: absolute;
  5406. 112.  -   right: 0;
  5407. 113.  - }
  5408. 114.  - .wall_module .post_delete_button,
  5409. 115.  - .wall_module .post_edit_button,
  5410. 116.  - .wall_module .reply_delete_button,
  5411. 117.  - .wall_module .reply_edit_button {
  5412. 118.  -   background: url(/images/pics/statusx_op.gif) 0 0 no-repeat;
  5413. 119.  -   opacity: 0;
  5414. 120.  -   filter: alpha(opacity=0);
  5415. 121.  -   cursor: pointer;
  5416. 122.  -   height: 11px;
  5417. 123.  -   width: 11px;
  5418. 124.  -   margin-left: 5px;
  5419. 125.  - }
  5420. 126.  - .wall_module .reply_edit_button,
  5421. 127.  - .wall_module .post_edit_button {
  5422. 128.  -   display: none;
  5423. 129.  -   background-image: url(/images/pics/statusedit.gif);
  5424. 130.  - }
  5425. 131.  -
  5426. 132.  -
  5427. 133.  - .wall_module div.post_image {
  5428. 134.  -   position: absolute;
  5429. 135.  -   *left: 0;
  5430. 136.  -   padding: 5px 0;
  5431. 137.  -   width: 50px;
  5432. 138.  - }
  5433. 139.  - .wall_module a.post_image {
  5434. 140.  -   width: 50px;
  5435. 141.  -   height: 50px;
  5436. 142.  -   display: block;
  5437. 143.  - }
  5438. 144.  - #wcomments_page .wall_module .post_info {
  5439. 145.  -   margin-left: 65px;
  5440. 146.  -   padding: 0 0 2px;
  5441. 147.  -   *position: relative;
  5442. 148.  -   width: auto;
  5443. 149.  - }
  5444. 150.  - .wall_module .dld {
  5445. 151.  -   color: #777;
  5446. 152.  -   padding: 5px 60px 8px;
  5447. 153.  - }
  5448. 154.  - .wall_module .reply .dld {
  5449. 155.  -   padding: 11px 4px 12px 41px;
  5450. 156.  - }
  5451. 157.  - .wide_wall_module .reply .dld {
  5452. 158.  -   padding: 11px 4px 12px 64px;
  5453. 159.  - }
  5454. 160.  - .wall_module .author {
  5455. 161.  -   font-weight: bold;
  5456. 162.  -   line-height: 140%;
  5457. 163.  - }
  5458. 164.  - .wall_module .published_by_wrap {
  5459. 165.  -   margin: 7px 0 5px;
  5460. 166.  - }
  5461. 167.  - .wall_module a.published_by_photo {
  5462. 168.  -   display: block;
  5463. 169.  -   width: 30px;
  5464. 170.  -   height: 30px;
  5465. 171.  -   margin-right: 8px;
  5466. 172.  - }
  5467. 173.  - .wall_module .published_by {
  5468. 174.  -   padding-left: 12px;
  5469. 175.  -   background: url(/images/icons/published.gif) no-repeat 0px 3px;
  5470. 176.  -   font-weight: bold;
  5471. 177.  - }
  5472. 178.  - .wall_module div.published_by_date {
  5473. 179.  -   padding-top: 4px;
  5474. 180.  - }
  5475. 181.  - .wall_module .published_by_date, .wall_module .wall_post_source {
  5476. 182.  -   color: #777;
  5477. 183.  - }
  5478. 184.  -
  5479. 185.  - #submit_post_box_wrap {
  5480. 186.  -   padding: 10px;
  5481. 187.  -   background: #F7F7F7;
  5482. 188.  - }
  5483. 189.  - .wall_module #submit_post_box {
  5484. 190.  -   padding: 8px;
  5485. 191.  -   background: #F7F7F7;
  5486. 192.  -   border-top: 1px solid #d8dfe5;
  5487. 193.  - }
  5488. 194.  - .wall_module #submit_post_box textarea {
  5489. 195.  -   overflow: hidden;
  5490. 196.  -   outline: none;
  5491. 197.  -   width: 372px;
  5492. 198.  -   height: 14px;
  5493. 199.  -   resize: none;
  5494. 200.  - }
  5495. 201.  - .wall_module #submit_post {
  5496. 202.  -   display: none;
  5497. 203.  -   padding-top: 8px;
  5498. 204.  - }
  5499. 205.  - .wall_module #submit_post .progress.fl_r {
  5500. 206.  -   margin: 6px 8px 0px;
  5501. 207.  - }
  5502. 208.  - .wall_module #submit_post .checkbox,
  5503. 209.  - .wall_module #submit_post .checkbox_pic {
  5504. 210.  -   margin: 6px 0 0px 10px;
  5505. 211.  - }
  5506. 212.  - .wall_module td {
  5507. 213.  -   vertical-align: top;
  5508. 214.  - }
  5509. 215.  - .wall_module .online {
  5510. 216.  -   display: block;
  5511. 217.  -   width: 50px;
  5512. 218.  -   text-align: center;
  5513. 219.  -   padding-top: 5px;
  5514. 220.  -   color: #AAA;
  5515. 221.  - }
  5516. 222.  -
  5517. 223.  - .wall_post_over .wall_post_text,
  5518. 224.  - .wall_post_over .post_media,
  5519. 225.  - .wall_post_over .explain,
  5520. 226.  - .wall_post_over .group_share,
  5521. 227.  - .wall_post_over .public_share,
  5522. 228.  - .wall_post_over .event_share {
  5523. 229.  -   cursor: pointer;
  5524. 230.  - }
  5525. 231.  -
  5526. 232.  - .wall_post_text,
  5527. 233.  - .wall_reply_text {
  5528. 234.  -   padding-top: 2px;
  5529. 235.  -   line-height: 130%;
  5530. 236.  - }
  5531. 237.  - .wall_post_text {
  5532. 238.  -   overflow: hidden;
  5533. 239.  -   word-wrap: break-word;
  5534. 240.  - }
  5535. 241.  - .wall_post_more,
  5536. 242.  - .wall_reply_more,
  5537. 243.  - .wall_module .reply_show_whole {
  5538. 244.  -   position: relative;
  5539. 245.  -   top: 2px;
  5540. 246.  -   font-weight: bold;
  5541. 247.  -   color: #91A4B8;
  5542. 248.  -   -webkit-transition: color 200ms linear;
  5543. 249.  -   -moz-transition: color 200ms linear;
  5544. 250.  -   -o-transition: color 200ms linear;
  5545. 251.  -   transition: color 200ms linear;
  5546. 252.  - }
  5547. 253.  - .wall_post_text:hover .wall_post_more,
  5548. 254.  - .wall_reply_text:hover .wall_reply_more,
  5549. 255.  - .wall_post_more:hover, .wall_reply_more:hover {
  5550. 256.  -   color: #45688E;
  5551. 257.  -   text-decoration: none;
  5552. 258.  - }
  5553. 259.  - #wcomments_page .wall_text {
  5554. 260.  -   width: auto;
  5555. 261.  -   padding: 5px 0px 0px;
  5556. 262.  -   position: relative;
  5557. 263.  -   margin: 0px;
  5558. 264.  - }
  5559. 265.  - .wall_text .explain {
  5560. 266.  -   color: #777;
  5561. 267.  -   line-height: 140%;
  5562. 268.  - }
  5563. 269.  - .wall_module .audio .info {
  5564. 270.  -   padding: 2px;
  5565. 271.  -   width: 100%;
  5566. 272.  - }
  5567. 273.  -
  5568. 274.  - /* Likes */
  5569. 275.  - .wall_module .like_wrap {
  5570. 276.  -   margin: 4px 1px 8px;
  5571. 277.  -   color: #2F5879;
  5572. 278.  -   font-size: 0.9em;
  5573. 279.  -   cursor: pointer;
  5574. 280.  - }
  5575. 281.  - .wall_module .reply .like_wrap {
  5576. 282.  -   margin: 0 1px 0 0;
  5577. 283.  - }
  5578. 284.  - .fw_reply .like_wrap {
  5579. 285.  -   margin: 0 1px 0 0;
  5580. 286.  -   color: #2F5879;
  5581. 287.  -   font-size: 1em;
  5582. 288.  -   cursor: pointer;
  5583. 289.  - }
  5584. 290.  - .wall_module .like_link, .wall_module .no_likes {
  5585. 291.  -   visibility: hidden;
  5586. 292.  -   opacity: 0;
  5587. 293.  -   filter: alpha(opacity=0);
  5588. 294.  - }
  5589. 295.  - .wall_module .reply .like_link, .fw_reply .like_link {
  5590. 296.  -   cursor: pointer;
  5591. 297.  -   color: #2F5879;
  5592. 298.  -   visibility: visible;
  5593. 299.  -   opacity: 1;
  5594. 300.  -   filter: none;
  5595. 301.  - }
  5596. 302.  -
  5597. 303.  - .wall_module .one .like_link {
  5598. 304.  -   visibility: visible;
  5599. 305.  -   opacity: 1;
  5600. 306.  -   filter: none;
  5601. 307.  - }
  5602. 308.  - .wall_module .one .no_likes {
  5603. 309.  -   visibility: visible;
  5604. 310.  - }
  5605. 311.  - .wall_module .like_wrap i {
  5606. 312.  -   display: block;
  5607. 313.  -   background: url(/images/icons/like.gif?1) no-repeat 1px 0px;
  5608. 314.  -   height: 10px;
  5609. 315.  -   margin: 3px 3px 0px;
  5610. 316.  -   opacity: 0.4;
  5611. 317.  -   filter: alpha(opacity=40);
  5612. 318.  -   width: 11px;
  5613. 319.  - }
  5614. 320.  -
  5615. 321.  - .wall_module .like_wrap i.my_like,
  5616. 322.  - .fw_reply .like_wrap i.my_like {
  5617. 323.  -   opacity: 1;
  5618. 324.  -   filter: none;
  5619. 325.  - }
  5620. 326.  - .wall_module .like_wrap i.no_likes {
  5621. 327.  -   margin-right: 0px;
  5622. 328.  - }
  5623. 329.  - .wall_module .like_count, .fw_reply .like_count {
  5624. 330.  -   font-weight: bold;
  5625. 331.  -   color: #7295b2;
  5626. 332.  -   margin-right: 3px;
  5627. 333.  - }
  5628. 334.  - .wall_module .fw_like_count {
  5629. 335.  -   color: #7295b2;
  5630. 336.  -   font-weight: bold;
  5631. 337.  - }
  5632. 338.  -
  5633. 339.  - /* Replies */
  5634. 340.  - .wall_module .reply_link_wrap {
  5635. 341.  -   padding-top: 4px;
  5636. 342.  -   padding-bottom: 8px;
  5637. 343.  -   font-size: 0.9em;
  5638. 344.  - }
  5639. 345.  - .wall_module .reply_link_wrap small, .wall_module .reply_link_wrap small a {
  5640. 346.  -   color: #999;
  5641. 347.  -   font-size: 1em;
  5642. 348.  - }
  5643. 349.  -
  5644. 350.  - /* Replies header link */
  5645. 351.  - .wrh_text {
  5646. 352.  -   text-align: center;
  5647. 353.  - }
  5648. 354.  - .wrh_prg {
  5649. 355.  -   margin: 0px auto;
  5650. 356.  - }
  5651. 357.  - .wr_header {
  5652. 358.  -   display: block;
  5653. 359.  -   cursor: pointer;
  5654. 360.  -   color: #6A7989;
  5655. 361.  -   background: #E9EDF1;
  5656. 362.  -   height: 13px;
  5657. 363.  -   padding: 9px 0px 8px;
  5658. 364.  - }
  5659. 365.  - .wr_header:hover {
  5660. 366.  -   text-decoration: none;
  5661. 367.  - }
  5662. 368.  - .wrh_all {
  5663. 369.  -   background: #FFF;
  5664. 370.  -   color: #777;
  5665. 371.  - }
  5666. 372.  - .wrh_all:hover {
  5667. 373.  -   background: #E9EDF1;
  5668. 374.  -   color: #6A7989;
  5669. 375.  - }
  5670. 376.  - .wd_lnk {
  5671. 377.  -   color: #999;
  5672. 378.  - }
  5673. 379.  - .wall_module .replies_wrap {
  5674. 380.  -   padding-top: 2px;
  5675. 381.  -   margin-bottom: 6px;
  5676. 382.  -   position: relative;
  5677. 383.  - }
  5678. 384.  - /* Reply */
  5679. 385.  - .wall_module .reply {
  5680. 386.  -   background: #FFF;
  5681. 387.  -   border-top: 1px solid #E9EDF1;
  5682. 388.  -   padding: 6px 0px;
  5683. 389.  -   position: relative;
  5684. 390.  - }
  5685. 391.  - .wall_module .reply .delete_post {
  5686. 392.  -   padding-top: 2px;
  5687. 393.  - }
  5688. 394.  - .wall_module a.reply_image {
  5689. 395.  -   width: 32px;
  5690. 396.  -   height: 32px;
  5691. 397.  -   margin: 2px 0;
  5692. 398.  -   display: block;
  5693. 399.  -   overflow: hidden;
  5694. 400.  -   position: absolute;
  5695. 401.  -   *left: 0;
  5696. 402.  - }
  5697. 403.  - .wall_module img.reply_image {
  5698. 404.  -   width: 32px;
  5699. 405.  -   height: 32px;
  5700. 406.  - }
  5701. 407.  - .wall_module .reply .author {
  5702. 408.  -   padding-right: 3px;
  5703. 409.  -   font-weight: normal;
  5704. 410.  - }
  5705. 411.  - .wall_module .reply_text {
  5706. 412.  -   word-wrap: break-word;
  5707. 413.  -   overflow: hidden;
  5708. 414.  -   max-width: 293px;
  5709. 415.  - }
  5710. 416.  - .wall_module .reply_info {
  5711. 417.  -   margin-left: 39px;
  5712. 418.  -   *position: relative;
  5713. 419.  - }
  5714. 420.  - .wall_module .info_footer {
  5715. 421.  -   font-size: 0.9em;
  5716. 422.  -   color: #999;
  5717. 423.  -   padding: 4px 0 0;
  5718. 424.  - }
  5719. 425.  - .wall_module .reply_to {
  5720. 426.  -   color: #999;
  5721. 427.  - }
  5722. 428.  - /* Reply form */
  5723. 429.  - .wall_module .reply_fakebox_wrap {
  5724. 430.  -   background: #F1F1F1;
  5725. 431.  -   padding: 6px;
  5726. 432.  - }
  5727. 433.  - .wall_module .reply_fakebox {
  5728. 434.  -   cursor: text;
  5729. 435.  -   background: white;
  5730. 436.  -   border: 1px solid #C0CAD5;
  5731. 437.  -   padding: 3px 5px;
  5732. 438.  -   color: #777;
  5733. 439.  - }
  5734. 440.  - .reply_field_wrap {
  5735. 441.  -   padding: 3px;
  5736. 442.  -   background: #FFF;
  5737. 443.  -   border: 1px solid #C0CAD5;
  5738. 444.  - }
  5739. 445.  - .reply_field {
  5740. 446.  -   padding: 0;
  5741. 447.  -   border: 0;
  5742. 448.  -   overflow: hidden;
  5743. 449.  -   height: 14px;
  5744. 450.  -   outline: 0;
  5745. 451.  -   margin: 0px;
  5746. 452.  -   width: 100%;
  5747. 453.  -   resize: none;
  5748. 454.  -   height: 14px;
  5749. 455.  - }
  5750. 456.  - .reply_field_tail {
  5751. 457.  -   display: none;
  5752. 458.  -   width: 5px;
  5753. 459.  -   height: 9px;
  5754. 460.  -   background: url(/images/icons/feedback_iconset.gif?4) 0 -155px no-repeat;
  5755. 461.  -   position: absolute;
  5756. 462.  -   margin-left: -8px;
  5757. 463.  -   margin-top: 8px;
  5758. 464.  - }
  5759. 465.  - .wall_module .reply_box {
  5760. 466.  -   background: #F1F1F1;
  5761. 467.  -   padding: 6px;
  5762. 468.  -   *position: relative;
  5763. 469.  -   clear: both;
  5764. 470.  - }
  5765. 471.  - .wall_module a.reply_form_image {
  5766. 472.  -   display: none;
  5767. 473.  -   width: 32px;
  5768. 474.  -   height: 32px;
  5769. 475.  -   overflow: hidden;
  5770. 476.  -   position: absolute;
  5771. 477.  -   *left: 6px;
  5772. 478.  - }
  5773. 479.  - .wall_module .reply_form {
  5774. 480.  -   zoom: 1;
  5775. 481.  - }
  5776. 482.  - .wall_module .reply_form_img {
  5777. 483.  -   width: 32px;
  5778. 484.  -   height: 32px;
  5779. 485.  - }
  5780. 486.  - .wall_module .submit_reply {
  5781. 487.  -   display: none;
  5782. 488.  -   padding-top: 6px;
  5783. 489.  -   height: 25px;
  5784. 490.  - }
  5785. 491.  - .wall_module .reply_as_group_wrap {
  5786. 492.  -   padding: 6px 0 0 5px;
  5787. 493.  -   display: none;
  5788. 494.  - }
  5789. 495.  - .wall_module .reply_as_group_active {
  5790. 496.  -   display: block;
  5791. 497.  - }
  5792. 498.  - .reply_button_wrap {
  5793. 499.  -   padding-right: 5px;
  5794. 500.  -   zoom: 1;
  5795. 501.  -   *position: relative;
  5796. 502.  - }
  5797. 503.  - .wall_module .reply_button_wrap button {
  5798. 504.  -   padding: 3px 14px;
  5799. 505.  - }
  5800. 506.  - .wall_module .reply_box_open .reply_form {
  5801. 507.  -   margin-left: 38px;
  5802. 508.  - }
  5803. 509.  - .wall_module .reply_hint {
  5804. 510.  -   padding: 6px 0 0px 5px;
  5805. 511.  -   overflow: hidden;
  5806. 512.  -   -o-text-overflow: ellipsis;
  5807. 513.  -   text-overflow: ellipsis;
  5808. 514.  -   position: relative;
  5809. 515.  - }
  5810. 516.  - .wall_module .reply_hint_text {
  5811. 517.  -   color: #777;
  5812. 518.  -   cursor: default;
  5813. 519.  -   white-space: nowrap;
  5814. 520.  -   overflow: hidden;
  5815. 521.  -   -o-text-overflow: ellipsis;
  5816. 522.  -   text-overflow: ellipsis;
  5817. 523.  - }
  5818. 524.  - .wall_module .reply_box_open .reply_box {
  5819. 525.  -   margin-left: -6px;
  5820. 526.  - }
  5821. 527.  - .wall_module .reply_to_title {
  5822. 528.  -   display: none;
  5823. 529.  -   padding: 6px 5px 0px;
  5824. 530.  - }
  5825. 531.  -
  5826. 532.  - .reply_multiline_tt_point {
  5827. 533.  -   position: absolute;
  5828. 534.  -   width: 1px;
  5829. 535.  -   height: 1px;
  5830. 536.  - }
  5831. 537.  - .wall_module .reply_box_open .replies_wrap,
  5832. 538.  - .wall_module .reply_box_open .submit_reply,
  5833. 539.  - .wall_module .reply_box_open a.reply_form_image,
  5834. 540.  - .reply_box_open .reply_field_tail {
  5835. 541.  -   display: block;
  5836. 542.  - }
  5837. 543.  - .wall_module .reply_box_open .reply_link {
  5838. 544.  -   display: none;
  5839. 545.  - }
  5840. 546.  - .wall_module #post_warn,
  5841. 547.  - .wall_module .reply_warn {
  5842. 548.  -   display: none;
  5843. 549.  -   padding-top: 5px;
  5844. 550.  -   color: #777;
  5845. 551.  - }
  5846. 552.  - /* Reply submit hint */
  5847. 553.  - .reply_submit_hint_wrap {
  5848. 554.  -   width: 210px;
  5849. 555.  -   height: 110px;
  5850. 556.  -   padding: 8px 5px 8px;
  5851. 557.  - }
  5852. 558.  - .reply_submit_hint_title {
  5853. 559.  -   color: #2A5779;
  5854. 560.  -   font-weight: bold;
  5855. 561.  -   padding-bottom: 2px;
  5856. 562.  - }
  5857. 563.  - #reply_submit_hint_opts .radiobtn {
  5858. 564.  -   color: #000;
  5859. 565.  -   padding-top: 10px;
  5860. 566.  -   padding-bottom: 5px;
  5861. 567.  -   line-height: 160%;
  5862. 568.  - }
  5863. 569.  - #reply_submit_hint_opts .radiobtn div {
  5864. 570.  -   margin: 2px 5px 6px 0;
  5865. 571.  - }
  5866. 572.  -
  5867. 573.  -
  5868. 574.  -
  5869. 575.  -
  5870. 576.  - .wall_module #post_warn,
  5871. 577.  - .wall_module .reply_warn {
  5872. 578.  -   display: none;
  5873. 579.  -   padding-top: 5px;
  5874. 580.  -   color: #777;
  5875. 581.  - }
  5876. 582.  - .wall_module .post_media {
  5877. 583.  -   padding-top: 7px;
  5878. 584.  - }
  5879. 585.  - .wall_module .graffiti img {
  5880. 586.  -   width: 200px;
  5881. 587.  -   height: 100px;
  5882. 588.  - }
  5883. 589.  - .wall_module .photo img {
  5884. 590.  -   vertical-align: top;
  5885. 591.  -   max-height: 150px;
  5886. 592.  -   overflow: hidden;
  5887. 593.  - }
  5888. 594.  - span.post_video_title {
  5889. 595.  -   font-weight: bold;
  5890. 596.  - }
  5891. 597.  - span.post_video_duration {
  5892. 598.  -   font-weight: bold;
  5893. 599.  -   color: #000;
  5894. 600.  - }
  5895. 601.  - .wall_module .video {
  5896. 602.  -   display: block;
  5897. 603.  -   position: relative;
  5898. 604.  - }
  5899. 605.  - .wall_module .video:hover {
  5900. 606.  -   text-decoration: none;
  5901. 607.  - }
  5902. 608.  - .wall_module .app img.icon {
  5903. 609.  -   padding: 4px 5px 0px 0px;
  5904. 610.  -   vertical-align: bottom;
  5905. 611.  - }
  5906. 612.  - .wall_module .app img.thumb {
  5907. 613.  -   max-width: 75px;
  5908. 614.  -   max-height: 75px;
  5909. 615.  -   margin: 3px 6px 3px 0px;
  5910. 616.  -   vertical-align: middle;
  5911. 617.  - }
  5912. 618.  - .wall_module .mention_rich_ta {
  5913. 619.  -   background: #FFF;
  5914. 620.  -   padding: 3px;
  5915. 621.  -   border: 1px solid #C0CAD5;
  5916. 622.  -   outline: none;
  5917. 623.  -   overflow-x: hidden;
  5918. 624.  -   line-height: normal;
  5919. 625.  - }
  5920. 626.  - .wall_module .mini_editor_cont {
  5921. 627.  -   display: none;
  5922. 628.  -   position: relative;
  5923. 629.  -   z-index: 102;
  5924. 630.  - }
  5925. 631.  - .wall_module .mention_rich_ta a {
  5926. 632.  -   color: #2B587A !important;
  5927. 633.  -   cursor: text !important;
  5928. 634.  -   text-decoration: none !important;
  5929. 635.  - }
  5930. 636.  - .wall_module .mention_rich_ta p {
  5931. 637.  -   font-family: tahoma, verdana, arial, sans-serif, Lucida Sans;
  5932. 638.  -   font-size: 1em;
  5933. 639.  -   padding:0px;
  5934. 640.  -   margin: 0;
  5935. 641.  -   line-height: normal;
  5936. 642.  - }
  5937. 643.  - .wall_module .mini_editor_cont .selector_container .result_list {
  5938. 644.  -   display: none;
  5939. 645.  - }
  5940. 646.  - #wcomments_form #page_add_media {
  5941. 647.  -   padding: 6px 20px 0;
  5942. 648.  - }
  5943. 649.  - #page_no_wall {
  5944. 650.  -   padding: 15px;
  5945. 651.  -   border-top: 1px solid #CCD3DA;
  5946. 652.  -   font-size: 1.09em;
  5947. 653.  -   color: #777;
  5948. 654.  -   text-align: center;
  5949. 655.  - }
  5950. 656.  -
  5951. 657.  - .add_media_rows {
  5952. 658.  -   -webkit-border-radius: 2px;
  5953. 659.  -   -khtml-border-radius: 2px;
  5954. 660.  -   -moz-border-radius: 2px;
  5955. 661.  -   border-radius: 2px;
  5956. 662.  -   -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.35);
  5957. 663.  -   -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.35);
  5958. 664.  -   box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.35);
  5959. 665.  -   background: #FFF;
  5960. 666.  -   border: 1px solid #B2BDCA;
  5961. 667.  -   position: static;
  5962. 668.  -   margin: 0px -20px;
  5963. 669.  - }
  5964. 670.  - .add_media_head {
  5965. 671.  -   background: #EDF1F5;
  5966. 672.  -   padding: 7px 27px;
  5967. 673.  -   color: #2B587A;
  5968. 674.  - }
  5969. 675.  - .add_media_menu {
  5970. 676.  -   /* position: absolute; is in js*/
  5971. 677.  -   display: none;
  5972. 678.  -   cursor: default;
  5973. 679.  -   z-index: 1005;
  5974. 680.  - }
  5975. 681.  - .add_media_item {
  5976. 682.  -   padding: 6px 10px 2px 27px;
  5977. 683.  -   display: block;
  5978. 684.  -   height: 18px;
  5979. 685.  -   position: relative;
  5980. 686.  -   background: #FFF no-repeat;
  5981. 687.  - }
  5982. 688.  - .add_media_item:last-child,
  5983. 689.  - .add_media_head:last-child,
  5984. 690.  - .add_media_more_wrap a.add_media_more {
  5985. 691.  -   -webkit-border-radius: 0px 0px 2px 2px;
  5986. 692.  -   -khtml-border-radius: 0px 0px 2px 2px;
  5987. 693.  -   -moz-border-radius: 0px 0px 2px 2px;
  5988. 694.  -   border-radius: 0px 0px 2px 2px;
  5989. 695.  - }
  5990. 696.  - .add_media_item:first-child,
  5991. 697.  - .add_media_head:first-child,
  5992. 698.  - .add_media_rev .add_media_more_wrap a.add_media_more {
  5993. 699.  -   -webkit-border-radius: 2px 2px 0px 0px;
  5994. 700.  -   -khtml-border-radius: 2px 2px 0px 0px;
  5995. 701.  -   -moz-border-radius: 2px 2px 0px 0px;
  5996. 702.  -   border-radius: 2px 2px 0px 0px;
  5997. 703.  - }
  5998. 704.  - .add_media_item:hover {
  5999. 705.  -   text-decoration: none;
  6000. 706.  -   background-color: #e1e7ed;
  6001. 707.  - }
  6002. 708.  - .add_media_menu .rows {
  6003. 709.  -   margin: 0px;
  6004. 710.  -   position: relative;
  6005. 711.  -   *position: static;
  6006. 712.  -   z-index: 1006;
  6007. 713.  - }
  6008. 714.  - .media_preview {
  6009. 715.  -   margin-bottom: 8px;
  6010. 716.  -   display: none;
  6011. 717.  - }
  6012. 718.  - .media_preview .audio {
  6013. 719.  -   padding-top: 4px;
  6014. 720.  - }
  6015. 721.  -
  6016. 722.  - .media_preview .x {
  6017. 723.  -   cursor: pointer;
  6018. 724.  -   margin: 4px 5px 0px;
  6019. 725.  -   background: url(/images/pics/statusx_op.gif) no-repeat 0 0;
  6020. 726.  -   opacity: 0.6;
  6021. 727.  -   filter: alpha(opacity=60);
  6022. 728.  -   height: 11px;
  6023. 729.  -   width: 11px;
  6024. 730.  - }
  6025. 731.  - .media_preview .x:hover {
  6026. 732.  -   opacity: 1;
  6027. 733.  -   filter: none;
  6028. 734.  - }
  6029. 735.  - .media_preview .graffiti {
  6030. 736.  -   width: 100px;
  6031. 737.  -   height: 50px;
  6032. 738.  - }
  6033. 739.  - .media_preview .audio img,
  6034. 740.  - .media_preview .app img {
  6035. 741.  -   padding-top: 3px;
  6036. 742.  - }
  6037. 743.  - .media_preview .audio span,
  6038. 744.  - .media_preview .app span {
  6039. 745.  -   padding: 0px 6px;
  6040. 746.  -   position: relative;
  6041. 747.  -   top: -1px;
  6042. 748.  - }
  6043. 749.  - .media_audio_icon {
  6044. 750.  -   float: left;
  6045. 751.  -   background: url(/images/icons/mono_iconset.gif?8) no-repeat 0 -222px;
  6046. 752.  -   width: 11px;
  6047. 753.  -   height: 11px;
  6048. 754.  -   margin: 0px 3px;
  6049. 755.  - }
  6050. 756.  - .media_preview .share, .media_preview .poll {
  6051. 757.  -   padding-top: 3px;
  6052. 758.  -   color: #555;
  6053. 759.  - }
  6054. 760.  - .media_preview .share b, .media_preview .poll b, .media_desc b {
  6055. 761.  -   width: 15px;
  6056. 762.  -   height: 10px;
  6057. 763.  -   margin-top: 2px;
  6058. 764.  -   background: url(/images/icons/mono_iconset.gif?8) no-repeat left -237px;
  6059. 765.  - }
  6060. 766.  - .media_desc b.topic {
  6061. 767.  -   background: url(/images/icons/mono_iconset.gif?8) no-repeat 0 -90px;
  6062. 768.  - }
  6063. 769.  - .media_desc b.group {
  6064. 770.  -   background: url(/images/icons/mono_iconset.gif?8) no-repeat 0 -45px;
  6065. 771.  -   height: 12px;
  6066. 772.  - }
  6067. 773.  - .media_preview .poll b {
  6068. 774.  -   background-position: left -208px;
  6069. 775.  - }
  6070. 776.  - .share_preview .content, .poll_preview .content {
  6071. 777.  -   background: #FFF;
  6072. 778.  -   padding: 5px;
  6073. 779.  -   border: 1px solid #C0CAD5;
  6074. 780.  - }
  6075. 781.  - .share_preview .progress {
  6076. 782.  -   display: block;
  6077. 783.  -   margin: 0px auto;
  6078. 784.  - }
  6079. 785.  - .share_preview img {
  6080. 786.  -   padding: 5px 10px 5px 5px;
  6081. 787.  - }
  6082. 788.  - .share_preview .header {
  6083. 789.  -   margin: 0px;
  6084. 790.  -   padding: 5px;
  6085. 791.  -   border: 0px;
  6086. 792.  -   font-size: 1em;
  6087. 793.  - }
  6088. 794.  - .share_preview .descr {
  6089. 795.  -   padding: 0px 5px 5px;
  6090. 796.  - }
  6091. 797.  - .share_preview .bottom_pointer, .poll_preview .bottom_pointer {
  6092. 798.  -   background: url(/images/tooltip_arrow_down_w.gif) no-repeat 0px 0px;
  6093. 799.  -   width: 11px;
  6094. 800.  -   height: 7px;
  6095. 801.  -   position: relative;
  6096. 802.  -   top: -2px;
  6097. 803.  -   margin: 0px 50px 1px;
  6098. 804.  -   overflow: hidden;
  6099. 805.  - }
  6100. 806.  - .poll_preview .content {
  6101. 807.  -   overflow: hidden;
  6102. 808.  -   padding: 10px 10px 2px;
  6103. 809.  - }
  6104. 810.  - .poll_preview .label {
  6105. 811.  -   width: 100px;
  6106. 812.  -   padding: 4px 10px 0px;
  6107. 813.  -   color: #777;
  6108. 814.  - }
  6109. 815.  - .poll_preview .labeled {
  6110. 816.  -   width: 239px;
  6111. 817.  - }
  6112. 818.  - .poll span span {
  6113. 819.  -   color: #2B587A;
  6114. 820.  - }
  6115. 821.  - .poll_preview input {
  6116. 822.  -   margin-bottom: 8px;
  6117. 823.  -   position: relative;
  6118. 824.  -   width: 231px;
  6119. 825.  - }
  6120. 826.  - .poll_preview nobr {
  6121. 827.  -   font-size: 0.9em;
  6122. 828.  -   text-transform: lowercase;
  6123. 829.  - }
  6124. 830.  - .poll_preview a.disabled {
  6125. 831.  -   cursor: default;
  6126. 832.  -   color: #777;
  6127. 833.  - }
  6128. 834.  - .poll_preview a.disabled:hover {
  6129. 835.  -   text-decoration: none;
  6130. 836.  - }
  6131. 837.  - .media_desc {
  6132. 838.  -   padding: 5px 0px 1px;
  6133. 839.  - }
  6134. 840.  - .wall_module .post_media .media_desc {
  6135. 841.  -   padding-top: 8px;
  6136. 842.  -   clear: both;
  6137. 843.  - }
  6138. 844.  - .media_desc .lnk {
  6139. 845.  -   color: #777;
  6140. 846.  -   cursor: pointer;
  6141. 847.  - }
  6142. 848.  - .media_desc .lnk:hover {
  6143. 849.  -   text-decoration: none;
  6144. 850.  - }
  6145. 851.  - .media_desc .a {
  6146. 852.  -   color: #2b587a;
  6147. 853.  - }
  6148. 854.  - .media_desc .lnk:hover .a {
  6149. 855.  -   text-decoration: underline;
  6150. 856.  - }
  6151. 857.  - .media_desc .comment {
  6152. 858.  -   background-position: 0px -194px;
  6153. 859.  - }
  6154. 860.  - .media_desc .note {
  6155. 861.  -   background-position: 0px -150px;
  6156. 862.  - }
  6157. 863.  - .media_desc .poll {
  6158. 864.  -   background-position: 0px -208px;
  6159. 865.  - }
  6160. 866.  - .media_desc .app {
  6161. 867.  -   background-position: 0px -60px;
  6162. 868.  - }
  6163. 869.  - .media_desc .checkin {
  6164. 870.  -   background-position: 0px -165px;
  6165. 871.  - }
  6166. 872.  - .media_desc .donation {
  6167. 873.  -   background-position: 0px -179px;
  6168. 874.  - }
  6169. 875.  -
  6170. 876.  - a.wall_reply_greeting {
  6171. 877.  -   color: #000;
  6172. 878.  - }
  6173. 879.  -
  6174. 880.  - /* Thumbed links */
  6175. 881.  - .wall_module .page_media_thumbed_link {
  6176. 882.  -   margin: 5px 0 5px 3px;
  6177. 883.  -   border-left: 2px solid #C3D1E0;
  6178. 884.  -   padding-left: 5px;
  6179. 885.  - }
  6180. 886.  - .wall_module td.page_media_link_thumb {
  6181. 887.  -   cursor: pointer;
  6182. 888.  -   background-position: 50% 50%;
  6183. 889.  -   background-repeat: no-repeat;
  6184. 890.  - }
  6185. 891.  - .wall_module a.page_media_link_thumb {
  6186. 892.  -   display: block;
  6187. 893.  -   width: 100px;
  6188. 894.  -   overflow: hidden;
  6189. 895.  -   line-height: 0;
  6190. 896.  -   min-height: 63px;
  6191. 897.  -   height: 100%;
  6192. 898.  - }
  6193. 899.  - .wall_module a.page_media_link_thumb:hover {
  6194. 900.  -   text-decoration: none;
  6195. 901.  - }
  6196. 902.  - .wall_module div.page_media_link_desc_wrap {
  6197. 903.  -   padding-left: 10px;
  6198. 904.  -   line-height: 140%;
  6199. 905.  -   min-height: 63px;
  6200. 906.  -   max-height: 79px;
  6201. 907.  -   overflow: hidden;
  6202. 908.  -   -o-text-overflow: ellipsis;
  6203. 909.  -   text-overflow: ellipsis;
  6204. 910.  - }
  6205. 911.  - .wall_module a.page_media_link_title {
  6206. 912.  -   font-weight: bold;
  6207. 913.  - }
  6208. 914.  - .wall_module div.page_media_link_desc {
  6209. 915.  -   padding-top: 3px;
  6210. 916.  - }
  6211. 917.  -
  6212. 918.  - /* global wall styles end */
  6213. 919.  -
  6214. 920.  -
  6215. 921.  -
  6216. 922.  - /* Widget styles */
  6217. 923.  - .wcomments_head {
  6218. 924.  -   background: #DAE2E8;
  6219. 925.  -   padding: 4px 4px 4px 6px;
  6220. 926.  - }
  6221. 927.  - .wcomments_head_icon {
  6222. 928.  -   height: 16px;
  6223. 929.  -   width: 16px;
  6224. 930.  -   overflow: hidden;
  6225. 931.  - }
  6226. 932.  - #wcomments_count {
  6227. 933.  -   padding: 2px 3px 1px;
  6228. 934.  -   line-height: 100%;
  6229. 935.  -   color: #45688E;
  6230. 936.  -   font-weight: bold;
  6231. 937.  - }
  6232. 938.  - #wcomments_admin_link_wrap, #wcomments_refresh_link_wrap {
  6233. 939.  -   padding: 2px 5px 1px;
  6234. 940.  -   line-height: 100%;
  6235. 941.  - }
  6236. 942.  - #wcomments_admin_link, #wcomments_refresh_link {
  6237. 943.  -   font-weight: bold;
  6238. 944.  -   color: #A9B8CB;
  6239. 945.  - }
  6240. 946.  - #wcomments_user_link_wrap {
  6241. 947.  -   padding: 2px 0 0;
  6242. 948.  -   line-height: 100%;
  6243. 949.  - }
  6244. 950.  - .wcomments_userpic_wrap,
  6245. 951.  - .wcommens_input_wrap {
  6246. 952.  -   vertical-align: top;
  6247. 953.  - }
  6248. 954.  -
  6249. 955.  - td.wcomments_userpic_wrap {
  6250. 956.  -   width: 60px;
  6251. 957.  - }
  6252. 958.  - div.wcomments_userpic {
  6253. 959.  -   width: 60px;
  6254. 960.  -   height: 50px;
  6255. 961.  -   overflow: hidden;
  6256. 962.  - }
  6257. 963.  - img.wcomments_userpic {
  6258. 964.  -   width: 50px;
  6259. 965.  - }
  6260. 966.  -
  6261. 967.  - .wcomments_input {
  6262. 968.  -   background: #FFF;
  6263. 969.  -   border: 1px solid #C0CAD5;
  6264. 970.  -   padding: 0 3px;
  6265. 971.  - }
  6266. 972.  - .wcomments_input .input_back {
  6267. 973.  -   margin-top: -0px !important;
  6268. 974.  - }
  6269. 975.  - #post_field {
  6270. 976.  -   height: 56px;
  6271. 977.  -   border: 0;
  6272. 978.  -   padding: 3px 0;
  6273. 979.  -   width: 100%;
  6274. 980.  -   outline: 0;
  6275. 981.  -   overflow: hidden;
  6276. 982.  -   resize: vertical;
  6277. 983.  - }
  6278. 984.  - .mention_rich_ta {
  6279. 985.  -   padding: 3px 0;
  6280. 986.  -   outline: 0;
  6281. 987.  - }
  6282. 988.  -
  6283. 989.  - #submit_post {
  6284. 990.  -   padding-top: 10px;
  6285. 991.  -   padding-left: 60px;
  6286. 992.  - }
  6287. 993.  - #submit_post_box .submit_post_nopadding {
  6288. 994.  -   padding-left: 0;
  6289. 995.  - }
  6290. 996.  - #page_post_progress {
  6291. 997.  -   padding: 6px 10px;
  6292. 998.  -   background-position: 50% 50%;
  6293. 999.  - }
  6294. 1000.  - .wcomments_input .selector_container .results_container {
  6295. 1001.  -   margin: 1px -4px 0;
  6296. 1002.  - }
  6297. 1003.  - .wcomments_input .selector_container .result_list_shadow,
  6298. 1004.  - .wcomments_input .selector_container .result_list {
  6299. 1005.  -   display: none;
  6300. 1006.  - }
  6301. 1007.  - #wcomments_export {
  6302. 1008.  -   margin: 6px 0 0 10px;
  6303. 1009.  -   width: 190px;
  6304. 1010.  - }
  6305. 1011.  - .font_medium #wcomments_export {
  6306. 1012.  -   width: 220px;
  6307. 1013.  - }
  6308. 1014.  -
  6309. 1015.  - #wcomments_posts .wcomments_post {
  6310. 1016.  -   padding: 5px 10px;
  6311. 1017.  - }
  6312. 1018.  -
  6313. 1019.  - #wcomments_more_link {
  6314. 1020.  -   padding: 10px 0px;
  6315. 1021.  -   text-align: center;
  6316. 1022.  -   border-top: 1px solid #DAE1E8;
  6317. 1023.  -   display: block;
  6318. 1024.  -   height: 13px;
  6319. 1025.  - }
  6320. 1026.  - #wcomments_more_link:hover {
  6321. 1027.  -   text-decoration: none;
  6322. 1028.  -   background: #E9EDF1;
  6323. 1029.  - }
  6324. 1030.  - #wcomments_more_progress {
  6325. 1031.  -   margin: 0 auto;
  6326. 1032.  - }
  6327. 1033.  - #wcomments_posts_wrap {
  6328. 1034.  -   position: relative;
  6329. 1035.  - }
  6330. 1036.  -
  6331. 1037.  -
  6332. 1038.  - .wcomments_delete_all_buttons {
  6333. 1039.  -   padding-top: 10px;
  6334. 1040.  - }
  6335. 1041.  - .wcomments_delete_all {
  6336. 1042.  -   margin-right: 10px;
  6337. 1043.  - }
  6338. 1044.  -
  6339. 1045.  - /* Admin tabs */
  6340. 1046.  - #wcomments_admin_nav {
  6341. 1047.  -   display: none;
  6342. 1048.  - }
  6343. 1049.  - .wcomments_tabs {
  6344. 1050.  -   background: #F7F7F7;
  6345. 1051.  -   padding: 10px;
  6346. 1052.  - }
  6347. 1053.  - .wcomments_admins_wrap {
  6348. 1054.  -   padding: 5px 0;
  6349. 1055.  - }
  6350. 1056.  - .wcomments_tab, .wcomments_tab_selected, .wcomments_tab_over {
  6351. 1057.  -   cursor: pointer;
  6352. 1058.  -   padding: 2px 5px 2px 0px;
  6353. 1059.  -   float: left;
  6354. 1060.  - }
  6355. 1061.  - .wcomments_tab1 {
  6356. 1062.  -   padding: 3px 6px 4px;
  6357. 1063.  - }
  6358. 1064.  - .wcomments_tab_over .wcomments_tab1 {
  6359. 1065.  -   -moz-border-radius: 2px;
  6360. 1066.  -   -webkit-border-radius: 2px;
  6361. 1067.  -   border-radius: 2px;
  6362. 1068.  -   background-color: #E1E7ED;
  6363. 1069.  - }
  6364. 1070.  - .wcomments_tab_selected .wcomments_tab1 {
  6365. 1071.  -   -moz-border-radius: 2px;
  6366. 1072.  -   -webkit-border-radius: 2px;
  6367. 1073.  -   border-radius: 2px;
  6368. 1074.  -   background-color: #597DA3;
  6369. 1075.  - }
  6370. 1076.  - .wcomments_tab2 {
  6371. 1077.  -   font-weight: bold;
  6372. 1078.  -   color: #45688E;
  6373. 1079.  -   padding-left: 2px;
  6374. 1080.  -   padding-right: 2px;
  6375. 1081.  -   -o-text-overflow: ellipsis;
  6376. 1082.  -   text-overflow: ellipsis;
  6377. 1083.  - }
  6378. 1084.  - .wcomments_tab_selected .wcomments_tab2 {
  6379. 1085.  -   color: #FFF;
  6380. 1086.  - }
  6381. 1087.  - #wcomments_posts {
  6382. 1088.  -   padding: 0;
  6383. 1089.  - }
  6384. 1090.  - .wcomments_posts_loading {
  6385. 1091.  -   border-top: 1px solid #DAE1E8;
  6386. 1092.  -   height: 400px;
  6387. 1093.  -   background: #FFF url(/images/progress7.gif) 50% 50% no-repeat;
  6388. 1094.  - }
  6389. 1095.  -  /* Blacklist */
  6390. 1096.  - .wcomments_bl_row {
  6391. 1097.  -   padding: 10px;
  6392. 1098.  -   height: 25px;
  6393. 1099.  -   overflow: hidden;
  6394. 1100.  -   border-top: 1px solid #DAE2E8;
  6395. 1101.  - }
  6396. 1102.  - img.wcomments_bl_photo {
  6397. 1103.  -   width: 25px;
  6398. 1104.  -   height: 25px;
  6399. 1105.  - }
  6400. 1106.  - .wcomments_bl_name {
  6401. 1107.  -   padding: 5px 0 0 10px;
  6402. 1108.  -   font-weight: bold;
  6403. 1109.  - }
  6404. 1110.  - .wcomments_bl_label {
  6405. 1111.  -   font-weight: normal;
  6406. 1112.  -   color: #777;
  6407. 1113.  -   padding-left: 2px;
  6408. 1114.  -   display: none;
  6409. 1115.  - }
  6410. 1116.  - .wcomments_bl_action {
  6411. 1117.  -   padding-top: 5px;
  6412. 1118.  - }
  6413. 1119.  - .wcomments_empty {
  6414. 1120.  -   border-top: 1px solid #DAE2E8;
  6415. 1121.  -   font-size: 1.09em;
  6416. 1122.  -   padding: 100px 30px;
  6417. 1123.  -   text-align: center;
  6418. 1124.  -   color: #777;
  6419. 1125.  - }
  6420. 1126.  -
  6421. 1127.  - /* scrollbars from widget community */
  6422. 1128.  - .scrollbar_cont {
  6423. 1129.  -   width: 11px;
  6424. 1130.  -   height: 100%;
  6425. 1131.  -   margin-top: 3px;
  6426. 1132.  -   position: absolute;
  6427. 1133.  -   z-index: 1000;
  6428. 1134.  - }
  6429. 1135.  - .scrollbar_inner {
  6430. 1136.  -   background: #000;
  6431. 1137.  -   opacity: 0.5;
  6432. 1138.  -   filter: alpha(opacity=50);
  6433. 1139.  -   /* background: #DAE1E8; */
  6434. 1140.  -   width: 16px;
  6435. 1141.  -   height: 50px;
  6436. 1142.  -   margin-left: -1px;
  6437. 1143.  -   -webkit-border-radius: 2px;
  6438. 1144.  -   -moz-border-radius: 2px;
  6439. 1145.  -   border-radius: 2px;
  6440. 1146.  -   cursor: pointer;
  6441. 1147.  - }
  6442. 1148.  - .scrollbar_inner:hover,
  6443. 1149.  - .scrollbar_hovered {
  6444. 1150.  -   opacity: 0.65;
  6445. 1151.  -   filter: alpha(opacity=65);
  6446. 1152.  -   /* background: #BEC8D3; */
  6447. 1153.  - }
  6448. 1154.  - .scrollbar_top {
  6449. 1155.  -   position: absolute;
  6450. 1156.  -   height: 3px;
  6451. 1157.  -   margin-top: -1px;
  6452. 1158.  -   background: #555555;
  6453. 1159.  -   opacity: 0.12;
  6454. 1160.  -   filter: alpha(opacity=12);
  6455. 1161.  -   display: none;
  6456. 1162.  - }
  6457. 1163.  - .scrollbar_bottom {
  6458. 1164.  -   position: absolute;
  6459. 1165.  -   height: 3px;
  6460. 1166.  -   margin-top: -2px;
  6461. 1167.  -   background: #555555;
  6462. 1168.  -   opacity: 0.12;
  6463. 1169.  -   filter: alpha(opacity=12);
  6464. 1170.  - }
  6465. 1171.  - /* scrollbars end */
  6466. 1172.  -
  6467. 1173.  -
  6468. 1174.  - /* Autoupdate replies */
  6469. 1175.  - .new_reply {
  6470. 1176.  -   display: none;
  6471. 1177.  - }
  6472. 1178.  - .replies_open {
  6473. 1179.  -   color: #2B587A;
  6474. 1180.  -   background: #e9edf1;
  6475. 1181.  -   border: 1px solid #dae1e8;
  6476. 1182.  -   cursor: pointer;
  6477. 1183.  -   padding: 5px;
  6478. 1184.  -   text-align: center;
  6479. 1185.  -   margin: 5px 0;
  6480. 1186.  - }
  6481. 1187.  - .replies_open:hover {
  6482. 1188.  -   background: #dae1e8;
  6483. 1189.  - }
  6484. 1190.  -
  6485. 1191.  -
  6486. 1192.  - /* Wide wall fixes */
  6487. 1193.  - .wide_wall_module .audio .info {
  6488. 1194.  -   padding: 2px;
  6489. 1195.  -   width: 100%;
  6490. 1196.  - }
  6491. 1197.  - .wide_wall_module .post {
  6492. 1198.  -   border-top: 0px;
  6493. 1199.  -   border-bottom: 1px solid #DAE1E8;
  6494. 1200.  -   *position: relative;
  6495. 1201.  - }
  6496. 1202.  - .wide_wall_module .post:last-child {
  6497. 1203.  -   border-bottom: 0px;
  6498. 1204.  - }
  6499. 1205.  - .wide_wall_module .wall_post_text,
  6500. 1206.  - .wide_wall_module .wall_reply_text {
  6501. 1207.  -   line-height: 160%;
  6502. 1208.  - }
  6503. 1209.  - .wide_wall_module .wall_text,
  6504. 1210.  - .wide_wall_module .wall_post_text {
  6505. 1211.  -   max-width: 500px;
  6506. 1212.  - }
  6507. 1213.  - .wide_wall_module a.reply_image {
  6508. 1214.  -   width: 50px;
  6509. 1215.  -   height: 50px;
  6510. 1216.  - }
  6511. 1217.  - .wide_wall_module img.reply_image {
  6512. 1218.  -   width: 50px;
  6513. 1219.  -   height: 50px;
  6514. 1220.  - }
  6515. 1221.  - .wide_wall_module .reply_info {
  6516. 1222.  -   margin-left: 63px;
  6517. 1223.  - }
  6518. 1224.  - .wide_wall_module .reply_text {
  6519. 1225.  -   max-width: 469px;
  6520. 1226.  - }
  6521. 1227.  - .wide_wall_module .reply_box_open .reply_field {
  6522. 1228.  -   height: 42px;
  6523. 1229.  - }
  6524. 1230.  - .wide_wall_module .reply_field_tail {
  6525. 1231.  -   width: 6px;
  6526. 1232.  -   height: 11px;
  6527. 1233.  -   background-position: 0 -154px;
  6528. 1234.  -   margin-left: -9px;
  6529. 1235.  -   margin-top: 16px;
  6530. 1236.  - }
  6531. 1237.  - .wide_wall_module .like_wrap, .wide_wall_module .reply_link_wrap,
  6532. 1238.  - .wide_wall_module .reply_link_wrap small, .wide_wall_module .info_footer {
  6533. 1239.  -   font-size: 1em;
  6534. 1240.  - }
  6535. 1241.  - .wide_wall_module #page_wall_posts .post, .wide_wall_module #page_wall_posts .online {
  6536. 1242.  -   display: block;
  6537. 1243.  - }
  6538. 1244.  - .wide_wall_module .wpe_prg {
  6539. 1245.  -   height: 13px;
  6540. 1246.  -   margin: 0px 10px;
  6541. 1247.  - }
  6542. 1248.  - .wide_wall_module #wpe_text {
  6543. 1249.  -   max-width: 492px;
  6544. 1250.  -   line-height: 1.54em;
  6545. 1251.  - }
  6546. 1252.  - .wide_wall_module .wpe_buttons {
  6547. 1253.  -   max-width: 492px;
  6548. 1254.  - }
  6549. 1255.  - .wide_wall_module #wpe_cont .mention_rich_ta {
  6550. 1256.  -   line-height: 1.54em;
  6551. 1257.  - }
  6552. 1258.  - .wide_wall_module .poll_preview .content, .fw_post_info .poll_preview .content {
  6553. 1259.  -   max-width: 360px;
  6554. 1260.  - }
  6555. 1261.  - .wide_wall_module #wpe_media_preview .poll_preview .labeled, .fw_post_info #wpe_media_preview .poll_preview .labeled {
  6556. 1262.  -   max-width: 239px;
  6557. 1263.  - }
  6558. 1264.  - .wide_wall_module #wpe_media_preview .poll_preview input, .fw_post_info #wpe_media_preview .poll_preview input {
  6559. 1265.  -   max-width: 231px;
  6560. 1266.  - }
  6561. 1267.  - .wide_wall_module .reply {
  6562. 1268.  -   padding: 10px 0px 11px;
  6563. 1269.  - }
  6564. 1270.  - .wide_wall_module a.reply_image,
  6565. 1271.  - .wide_wall_module img.reply_image {
  6566. 1272.  -   width: 50px;
  6567. 1273.  -   height: 50px;
  6568. 1274.  - }
  6569. 1275.  - .wide_wall_module .reply_info {
  6570. 1276.  -   margin-left: 63px;
  6571. 1277.  - }
  6572. 1278.  - .wide_wall_module .reply_button_wrap button {
  6573. 1279.  -   padding: 4px 14px;
  6574. 1280.  - }
  6575. 1281.  - .wide_wall_module .reply_form_img,
  6576. 1282.  - .wide_wall_module a.reply_form_image {
  6577. 1283.  -   width: 50px;
  6578. 1284.  -   height: 50px;
  6579. 1285.  - }
  6580. 1286.  - .wide_wall_module .reply_box_open .reply_form {
  6581. 1287.  -   margin-left: 62px;
  6582. 1288.  - }
  6583. 1289.  -
  6584. 1290.  -
  6585. 1291.  -
  6586. 1292.  - /* New post likes */
  6587. 1293.  - .wall_module .post_like_wrap {
  6588. 1294.  -   position: relative;
  6589. 1295.  -   width: 150px;
  6590. 1296.  - }
  6591. 1297.  - .post_like {
  6592. 1298.  -   background: #FFF;
  6593. 1299.  -   color: #2F5879;
  6594. 1300.  -   font-size: 0.9em;
  6595. 1301.  -   cursor: pointer;
  6596. 1302.  -   padding: 5px 6px;
  6597. 1303.  -   margin-top: -1px;
  6598. 1304.  -   right: 0px;
  6599. 1305.  -   position: absolute;
  6600. 1306.  -   white-space: nowrap;
  6601. 1307.  - }
  6602. 1308.  - .wide_wall_module .post_like {
  6603. 1309.  -   font-size: 1em;
  6604. 1310.  - }
  6605. 1311.  - .post_like_link {
  6606. 1312.  -   opacity: 0.6;
  6607. 1313.  -   filter: alpha(opacity=60);
  6608. 1314.  -   -webkit-transition: opacity 50ms linear;
  6609. 1315.  -   -moz-transition: opacity 50ms linear;
  6610. 1316.  -   transition: opacity 50ms linear;
  6611. 1317.  - }
  6612. 1318.  - .wall_post_over .post_like_link,
  6613. 1319.  - .wall_module .post:hover .post_like_link {
  6614. 1320.  -   opacity: 1;
  6615. 1321.  -   filter: none;
  6616. 1322.  - }
  6617. 1323.  - .wall_module .post_like:hover {
  6618. 1324.  -   background: #E9EDF1;
  6619. 1325.  - }
  6620. 1326.  - .wall_module .post_like:hover {
  6621. 1327.  -
  6622. 1328.  - }
  6623. 1329.  - .wall_module .post_like_icon {
  6624. 1330.  -   background: url(/images/icons/like.gif?1) no-repeat 1px 0px;
  6625. 1331.  -   height: 10px;
  6626. 1332.  -   margin: 2px 3px 0px;
  6627. 1333.  -   opacity: 0.4;
  6628. 1334.  -   filter: alpha(opacity=40);
  6629. 1335.  -   width: 11px;
  6630. 1336.  - }
  6631. 1337.  - .wide_wall_module .post_like_icon {
  6632. 1338.  -   margin-top: 3px;
  6633. 1339.  - }
  6634. 1340.  - .wall_module .post_like_count {
  6635. 1341.  -   font-weight: bold;
  6636. 1342.  -   color: #7295b2;
  6637. 1343.  - }
  6638. 1344.  -
  6639. 1345.  - .wall_module .post_like .no_likes {
  6640. 1346.  -   visibility: visible;
  6641. 1347.  -   opacity: 0.4;
  6642. 1348.  -   filter: alpha(opacity=40);
  6643. 1349.  - }
  6644. 1350.  - .wall_module .post_like i.my_like {
  6645. 1351.  -   opacity: 1;
  6646. 1352.  -   filter: none;
  6647. 1353.  - }
  6648. 1354.  -
  6649. 1355.  - .reply_replieable,
  6650. 1356.  - .reply_moreable {
  6651. 1357.  -   cursor: pointer;
  6652. 1358.  - }
  6653. 1359.  -
  6654. 1360.  -
  6655. 1361.  - /* Inline view video */
  6656. 1362.  - .wide_wall_module .post_thumbs_num1 .page_media_video .video div,
  6657. 1363.  - .wall_module .page_media_full_video .video div {
  6658. 1364.  -   bottom: 10px;
  6659. 1365.  -   font-size: 1em;
  6660. 1366.  - }
  6661. 1367.  - .wall_module .post_thumbs_num1 .page_media_thumb1 {
  6662. 1368.  -   margin: 0;
  6663. 1369.  - }
  6664. 1370.  - .wall_module .page_media_full_video {
  6665. 1371.  -   padding-bottom: 0;
  6666. 1372.  - }
  6667. 1373.  - .wide_wall_module .post_thumbs_num1 .page_media_video,
  6668. 1374.  - .wall_module .page_media_full_video  {
  6669. 1375.  -   max-width: 480px;
  6670. 1376.  -   max-height: 360px;
  6671. 1377.  - }
  6672. 1378.  - .wide_wall_module .post_thumbs_num1 .page_media_video .video img,
  6673. 1379.  - .wall_module .page_media_full_video .video img {
  6674. 1380.  -   max-width: 480px;
  6675. 1381.  -   max-height: 360px;
  6676. 1382.  -   width: 480px;
  6677. 1383.  -   height: 360px;
  6678. 1384.  - }
  6679. 1385.  - .wall_module .page_media_video .video div.video_play_inline,
  6680. 1386.  - .wall_module .page_media_full_video .video div.video_play_inline {
  6681. 1387.  -   left: 137px;
  6682. 1388.  -   top: 97px;
  6683. 1389.  -   bottom: auto;
  6684. 1390.  -   position: absolute;
  6685. 1391.  -   z-index: 10;
  6686. 1392.  -   background: url(/images/inline_video_play.png) no-repeat;
  6687. 1393.  -   width: 46px;
  6688. 1394.  -   height: 46px;
  6689. 1395.  - }
  6690. 1396.  - .wide_wall_module .page_media_video .video div.video_play_inline,
  6691. 1397.  - .wall_module .page_media_full_video .video div.video_play_inline {
  6692. 1398.  -   left: 225px;
  6693. 1399.  -   top: 165px;
  6694. 1400.  - }
  6695. 1401.  - .wide_wall_module .page_media_video .video div.video_play_inline_loading,
  6696. 1402.  - .wall_module .page_media_full_video .video div.video_play_inline_loading {
  6697. 1403.  -   background: url(/images/upload_inv_mono.gif) no-repeat 50% 50%;
  6698. 1404.  -   width: 100px;
  6699. 1405.  -   background-color: #000;
  6700. 1406.  -   background-color: rgba(0, 0, 0, 0.7);
  6701. 1407.  -   *filter: alpha(opacity=70);
  6702. 1408.  -
  6703. 1409.  -   border-radius: 5px;
  6704. 1410.  -   -moz-border-radius: 5px;
  6705. 1411.  -   -khtml-border-radius: 5px;
  6706. 1412.  -   -webkit-border-radius: 5px;
  6707. 1413.  -
  6708. 1414.  -   margin: -2px 0 0 -27px;
  6709. 1415.  - }
  6710. 1416.  - .widget_body .like_tt_clubs {
  6711. 1417.  -   display: none;
  6712. 1418.  - }
  6713. 1419.  -
  6714. 1420.  - .widget_body.bugs .wcomments_head_icon {
  6715. 1421.  -   display: none;
  6716. 1422.  - }
  6717. 1423.  - .widget_body.bugs .wcomments_head {
  6718. 1424.  -   padding: 4px 6px 6px 6px;
  6719. 1425.  - }
  6720. 1426.  -
  6721. 1427.  - #custom_menu_cont {
  6722. 1428.  -   top: 0px;
  6723. 1429.  -   width: 100%;
  6724. 1430.  - }
  6725. 1431.  - #custom_menu_wrap {
  6726. 1432.  -   z-index: 1005;
  6727. 1433.  -   position: absolute;
  6728. 1434.  -   top: 0px;
  6729. 1435.  - }
  6730. 1436.  -
  6731. 1437.  -
  6732. 1438.  - .page_post_sized_thumbs {
  6733. 1439.  -   margin: 9px 0 4px;
  6734. 1440.  - }
  6735. 1441.  - .page_post_sized_full_thumb {
  6736. 1442.  -   margin: 20px 0 10px;
  6737. 1443.  - }
  6738. 1444.  - .page_post_sized_full_thumb_first {
  6739. 1445.  -   margin-top: 10px;
  6740. 1446.  - }
  6741. 1447.  -
  6742. 1448.  - a.page_post_thumb_wrap,
  6743. 1449.  - span.page_post_thumb_wrap {
  6744. 1450.  -   display: block;
  6745. 1451.  -   overflow: hidden;
  6746. 1452.  -   position: relative;
  6747. 1453.  -   margin: 0 3px 3px 0;
  6748. 1454.  - }
  6749. 1455.  - a.page_post_thumb_wrap:hover,
  6750. 1456.  - a.page_post_thumb_unsized:hover {
  6751. 1457.  -   text-decoration: none !important;
  6752. 1458.  - }
  6753. 1459.  - .page_post_thumb_video {
  6754. 1460.  -   position: relative;
  6755. 1461.  - }
  6756. 1462.  - .page_post_thumb_sized_photo {
  6757. 1463.  -   position: absolute;
  6758. 1464.  - }
  6759. 1465.  - .page_post_video_play_inline {
  6760. 1466.  -   position: absolute;
  6761. 1467.  -   z-index: 10;
  6762. 1468.  -   background: url(/images/inline_video_play.png) no-repeat;
  6763. 1469.  -   margin-left: -23px;
  6764. 1470.  -   margin-top: -23px;
  6765. 1471.  -   width: 46px;
  6766. 1472.  -   height: 46px;
  6767. 1473.  -   top: 50%;
  6768. 1474.  -   left: 50%;
  6769. 1475.  - }
  6770. 1476.  - .page_post_video_duration {
  6771. 1477.  -   background: url('/images/mv_bg.png');
  6772. 1478.  -   background: rgba(0,0,0, 0.6);
  6773. 1479.  -   color: #FFF;
  6774. 1480.  -   position: absolute;
  6775. 1481.  -   bottom: 10px;
  6776. 1482.  -   right: 0;
  6777. 1483.  -   padding: 0px 3px 1px;
  6778. 1484.  -   z-index: 10;
  6779. 1485.  - }
  6780. 1486.  -
  6781. 1487.  - a.page_post_thumb_last_column .page_post_thumb_undersized_w,
  6782. 1488.  - span.page_post_thumb_last_column .page_post_thumb_undersized_w {
  6783. 1489.  -   right: 0;
  6784. 1490.  - }
  6785. 1491.  - a.page_post_thumb_last_row .page_post_thumb_undersized_h,
  6786. 1492.  - span.page_post_thumb_last_row .page_post_thumb_undersized_h {
  6787. 1493.  -   bottom: 0;
  6788. 1494.  - }
  6789. 1495.  -
  6790. 1496.  - a.page_post_thumb_unsized,
  6791. 1497.  - span.page_post_thumb_unsized {
  6792. 1498.  -   background: 50% 50% no-repeat;
  6793. 1499.  -   background-size: cover;
  6794. 1500.  -
  6795. 1501.  -   display: block;
  6796. 1502.  -   position: relative;
  6797. 1503.  -   overflow: hidden;
  6798. 1504.  -   margin: 0 3px 3px 0;
  6799. 1505.  - }
  6800. 1506.  - a.page_post_thumb_unsized_single,
  6801. 1507.  - span.page_post_thumb_unsized_single {
  6802. 1508.  -   /*background: 0 0 no-repeat;*/
  6803. 1509.  -   background-size: contain;
  6804. 1510.  - }
  6805. 1511.  -
  6806. 1512.  - .wide_wall_module a.page_post_thumb_unsized,
  6807. 1513.  - .wide_wall_module a.page_post_thumb_wrap,
  6808. 1514.  - .wide_wall_module span.page_post_thumb_unsized,
  6809. 1515.  - .wide_wall_module span.page_post_thumb_wrap {
  6810. 1516.  -   margin: 0 6px 6px 0;
  6811. 1517.  - }
  6812. 1518.  - .page_post_sized_thumbs a.page_post_thumb_last_column,
  6813. 1519.  - .page_post_sized_thumbs span.page_post_thumb_last_column {
  6814. 1520.  -   margin-right: 0;
  6815. 1521.  - }
  6816. 1522.  - .page_post_sized_thumbs a.page_post_thumb_last_row,
  6817. 1523.  - .page_post_sized_thumbs span.page_post_thumb_last_row {
  6818. 1524.  -   margin-bottom: 0;
  6819. 1525.  - }
  6820. 1526.  -
  6821. 1527.  - .page_post_queue_wide,
  6822. 1528.  - .wide_wall_module .page_post_queue_narrow {
  6823. 1529.  -   display: none;
  6824. 1530.  - }
  6825. 1531.  - .wide_wall_module .page_post_queue_wide {
  6826. 1532.  -   display: block;
  6827. 1533.  - }
  6828. 1534.  -
  6829. 1535.  - .reply_media_lnk {
  6830. 1536.  -   display: none;
  6831. 1537.  - }
  6832. 1538.  - .checkbox_pic {
  6833. 1539.  -   cursor: pointer;
  6834. 1540.  - }
  6835. 1541.  - #wcomments_export.checkbox_pic {
  6836. 1542.  -   background: url(/images/icons/wall_export.gif?1) no-repeat 0 0;
  6837. 1543.  -   height: 14px;
  6838. 1544.  -   width: 14px;
  6839. 1545.  -   overflow: hidden;
  6840. 1546.  - }
  6841. 1547.  - #wcomments_export.checkbox_pic {
  6842. 1548.  -   background-position: 0 -70px;
  6843. 1549.  -   opacity: 0.5;
  6844. 1550.  -   filter: alpha(opacity=50);
  6845. 1551.  - }
  6846. 1552.  - #wcomments_export.on {
  6847. 1553.  -   opacity: 1;
  6848. 1554.  -   filter: none;
  6849. 1555.  - }
  6850. 1556.  - #video_box_body .box_dark .box_title {
  6851. 1557.  -   background: #000000;
  6852. 1558.  -   color: #777777;
  6853. 1559.  - }
  6854. 1560.  - #video_box_body .box_dark .box_x_button {
  6855. 1561.  -   color: #777777;
  6856. 1562.  - }
  6857. 1563.  - #video_box_body .box_dark .box_x_button:hover {
  6858. 1564.  -   color: #FFFFFF;
  6859. 1565.  - }
  6860. 1566.  - #photo_box_body .box_dark .box_title {
  6861. 1567.  -   background: #FFFFFF;
  6862. 1568.  -   color: #45688E;
  6863. 1569.  - }
  6864. 1570.  - #photo_box_body .box_dark .box_x_button {
  6865. 1571.  -   color: #2B587A;
  6866. 1572.  - }
  6867. 1573.  - #photo_box_body .box_dark .box_x_button:hover {
  6868. 1574.  -   text-decoration: underline;
  6869. 1575.  - }
  6870. 1576.  - .photo_view_more {
  6871. 1577.  -   margin-top: 25px;
  6872. 1578.  -   display: block;
  6873. 1579.  -   background: #eef0f2;
  6874. 1580.  -   text-align: center;
  6875. 1581.  -   padding: 16px;
  6876. 1582.  -   color: #738392;
  6877. 1583.  - }
  6878. 1584.  - .photo_view_more:hover {
  6879. 1585.  -   text-decoration: none;
  6880. 1586.  -   background: #e9edf1;
  6881. 1587.  - }
  6882. 1588.  - .medadd_c_doc {
  6883. 1589.  -   overflow: hidden;
  6884. 1590.  -   -o-text-overflow: ellipsis;
  6885. 1591.  -   text-overflow: ellipsis;
  6886. 1592.  - }
  6887. 1593.  - .medadd_h,
  6888. 1594.  - .medadd_c_pollh {
  6889. 1595.  -   font-size: 1.09em;
  6890. 1596.  -   font-weight: bold;
  6891. 1597.  -   color: #45688E;
  6892. 1598.  -   background: url(/images/icons/mono_iconset.gif?8) no-repeat;
  6893. 1599.  -   margin: 4px 2px 0px;
  6894. 1600.  - }
  6895. 1601.  - .font_medium .medadd_h,
  6896. 1602.  - .font_medium .medadd_c_pollh {
  6897. 1603.  -   margin-top: 3px;
  6898. 1604.  - }
  6899. 1605.  - .medadd_h:hover {
  6900. 1606.  -   text-decoration: none;
  6901. 1607.  - }
  6902. 1608.  - .medadd_h_note {
  6903. 1609.  -   background-position: 0 -132px;
  6904. 1610.  - }
  6905. 1611.  - .medadd_h_doc {
  6906. 1612.  -   background-position: 0 -278px;
  6907. 1613.  - }
  6908. 1614.  - .medadd_h_poll {
  6909. 1615.  -   background-position: 0 -206px;
  6910. 1616.  - }
  6911. 1617.  - .medadd_h_link,
  6912. 1618.  - .medadd_h_page {
  6913. 1619.  -   background-position: 0 -235px;
  6914. 1620.  - }
  6915. 1621.  - .medadd_h_timer {
  6916. 1622.  -   background-position: 0 -332px;
  6917. 1623.  - }
  6918. 1624.  - .medadd_h_mail {
  6919. 1625.  -   background-position: 0 -292px;
  6920. 1626.  - }
  6921. 1627.  - .medadd_h,
  6922. 1628.  - .medadd_c {
  6923. 1629.  -   padding-left: 15px;
  6924. 1630.  - }
  6925. 1631.  - .medadd_c {
  6926. 1632.  -   margin: 7px 2px 0px;
  6927. 1633.  - }
  6928. 1634.  - .medadd_c_linkimg {
  6929. 1635.  -   padding: 5px 10px 5px 5px;
  6930. 1636.  - }
  6931. 1637.  - .medadd_c_linkhead {
  6932. 1638.  -   margin: 0px;
  6933. 1639.  -   padding: 5px;
  6934. 1640.  -   border: 0px;
  6935. 1641.  -   font-size: 11px;
  6936. 1642.  - }
  6937. 1643.  - .medadd_c_linkdsc {
  6938. 1644.  -   padding: 0px 5px 5px;
  6939. 1645.  - }
  6940. 1646.  - #wcomments_form .medadd_c_linkcon {
  6941. 1647.  -   overflow: hidden;
  6942. 1648.  -   background: #FFF;
  6943. 1649.  -   padding: 6px;
  6944. 1650.  -   border: 1px solid #C0CAD5;
  6945. 1651.  - }
  6946. 1652.  - #wcomments_form .medadd_c_link {
  6947. 1653.  -   padding-left: 0px;
  6948. 1654.  -   margin-left: 0px;
  6949. 1655.  - }
  6950. ------
Add Comment
Please, Sign In to add comment