Hormold

VK Change (#1355520273)

Dec 14th, 2012
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 21.86 KB | None | 0 0
  1. Файл - common.js:
  2. различия невозможно определить в SWF файлах.
  3. Файл - tooltips.js:
  4. 177.  -   destroyAll: function(ancestor) {
  5. 178.  +   destroyAll: function() {
  6. 182.  -       if (ancestor && !isAncestor(cur.tooltips[i].el, ancestor)) {
  7. 183.  -         continue;
  8. 184.  -       }
  9. 186.  -     }
  10. 187.  -     if (!ancestor) {
  11. 188.  -       delete cur.tooltips;
  12. 190.  +     delete cur.tooltips;
  13. ------
  14. Файл - tooltips.css:
  15. 74.  + .wall_mvkcom_tt .toup .top_pointer,
  16. 75.  + .wall_mvkcom_tt .toup1 .bottom_pointer {
  17. 76.  +   margin-left: 49px;
  18. 77.  + }
  19. 208.  + }
  20. 209.  + * html .wall_mvkcom_tt .content {
  21. 210.  +   width: expression((this.flag == undefined) ? (this.scrollWidth > 365) ? this.flag = '365px' : 'auto' : '');
  22. 713.  - }
  23. 714.  - .feed_searchext_tt .toup .top_pointer {
  24. 715.  -   margin-left: 33px;
  25. 716.  - }
  26. 717.  - .feed_searchext_hint_wrap {
  27. 718.  -   padding: 3px 5px 7px;
  28. 719.  -   color: #000;
  29. 720.  - }
  30. 721.  - .feed_searchext_hint_wrap .radiobtn {
  31. 722.  -   padding: 10px 0 6px;
  32. 723.  - }
  33. 724.  - .feed_searchext_content_hint_wrap {
  34. 725.  -   width: 215px;
  35. 726.  -   line-height: 160%;
  36. ------
  37. Файл - feed.js:
  38. 721.  -         if (!(params.sort = intval(cur.searchSortMenu && cur.searchSortMenu.val()))) {
  39. 722.  -           delete params.sort;
  40. 723.  -         }
  41. 771.  -     var feedBar = ge('feed_bar'),
  42. 772.  -         curSection = cur.section,
  43. 773.  -         curTopTab = 'news',
  44. 774.  +     var curTopTab = 'news',
  45. 776.  -         curTab, newTab;
  46. 777.  -
  47. 778.  -     if (from >= 2 && newSection == cur.section) {
  48. 779.  -       curSection = cur.prevSection || cur.section;
  49. 780.  -     }
  50. 781.  -     if (curSection == 'search') {
  51. 782.  -       curTab = 'news';
  52. 783.  -     } else if (curSection == 'articles_search') {
  53. 784.  -       curTab = 'articles';
  54. 785.  -     } else {
  55. 786.  -       curTab = curSection || '';
  56. 787.  -     }
  57. 788.  -
  58. 789.  -     if (newSection == 'search') {
  59. 790.  -       newTab = 'news';
  60. 791.  -     } else if (newSection == 'articles_search') {
  61. 792.  -       newTab = 'articles';
  62. 793.  -     } else {
  63. 794.  -       newTab = newSection || '';
  64. 795.  -     }
  65. 796.  -     // debugLog('set section', from, curTab, newTab);
  66. 797.  +         curTabEl = geByClass1('feed_tab_' + cur.section);
  67. 802.  +       case 'photos':
  68. 803.  +       case 'recommended':
  69. 806.  -       case 'articles':
  70. 807.  -       case 'articles_search':
  71. 808.  -         curTopTab = 'custom';
  72. 809.  -         break
  73. 810.  -       case 'notifications':
  74. 811.  -         curTopTab = 'notifications';
  75. 812.  -         break;
  76. 813.  -
  77. 814.  +       case 'articles': curTopTab = 'custom'; break
  78. 815.  +       case 'notifications': curTopTab = 'notifications'; break;
  79. 818.  +       case 'articles_search':
  80. 819.  +       case 'search': curTopTab = 'search'; break;
  81. 824.  +       case 'photos':
  82. 825.  +       case 'recommended':
  83. 828.  -       case 'articles':
  84. 829.  +       case 'articles':newTopTab = 'custom'; break
  85. 830.  +       case 'notifications': newTopTab = 'notifications'; break;
  86. 831.  +       case 'owner': newTopTab = 'owner'; break;
  87. 832.  +       case 'source': newTopTab = 'source'; break;
  88. 834.  -         newTopTab = 'custom';
  89. 835.  -         break
  90. 836.  -
  91. 837.  -       case 'notifications':
  92. 838.  -         newTopTab = 'notifications';
  93. 839.  -         break;
  94. 840.  -
  95. 841.  -       case 'owner':
  96. 842.  -         newTopTab = 'owner';
  97. 843.  -         break;
  98. 844.  -
  99. 845.  -       case 'source':
  100. 846.  -         newTopTab = 'source';
  101. 847.  -         break;
  102. 848.  +       case 'search': newTopTab = 'search'; break;
  103. 850.  -
  104. 851.  -     var curTabEl = curTab && curTab != newTab && geByClass1('feed_tab_' + curTab, feedBar, 'div');
  105. 852.  -         newTabEl = newTab && geByClass1('feed_tab_' + newTab, feedBar, 'div');
  106. 853.  -
  107. 854.  -     // debugLog('replace old', curTabEl, debugEl(curTabEl));
  108. 855.  -     curTabEl && replaceClass(curTabEl, 'summary_tab_sel', 'summary_tab');
  109. 856.  -     // debugLog('replace new', newTabEl, debugEl(newTabEl));
  110. 857.  -     newTabEl && replaceClass(newTabEl, 'summary_tab', 'summary_tab_sel');
  111. 859.  -     // debugLog(curTopTab, newTopTab, from);
  112. 875.  -
  113. 876.  -       toggle('feed_news_bar', newTopTab == 'news');
  114. 877.  -       toggle('feed_custom_bar', newTopTab == 'custom');
  115. 878.  -       toggle('feed_search_bar', newTopTab == 'news' || inArray(newSection, ['articles_search', 'articles', 'notifications']));
  116. 879.  -       toggleClass('feed_search_bar', 'fl_r', newTopTab == 'custom');
  117. 880.  -       toggleClass('feed_search_bar', 'fl_l', newTopTab != 'custom');
  118. 881.  +       toggle('feed_form_toggler', newTopTab == 'news' || newSection == 'articles' || newTopTab == 'search');
  119. 882.  +       feed.toggleSearchForm(false, newTopTab != 'search', !newSection.indexOf('articles'));
  120. 883.  +       hide('feed_custom_bar', 'feed_news_bar');
  121. 884.  +       switch (newTopTab) {
  122. 885.  +         case 'custom':
  123. 886.  +         case 'search':
  124. 887.  +           show('feed_' + newTopTab + '_bar'); break;
  125. 888.  +         default:
  126. 889.  +           show('feed_news_bar');
  127. 890.  +           if (cur.onFeedBarShow) cur.onFeedBarShow();
  128. 891.  +       }
  129. 893.  -
  130. 894.  -     toggleClass('feed_bar', 'feed_bar_extended_search', newSection == 'search');
  131. 895.  -
  132. 897.  -       var topTabEl = ge('feedtab_custom'),
  133. 898.  -           topTabLabel = geByClass1('tab_word', topTabEl),
  134. 899.  -           topTabLink = geByTag1('a', topTabEl);
  135. 900.  -
  136. 901.  -       if (newTabEl) {
  137. 902.  -         val(topTabLabel, val(geByTag1('nobr', newTabEl)));
  138. 903.  -       }
  139. 904.  -       if (topTabLink) {
  140. 905.  -         topTabLink.onmousedown = function (event) {
  141. 906.  +       val(geByClass1('tab_word', ge('feedtab_custom')), val(geByTag1('nobr', geByClass1('feed_tab_' + newSection))));
  142. 907.  +       var topLink = geByTag1('a', ge('feedtab_custom'));
  143. 908.  +       if (topLink) {
  144. 909.  +         topLink.onmousedown = function (event) {
  145. 912.  -         topTabLink.href = '/feed?section=' + newSection;
  146. 913.  +         topLink.href = '/feed?section=' + newSection;
  147. 919.  -       Feed.searchUpdate();
  148. 921.  -
  149. 922.  +     curTabEl && replaceClass(curTabEl, 'summary_tab_sel', 'summary_tab');
  150. 929.  -
  151. 930.  +     curTabEl = geByClass1('feed_tab_' + cur.section);
  152. 931.  +     curTabEl && replaceClass(curTabEl, 'summary_tab', 'summary_tab_sel');
  153. 939.  -     toggle('feed_search_sort', newSection == 'search');
  154. 943.  -
  155. 944.  -     if (newSection == 'search' && !cur.searchSortMenu) {
  156. 945.  -       Feed.initUi();
  157. 946.  -     }
  158. 999.  -       Feed.searchUpdate();
  159. 1042.  -     Feed.applyUi();
  160. 1195.  -       Feed.searchUpdate();
  161. 1204.  -     var loadCb = inArray(cur.section, ['comments', 'photos', 'search', 'articles_search']) ? false : feed.onLocalTabLoad;
  162. 1205.  +     var loadCb = inArray(cur.section, ['comments', 'photos']) ? false : feed.onLocalTabLoad;
  163. 1210.  -     // debugLog('local tab load', content);
  164. 1295.  +   },
  165. 1296.  +   toggleSearchForm: function (fire, on, articles) {
  166. 1297.  +     if (articles === undefined) {
  167. 1298.  +       articles = cur.section == 'articles' || cur.section == 'articles_search';
  168. 1299.  +     }
  169. 1300.  +     if (on === undefined) {
  170. 1301.  +       on = !isVisible('feed_nosearch_bar');
  171. 1302.  +     }
  172. 1303.  +     if (fire && on && articles) {
  173. 1304.  +       feed.switchSection('articles');
  174. 1305.  +       return;
  175. 1306.  +     }
  176. 1307.  +     toggle('feed_nosearch_bar', on);
  177. 1308.  +     toggle('feed_search_bar', !on);
  178. 1309.  +     if (fire) {
  179. 1310.  +       if (on) {
  180. 1311.  +         show(articles ? 'feed_custom_bar' : 'feed_news_bar');
  181. 1312.  +       } else {
  182. 1313.  +         elfocus('feed_search')
  183. 1314.  +       }
  184. 1315.  +     }
  185. 1316.  +     val('feed_form_toggler', getLang(on ? 'news_switch_to_search' : (articles ? 'news_switch_to_articles' : 'feed_add_post')));
  186. 1940.  -   },
  187. 1941.  -   searchPreloadExtended: function () {
  188. 1942.  -     if (cur.feedSearchExtendedLoaded || cur.feedSearchExtendedPreloaded) {
  189. 1943.  -       return false;
  190. 1944.  -     }
  191. 1945.  -     cur.feedSearchExtendedPreloaded = true;
  192. 1946.  -     ajax.post('al_feed.php', {act: 'a_get_search_extended'}, {cache: 1});
  193. 1947.  -   },
  194. 1948.  -   searchToggleExtended: function (enabled) {
  195. 1949.  -     if (cur.feedSearchExtendedLoaded || !enabled) {
  196. 1950.  -       toggle('feed_search_extform', enabled);
  197. 1951.  -       return;
  198. 1952.  -     }
  199. 1953.  -     ajax.post('al_feed.php', {act: 'a_get_search_extended'}, {
  200. 1954.  -       stat: ['ui_controls.css', 'ui_controls.js'],
  201. 1955.  -       progress: ge('feed_progress'),
  202. 1956.  -       cache: 1,
  203. 1957.  -       onDone: function (html, js) {
  204. 1958.  -         cur.feedSearchExtendedLoaded = true;
  205. 1959.  -         val('feed_search_extform', html);
  206. 1960.  -         show('feed_search_extform');
  207. 1961.  -         eval(js);
  208. 1962.  -       }
  209. 1963.  -     });
  210. 1964.  -   },
  211. 1965.  -   searchAppendTag: function (tag, pattern, nosubmit) {
  212. 1966.  -     if (!trim(tag) && !pattern) {
  213. 1967.  -       return;
  214. 1968.  -     }
  215. 1969.  -     var text = val('feed_search');
  216. 1970.  -     try {
  217. 1971.  -       text = text.replace(pattern || new RegExp('(^|\\s)' + tag + '(\\s|$)', 'i'), ' ');
  218. 1972.  -     } catch (e) {};
  219. 1973.  -     text += ' ' + tag + ' ';
  220. 1974.  -     text = text.replace(/\s{2,}/g, ' ').replace(/^\s+/, '');
  221. 1975.  -     val('feed_search', text);
  222. 1976.  -     if (trim(text).length && !nosubmit) {
  223. 1977.  -       Feed.switchSearch();
  224. 1978.  -     }
  225. 1979.  -     Feed.searchUpdate();
  226. 1980.  -   },
  227. 1981.  -   searchUnchooseGeoPoint: function () {
  228. 1982.  -     var map = ge('feed_searchext_map'),
  229. 1983.  -         x = ge('feed_searchext_map_delete_wrap');
  230. 1984.  -
  231. 1985.  -     removeClass(map, 'feed_searchext_map_selected');
  232. 1986.  -     setStyle(map, {background: ''});
  233. 1987.  -     x && x.tt && x.tt.hide && x.tt.hide();
  234. 1988.  -     Feed.searchAppendTag('', /near:[0-9\.,\+]+/);
  235. 1989.  -   },
  236. 1990.  -   searchChooseGeoPoint: function () {
  237. 1991.  -     var params = {act: 'a_choose_place_box', search: 1},
  238. 1992.  -         text = val('feed_search'),
  239. 1993.  -         currentPointMatches = text.match(/near\:(\d{1,3}(?:\.\d+)?)\,(\d{1,3}(?:\.\d+)?)(\+{0,4})/);
  240. 1994.  -
  241. 1995.  -     if (currentPointMatches) {
  242. 1996.  -       params.lat = floatval(currentPointMatches[1]);
  243. 1997.  -       params.lon = floatval(currentPointMatches[2]);
  244. 1998.  -       params.zoom = [8, 11, 14, 17, 20][(currentPointMatches[3] || '').length]
  245. 1999.  -     }
  246. 2000.  -     showBox('al_places.php', params);
  247. 2001.  -     cur.chooseGeoPoint = function (lat, lon, zoom) {
  248. 2002.  -       var num = 0;
  249. 2003.  -       each([8, 11, 14, 17, 20], function (k, zoomLevel) {
  250. 2004.  -         if (zoom <= zoomLevel) {
  251. 2005.  -           return false;
  252. 2006.  -         }
  253. 2007.  -         num = k;
  254. 2008.  -       });
  255. 2009.  -       boxQueue.hideLast();
  256. 2010.  -       var postfix = (new Array(num + 1)).join('+');
  257. 2011.  -       var mult = Math.pow(10, 10);
  258. 2012.  -       lat = Math.round(lat * mult) / mult;
  259. 2013.  -       lon = Math.round(lon * mult) / mult;
  260. 2014.  -
  261. 2015.  -       var map = ge('feed_searchext_map');
  262. 2016.  -       addClass(map, 'feed_searchext_map_selected');
  263. 2017.  -       setStyle(map, {
  264. 2018.  -         background: 'url(//maps.googleapis.com/maps/api/staticmap?center='+lat+','+lon+'&zoom='+zoom+'&size='+(window.devicePixelRatio >= 2 ? '260x160' : '130x80')+'&sensor=false)'
  265. 2019.  -       });
  266. 2020.  -       Feed.searchAppendTag('near:' + lat + ',' + lon + postfix, /near:[0-9\.,\+]+/);
  267. 2021.  -     };
  268. 2022.  -   },
  269. 2023.  -   searchChooseFilter: function (filter, item) {
  270. 2024.  -     var uiDropdown;
  271. 2025.  -     switch (filter) {
  272. 2026.  -       case 'type':
  273. 2027.  -         uiDropdown = cur.uiSearchPostType; break;
  274. 2028.  -       case 'has':
  275. 2029.  -         uiDropdown = cur.uiSearchPostAttach; break;
  276. 2030.  -       case 'likes':
  277. 2031.  -         uiDropdown = cur.uiSearchPostLikes; break;
  278. 2032.  -
  279. 2033.  -       default: return false;
  280. 2034.  -     }
  281. 2035.  -     var sel = (uiDropdown.selectedItems() || [])[0];
  282. 2036.  -
  283. 2037.  -     Feed.searchAppendTag(sel && intval(sel[0]) ? (filter + ':' + (sel[3] || sel[0])) : '', new RegExp(filter + ':' + '[\\S]+', 'g'));
  284. 2038.  -   },
  285. 2039.  -   searchExcludeOnChange: function (input, nosubmit) {
  286. 2040.  -     var exclude = trim(val(input));
  287. 2041.  -     if (!exclude) {
  288. 2042.  -       return false;
  289. 2043.  -     }
  290. 2044.  -     var words = trim(exclude).split(/[\s\,\.\/\!\@\#\$\%\^\&\*\(\)\-\=\:\~\;\'\"\|\}\{\+]+/),
  291. 2045.  -         len = words.length,
  292. 2046.  -         newTag = len > 0 && ('-' + words.join(' -')) || '';
  293. 2047.  -
  294. 2048.  -     Feed.searchAppendTag(newTag, /(?:\s|^)\-\S+/g, nosubmit);
  295. 2049.  -   },
  296. 2050.  -   searchUrlOnChange: function (fromTooltip) {
  297. 2051.  -     var urlMatches = (val('feed_searchext_link') || '').match(urlInactiveExp),
  298. 2052.  -         newTag = '';
  299. 2053.  -
  300. 2054.  -     if (urlMatches) {
  301. 2055.  -       var url = urlMatches[4] + (urlMatches[5] || ''),
  302. 2056.  -           domain = urlMatches[4],
  303. 2057.  -           newTag = radioBtns.feed_searchext_domain.val ? ('domain:' + domain) : ('url:' + url);
  304. 2058.  -     }
  305. 2059.  -     Feed.searchAppendTag(newTag, cur.feedSearchPrevLinkTag);
  306. 2060.  -     cur.feedSearchPrevLinkTag = newTag;
  307. 2061.  -
  308. 2062.  -     if (fromTooltip) {
  309. 2063.  -       elfocus('feed_searchext_link');
  310. 2064.  -     }
  311. 2065.  -   },
  312. 2066.  -   searchContentOnChange: function () {
  313. 2067.  -     var urlMatches = (val('feed_searchext_content') || '').match(urlInactiveExp),
  314. 2068.  -         domainMatches = urlMatches && urlMatches[4].match(/(^|\.|\/\/)vkontakte\.ru|vk\.com/),
  315. 2069.  -         mediaMatches = domainMatches && urlMatches[5].match(/(?:#(photo)|^\/(photo|video|album|page|audio|wall)|z=(album|photo|video)|w=(page|wall))(-?\d+_)?(\d+)(?:\?reply=(\d+))?$/),
  316. 2070.  -         newTag = '';
  317. 2071.  -
  318. 2072.  -     if (mediaMatches) {
  319. 2073.  -       var mediaType = mediaMatches[1] || mediaMatches[2] || mediaMatches[3] || mediaMatches[4],
  320. 2074.  -           mediaID = mediaMatches[5] + (mediaMatches[7] || mediaMatches[6]),
  321. 2075.  -           newTag = 'copy:' + mediaType + mediaID;
  322. 2076.  -     }
  323. 2077.  -     Feed.searchAppendTag(newTag, /copy\:\S+/);
  324. 2078.  -   },
  325. 2079.  -   searchUpdate: function () {
  326. 2080.  -     toggle('feed_query_reset', trim(val('feed_search')));
  327. 2081.  -   },
  328. 2082.  -   searchClickOutside: function (event) {
  329. 2083.  -     if (val('feed_search') || !hasClass('feed_bar', 'feed_bar_extended_search') || isChecked('feed_search_extended_checkbox')) {
  330. 2084.  -       return false;
  331. 2085.  -     }
  332. 2086.  -     removeClass('feed_bar', 'feed_bar_extended_search');
  333. 2087.  -   },
  334. 2088.  -   searchReset: function () {
  335. 2089.  -     val('feed_search', '');
  336. 2090.  -     removeClass('feed_bar', 'feed_bar_extended_search');
  337. 2091.  -     each ([cur.uiSearchPostType, cur.uiSearchPostAttach, cur.uiSearchPostLikes], function () {
  338. 2092.  -       this.val(0);
  339. 2093.  -     });
  340. 2094.  -     each(['feed_searchext_exclude', 'feed_searchext_link', 'feed_searchext_content'], function () {
  341. 2095.  -       val(this, '');
  342. 2096.  -     });
  343. 2097.  -     Feed.searchUnchooseGeoPoint();
  344. 2098.  -     Feed.searchUpdate();
  345. 2099.  -     Feed.switchSection('news');
  346. 2101.  -
  347. 2127.  -         // debugLog(onBeforeReplace, options, rows.length, js);
  348. 2129.  -         if (window.tooltips) tooltips.destroyAll(ge('feed_rows'));
  349. 2130.  +         if (window.tooltips) tooltips.destroyAll();
  350. 2166.  -         hide('feed_menu_toggle', 'feed_edit_hidden', 'feed_search_sort');
  351. 2167.  +         hide('feed_menu_toggle', 'feed_edit_hidden');
  352. 2185.  -       addEvent(searchEl, 'focus', function (e) {
  353. 2186.  +       var tmp = function () {
  354. 2188.  -         removeEvent(searchEl, 'focus', arguments.callee);
  355. 2189.  -       });
  356. 2190.  +         removeEvent(searchEl, 'focus', tmp);
  357. 2191.  +       };
  358. 2192.  +       addEvent(searchEl, 'focus', tmp);
  359. 2194.  -
  360. 2195.  -     addEvent(searchEl, 'keydown focus', function (e) {
  361. 2196.  -       if (e.type == 'focus') {
  362. 2197.  -         addClass('feed_bar', 'feed_bar_extended_search');
  363. 2198.  -         return;
  364. 2199.  -       }
  365. 2200.  +     addEvent(searchEl, 'keydown', function (e) {
  366. 2213.  -       setTimeout(Feed.searchUpdate, 0);
  367. 2222.  +       fullPostHeight: 50,
  368. 2223.  +       emptyPostheight: 24,
  369. 2293.  -         toggle('feed_search_sort', cur.section == 'search');
  370. 2319.  -         feed.switchSearch(changed.q, !(changed.section || '').indexOf('articles'));
  371. 2320.  +         feed.switchSearch(changed.q, !changed.section.indexOf('articles'));
  372. 2337.  +     WallUpload.preinit();
  373. 2351.  -         removeEvent(document, 'click', Feed.searchClickOutside);
  374. 2356.  -     var _a = window.audioPlayer,
  375. 2357.  -         aid = currentAudioId();
  376. 2358.  +     var _a = window.audioPlayer, aid = currentAudioId();
  377. 2379.  -     addEvent(document, 'click', Feed.searchClickOutside);
  378. 2382.  -     cur.searchSortMenu = new DropdownMenu(cur.options.search_sorts, {
  379. 2383.  -       target: ge('feed_search_sort_dd'),
  380. 2384.  -       onSelect: function (e) {
  381. 2385.  -         feed.switchSection('search')
  382. 2386.  -       },
  383. 2387.  -       fadeSpeed: 0
  384. 2388.  -     });
  385. 2389.  -
  386. 2394.  -   },
  387. 2395.  -   applyUi: function () {
  388. 2396.  -     debugLog('apply ui');
  389. 2397.  -     if (!cur.searchSortMenu) return;
  390. 2398.  -     cur.searchSortMenu.setOptions({title: cur.search_sort[1]});
  391. 2399.  -     cur.searchSortMenu.value = cur.search_sort[0];
  392. 2400.  -     val('feed_search_sort_dd', cur.search_sort[1].replace(/\s+/g, '&nbsp;'));
  393. 2479.  -     return false;
  394. 2491.  -     this.resultList.style.width = this.resultListShadow.style.width = resultContainer.style.width = '273px';
  395. 2492.  +     this.resultList.style.width = this.resultListShadow.style.width = resultContainer.style.width = '230px';
  396. 2512.  -             if (self.currentTerm === term) self.showSelectList(term, data);
  397. 2513.  +             if (self.currentTerm == term) self.showSelectList(term, data);
  398. 2519.  -       clearTimeout(cur.requestTimeout);
  399. 2520.  -       delete self.currentTerm;
  400. 2549.  -     return false;
  401. ------
  402. Файл - feed.css:
  403. 14.  -   padding: 8px 10px 8px;
  404. 15.  +   padding: 5px;
  405. 26.  -   padding: 6px 4px 5px 20px;
  406. 27.  -   width: 247px;
  407. 28.  +   padding: 5px 4px 4px 20px;
  408. 29.  +   width: 492px;
  409. 32.  -   background: #FFF url(/images/magglass.png) no-repeat 5px 8px;
  410. 33.  +   background: #FFF url(/images/magglass.png) no-repeat 5px 6px;
  411. 35.  - }
  412. 36.  - #feed_query_reset {
  413. 37.  -   cursor: pointer;
  414. 38.  -   display: none;
  415. 39.  -   background: transparent url(/images/icons/input_clear.gif) 6px 8px no-repeat;
  416. 40.  -   padding: 1px;
  417. 41.  -   width: 22px;
  418. 42.  -   height: 25px;
  419. 43.  -   margin: 0 0 0 344px;
  420. 44.  -   opacity: 0.6;
  421. 45.  -   filter: alpha(opacity=60);
  422. 46.  -   z-index: 100;
  423. 47.  -   position: absolute;
  424. 48.  - }
  425. 49.  - #feed_query_reset:hover {
  426. 50.  -   opacity: 1;
  427. 51.  -   filter: none;
  428. 52.  - }
  429. 53.  - .feed_search_submit {
  430. 54.  -   margin: 0 10px;
  431. 55.  - }
  432. 56.  - .feed_search_extended {
  433. 57.  -   margin: 6px 5px 5px;
  434. 58.  -   white-space: nowrap;
  435. 59.  -   max-width: 122px;
  436. 60.  -   overflow: hidden;
  437. 61.  -   text-overflow: ellipsis;
  438. 63.  - #feed_search_submit_wrap {
  439. 64.  -   display: none;
  440. 65.  + #feed_search_btn {
  441. 66.  +   padding-left: 2px;
  442. 67.  +   padding-right: 4px;
  443. 68.  +   width: 80px;
  444. 70.  - #feed_search_submit {
  445. 71.  -   width: 75px;
  446. 72.  -   padding-top: 5px;
  447. 73.  -   padding-bottom: 5px;
  448. 74.  -   line-height: 13px;
  449. 75.  + #feed_news_bar {
  450. 76.  +   padding: 5px;
  451. 80.  -   padding: 4px 5px;
  452. 81.  - }
  453. 82.  - .feed_search_extform_wrap {
  454. 83.  -   display: none;
  455. 84.  - }
  456. 85.  - .feed_bar_extended_search #feed_news_bar,
  457. 86.  - .feed_bar_extended_search #feed_custom_bar {
  458. 87.  -   display: none !important;
  459. 88.  - }
  460. 89.  - .feed_bar_extended_search #feed_search_submit_wrap,
  461. 90.  - .feed_bar_extended_search .feed_search_extform_wrap {
  462. 91.  -   display: block;
  463. 92.  - }
  464. 93.  - .feed_bar_extended_search #feed_search {
  465. 94.  -   width: 342px;
  466. 95.  +   padding: 5px;
  467. 97.  -
  468. 100.  - }
  469. 101.  - #feed_search_bar #feed_search_extform .results_container {
  470. 102.  -   top: auto;
  471. 1339.  - }
  472. 1340.  -
  473. 1341.  - .feed_searchext_wrap {
  474. 1342.  -   clear: both;
  475. 1343.  - }
  476. 1344.  - #feed_search_sort {
  477. 1345.  -   display: none;
  478. 1346.  -   padding: 3px 0 0;
  479. 1347.  - }
  480. 1348.  - .feed_serachext_header {
  481. 1349.  -   color: #45688E;
  482. 1350.  -   font-weight: bold;
  483. 1351.  -   padding: 15px 0 8px;
  484. 1352.  - }
  485. 1353.  - .feed_searchext_geo_wrap {
  486. 1354.  -   height: 108px;
  487. 1355.  -   width: 130px;
  488. 1356.  - }
  489. 1357.  - .feed_searchext_map_icon {
  490. 1358.  -   background: url(/images/icons/attach_icons_2x.png?3) 0 -179px no-repeat;
  491. 1359.  -   width: 40px;
  492. 1360.  -   height: 40px;
  493. 1361.  - }
  494. 1362.  - #feed_searchext_map {
  495. 1363.  -   cursor: pointer;
  496. 1364.  -   padding: 20px 45px;
  497. 1365.  -   background: #E1E4E8;
  498. 1366.  -   position: relative;
  499. 1367.  - }
  500. 1368.  - #feed_searchext_map_delete_wrap {
  501. 1369.  -   display: none;
  502. 1370.  -   position: absolute;
  503. 1371.  -   top: 0;
  504. 1372.  -   right: 0;
  505. 1373.  -   background: #222;
  506. 1374.  -   background: rgba(0, 0, 0, 0.5);
  507. 1375.  -   -webkit-border-radius: 3px;
  508. 1376.  -   -moz-border-radius: 3px;
  509. 1377.  -   border-radius: 3px;
  510. 1378.  -   padding: 3px;
  511. 1379.  -   cursor: pointer;
  512. 1380.  -   margin-left: -13px;
  513. 1381.  - }
  514. 1382.  - .feed_searchext_map_delete {
  515. 1383.  -   background: url("/images/notifier_close.gif") no-repeat scroll 0 0 transparent;
  516. 1384.  -   opacity: 0.6;
  517. 1385.  -   filter: alpha(opacity=60);
  518. 1386.  -   width: 7px;
  519. 1387.  -   height: 7px;
  520. 1388.  - }
  521. 1389.  - #feed_searchext_map_delete_wrap:hover .feed_searchext_map_delete {
  522. 1390.  -   opacity: 0.8;
  523. 1391.  -   filter: alpha(opacity=80);
  524. 1392.  - }
  525. 1393.  - .feed_searchext_map_selected .feed_searchext_map_icon {
  526. 1394.  -   background: url('/images/map/small.png') 13px 8px no-repeat;
  527. 1395.  - }
  528. 1396.  - .feed_searchext_map_selected #feed_searchext_map_delete_wrap {
  529. 1397.  -   display: block;
  530. 1398.  - }
  531. 1399.  - .feed_searchext_param {
  532. 1400.  -   width: 140px;
  533. 1401.  -   padding: 0 15px 5px 0;
  534. 1402.  - }
  535. 1403.  - .feed_searchext_param_dropdown {
  536. 1404.  -   position: relative;
  537. 1405.  - }
  538. 1406.  - .feed_searchext_param_last_row .feed_serachext_header {
  539. 1407.  -   padding-top: 11px;
  540. 1408.  - }
  541. 1409.  -
  542. 1410.  - #feed_searchext_exclude,
  543. 1411.  - #feed_searchext_link,
  544. 1412.  - #feed_searchext_content {
  545. 1413.  -   width: 132px;
  546. 1414.  -   outline: none;
  547. ------
  548. Файл - places.css:
  549. 106.  - .choose_map_controls_text {
  550. 107.  -   padding: 0 20px;
  551. 108.  -   line-height: 25px;
  552. 109.  - }
  553. ------
Advertisement
Add Comment
Please, Sign In to add comment